Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the operator v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=operator.ibm.com
Package v1alpha1 contains API Schema definitions for the operator v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=operator.ibm.com
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // SchemeGroupVersion is group version used to register these objects SchemeGroupVersion = schema.GroupVersion{Group: "operator.ibm.com", Version: "v1alpha1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion} )
Functions ¶
func GetOpenAPIDefinitions ¶
func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenAPIDefinition
Types ¶
type MeteringSender ¶
type MeteringSender struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec MeteringSenderSpec `json:"spec,omitempty"` Status MeteringStatus `json:"status,omitempty"` }
MeteringSender is the Schema for the meteringsenders API +kubebuilder:subresource:status +kubebuilder:resource:path=meteringsenders,scope=Namespaced
func (*MeteringSender) DeepCopy ¶
func (in *MeteringSender) DeepCopy() *MeteringSender
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MeteringSender.
func (*MeteringSender) DeepCopyInto ¶
func (in *MeteringSender) DeepCopyInto(out *MeteringSender)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MeteringSender) DeepCopyObject ¶
func (in *MeteringSender) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type MeteringSenderList ¶
type MeteringSenderList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []MeteringSender `json:"items"` }
MeteringSenderList contains a list of MeteringSender
func (*MeteringSenderList) DeepCopy ¶
func (in *MeteringSenderList) DeepCopy() *MeteringSenderList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MeteringSenderList.
func (*MeteringSenderList) DeepCopyInto ¶
func (in *MeteringSenderList) DeepCopyInto(out *MeteringSenderList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MeteringSenderList) DeepCopyObject ¶
func (in *MeteringSenderList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type MeteringSenderSpec ¶
type MeteringSenderSpec 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-v1.book.kubebuilder.io/beyond_basics/generating_crd.html Version string `json:"version"` ImageRegistry string `json:"imageRegistry,omitempty"` ImageTagPostfix string `json:"imageTagPostfix,omitempty"` Sender MeteringSenderSpecSender `json:"sender,omitempty"` MongoDB MeteringSpecMongoDB `json:"mongodb"` }
MeteringSenderSpec defines the desired state of MeteringSender
func (*MeteringSenderSpec) DeepCopy ¶
func (in *MeteringSenderSpec) DeepCopy() *MeteringSenderSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MeteringSenderSpec.
func (*MeteringSenderSpec) DeepCopyInto ¶
func (in *MeteringSenderSpec) DeepCopyInto(out *MeteringSenderSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MeteringSenderSpecSender ¶
type MeteringSenderSpecSender struct { ClusterName string `json:"clusterName,omitempty"` ClusterNamespace string `json:"clusterNamespace"` HubKubeConfigSecret string `json:"hubKubeConfigSecret"` }
MeteringSenderSpecSender defines the metering-sender configuration in the MeteringSender spec
func (*MeteringSenderSpecSender) DeepCopy ¶
func (in *MeteringSenderSpecSender) DeepCopy() *MeteringSenderSpecSender
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MeteringSenderSpecSender.
func (*MeteringSenderSpecSender) DeepCopyInto ¶
func (in *MeteringSenderSpecSender) DeepCopyInto(out *MeteringSenderSpecSender)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MeteringSenderStatus ¶
type MeteringSenderStatus struct { }
MeteringSenderStatus defines the observed state of MeteringSender
func (*MeteringSenderStatus) DeepCopy ¶
func (in *MeteringSenderStatus) DeepCopy() *MeteringSenderStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MeteringSenderStatus.
func (*MeteringSenderStatus) DeepCopyInto ¶
func (in *MeteringSenderStatus) DeepCopyInto(out *MeteringSenderStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MeteringSpecMongoDB ¶
type MeteringSpecMongoDB struct { Host string `json:"host"` Port int `json:"port"` UsernameSecret string `json:"usernameSecret"` UsernameKey string `json:"usernameKey"` PasswordSecret string `json:"passwordSecret"` PasswordKey string `json:"passwordKey"` ClusterCertsSecret string `json:"clustercertssecret"` ClientCertsSecret string `json:"clientcertssecret"` }
MeteringSpecMongoDB defines the MongoDB configuration in all the Metering specs
func (*MeteringSpecMongoDB) DeepCopy ¶
func (in *MeteringSpecMongoDB) DeepCopy() *MeteringSpecMongoDB
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MeteringSpecMongoDB.
func (*MeteringSpecMongoDB) DeepCopyInto ¶
func (in *MeteringSpecMongoDB) DeepCopyInto(out *MeteringSpecMongoDB)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MeteringStatus ¶
type MeteringStatus struct { // INSERT ADDITIONAL STATUS FIELD - define observed state of cluster // Important: Run "operator-sdk generate k8s" to regenerate code after modifying this file // Add custom validation using kubebuilder tags: https://book-v1.book.kubebuilder.io/beyond_basics/generating_crd.html // PodNames are the names of the metering pods PodNames []string `json:"podNames"` }
MeteringStatus defines the observed state of each Metering service
func (*MeteringStatus) DeepCopy ¶
func (in *MeteringStatus) DeepCopy() *MeteringStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MeteringStatus.
func (*MeteringStatus) DeepCopyInto ¶
func (in *MeteringStatus) DeepCopyInto(out *MeteringStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.