Documentation ¶
Overview ¶
Package v1beta1 contains API Schema definitions for the opni.io v1beta1 API group +kubebuilder:object:generate=true +groupName=opni.io
Index ¶
- Variables
- type BackendSpec
- type CredentialsSpec
- type DashboardSpec
- type DrainServiceSpec
- type ElasticSpec
- type FilebeatsSpec
- type FluentdSpec
- type GrafanaSpec
- type InferenceServiceSpec
- type KeysSpec
- type KibanaSpec
- type LokiSpec
- type ModelSpec
- type OpniCluster
- type OpniClusterList
- type OpniClusterSpec
- type OpniClusterStatus
- type PreprocessingServiceSpec
- type S3Spec
- type ServicesSpec
- type StorageSpec
- type SyslogSpec
- type TrainingControllerSpec
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "opni.io", Version: "v1beta1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion} // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme )
Functions ¶
This section is empty.
Types ¶
type BackendSpec ¶
type BackendSpec struct { // +optional Fluentd FluentdSpec `json:"fluentd,omitempty"` // +optional Loki LokiSpec `json:"loki,omitempty"` // +optional Syslog SyslogSpec `json:"syslog,omitempty"` // +optional Filebeats FilebeatsSpec `json:"filebeats,omitempty"` }
func (*BackendSpec) DeepCopy ¶
func (in *BackendSpec) DeepCopy() *BackendSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackendSpec.
func (*BackendSpec) DeepCopyInto ¶
func (in *BackendSpec) DeepCopyInto(out *BackendSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CredentialsSpec ¶
type CredentialsSpec struct { // +optional Keys *KeysSpec `json:"keys,omitempty"` // +optional SecretRef *corev1.SecretReference `json:"fromSecret,omitempty"` }
func (*CredentialsSpec) DeepCopy ¶
func (in *CredentialsSpec) DeepCopy() *CredentialsSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CredentialsSpec.
func (*CredentialsSpec) DeepCopyInto ¶
func (in *CredentialsSpec) DeepCopyInto(out *CredentialsSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DashboardSpec ¶
type DashboardSpec struct { // +optional Kibana KibanaSpec `json:"kibana,omitempty"` // +optional Grafana GrafanaSpec `json:"grafana,omitempty"` }
func (*DashboardSpec) DeepCopy ¶
func (in *DashboardSpec) DeepCopy() *DashboardSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DashboardSpec.
func (*DashboardSpec) DeepCopyInto ¶
func (in *DashboardSpec) DeepCopyInto(out *DashboardSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DrainServiceSpec ¶
type DrainServiceSpec struct {
Image string `json:"image,omitempty"`
}
func (*DrainServiceSpec) DeepCopy ¶
func (in *DrainServiceSpec) DeepCopy() *DrainServiceSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DrainServiceSpec.
func (*DrainServiceSpec) DeepCopyInto ¶
func (in *DrainServiceSpec) DeepCopyInto(out *DrainServiceSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ElasticSpec ¶
type ElasticSpec struct { // +required Endpoint string `json:"endpoint"` // +required Credentials CredentialsSpec `json:"credentials"` }
func (*ElasticSpec) DeepCopy ¶
func (in *ElasticSpec) DeepCopy() *ElasticSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ElasticSpec.
func (*ElasticSpec) DeepCopyInto ¶
func (in *ElasticSpec) DeepCopyInto(out *ElasticSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FilebeatsSpec ¶
type FilebeatsSpec struct { }
func (*FilebeatsSpec) DeepCopy ¶
func (in *FilebeatsSpec) DeepCopy() *FilebeatsSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FilebeatsSpec.
func (*FilebeatsSpec) DeepCopyInto ¶
func (in *FilebeatsSpec) DeepCopyInto(out *FilebeatsSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FluentdSpec ¶
type FluentdSpec struct { }
func (*FluentdSpec) DeepCopy ¶
func (in *FluentdSpec) DeepCopy() *FluentdSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FluentdSpec.
func (*FluentdSpec) DeepCopyInto ¶
func (in *FluentdSpec) DeepCopyInto(out *FluentdSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GrafanaSpec ¶
type GrafanaSpec struct { }
func (*GrafanaSpec) DeepCopy ¶
func (in *GrafanaSpec) DeepCopy() *GrafanaSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GrafanaSpec.
func (*GrafanaSpec) DeepCopyInto ¶
func (in *GrafanaSpec) DeepCopyInto(out *GrafanaSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InferenceServiceSpec ¶
type InferenceServiceSpec struct { Image string `json:"image,omitempty"` Models []ModelSpec `json:"models,omitempty"` }
func (*InferenceServiceSpec) DeepCopy ¶
func (in *InferenceServiceSpec) DeepCopy() *InferenceServiceSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InferenceServiceSpec.
func (*InferenceServiceSpec) DeepCopyInto ¶
func (in *InferenceServiceSpec) DeepCopyInto(out *InferenceServiceSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KeysSpec ¶
type KeysSpec struct { AccessKey string `json:"accessKey,omitempty"` SecretKey string `json:"secretKey,omitempty"` }
func (*KeysSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeysSpec.
func (*KeysSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KibanaSpec ¶
type KibanaSpec struct { // +required Endpoint string `json:"endpoint"` }
func (*KibanaSpec) DeepCopy ¶
func (in *KibanaSpec) DeepCopy() *KibanaSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KibanaSpec.
func (*KibanaSpec) DeepCopyInto ¶
func (in *KibanaSpec) DeepCopyInto(out *KibanaSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LokiSpec ¶
type LokiSpec struct { }
func (*LokiSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LokiSpec.
func (*LokiSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ModelSpec ¶
func (*ModelSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModelSpec.
func (*ModelSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OpniCluster ¶
type OpniCluster struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec OpniClusterSpec `json:"spec,omitempty"` Status OpniClusterStatus `json:"status,omitempty"` }
OpniCluster is the Schema for the opniclusters API
func (*OpniCluster) DeepCopy ¶
func (in *OpniCluster) DeepCopy() *OpniCluster
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpniCluster.
func (*OpniCluster) DeepCopyInto ¶
func (in *OpniCluster) DeepCopyInto(out *OpniCluster)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*OpniCluster) DeepCopyObject ¶
func (in *OpniCluster) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type OpniClusterList ¶
type OpniClusterList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []OpniCluster `json:"items"` }
OpniClusterList contains a list of OpniCluster
func (*OpniClusterList) DeepCopy ¶
func (in *OpniClusterList) DeepCopy() *OpniClusterList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpniClusterList.
func (*OpniClusterList) DeepCopyInto ¶
func (in *OpniClusterList) DeepCopyInto(out *OpniClusterList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*OpniClusterList) DeepCopyObject ¶
func (in *OpniClusterList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type OpniClusterSpec ¶
type OpniClusterSpec struct { Services ServicesSpec `json:"services,omitempty"` Backend BackendSpec `json:"backend,omitempty"` Dashboard DashboardSpec `json:"dashboard,omitempty"` Elastic ElasticSpec `json:"elastic,omitempty"` Storage StorageSpec `json:"storage,omitempty"` }
OpniClusterSpec defines the desired state of OpniCluster
func (*OpniClusterSpec) DeepCopy ¶
func (in *OpniClusterSpec) DeepCopy() *OpniClusterSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpniClusterSpec.
func (*OpniClusterSpec) DeepCopyInto ¶
func (in *OpniClusterSpec) DeepCopyInto(out *OpniClusterSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OpniClusterStatus ¶
type OpniClusterStatus struct { Ready bool `json:"ready,omitempty"` Active bool `json:"active,omitempty"` }
OpniClusterStatus defines the observed state of OpniCluster
func (*OpniClusterStatus) DeepCopy ¶
func (in *OpniClusterStatus) DeepCopy() *OpniClusterStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpniClusterStatus.
func (*OpniClusterStatus) DeepCopyInto ¶
func (in *OpniClusterStatus) DeepCopyInto(out *OpniClusterStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PreprocessingServiceSpec ¶
type PreprocessingServiceSpec struct {
Image string `json:"image,omitempty"`
}
func (*PreprocessingServiceSpec) DeepCopy ¶
func (in *PreprocessingServiceSpec) DeepCopy() *PreprocessingServiceSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PreprocessingServiceSpec.
func (*PreprocessingServiceSpec) DeepCopyInto ¶
func (in *PreprocessingServiceSpec) DeepCopyInto(out *PreprocessingServiceSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type S3Spec ¶
type S3Spec struct { Endpoint string `json:"endpoint,omitempty"` Credentials CredentialsSpec `json:"credentials,omitempty"` }
func (*S3Spec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new S3Spec.
func (*S3Spec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ServicesSpec ¶
type ServicesSpec struct { Drain DrainServiceSpec `json:"drain,omitempty"` Inference InferenceServiceSpec `json:"inference,omitempty"` Preprocessing PreprocessingServiceSpec `json:"preprocessing,omitempty"` Training TrainingControllerSpec `json:"training,omitempty"` }
func (*ServicesSpec) DeepCopy ¶
func (in *ServicesSpec) DeepCopy() *ServicesSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServicesSpec.
func (*ServicesSpec) DeepCopyInto ¶
func (in *ServicesSpec) DeepCopyInto(out *ServicesSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type StorageSpec ¶
type StorageSpec struct { StorageClass string `json:"storageClass,omitempty"` S3 S3Spec `json:"s3,omitempty"` }
func (*StorageSpec) DeepCopy ¶
func (in *StorageSpec) DeepCopy() *StorageSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageSpec.
func (*StorageSpec) DeepCopyInto ¶
func (in *StorageSpec) DeepCopyInto(out *StorageSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SyslogSpec ¶
type SyslogSpec struct { }
func (*SyslogSpec) DeepCopy ¶
func (in *SyslogSpec) DeepCopy() *SyslogSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SyslogSpec.
func (*SyslogSpec) DeepCopyInto ¶
func (in *SyslogSpec) DeepCopyInto(out *SyslogSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TrainingControllerSpec ¶
type TrainingControllerSpec struct {
Image string `json:"image,omitempty"`
}
func (*TrainingControllerSpec) DeepCopy ¶
func (in *TrainingControllerSpec) DeepCopy() *TrainingControllerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TrainingControllerSpec.
func (*TrainingControllerSpec) DeepCopyInto ¶
func (in *TrainingControllerSpec) DeepCopyInto(out *TrainingControllerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.