Documentation ¶
Overview ¶
Package v1 contains API Schema definitions for the iam v1 API group +k8s:openapi-gen=true +k8s:deepcopy-gen=package,register +k8s:conversion-gen=gitlab.com/tribock/operator-common/pkg/apis/iam +k8s:defaulter-gen=TypeMeta +groupName=iam.rootd.ch
Package v1 contains API Schema definitions for the iam v1 API group +k8s:openapi-gen=true +k8s:deepcopy-gen=package,register +k8s:conversion-gen=gitlab.com/tribock/operator-common/pkg/apis/iam +k8s:defaulter-gen=TypeMeta +groupName=iam.rootd.ch
Index ¶
- Variables
- func AddKnownTypes(scheme *runtime.Scheme, objects ...K8sObjectWrapper) error
- func CreateCRD(clientset apiextcs.Interface, crd *CRD) error
- func CreateCRDFromConfig(cfg *rest.Config, crd *CRD) error
- func Resource(resource string) schema.GroupResource
- type Aerospike
- type AerospikeSpec
- type CRD
- type EnvVar
- type K8sMetaObject
- type K8sObjectWrapper
- type Object
- type ObjectList
- type ObjectSpec
- type ObjectStatus
Constants ¶
This section is empty.
Variables ¶
var ( // SchemeGroupVersion is group version used to register these objects SchemeGroupVersion = schema.GroupVersion{Group: "iam.rootd.ch", Version: "v1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion} // AddToScheme is required by pkg/client/... AddToScheme = SchemeBuilder.AddToScheme )
Functions ¶
func AddKnownTypes ¶
func AddKnownTypes(scheme *runtime.Scheme, objects ...K8sObjectWrapper) error
func CreateCRDFromConfig ¶ added in v1.0.26
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource is required by pkg/client/listers/...
Types ¶
type Aerospike ¶
type Aerospike struct { meta_v1.TypeMeta `json:",inline"` meta_v1.ObjectMeta `json:"metadata,omitempty"` Spec AerospikeSpec `json:"spec,omitempty"` Status ObjectStatus `json:"status,omitempty"` }
IAM is the Schema for the iams API +k8s:openapi-gen=true
func (*Aerospike) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Aerospike.
func (*Aerospike) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Aerospike) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type AerospikeSpec ¶
type AerospikeSpec struct { meta_v1.TypeMeta `json:",inline"` meta_v1.ObjectMeta `json:"metadata"` ServiceName string `json:"serviceName"` Replicas int `json:"replicas"` Aeroconfig string `json:"aeroconfig"` MemoryLimit string `json:"memoryLimit"` // 1024M CPULimit string `json:"cpuLimit"` // 100m StorageSize string `json:"storageSize"` // 2G }
+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
func (*AerospikeSpec) DeepCopy ¶
func (in *AerospikeSpec) DeepCopy() *AerospikeSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AerospikeSpec.
func (*AerospikeSpec) DeepCopyInto ¶
func (in *AerospikeSpec) DeepCopyInto(out *AerospikeSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AerospikeSpec) DeepCopyObject ¶
func (in *AerospikeSpec) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type CRD ¶
type CRD struct { TypeMeta meta_v1.TypeMeta CRDPlural string CRDGroup string CRDVersion string FullCRDName string ShortNames []string }
func (*CRD) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CRD.
func (*CRD) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EnvVar ¶
func (*EnvVar) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnvVar.
func (*EnvVar) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type K8sMetaObject ¶
type K8sMetaObject interface { K8sObjectWrapper ManageComponents(reconcile.Reconciler, reconcile.Request, K8sObjectWrapper) (reconcile.Result, error) }
type K8sObjectWrapper ¶
type K8sObjectWrapper interface { runtime.Object ObjectsAreEqual(y interface{}) bool GetK8sObj() runtime.Object SetK8sObj(runtime.Object) SetMinorVersion() error }
K8sObjectWrapper that implements ObjectAreEqual Method to compare k8s objects
type Object ¶
type Object struct { meta_v1.TypeMeta `json:",inline"` meta_v1.ObjectMeta `json:"metadata,omitempty"` Spec ObjectSpec `json:"spec,omitempty"` Status ObjectStatus `json:"status,omitempty"` }
IAM is the Schema for the iams API +k8s:openapi-gen=true
func (*Object) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Object.
func (*Object) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Object) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Object) GetAnnotations ¶
type ObjectList ¶
type ObjectList struct { meta_v1.TypeMeta `json:",inline"` meta_v1.ListMeta `json:"metadata,omitempty"` Items []Object `json:"items"` }
ObjectList contains a list of Object
func (*ObjectList) DeepCopy ¶
func (in *ObjectList) DeepCopy() *ObjectList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObjectList.
func (*ObjectList) DeepCopyInto ¶
func (in *ObjectList) DeepCopyInto(out *ObjectList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ObjectList) DeepCopyObject ¶
func (in *ObjectList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ObjectSpec ¶
type ObjectSpec struct { // INSERT ADDITIONAL SPEC FIELDS - desired state of cluster // Important: Run "make" to regenerate code after modifying this file Version string `json:"version,omitempty"` ReplicaCount string `json:"replicaCount,omitempty"` IngressPath string `json:"ingressPath,omitempty"` BaseURL string `json:"baseURL,omitempty"` Aerospike bool `json:"aerospike,omitempty"` Healtz bool `json:"healtz,omitempty"` Env []EnvVar `json:"env,omitempty"` GRPC bool `json:"grpc,omitempty"` MajorVersion string GRPCIngressPath string `json:"grpcIngressPath,omitempty"` GoogleCloudIAM string `json:"GoogleCloudIAM,omitempty"` }
IAMSpec defines the desired state of IAM IAMSpec defines the desired state of IAM
func (*ObjectSpec) DeepCopy ¶
func (in *ObjectSpec) DeepCopy() *ObjectSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObjectSpec.
func (*ObjectSpec) DeepCopyInto ¶
func (in *ObjectSpec) DeepCopyInto(out *ObjectSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ObjectStatus ¶
type ObjectStatus struct { }
IAMStatus defines the observed state of IAM
func (*ObjectStatus) DeepCopy ¶
func (in *ObjectStatus) DeepCopy() *ObjectStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObjectStatus.
func (*ObjectStatus) DeepCopyInto ¶
func (in *ObjectStatus) DeepCopyInto(out *ObjectStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.