Documentation ¶
Overview ¶
Package v1 is the v1 version of the API.
Index ¶
- Variables
- func Int32Ptr(i int32) *int32
- func Kind(kind string) schema.GroupKind
- func NewResourceReadyCondition(transitionTime metav1.Time, status metav1.ConditionStatus, message string) *metav1.Condition
- func Resource(resource string) schema.GroupResource
- type MachineLearningAlgorithm
- func (in *MachineLearningAlgorithm) DeepCopy() *MachineLearningAlgorithm
- func (in *MachineLearningAlgorithm) DeepCopyInto(out *MachineLearningAlgorithm)
- func (in *MachineLearningAlgorithm) DeepCopyObject() runtime.Object
- func (mla *MachineLearningAlgorithm) GetConfigMapNames() []string
- func (mla *MachineLearningAlgorithm) GetSecretNames() []string
- type MachineLearningAlgorithmList
- type MachineLearningAlgorithmSpec
- type MachineLearningAlgorithmStatus
Constants ¶
This section is empty.
Variables ¶
var ( // SchemeBuilder initializes a scheme builder SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) // AddToScheme is a global function that registers this API group & version to a scheme AddToScheme = SchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: nexusapi.GroupName, Version: "v1"}
SchemeGroupVersion is group version used to register these objects
Functions ¶
func NewResourceReadyCondition ¶
func NewResourceReadyCondition(transitionTime metav1.Time, status metav1.ConditionStatus, message string) *metav1.Condition
NewResourceReadyCondition creates a new condition indicating an overall Mla synchronisation success or failure
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type MachineLearningAlgorithm ¶
type MachineLearningAlgorithm struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec MachineLearningAlgorithmSpec `json:"spec"` Status MachineLearningAlgorithmStatus `json:"status"` }
MachineLearningAlgorithm is a specification for a MachineLearningAlgorithm resource
func (*MachineLearningAlgorithm) DeepCopy ¶
func (in *MachineLearningAlgorithm) DeepCopy() *MachineLearningAlgorithm
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineLearningAlgorithm.
func (*MachineLearningAlgorithm) DeepCopyInto ¶
func (in *MachineLearningAlgorithm) DeepCopyInto(out *MachineLearningAlgorithm)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MachineLearningAlgorithm) DeepCopyObject ¶
func (in *MachineLearningAlgorithm) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*MachineLearningAlgorithm) GetConfigMapNames ¶
func (mla *MachineLearningAlgorithm) GetConfigMapNames() []string
GetConfigMapNames retrieves a list of unique config names for this MLA
func (*MachineLearningAlgorithm) GetSecretNames ¶
func (mla *MachineLearningAlgorithm) GetSecretNames() []string
GetSecretNames retrieves a list of unique secret names for this MLA
type MachineLearningAlgorithmList ¶
type MachineLearningAlgorithmList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []MachineLearningAlgorithm `json:"items"` }
MachineLearningAlgorithmList is a list of MachineLearningAlgorithm resources
func (*MachineLearningAlgorithmList) DeepCopy ¶
func (in *MachineLearningAlgorithmList) DeepCopy() *MachineLearningAlgorithmList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineLearningAlgorithmList.
func (*MachineLearningAlgorithmList) DeepCopyInto ¶
func (in *MachineLearningAlgorithmList) DeepCopyInto(out *MachineLearningAlgorithmList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MachineLearningAlgorithmList) DeepCopyObject ¶
func (in *MachineLearningAlgorithmList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type MachineLearningAlgorithmSpec ¶
type MachineLearningAlgorithmSpec struct { ImageRegistry string `json:"imageRegistry"` ImageRepository string `json:"imageRepository"` ImageTag string `json:"imageTag"` DeadlineSeconds *int32 `json:"deadlineSeconds,omitempty"` MaximumRetries *int32 `json:"maximumRetries,omitempty"` Env []corev1.EnvVar `json:"env,omitempty"` EnvFrom []corev1.EnvFromSource `json:"envFrom,omitempty"` CpuLimit string `json:"cpuLimit"` MemoryLimit string `json:"memoryLimit"` WorkgroupHost string `json:"workgroupHost"` Workgroup string `json:"workgroup"` AdditionalWorkgroups map[string]string `json:"additionalWorkgroups,omitempty"` MonitoringParameters []string `json:"monitoringParameters,omitempty"` CustomResources map[string]string `json:"customResources,omitempty"` SpeculativeAttempts *int32 `json:"speculativeAttempts,omitempty"` TransientExitCodes []int32 `json:"transientExitCodes,omitempty"` FatalExitCodes []int32 `json:"fatalExitCodes,omitempty"` Command string `json:"command"` Args []string `json:"args,omitempty"` MountDatadogSocket bool `json:"mountDatadogSocket,omitempty"` }
MachineLearningAlgorithmSpec is the spec for a MachineLearningAlgorithm resource
func (*MachineLearningAlgorithmSpec) DeepCopy ¶
func (in *MachineLearningAlgorithmSpec) DeepCopy() *MachineLearningAlgorithmSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineLearningAlgorithmSpec.
func (*MachineLearningAlgorithmSpec) DeepCopyInto ¶
func (in *MachineLearningAlgorithmSpec) DeepCopyInto(out *MachineLearningAlgorithmSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MachineLearningAlgorithmStatus ¶
type MachineLearningAlgorithmStatus struct { SyncedSecrets []string `json:"syncedSecrets,omitempty"` SyncedConfigurations []string `json:"syncedConfigurations,omitempty"` SyncedToClusters []string `json:"syncedToClusters,omitempty"` Conditions []metav1.Condition `json:"conditions,omitempty"` }
MachineLearningAlgorithmStatus is the status for a MachineLearningAlgorithm resource
func (*MachineLearningAlgorithmStatus) DeepCopy ¶
func (in *MachineLearningAlgorithmStatus) DeepCopy() *MachineLearningAlgorithmStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineLearningAlgorithmStatus.
func (*MachineLearningAlgorithmStatus) DeepCopyInto ¶
func (in *MachineLearningAlgorithmStatus) DeepCopyInto(out *MachineLearningAlgorithmStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.