Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the federatorai v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=federatorai.containers.ai
Package v1alpha1 contains API Schema definitions for the federatorai v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=federatorai.containers.ai
Index ¶
- Constants
- Variables
- func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenAPIDefinition
- func RegisterDefaults(scheme *runtime.Scheme) error
- type AlamedaComponentSpec
- type AlamedaService
- type AlamedaServiceList
- type AlamedaServiceSpec
- type AlamedaServiceStatus
- type AlamedaServiceStatusCondition
- type Imagestruct
- type StorageSpec
- type Type
- type Usage
Constants ¶
Variables ¶
var ( // SchemeGroupVersion is group version used to register these objects SchemeGroupVersion = schema.GroupVersion{Group: "federatorai.containers.ai", Version: "v1alpha1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion} )
var (
PvcUsage = []Usage{Data, Log}
)
Functions ¶
func GetOpenAPIDefinitions ¶
func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenAPIDefinition
func RegisterDefaults ¶
RegisterDefaults adds defaulters functions to the given scheme. Public to allow building arbitrary schemes. All generated defaulters are covering - they call all nested defaulters.
Types ¶
type AlamedaComponentSpec ¶ added in v0.2.0
type AlamedaComponentSpec struct { Image string `json:"image"` Version string `json:"version"` ImagePullPolicy corev1.PullPolicy `json:"imagepullpolicy"` Storages []StorageSpec `json:"storages"` BootStrapContainer Imagestruct `json:"bootstrap"` }
type AlamedaService ¶
type AlamedaService struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec AlamedaServiceSpec `json:"spec,omitempty"` Status AlamedaServiceStatus `json:"status,omitempty"` }
AlamedaService is the Schema for the alamedaservices API +k8s:openapi-gen=true
func (*AlamedaService) DeepCopy ¶
func (in *AlamedaService) DeepCopy() *AlamedaService
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlamedaService.
func (*AlamedaService) DeepCopyInto ¶
func (in *AlamedaService) DeepCopyInto(out *AlamedaService)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AlamedaService) DeepCopyObject ¶
func (in *AlamedaService) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type AlamedaServiceList ¶
type AlamedaServiceList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []AlamedaService `json:"items"` }
AlamedaServiceList contains a list of AlamedaService
func (*AlamedaServiceList) DeepCopy ¶
func (in *AlamedaServiceList) DeepCopy() *AlamedaServiceList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlamedaServiceList.
func (*AlamedaServiceList) DeepCopyInto ¶
func (in *AlamedaServiceList) DeepCopyInto(out *AlamedaServiceList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AlamedaServiceList) DeepCopyObject ¶
func (in *AlamedaServiceList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type AlamedaServiceSpec ¶
type AlamedaServiceSpec struct { // INSERT ADDITIONAL SPEC FIELDS - desired state of cluster // Important: Run "operator-sdk generate k8s" to regenerate code after modifying this file // Add custom validation using kubebuilder tags: https://book.kubebuilder.io/beyond_basics/generating_crd.html //AlmedaInstallOrUninstall bool `json:"almedainstalloruninstall"` EnableExecution bool `json:"enableexecution"` EnableGUI bool `json:"enablegui"` Version string `json:"version"` PrometheusService string `json:"prometheusservice"` Storages []StorageSpec `json:"storages"` //Component Section Schema InfluxdbSectionSet AlamedaComponentSpec `json:"alameda-influxdb"` GrafanaSectionSet AlamedaComponentSpec `json:"alameda-grafana"` AlamedaAISectionSet AlamedaComponentSpec `json:"alameda-ai"` AlamedaOperatorSectionSet AlamedaComponentSpec `json:"alameda-operator"` AlamedaDatahubSectionSet AlamedaComponentSpec `json:"alameda-datahub"` AlamedaEvictionerSectionSet AlamedaComponentSpec `json:"alameda-evictioner"` AdmissionControllerSectionSet AlamedaComponentSpec `json:"alameda-admission-controller"` }
AlamedaServiceSpec defines the desired state of AlamedaService +k8s:openapi-gen=true
func (*AlamedaServiceSpec) DeepCopy ¶
func (in *AlamedaServiceSpec) DeepCopy() *AlamedaServiceSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlamedaServiceSpec.
func (*AlamedaServiceSpec) DeepCopyInto ¶
func (in *AlamedaServiceSpec) DeepCopyInto(out *AlamedaServiceSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AlamedaServiceStatus ¶
type AlamedaServiceStatus struct {
Conditions []AlamedaServiceStatusCondition `json:"conditions"`
}
AlamedaServiceStatus defines the observed state of AlamedaService +k8s:openapi-gen=true
func (*AlamedaServiceStatus) DeepCopy ¶
func (in *AlamedaServiceStatus) DeepCopy() *AlamedaServiceStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlamedaServiceStatus.
func (*AlamedaServiceStatus) DeepCopyInto ¶
func (in *AlamedaServiceStatus) DeepCopyInto(out *AlamedaServiceStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AlamedaServiceStatusCondition ¶
type AlamedaServiceStatusCondition struct { // Represents whether any actions on the underlaying managed objects are // being performed. Only delete actions will be performed. Paused bool `json:"paused"` Message string `json:"message"` }
func (*AlamedaServiceStatusCondition) DeepCopy ¶
func (in *AlamedaServiceStatusCondition) DeepCopy() *AlamedaServiceStatusCondition
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlamedaServiceStatusCondition.
func (*AlamedaServiceStatusCondition) DeepCopyInto ¶
func (in *AlamedaServiceStatusCondition) DeepCopyInto(out *AlamedaServiceStatusCondition)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Imagestruct ¶ added in v0.2.0
type Imagestruct struct { Image string `json:"image"` Version string `json:"version"` ImagePullPolicy corev1.PullPolicy `json:"imagepullpolicy"` }
type StorageSpec ¶ added in v0.2.0
type StorageSpec struct { Type Type `json:"type"` Usage Usage `json:"usage"` Size string `json:"size"` Class *string `json:"class"` AccessModes corev1.PersistentVolumeAccessMode `json:"accessmode"` }
func (StorageSpec) StorageIsEmpty ¶ added in v0.2.0
func (storageStruct StorageSpec) StorageIsEmpty() bool
check StorageStruct