 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Overview ¶
+k8s:deepcopy-gen=package +groupName=ml.arangodb.com
Index ¶
- Constants
- Variables
- func Resource(resource string) schema.GroupResource
- type ArangoMLExtension
- func (d *ArangoMLExtension) AsOwner() meta.OwnerReference
- func (in *ArangoMLExtension) DeepCopy() *ArangoMLExtension
- func (in *ArangoMLExtension) DeepCopyInto(out *ArangoMLExtension)
- func (in *ArangoMLExtension) DeepCopyObject() runtime.Object
- func (a *ArangoMLExtension) GetStatus() ArangoMLExtensionStatus
- func (a *ArangoMLExtension) SetStatus(status ArangoMLExtensionStatus)
 
- type ArangoMLExtensionList
- type ArangoMLExtensionSpec
- func (in *ArangoMLExtensionSpec) DeepCopy() *ArangoMLExtensionSpec
- func (in *ArangoMLExtensionSpec) DeepCopyInto(out *ArangoMLExtensionSpec)
- func (a *ArangoMLExtensionSpec) GetDeployment() *ArangoMLExtensionSpecDeployment
- func (a *ArangoMLExtensionSpec) GetInit() *ArangoMLExtensionTemplate
- func (a *ArangoMLExtensionSpec) GetIntegrationSidecar() *schedulerIntegrationApi.Sidecar
- func (a *ArangoMLExtensionSpec) GetJobsTemplates() *ArangoMLJobsTemplates
- func (a *ArangoMLExtensionSpec) GetMetadataService() *ArangoMLExtensionSpecMetadataService
- func (a *ArangoMLExtensionSpec) GetStorage() *sharedApi.Object
- func (a *ArangoMLExtensionSpec) GetStorageType() ArangoMLExtensionSpecStorageType
- func (a *ArangoMLExtensionSpec) Validate() error
 
- type ArangoMLExtensionSpecDeployment
- func (in *ArangoMLExtensionSpecDeployment) DeepCopy() *ArangoMLExtensionSpecDeployment
- func (in *ArangoMLExtensionSpecDeployment) DeepCopyInto(out *ArangoMLExtensionSpecDeployment)
- func (s *ArangoMLExtensionSpecDeployment) GetContainer() *schedulerContainerApi.Container
- func (s *ArangoMLExtensionSpecDeployment) GetGPU() bool
- func (s *ArangoMLExtensionSpecDeployment) GetPodTemplate() *schedulerPodApi.Pod
- func (s *ArangoMLExtensionSpecDeployment) GetPort(def int32) int32
- func (s *ArangoMLExtensionSpecDeployment) GetReplicas() int32
- func (s *ArangoMLExtensionSpecDeployment) GetService() *ArangoMLExtensionSpecDeploymentService
- func (s *ArangoMLExtensionSpecDeployment) GetTLS() *sharedApi.TLS
- func (s *ArangoMLExtensionSpecDeployment) Validate() error
 
- type ArangoMLExtensionSpecDeploymentService
- func (in *ArangoMLExtensionSpecDeploymentService) DeepCopy() *ArangoMLExtensionSpecDeploymentService
- func (in *ArangoMLExtensionSpecDeploymentService) DeepCopyInto(out *ArangoMLExtensionSpecDeploymentService)
- func (s *ArangoMLExtensionSpecDeploymentService) GetType() core.ServiceType
- func (s *ArangoMLExtensionSpecDeploymentService) Validate() error
 
- type ArangoMLExtensionSpecMetadataService
- func (in *ArangoMLExtensionSpecMetadataService) DeepCopy() *ArangoMLExtensionSpecMetadataService
- func (in *ArangoMLExtensionSpecMetadataService) DeepCopyInto(out *ArangoMLExtensionSpecMetadataService)
- func (a *ArangoMLExtensionSpecMetadataService) GetLocal() *ArangoMLExtensionSpecMetadataServiceLocal
- func (a *ArangoMLExtensionSpecMetadataService) Validate() error
 
- type ArangoMLExtensionSpecMetadataServiceLocal
- func (in *ArangoMLExtensionSpecMetadataServiceLocal) DeepCopy() *ArangoMLExtensionSpecMetadataServiceLocal
- func (in *ArangoMLExtensionSpecMetadataServiceLocal) DeepCopyInto(out *ArangoMLExtensionSpecMetadataServiceLocal)
- func (a *ArangoMLExtensionSpecMetadataServiceLocal) GetArangoMLFeatureStoreDatabase() string
- func (a *ArangoMLExtensionSpecMetadataServiceLocal) GetArangoPipeDatabase() string
- func (a *ArangoMLExtensionSpecMetadataServiceLocal) Validate() error
 
- type ArangoMLExtensionSpecStorageType
- type ArangoMLExtensionStatus
- type ArangoMLExtensionStatusArangoDBRef
- type ArangoMLExtensionStatusMetadataService
- type ArangoMLExtensionStatusReconciliation
- func (in *ArangoMLExtensionStatusReconciliation) DeepCopy() *ArangoMLExtensionStatusReconciliation
- func (in *ArangoMLExtensionStatusReconciliation) DeepCopyInto(out *ArangoMLExtensionStatusReconciliation)
- func (r *ArangoMLExtensionStatusReconciliation) GetService() *sharedApi.Object
- func (r *ArangoMLExtensionStatusReconciliation) GetStatefulSet() *sharedApi.Object
 
- type ArangoMLExtensionTemplate
- func (a *ArangoMLExtensionTemplate) AsTemplate(name string) *schedulerApi.ProfileTemplate
- func (in *ArangoMLExtensionTemplate) DeepCopy() *ArangoMLExtensionTemplate
- func (in *ArangoMLExtensionTemplate) DeepCopyInto(out *ArangoMLExtensionTemplate)
- func (a *ArangoMLExtensionTemplate) GetContainer() *schedulerContainerApi.Container
- func (a *ArangoMLExtensionTemplate) GetPodTemplate() *schedulerPodApi.Pod
- func (a *ArangoMLExtensionTemplate) Validate() error
 
- type ArangoMLJobTemplates
- type ArangoMLJobsTemplates
- type ArangoMLStorage
- func (d *ArangoMLStorage) AsOwner() meta.OwnerReference
- func (in *ArangoMLStorage) DeepCopy() *ArangoMLStorage
- func (in *ArangoMLStorage) DeepCopyInto(out *ArangoMLStorage)
- func (in *ArangoMLStorage) DeepCopyObject() runtime.Object
- func (a *ArangoMLStorage) GetStatus() ArangoMLStorageStatus
- func (a *ArangoMLStorage) SetStatus(status ArangoMLStorageStatus)
 
- type ArangoMLStorageList
- type ArangoMLStorageSpec
- func (in *ArangoMLStorageSpec) DeepCopy() *ArangoMLStorageSpec
- func (in *ArangoMLStorageSpec) DeepCopyInto(out *ArangoMLStorageSpec)
- func (s *ArangoMLStorageSpec) GetBackend() *ArangoMLStorageSpecBackend
- func (s *ArangoMLStorageSpec) GetBucketName() string
- func (s *ArangoMLStorageSpec) GetBucketPath() string
- func (s *ArangoMLStorageSpec) GetMode() *ArangoMLStorageSpecMode
- func (s *ArangoMLStorageSpec) Validate() error
 
- type ArangoMLStorageSpecBackend
- type ArangoMLStorageSpecBackendS3
- func (in *ArangoMLStorageSpecBackendS3) DeepCopy() *ArangoMLStorageSpecBackendS3
- func (in *ArangoMLStorageSpecBackendS3) DeepCopyInto(out *ArangoMLStorageSpecBackendS3)
- func (s *ArangoMLStorageSpecBackendS3) GetAllowInsecure() bool
- func (s *ArangoMLStorageSpecBackendS3) GetCASecret() *sharedApi.Object
- func (s *ArangoMLStorageSpecBackendS3) GetCredentialsSecret() *sharedApi.Object
- func (s *ArangoMLStorageSpecBackendS3) GetEndpoint() string
- func (s *ArangoMLStorageSpecBackendS3) GetRegion() string
- func (s *ArangoMLStorageSpecBackendS3) Validate() error
 
- type ArangoMLStorageSpecMode
- func (in *ArangoMLStorageSpecMode) DeepCopy() *ArangoMLStorageSpecMode
- func (in *ArangoMLStorageSpecMode) DeepCopyInto(out *ArangoMLStorageSpecMode)
- func (s *ArangoMLStorageSpecMode) GetSidecar() *ArangoMLStorageSpecModeSidecar
- func (s *ArangoMLStorageSpecMode) GetType() ArangoMLStorageSpecModeType
- func (s *ArangoMLStorageSpecMode) Validate() error
 
- type ArangoMLStorageSpecModeSidecar
- type ArangoMLStorageSpecModeType
- type ArangoMLStorageStatus
- type JobScheduleType
- type JobType
Constants ¶
const ( ReadyCondition api.ConditionType = "Ready" SpecValidCondition api.ConditionType = "SpecValid" ExtensionFoundCondition api.ConditionType = "ExtensionFound" StorageFoundCondition api.ConditionType = "StorageFound" DeploymentFoundCondition api.ConditionType = "DeploymentFound" BootstrapCompletedCondition api.ConditionType = "BootstrapCompleted" MetadataServiceValidCondition api.ConditionType = "MetadataServiceValid" ServiceAccountReadyCondition api.ConditionType = "ServiceAccountReady" StatefulSetReadyCondition api.ConditionType = "StatefulSetReady" TLSEnabledCondition api.ConditionType = "TLSEnabled" LicenseValidCondition api.ConditionType = "LicenseValid" CronJobSyncedCondition api.ConditionType = "CronJobSynced" BatchJobSyncedCondition api.ConditionType = "BatchJobSynced" )
const ( ArangoMLExtensionSpecDeploymentApi = "api" ArangoMLExtensionSpecDeploymentComponentDefaultPort = 8502 )
const ( ArangoMLExtensionSpecMetadataServiceLocalDefaultArangoPipeDatabase = "arangopipe" ArangoMLExtensionSpecMetadataServiceLocalDefaultArangoMLFeatureStoreDatabase = "arangoml_feature_store" )
const (
	ArangoMLVersion = string(utilConstants.VersionV1Beta1)
)
    Variables ¶
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 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 (a *ArangoMLExtension) GetStatus() ArangoMLExtensionStatus
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 ¶
func (in *ArangoMLExtensionList) DeepCopy() *ArangoMLExtensionList
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, if extension storage is used
	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"`
	// IntegrationSidecar define the integration sidecar spec
	IntegrationSidecar *schedulerIntegrationApi.Sidecar `json:"integrationSidecar,omitempty"`
	// ArangoMLExtensionSpecStorageType defines storage used for extension
	// +doc/enum: extension|Uses AragoMLStorage
	// +doc/enum: platform|Uses AragoPlatformStorage
	StorageType *ArangoMLExtensionSpecStorageType `json:"storageType,omitempty"`
}
    func (*ArangoMLExtensionSpec) DeepCopy ¶
func (in *ArangoMLExtensionSpec) DeepCopy() *ArangoMLExtensionSpec
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 (a *ArangoMLExtensionSpec) GetDeployment() *ArangoMLExtensionSpecDeployment
func (*ArangoMLExtensionSpec) GetInit ¶
func (a *ArangoMLExtensionSpec) GetInit() *ArangoMLExtensionTemplate
func (*ArangoMLExtensionSpec) GetIntegrationSidecar ¶
func (a *ArangoMLExtensionSpec) GetIntegrationSidecar() *schedulerIntegrationApi.Sidecar
func (*ArangoMLExtensionSpec) GetJobsTemplates ¶
func (a *ArangoMLExtensionSpec) GetJobsTemplates() *ArangoMLJobsTemplates
func (*ArangoMLExtensionSpec) GetMetadataService ¶
func (a *ArangoMLExtensionSpec) GetMetadataService() *ArangoMLExtensionSpecMetadataService
func (*ArangoMLExtensionSpec) GetStorage ¶
func (a *ArangoMLExtensionSpec) GetStorage() *sharedApi.Object
func (*ArangoMLExtensionSpec) GetStorageType ¶
func (a *ArangoMLExtensionSpec) GetStorageType() ArangoMLExtensionSpecStorageType
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 *sharedApi.TLS `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 ¶
func (in *ArangoMLExtensionSpecDeployment) DeepCopy() *ArangoMLExtensionSpecDeployment
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArangoMLExtensionSpecDeployment.
func (*ArangoMLExtensionSpecDeployment) DeepCopyInto ¶
func (in *ArangoMLExtensionSpecDeployment) DeepCopyInto(out *ArangoMLExtensionSpecDeployment)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ArangoMLExtensionSpecDeployment) GetContainer ¶
func (s *ArangoMLExtensionSpecDeployment) GetContainer() *schedulerContainerApi.Container
func (*ArangoMLExtensionSpecDeployment) GetGPU ¶
func (s *ArangoMLExtensionSpecDeployment) GetGPU() bool
func (*ArangoMLExtensionSpecDeployment) GetPodTemplate ¶
func (s *ArangoMLExtensionSpecDeployment) GetPodTemplate() *schedulerPodApi.Pod
func (*ArangoMLExtensionSpecDeployment) GetPort ¶
func (s *ArangoMLExtensionSpecDeployment) GetPort(def int32) int32
func (*ArangoMLExtensionSpecDeployment) GetReplicas ¶
func (s *ArangoMLExtensionSpecDeployment) GetReplicas() int32
func (*ArangoMLExtensionSpecDeployment) GetService ¶
func (s *ArangoMLExtensionSpecDeployment) GetService() *ArangoMLExtensionSpecDeploymentService
func (*ArangoMLExtensionSpecDeployment) GetTLS ¶
func (s *ArangoMLExtensionSpecDeployment) GetTLS() *sharedApi.TLS
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/enum: None|service is not created
	// +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 ¶
func (in *ArangoMLExtensionSpecDeploymentService) DeepCopy() *ArangoMLExtensionSpecDeploymentService
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArangoMLExtensionSpecDeploymentService.
func (*ArangoMLExtensionSpecDeploymentService) DeepCopyInto ¶
func (in *ArangoMLExtensionSpecDeploymentService) DeepCopyInto(out *ArangoMLExtensionSpecDeploymentService)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ArangoMLExtensionSpecDeploymentService) GetType ¶
func (s *ArangoMLExtensionSpecDeploymentService) GetType() core.ServiceType
func (*ArangoMLExtensionSpecDeploymentService) Validate ¶
func (s *ArangoMLExtensionSpecDeploymentService) Validate() error
type ArangoMLExtensionSpecMetadataService ¶
type ArangoMLExtensionSpecMetadataService struct {
	// Local define to use Local ArangoDeployment as the Metadata Service
	Local *ArangoMLExtensionSpecMetadataServiceLocal `json:"local,omitempty"`
}
    func (*ArangoMLExtensionSpecMetadataService) DeepCopy ¶
func (in *ArangoMLExtensionSpecMetadataService) DeepCopy() *ArangoMLExtensionSpecMetadataService
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArangoMLExtensionSpecMetadataService.
func (*ArangoMLExtensionSpecMetadataService) DeepCopyInto ¶
func (in *ArangoMLExtensionSpecMetadataService) DeepCopyInto(out *ArangoMLExtensionSpecMetadataService)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ArangoMLExtensionSpecMetadataService) GetLocal ¶
func (a *ArangoMLExtensionSpecMetadataService) GetLocal() *ArangoMLExtensionSpecMetadataServiceLocal
func (*ArangoMLExtensionSpecMetadataService) Validate ¶
func (a *ArangoMLExtensionSpecMetadataService) Validate() error
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 ¶
func (in *ArangoMLExtensionSpecMetadataServiceLocal) DeepCopy() *ArangoMLExtensionSpecMetadataServiceLocal
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArangoMLExtensionSpecMetadataServiceLocal.
func (*ArangoMLExtensionSpecMetadataServiceLocal) DeepCopyInto ¶
func (in *ArangoMLExtensionSpecMetadataServiceLocal) DeepCopyInto(out *ArangoMLExtensionSpecMetadataServiceLocal)
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 ¶
func (a *ArangoMLExtensionSpecMetadataServiceLocal) Validate() error
type ArangoMLExtensionSpecStorageType ¶
type ArangoMLExtensionSpecStorageType string
const ( ArangoMLExtensionSpecStorageTypeDefault = ArangoMLExtensionSpecStorageTypeExtension ArangoMLExtensionSpecStorageTypeExtension ArangoMLExtensionSpecStorageType = "extension" ArangoMLExtensionSpecStorageTypePlatform ArangoMLExtensionSpecStorageType = "platform" )
func (*ArangoMLExtensionSpecStorageType) Get ¶
func (a *ArangoMLExtensionSpecStorageType) Get() ArangoMLExtensionSpecStorageType
func (*ArangoMLExtensionSpecStorageType) Validate ¶
func (a *ArangoMLExtensionSpecStorageType) Validate() error
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,omitempty"`
}
    func (*ArangoMLExtensionStatus) DeepCopy ¶
func (in *ArangoMLExtensionStatus) DeepCopy() *ArangoMLExtensionStatus
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 ¶
func (in *ArangoMLExtensionStatusArangoDBRef) DeepCopy() *ArangoMLExtensionStatusArangoDBRef
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArangoMLExtensionStatusArangoDBRef.
func (*ArangoMLExtensionStatusArangoDBRef) DeepCopyInto ¶
func (in *ArangoMLExtensionStatusArangoDBRef) DeepCopyInto(out *ArangoMLExtensionStatusArangoDBRef)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ArangoMLExtensionStatusMetadataService ¶
type ArangoMLExtensionStatusMetadataService 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 (*ArangoMLExtensionStatusMetadataService) DeepCopy ¶
func (in *ArangoMLExtensionStatusMetadataService) DeepCopy() *ArangoMLExtensionStatusMetadataService
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArangoMLExtensionStatusMetadataService.
func (*ArangoMLExtensionStatusMetadataService) DeepCopyInto ¶
func (in *ArangoMLExtensionStatusMetadataService) DeepCopyInto(out *ArangoMLExtensionStatusMetadataService)
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 ¶
func (in *ArangoMLExtensionStatusReconciliation) DeepCopy() *ArangoMLExtensionStatusReconciliation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArangoMLExtensionStatusReconciliation.
func (*ArangoMLExtensionStatusReconciliation) DeepCopyInto ¶
func (in *ArangoMLExtensionStatusReconciliation) DeepCopyInto(out *ArangoMLExtensionStatusReconciliation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ArangoMLExtensionStatusReconciliation) GetService ¶
func (r *ArangoMLExtensionStatusReconciliation) GetService() *sharedApi.Object
func (*ArangoMLExtensionStatusReconciliation) GetStatefulSet ¶
func (r *ArangoMLExtensionStatusReconciliation) GetStatefulSet() *sharedApi.Object
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 (a *ArangoMLExtensionTemplate) AsTemplate(name string) *schedulerApi.ProfileTemplate
func (*ArangoMLExtensionTemplate) DeepCopy ¶
func (in *ArangoMLExtensionTemplate) DeepCopy() *ArangoMLExtensionTemplate
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArangoMLExtensionTemplate.
func (*ArangoMLExtensionTemplate) DeepCopyInto ¶
func (in *ArangoMLExtensionTemplate) DeepCopyInto(out *ArangoMLExtensionTemplate)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ArangoMLExtensionTemplate) GetContainer ¶
func (a *ArangoMLExtensionTemplate) GetContainer() *schedulerContainerApi.Container
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 ¶
func (in *ArangoMLJobTemplates) DeepCopy() *ArangoMLJobTemplates
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 ¶
func (in *ArangoMLJobsTemplates) DeepCopy() *ArangoMLJobsTemplates
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
	// +doc/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 (s *ArangoMLStorageSpec) GetBackend() *ArangoMLStorageSpecBackend
func (*ArangoMLStorageSpec) GetBucketName ¶
func (s *ArangoMLStorageSpec) GetBucketName() string
func (*ArangoMLStorageSpec) GetBucketPath ¶
func (s *ArangoMLStorageSpec) GetBucketPath() string
func (*ArangoMLStorageSpec) GetMode ¶
func (s *ArangoMLStorageSpec) GetMode() *ArangoMLStorageSpecMode
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 ¶
func (in *ArangoMLStorageSpecBackend) DeepCopy() *ArangoMLStorageSpecBackend
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArangoMLStorageSpecBackend.
func (*ArangoMLStorageSpecBackend) DeepCopyInto ¶
func (in *ArangoMLStorageSpecBackend) DeepCopyInto(out *ArangoMLStorageSpecBackend)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ArangoMLStorageSpecBackend) GetS3 ¶
func (s *ArangoMLStorageSpecBackend) GetS3() *ArangoMLStorageSpecBackendS3
func (*ArangoMLStorageSpecBackend) Validate ¶
func (s *ArangoMLStorageSpecBackend) Validate() error
type ArangoMLStorageSpecBackendS3 ¶
type ArangoMLStorageSpecBackendS3 struct {
	// Endpoint specifies the S3 API-compatible endpoint which implements storage
	// +doc/required
	Endpoint *string `json:"endpoint"`
	// CredentialsSecret specifies the Kubernetes Secret containing AccessKey and SecretKey for S3 API authorization
	// +doc/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 ¶
func (in *ArangoMLStorageSpecBackendS3) DeepCopy() *ArangoMLStorageSpecBackendS3
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArangoMLStorageSpecBackendS3.
func (*ArangoMLStorageSpecBackendS3) DeepCopyInto ¶
func (in *ArangoMLStorageSpecBackendS3) DeepCopyInto(out *ArangoMLStorageSpecBackendS3)
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 ¶
func (in *ArangoMLStorageSpecMode) DeepCopy() *ArangoMLStorageSpecMode
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 (s *ArangoMLStorageSpecMode) GetSidecar() *ArangoMLStorageSpecModeSidecar
func (*ArangoMLStorageSpecMode) GetType ¶
func (s *ArangoMLStorageSpecMode) GetType() ArangoMLStorageSpecModeType
func (*ArangoMLStorageSpecMode) Validate ¶
func (s *ArangoMLStorageSpecMode) Validate() error
type ArangoMLStorageSpecModeSidecar ¶
type ArangoMLStorageSpecModeSidecar struct {
}
    func (*ArangoMLStorageSpecModeSidecar) DeepCopy ¶
func (in *ArangoMLStorageSpecModeSidecar) DeepCopy() *ArangoMLStorageSpecModeSidecar
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArangoMLStorageSpecModeSidecar.
func (*ArangoMLStorageSpecModeSidecar) DeepCopyInto ¶
func (in *ArangoMLStorageSpecModeSidecar) DeepCopyInto(out *ArangoMLStorageSpecModeSidecar)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ArangoMLStorageSpecModeType ¶
type ArangoMLStorageSpecModeType int
const ( ArangoMLStorageSpecModeTypeUnknown ArangoMLStorageSpecModeType = iota ArangoMLStorageSpecModeTypeSidecar )
type ArangoMLStorageStatus ¶
type ArangoMLStorageStatus struct {
	// Conditions specific to the entire storage
	// +doc/type: api.Conditions
	Conditions api.ConditionList `json:"conditions,omitempty"`
}
    func (*ArangoMLStorageStatus) DeepCopy ¶
func (in *ArangoMLStorageStatus) DeepCopy() *ArangoMLStorageStatus
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" )
       Source Files
      ¶
      Source Files
      ¶
    
- conditions.go
- doc.go
- extension.go
- extension_spec.go
- extension_spec_deployment.go
- extension_spec_deployment_service.go
- extension_spec_job.go
- extension_spec_metadata_service.go
- extension_spec_storage_type.go
- extension_status.go
- extension_status_arangodb_ref.go
- extension_status_metadata_service.go
- extension_status_reconciliation.go
- register.go
- storage.go
- storage_spec.go
- storage_spec_backend.go
- storage_spec_backend_s3.go
- storage_spec_mode.go
- storage_spec_mode_sidecar.go
- storage_status.go
- zz_generated.deepcopy.go