v1alpha1

package
v0.0.0-...-1a81cf4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 3, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Overview

+k8s:deepcopy-gen=package +groupName=ml.arangodb.com

Index

Constants

View Source
const (
	ReadyCondition                         api.ConditionType = "Ready"
	SpecValidCondition                     api.ConditionType = "SpecValid"
	ExtensionFoundCondition                api.ConditionType = "ExtensionFound"
	ExtensionStorageFoundCondition         api.ConditionType = "StorageFound"
	ExtensionDeploymentFoundCondition      api.ConditionType = "DeploymentFound"
	ExtensionBootstrapCompletedCondition   api.ConditionType = "BootstrapCompleted"
	ExtensionMetadataServiceValidCondition api.ConditionType = "MetadataServiceValid"
	ExtensionServiceAccountReadyCondition  api.ConditionType = "ServiceAccountReady"
	ExtensionStatefulSetReadyCondition     api.ConditionType = "ExtensionDeploymentReady"
	ExtensionTLSEnabledCondition           api.ConditionType = "TLSEnabled"
	LicenseValidCondition                  api.ConditionType = "LicenseValid"
	CronJobSyncedCondition                 api.ConditionType = "CronJobSynced"
	BatchJobSyncedCondition                api.ConditionType = "BatchJobSynced"
)
View Source
const (
	ArangoMLExtensionSpecDeploymentApi = "api"

	ArangoMLExtensionSpecDeploymentComponentDefaultPort = 8502
)
View Source
const (
	ArangoMLExtensionSpecMetadataServiceLocalDefaultArangoPipeDatabase           = "arangopipe"
	ArangoMLExtensionSpecMetadataServiceLocalDefaultArangoMLFeatureStoreDatabase = "arangoml_feature_store"
)
View Source
const (
	ArangoMLVersion = "v1alpha1"
)

Variables

View Source
var (
	SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes)
	AddToScheme   = SchemeBuilder.AddToScheme

	SchemeGroupVersion = schema.GroupVersion{Group: ml.ArangoMLGroupName, Version: ArangoMLVersion}
)

Functions

func Resource

func Resource(resource string) schema.GroupResource

Resource gets an ArangoCluster GroupResource for a specified resource

Types

type ArangoMLBatchJob

type ArangoMLBatchJob struct {
	meta.TypeMeta   `json:",inline"`
	meta.ObjectMeta `json:"metadata,omitempty"`

	Spec   ArangoMLBatchJobSpec   `json:"spec"`
	Status ArangoMLBatchJobStatus `json:"status"`
}

ArangoMLBatchJob contains the definition and status of the ArangoML BatchJob.

func (*ArangoMLBatchJob) AsOwner

func (a *ArangoMLBatchJob) AsOwner() meta.OwnerReference

AsOwner creates an OwnerReference for the given BatchJob

func (*ArangoMLBatchJob) DeepCopy

func (in *ArangoMLBatchJob) DeepCopy() *ArangoMLBatchJob

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArangoMLBatchJob.

func (*ArangoMLBatchJob) DeepCopyInto

func (in *ArangoMLBatchJob) DeepCopyInto(out *ArangoMLBatchJob)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ArangoMLBatchJob) DeepCopyObject

func (in *ArangoMLBatchJob) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*ArangoMLBatchJob) GetStatus

func (*ArangoMLBatchJob) SetStatus

func (a *ArangoMLBatchJob) SetStatus(status ArangoMLBatchJobStatus)

type ArangoMLBatchJobList

type ArangoMLBatchJobList struct {
	meta.TypeMeta `json:",inline"`
	meta.ListMeta `json:"metadata,omitempty"`

	Items []ArangoMLBatchJob `json:"items"`
}

ArangoMLBatchJobList is a list of ArangoML BatchJobs.

func (*ArangoMLBatchJobList) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArangoMLBatchJobList.

func (*ArangoMLBatchJobList) DeepCopyInto

func (in *ArangoMLBatchJobList) DeepCopyInto(out *ArangoMLBatchJobList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ArangoMLBatchJobList) DeepCopyObject

func (in *ArangoMLBatchJobList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type ArangoMLBatchJobSpec

type ArangoMLBatchJobSpec struct {
	// +doc/type: batch.Job
	// +doc/link: Kubernetes Documentation|https://godoc.org/k8s.io/api/batch/v1#JobSpec
	*batch.JobSpec `json:",inline"`
}

func (*ArangoMLBatchJobSpec) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArangoMLBatchJobSpec.

func (*ArangoMLBatchJobSpec) DeepCopyInto

func (in *ArangoMLBatchJobSpec) DeepCopyInto(out *ArangoMLBatchJobSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ArangoMLBatchJobSpec) Validate

func (a *ArangoMLBatchJobSpec) Validate() error

type ArangoMLBatchJobStatus

type ArangoMLBatchJobStatus struct {
	// MLConditions specific to the entire batch job
	// +doc/type: api.MLConditions
	MLConditions api.ConditionList `json:"mlConditions,omitempty"`

	// +doc/type: batch.JobStatus
	// +doc/link: Kubernetes Documentation|https://godoc.org/k8s.io/api/batch/v1#JobStatus
	*batch.JobStatus `json:",inline"`

	// Ref keeps the reference to the CronJob
	Ref *sharedApi.Object `json:"ref,omitempty"`
}

func (*ArangoMLBatchJobStatus) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArangoMLBatchJobStatus.

func (*ArangoMLBatchJobStatus) DeepCopyInto

func (in *ArangoMLBatchJobStatus) DeepCopyInto(out *ArangoMLBatchJobStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ArangoMLCronJob

type ArangoMLCronJob struct {
	meta.TypeMeta   `json:",inline"`
	meta.ObjectMeta `json:"metadata,omitempty"`

	Spec   ArangoMLCronJobSpec   `json:"spec"`
	Status ArangoMLCronJobStatus `json:"status"`
}

ArangoMLCronJob contains definition and status of the ArangoML CronJob.

func (*ArangoMLCronJob) AsOwner

func (d *ArangoMLCronJob) AsOwner() meta.OwnerReference

AsOwner creates an OwnerReference for the given CronJob

func (*ArangoMLCronJob) DeepCopy

func (in *ArangoMLCronJob) DeepCopy() *ArangoMLCronJob

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArangoMLCronJob.

func (*ArangoMLCronJob) DeepCopyInto

func (in *ArangoMLCronJob) DeepCopyInto(out *ArangoMLCronJob)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ArangoMLCronJob) DeepCopyObject

func (in *ArangoMLCronJob) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*ArangoMLCronJob) GetStatus

func (a *ArangoMLCronJob) GetStatus() ArangoMLCronJobStatus

func (*ArangoMLCronJob) SetStatus

func (a *ArangoMLCronJob) SetStatus(status ArangoMLCronJobStatus)

type ArangoMLCronJobList

type ArangoMLCronJobList struct {
	meta.TypeMeta `json:",inline"`
	meta.ListMeta `json:"metadata,omitempty"`

	Items []ArangoMLCronJob `json:"items"`
}

ArangoMLCronJobList is a list of ArangoML CronJobs.

func (*ArangoMLCronJobList) DeepCopy

func (in *ArangoMLCronJobList) DeepCopy() *ArangoMLCronJobList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArangoMLCronJobList.

func (*ArangoMLCronJobList) DeepCopyInto

func (in *ArangoMLCronJobList) DeepCopyInto(out *ArangoMLCronJobList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ArangoMLCronJobList) DeepCopyObject

func (in *ArangoMLCronJobList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type ArangoMLCronJobSpec

type ArangoMLCronJobSpec struct {
	// +doc/type: batch.CronJobSpec
	// +doc/link: Kubernetes Documentation|https://godoc.org/k8s.io/api/batch/v1#CronJobSpec
	*batch.CronJobSpec `json:",inline"`
}

func (*ArangoMLCronJobSpec) DeepCopy

func (in *ArangoMLCronJobSpec) DeepCopy() *ArangoMLCronJobSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArangoMLCronJobSpec.

func (*ArangoMLCronJobSpec) DeepCopyInto

func (in *ArangoMLCronJobSpec) DeepCopyInto(out *ArangoMLCronJobSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ArangoMLCronJobSpec) Validate

func (a *ArangoMLCronJobSpec) Validate() error

type ArangoMLCronJobStatus

type ArangoMLCronJobStatus struct {
	// MLConditions specific to the entire cron job
	// +doc/type: api.MLConditions
	MLConditions api.ConditionList `json:"mlConditions,omitempty"`

	// +doc/type: batch.CronJobStatus
	// +doc/link: Kubernetes Documentation|https://godoc.org/k8s.io/api/batch/v1#CronJobStatus
	*batch.CronJobStatus `json:",inline"`

	// Ref keeps the reference to the CronJob
	Ref *sharedApi.Object `json:"ref,omitempty"`
}

func (*ArangoMLCronJobStatus) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArangoMLCronJobStatus.

func (*ArangoMLCronJobStatus) DeepCopyInto

func (in *ArangoMLCronJobStatus) DeepCopyInto(out *ArangoMLCronJobStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ArangoMLExtension

type ArangoMLExtension struct {
	meta.TypeMeta   `json:",inline"`
	meta.ObjectMeta `json:"metadata,omitempty"`

	Spec   ArangoMLExtensionSpec   `json:"spec"`
	Status ArangoMLExtensionStatus `json:"status"`
}

ArangoMLExtension contains definition and status of the ArangoML Extension.

func (*ArangoMLExtension) AsOwner

func (d *ArangoMLExtension) AsOwner() meta.OwnerReference

AsOwner creates an OwnerReference for the given Extension

func (*ArangoMLExtension) DeepCopy

func (in *ArangoMLExtension) DeepCopy() *ArangoMLExtension

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArangoMLExtension.

func (*ArangoMLExtension) DeepCopyInto

func (in *ArangoMLExtension) DeepCopyInto(out *ArangoMLExtension)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ArangoMLExtension) DeepCopyObject

func (in *ArangoMLExtension) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*ArangoMLExtension) GetStatus

func (*ArangoMLExtension) SetStatus

func (a *ArangoMLExtension) SetStatus(status ArangoMLExtensionStatus)

type ArangoMLExtensionList

type ArangoMLExtensionList struct {
	meta.TypeMeta `json:",inline"`
	meta.ListMeta `json:"metadata,omitempty"`

	Items []ArangoMLExtension `json:"items"`
}

ArangoMLExtensionList is a list of ArangoML Extensions.

func (*ArangoMLExtensionList) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArangoMLExtensionList.

func (*ArangoMLExtensionList) DeepCopyInto

func (in *ArangoMLExtensionList) DeepCopyInto(out *ArangoMLExtensionList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ArangoMLExtensionList) DeepCopyObject

func (in *ArangoMLExtensionList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type ArangoMLExtensionSpec

type ArangoMLExtensionSpec struct {
	// MetadataService keeps the MetadataService configuration
	// +doc/immutable: This setting cannot be changed after the MetadataService has been created.
	MetadataService *ArangoMLExtensionSpecMetadataService `json:"metadataService,omitempty"`

	// Storage specifies the ArangoMLStorage used within Extension
	Storage *sharedApi.Object `json:"storage,omitempty"`

	// ArangoMLExtensionTemplate define Init job specification
	Init *ArangoMLExtensionTemplate `json:"init,omitempty"`

	// Deployment specifies how the ML extension will be deployed into cluster
	Deployment *ArangoMLExtensionSpecDeployment `json:"deployment,omitempty"`

	// JobsTemplates defines templates for jobs
	JobsTemplates *ArangoMLJobsTemplates `json:"jobsTemplates,omitempty"`
}

func (*ArangoMLExtensionSpec) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArangoMLExtensionSpec.

func (*ArangoMLExtensionSpec) DeepCopyInto

func (in *ArangoMLExtensionSpec) DeepCopyInto(out *ArangoMLExtensionSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ArangoMLExtensionSpec) GetDeployment

func (*ArangoMLExtensionSpec) GetInit

func (*ArangoMLExtensionSpec) GetJobsTemplates

func (a *ArangoMLExtensionSpec) GetJobsTemplates() *ArangoMLJobsTemplates

func (*ArangoMLExtensionSpec) GetMetadataService

func (*ArangoMLExtensionSpec) GetStorage

func (a *ArangoMLExtensionSpec) GetStorage() *sharedApi.Object

func (*ArangoMLExtensionSpec) Validate

func (a *ArangoMLExtensionSpec) Validate() error

type ArangoMLExtensionSpecDeployment

type ArangoMLExtensionSpecDeployment struct {
	// Replicas defines the number of replicas running specified components. No replicas created if no components are defined.
	// +doc/default: 1
	Replicas *int32 `json:"replicas,omitempty"`

	// Service defines how components will be exposed
	Service *ArangoMLExtensionSpecDeploymentService `json:"service,omitempty"`

	// TLS defined TLS Settings for extension
	TLS *ArangoMLExtensionSpecDeploymentTLS `json:"tls,omitempty"`

	// Pod defines base template for pods
	*schedulerPodApi.Pod

	// Container Keeps the information about Container configuration
	*schedulerContainerApi.Container `json:",inline"`

	// GPU defined if GPU Jobs are enabled.
	// +doc/default: false
	GPU *bool `json:"gpu,omitempty"`

	// Port defines on which port the container will be listening for connections
	Port *int32 `json:"port,omitempty"`
}

func (*ArangoMLExtensionSpecDeployment) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArangoMLExtensionSpecDeployment.

func (*ArangoMLExtensionSpecDeployment) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ArangoMLExtensionSpecDeployment) GetContainer

func (*ArangoMLExtensionSpecDeployment) GetGPU

func (*ArangoMLExtensionSpecDeployment) GetPodTemplate

func (*ArangoMLExtensionSpecDeployment) GetPort

func (*ArangoMLExtensionSpecDeployment) GetReplicas

func (s *ArangoMLExtensionSpecDeployment) GetReplicas() int32

func (*ArangoMLExtensionSpecDeployment) GetService

func (*ArangoMLExtensionSpecDeployment) GetTLS

func (*ArangoMLExtensionSpecDeployment) Validate

func (s *ArangoMLExtensionSpecDeployment) Validate() error

type ArangoMLExtensionSpecDeploymentService

type ArangoMLExtensionSpecDeploymentService struct {
	// Type determines how the Service is exposed
	// +doc/enum: ClusterIP|service will only be accessible inside the cluster, via the cluster IP
	// +doc/enum: NodePort|service will be exposed on one port of every node, in addition to 'ClusterIP' type
	// +doc/enum: LoadBalancer|service will be exposed via an external load balancer (if the cloud provider supports it), in addition to 'NodePort' type
	// +doc/enum: ExternalName|service consists of only a reference to an external name that kubedns or equivalent will return as a CNAME record, with no exposing or proxying of any pods involved
	// +doc/default: ClusterIP
	// +doc/link: Kubernetes Documentation|https://kubernetes.io/docs/concepts/services-networking/service/#publishing-services-service-types
	Type *core.ServiceType `json:"type,omitempty"`
}

func (*ArangoMLExtensionSpecDeploymentService) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArangoMLExtensionSpecDeploymentService.

func (*ArangoMLExtensionSpecDeploymentService) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ArangoMLExtensionSpecDeploymentService) GetType

func (*ArangoMLExtensionSpecDeploymentService) Validate

type ArangoMLExtensionSpecDeploymentTLS

type ArangoMLExtensionSpecDeploymentTLS struct {
	// Enabled define if TLS Should be enabled. If is not set then default is taken from ArangoDeployment settings
	Enabled *bool `json:"enabled,omitempty"`

	// AltNames define TLS AltNames used when TLS on the ArangoDB is enabled
	AltNames []string `json:"altNames,omitempty"`
}

func (*ArangoMLExtensionSpecDeploymentTLS) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArangoMLExtensionSpecDeploymentTLS.

func (*ArangoMLExtensionSpecDeploymentTLS) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ArangoMLExtensionSpecDeploymentTLS) GetAltNames

func (a *ArangoMLExtensionSpecDeploymentTLS) GetAltNames() []string

func (*ArangoMLExtensionSpecDeploymentTLS) IsEnabled

type ArangoMLExtensionSpecMetadataService

type ArangoMLExtensionSpecMetadataService struct {
	// Local define to use Local ArangoDeployment as the Metadata Service
	Local *ArangoMLExtensionSpecMetadataServiceLocal `json:"local,omitempty"`
}

func (*ArangoMLExtensionSpecMetadataService) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArangoMLExtensionSpecMetadataService.

func (*ArangoMLExtensionSpecMetadataService) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ArangoMLExtensionSpecMetadataService) GetLocal

func (*ArangoMLExtensionSpecMetadataService) Validate

type ArangoMLExtensionSpecMetadataServiceLocal

type ArangoMLExtensionSpecMetadataServiceLocal struct {
	// ArangoPipeDatabase define Database name to be used as MetadataService Backend in ArangoPipe
	// +doc/default: arangopipe
	ArangoPipeDatabase *string `json:"arangoPipeDatabase,omitempty"`

	// ArangoMLFeatureStoreDatabase define Database name to be used as MetadataService Backend in ArangoMLFeatureStoreDatabase
	// +doc/default: arangomlfeaturestore
	ArangoMLFeatureStoreDatabase *string `json:"arangoMLFeatureStore,omitempty"`
}

func (*ArangoMLExtensionSpecMetadataServiceLocal) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArangoMLExtensionSpecMetadataServiceLocal.

func (*ArangoMLExtensionSpecMetadataServiceLocal) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ArangoMLExtensionSpecMetadataServiceLocal) GetArangoMLFeatureStoreDatabase

func (a *ArangoMLExtensionSpecMetadataServiceLocal) GetArangoMLFeatureStoreDatabase() string

func (*ArangoMLExtensionSpecMetadataServiceLocal) GetArangoPipeDatabase

func (a *ArangoMLExtensionSpecMetadataServiceLocal) GetArangoPipeDatabase() string

func (*ArangoMLExtensionSpecMetadataServiceLocal) Validate

type ArangoMLExtensionStatus

type ArangoMLExtensionStatus struct {
	// Conditions specific to the entire extension
	// +doc/type: api.Conditions
	Conditions api.ConditionList `json:"conditions,omitempty"`

	// MetadataService keeps the MetadataService configuration
	MetadataService *ArangoMLExtensionStatusMetadataService `json:"metadataService,omitempty"`

	// ServiceAccount keeps the information about ServiceAccount
	ServiceAccount *sharedApi.ServiceAccount `json:"serviceAccount,omitempty"`

	// ArangoDB keeps the information about local arangodb reference
	ArangoDB *ArangoMLExtensionStatusArangoDBRef `json:"arangoDB,omitempty"`

	// Reconciliation keeps the information about reconciliation process. For internal use.
	Reconciliation *ArangoMLExtensionStatusReconciliation `json:"reconciliation"`
}

func (*ArangoMLExtensionStatus) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArangoMLExtensionStatus.

func (*ArangoMLExtensionStatus) DeepCopyInto

func (in *ArangoMLExtensionStatus) DeepCopyInto(out *ArangoMLExtensionStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ArangoMLExtensionStatusArangoDBRef

type ArangoMLExtensionStatusArangoDBRef struct {
	// Secret keeps the information about ArangoDB deployment
	Secret *sharedApi.Object `json:"secret,omitempty"`
	// TLS keeps information about TLS Secret rendered from ArangoDB deployment
	TLS *sharedApi.Object `json:"tls,omitempty"`
}

func (*ArangoMLExtensionStatusArangoDBRef) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArangoMLExtensionStatusArangoDBRef.

func (*ArangoMLExtensionStatusArangoDBRef) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ArangoMLExtensionStatusMetadataService

type ArangoMLExtensionStatusMetadataService struct {
	// Local define the Local ArangoDeployment Metadata Service configuration
	Local *ArangoMLExtensionStatusMetadataServiceLocal `json:"local,omitempty"`

	// Secret define the Secret specification to store all the details
	Secret *sharedApi.Object `json:"secret,omitempty"`
}

func (*ArangoMLExtensionStatusMetadataService) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArangoMLExtensionStatusMetadataService.

func (*ArangoMLExtensionStatusMetadataService) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ArangoMLExtensionStatusMetadataServiceLocal

type ArangoMLExtensionStatusMetadataServiceLocal struct {
	// ArangoPipeDatabase define Database name to be used as MetadataService Backend
	ArangoPipeDatabase string `json:"arangoPipe"`

	// ArangoMLFeatureStoreDatabase define Database name to be used as MetadataService Backend
	ArangoMLFeatureStoreDatabase string `json:"arangoMLFeatureStore,omitempty"`
}

func (*ArangoMLExtensionStatusMetadataServiceLocal) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArangoMLExtensionStatusMetadataServiceLocal.

func (*ArangoMLExtensionStatusMetadataServiceLocal) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ArangoMLExtensionStatusReconciliation

type ArangoMLExtensionStatusReconciliation struct {
	StatefulSet *sharedApi.Object `json:"statefulSet,omitempty"`
	Service     *sharedApi.Object `json:"service,omitempty"`
}

func (*ArangoMLExtensionStatusReconciliation) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArangoMLExtensionStatusReconciliation.

func (*ArangoMLExtensionStatusReconciliation) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ArangoMLExtensionStatusReconciliation) GetService

func (*ArangoMLExtensionStatusReconciliation) GetStatefulSet

type ArangoMLExtensionTemplate

type ArangoMLExtensionTemplate struct {
	// Pod keeps the information about Pod configuration
	*schedulerPodApi.Pod `json:",inline"`

	// Container Keeps the information about Container configuration
	*schedulerContainerApi.Container `json:",inline"`
}

func (*ArangoMLExtensionTemplate) AsTemplate

func (*ArangoMLExtensionTemplate) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArangoMLExtensionTemplate.

func (*ArangoMLExtensionTemplate) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ArangoMLExtensionTemplate) GetContainer

func (*ArangoMLExtensionTemplate) GetPodTemplate

func (a *ArangoMLExtensionTemplate) GetPodTemplate() *schedulerPodApi.Pod

func (*ArangoMLExtensionTemplate) Validate

func (a *ArangoMLExtensionTemplate) Validate() error

type ArangoMLJobTemplates

type ArangoMLJobTemplates struct {
	// CPU defines templates for CPU jobs
	CPU *ArangoMLExtensionTemplate `json:"cpu,omitempty"`

	// GPU defines templates for GPU jobs
	GPU *ArangoMLExtensionTemplate `json:"gpu,omitempty"`
}

func (*ArangoMLJobTemplates) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArangoMLJobTemplates.

func (*ArangoMLJobTemplates) DeepCopyInto

func (in *ArangoMLJobTemplates) DeepCopyInto(out *ArangoMLJobTemplates)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ArangoMLJobTemplates) GetJobTemplateSpec

func (a *ArangoMLJobTemplates) GetJobTemplateSpec(scheduleType JobScheduleType) *ArangoMLExtensionTemplate

func (*ArangoMLJobTemplates) Validate

func (a *ArangoMLJobTemplates) Validate() error

type ArangoMLJobsTemplates

type ArangoMLJobsTemplates struct {
	// Prediction defines template for the prediction job
	Prediction *ArangoMLJobTemplates `json:"prediction,omitempty"`

	// Training defines template for the training job
	Training *ArangoMLJobTemplates `json:"training,omitempty"`

	// Featurization defines template for the featurization job
	Featurization *ArangoMLJobTemplates `json:"featurization,omitempty"`
}

func (*ArangoMLJobsTemplates) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArangoMLJobsTemplates.

func (*ArangoMLJobsTemplates) DeepCopyInto

func (in *ArangoMLJobsTemplates) DeepCopyInto(out *ArangoMLJobsTemplates)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ArangoMLJobsTemplates) GetJobTemplates

func (a *ArangoMLJobsTemplates) GetJobTemplates(jobType JobType) *ArangoMLJobTemplates

func (*ArangoMLJobsTemplates) Validate

func (a *ArangoMLJobsTemplates) Validate() error

type ArangoMLStorage

type ArangoMLStorage struct {
	meta.TypeMeta   `json:",inline"`
	meta.ObjectMeta `json:"metadata,omitempty"`

	Spec   ArangoMLStorageSpec   `json:"spec"`
	Status ArangoMLStorageStatus `json:"status"`
}

ArangoMLStorage contains definition and status of the ArangoML Storage.

func (*ArangoMLStorage) AsOwner

func (d *ArangoMLStorage) AsOwner() meta.OwnerReference

AsOwner creates an OwnerReference for the given Storage

func (*ArangoMLStorage) DeepCopy

func (in *ArangoMLStorage) DeepCopy() *ArangoMLStorage

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArangoMLStorage.

func (*ArangoMLStorage) DeepCopyInto

func (in *ArangoMLStorage) DeepCopyInto(out *ArangoMLStorage)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ArangoMLStorage) DeepCopyObject

func (in *ArangoMLStorage) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*ArangoMLStorage) GetStatus

func (a *ArangoMLStorage) GetStatus() ArangoMLStorageStatus

func (*ArangoMLStorage) SetStatus

func (a *ArangoMLStorage) SetStatus(status ArangoMLStorageStatus)

type ArangoMLStorageList

type ArangoMLStorageList struct {
	meta.TypeMeta `json:",inline"`
	meta.ListMeta `json:"metadata,omitempty"`

	Items []ArangoMLStorage `json:"items"`
}

ArangoMLStorageList is a list of ArangoML Storages.

func (*ArangoMLStorageList) DeepCopy

func (in *ArangoMLStorageList) DeepCopy() *ArangoMLStorageList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArangoMLStorageList.

func (*ArangoMLStorageList) DeepCopyInto

func (in *ArangoMLStorageList) DeepCopyInto(out *ArangoMLStorageList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ArangoMLStorageList) DeepCopyObject

func (in *ArangoMLStorageList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type ArangoMLStorageSpec

type ArangoMLStorageSpec struct {
	// BucketName specifies the name of the bucket
	// Required
	BucketName *string `json:"bucketName,omitempty"`

	// BucketPath specifies the path within the bucket
	// +doc/default: /
	BucketPath *string `json:"bucketPath,omitempty"`

	// Mode defines how storage implementation should be deployed
	Mode *ArangoMLStorageSpecMode `json:"mode,omitempty"`
	// Backend defines how storage is implemented
	Backend *ArangoMLStorageSpecBackend `json:"backend,omitempty"`
}

func (*ArangoMLStorageSpec) DeepCopy

func (in *ArangoMLStorageSpec) DeepCopy() *ArangoMLStorageSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArangoMLStorageSpec.

func (*ArangoMLStorageSpec) DeepCopyInto

func (in *ArangoMLStorageSpec) DeepCopyInto(out *ArangoMLStorageSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ArangoMLStorageSpec) GetBackend

func (*ArangoMLStorageSpec) GetBucketName

func (s *ArangoMLStorageSpec) GetBucketName() string

func (*ArangoMLStorageSpec) GetBucketPath

func (s *ArangoMLStorageSpec) GetBucketPath() string

func (*ArangoMLStorageSpec) GetMode

func (*ArangoMLStorageSpec) Validate

func (s *ArangoMLStorageSpec) Validate() error

type ArangoMLStorageSpecBackend

type ArangoMLStorageSpecBackend struct {
	// S3 backend implements storage as a proxy to the provided S3 API endpoint
	S3 *ArangoMLStorageSpecBackendS3 `json:"s3,omitempty"`
}

func (*ArangoMLStorageSpecBackend) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArangoMLStorageSpecBackend.

func (*ArangoMLStorageSpecBackend) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ArangoMLStorageSpecBackend) GetS3

func (*ArangoMLStorageSpecBackend) Validate

func (s *ArangoMLStorageSpecBackend) Validate() error

type ArangoMLStorageSpecBackendS3

type ArangoMLStorageSpecBackendS3 struct {
	// Endpoint specifies the S3 API-compatible endpoint which implements storage
	// Required
	Endpoint *string `json:"endpoint"`
	// CredentialsSecret specifies the Kubernetes Secret containing AccessKey and SecretKey for S3 API authorization
	// Required
	CredentialsSecret *sharedApi.Object `json:"credentialsSecret"`
	// AllowInsecure if set to true, the Endpoint certificates won't be checked
	// +doc/default: false
	AllowInsecure *bool `json:"allowInsecure,omitempty"`
	// CASecret if not empty, the given Kubernetes Secret will be used to check the authenticity of Endpoint
	// The specified Secret, must contain the following data fields:
	// - `ca.crt` PEM encoded public key of the CA certificate
	// - `ca.key` PEM encoded private key of the CA certificate
	// +doc/default: nil
	CASecret *sharedApi.Object `json:"caSecret,omitempty"`
	// Region defines the availability zone name.
	// +doc/default: ""
	Region *string `json:"region,omitempty"`
}

func (*ArangoMLStorageSpecBackendS3) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArangoMLStorageSpecBackendS3.

func (*ArangoMLStorageSpecBackendS3) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ArangoMLStorageSpecBackendS3) GetAllowInsecure

func (s *ArangoMLStorageSpecBackendS3) GetAllowInsecure() bool

func (*ArangoMLStorageSpecBackendS3) GetCASecret

func (s *ArangoMLStorageSpecBackendS3) GetCASecret() *sharedApi.Object

func (*ArangoMLStorageSpecBackendS3) GetCredentialsSecret

func (s *ArangoMLStorageSpecBackendS3) GetCredentialsSecret() *sharedApi.Object

func (*ArangoMLStorageSpecBackendS3) GetEndpoint

func (s *ArangoMLStorageSpecBackendS3) GetEndpoint() string

func (*ArangoMLStorageSpecBackendS3) GetRegion

func (s *ArangoMLStorageSpecBackendS3) GetRegion() string

func (*ArangoMLStorageSpecBackendS3) Validate

func (s *ArangoMLStorageSpecBackendS3) Validate() error

type ArangoMLStorageSpecMode

type ArangoMLStorageSpecMode struct {
	// Sidecar mode runs the storage implementation as a sidecar
	Sidecar *ArangoMLStorageSpecModeSidecar `json:"sidecar,omitempty"`
}

func (*ArangoMLStorageSpecMode) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArangoMLStorageSpecMode.

func (*ArangoMLStorageSpecMode) DeepCopyInto

func (in *ArangoMLStorageSpecMode) DeepCopyInto(out *ArangoMLStorageSpecMode)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ArangoMLStorageSpecMode) GetSidecar

func (*ArangoMLStorageSpecMode) Validate

func (s *ArangoMLStorageSpecMode) Validate() error

type ArangoMLStorageSpecModeSidecar

type ArangoMLStorageSpecModeSidecar struct {
	// ListenPort defines on which port the sidecar container will be listening for connections
	// +doc/default: 9201
	ListenPort *uint16 `json:"listenPort,omitempty"`

	// ControllerListenPort defines on which port the sidecar container will be listening for controller requests
	// +doc/default: 9202
	ControllerListenPort *uint16 `json:"controllerListenPort,omitempty"`

	// Container Keeps the information about Container configuration
	*schedulerContainerApi.Container `json:",inline"`
}

func (*ArangoMLStorageSpecModeSidecar) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArangoMLStorageSpecModeSidecar.

func (*ArangoMLStorageSpecModeSidecar) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ArangoMLStorageSpecModeSidecar) GetContainer

func (*ArangoMLStorageSpecModeSidecar) GetControllerListenPort

func (s *ArangoMLStorageSpecModeSidecar) GetControllerListenPort() uint16

func (*ArangoMLStorageSpecModeSidecar) GetListenPort

func (s *ArangoMLStorageSpecModeSidecar) GetListenPort() uint16

func (*ArangoMLStorageSpecModeSidecar) Validate

func (s *ArangoMLStorageSpecModeSidecar) Validate() error

type ArangoMLStorageStatus

type ArangoMLStorageStatus struct {
	// Conditions specific to the entire storage
	// +doc/type: api.Conditions
	Conditions api.ConditionList `json:"conditions,omitempty"`
}

func (*ArangoMLStorageStatus) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArangoMLStorageStatus.

func (*ArangoMLStorageStatus) DeepCopyInto

func (in *ArangoMLStorageStatus) DeepCopyInto(out *ArangoMLStorageStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type JobScheduleType

type JobScheduleType string
const (
	MLJobScheduleCPU JobScheduleType = "cpu"
	MLJobScheduleGPU JobScheduleType = "gpu"
)

type JobType

type JobType string
const (
	MLJobTrainingType      JobType = "training"
	MLJobPredictionType    JobType = "prediction"
	MLJobFeaturizationType JobType = "featurization"
)

func MLJobTypes

func MLJobTypes() []JobType

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL