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 MeteringMultiCloudUI ¶
type MeteringMultiCloudUI struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec MeteringMultiCloudUISpec `json:"spec,omitempty"` Status MeteringStatus `json:"status,omitempty"` }
MeteringMultiCloudUI is the Schema for the meteringmulticlouduis API +kubebuilder:subresource:status +kubebuilder:resource:path=meteringmulticlouduis,scope=Namespaced
func (*MeteringMultiCloudUI) DeepCopy ¶
func (in *MeteringMultiCloudUI) DeepCopy() *MeteringMultiCloudUI
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MeteringMultiCloudUI.
func (*MeteringMultiCloudUI) DeepCopyInto ¶
func (in *MeteringMultiCloudUI) DeepCopyInto(out *MeteringMultiCloudUI)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MeteringMultiCloudUI) DeepCopyObject ¶
func (in *MeteringMultiCloudUI) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type MeteringMultiCloudUIList ¶
type MeteringMultiCloudUIList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []MeteringMultiCloudUI `json:"items"` }
MeteringMultiCloudUIList contains a list of MeteringMultiCloudUI
func (*MeteringMultiCloudUIList) DeepCopy ¶
func (in *MeteringMultiCloudUIList) DeepCopy() *MeteringMultiCloudUIList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MeteringMultiCloudUIList.
func (*MeteringMultiCloudUIList) DeepCopyInto ¶
func (in *MeteringMultiCloudUIList) DeepCopyInto(out *MeteringMultiCloudUIList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MeteringMultiCloudUIList) DeepCopyObject ¶
func (in *MeteringMultiCloudUIList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type MeteringMultiCloudUISpec ¶
type MeteringMultiCloudUISpec 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"` Replicas int32 `json:"replicas"` UI MeteringSpecUI `json:"ui,omitempty"` MongoDB MeteringSpecMongoDB `json:"mongodb"` }
MeteringMultiCloudUISpec defines the desired state of MeteringMultiCloudUI
func (*MeteringMultiCloudUISpec) DeepCopy ¶
func (in *MeteringMultiCloudUISpec) DeepCopy() *MeteringMultiCloudUISpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MeteringMultiCloudUISpec.
func (*MeteringMultiCloudUISpec) DeepCopyInto ¶
func (in *MeteringMultiCloudUISpec) DeepCopyInto(out *MeteringMultiCloudUISpec)
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 MeteringSpecUI ¶
type MeteringSpecUI struct { IAMnamespace string `json:"iamNamespace,omitempty"` IngressNamespace string `json:"ingressNamespace,omitempty"` CommonHeaderNamespace string `json:"commonHeaderNamespace,omitempty"` APIkeySecret string `json:"apikeySecret,omitempty"` PlatformOidcSecret string `json:"platformOidcSecret,omitempty"` }
MeteringSpecUI defines the UI configuration in the MeteringUI and MeteringMultiCloudUI specs
func (*MeteringSpecUI) DeepCopy ¶
func (in *MeteringSpecUI) DeepCopy() *MeteringSpecUI
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MeteringSpecUI.
func (*MeteringSpecUI) DeepCopyInto ¶
func (in *MeteringSpecUI) DeepCopyInto(out *MeteringSpecUI)
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.