v1alpha1

package
v0.0.0-...-207e492 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 19, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

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

View Source
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

Types

type Metering

type Metering struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   MeteringSpec   `json:"spec,omitempty"`
	Status MeteringStatus `json:"status,omitempty"`
}

Metering is the Schema for the meterings API +kubebuilder:subresource:status +kubebuilder:resource:path=meterings,scope=Namespaced

func (*Metering) DeepCopy

func (in *Metering) DeepCopy() *Metering

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Metering.

func (*Metering) DeepCopyInto

func (in *Metering) DeepCopyInto(out *Metering)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Metering) DeepCopyObject

func (in *Metering) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type MeteringList

type MeteringList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []Metering `json:"items"`
}

MeteringList contains a list of Metering

func (*MeteringList) DeepCopy

func (in *MeteringList) DeepCopy() *MeteringList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MeteringList.

func (*MeteringList) DeepCopyInto

func (in *MeteringList) DeepCopyInto(out *MeteringList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*MeteringList) DeepCopyObject

func (in *MeteringList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

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

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

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

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 MeteringReportServer

type MeteringReportServer struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   MeteringReportServerSpec `json:"spec,omitempty"`
	Status MeteringStatus           `json:"status,omitempty"`
}

MeteringReportServer is the Schema for the meteringreportservers API +kubebuilder:subresource:status +kubebuilder:resource:path=meteringreportservers,scope=Cluster

func (*MeteringReportServer) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MeteringReportServer.

func (*MeteringReportServer) DeepCopyInto

func (in *MeteringReportServer) DeepCopyInto(out *MeteringReportServer)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*MeteringReportServer) DeepCopyObject

func (in *MeteringReportServer) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type MeteringReportServerList

type MeteringReportServerList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []MeteringReportServer `json:"items"`
}

MeteringReportServerList contains a list of MeteringReportServer

func (*MeteringReportServerList) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MeteringReportServerList.

func (*MeteringReportServerList) DeepCopyInto

func (in *MeteringReportServerList) DeepCopyInto(out *MeteringReportServerList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*MeteringReportServerList) DeepCopyObject

func (in *MeteringReportServerList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type MeteringReportServerSpec

type MeteringReportServerSpec 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,omitempty"`
	ReportServerResources MeteringSpecResources `json:"reportServer,omitempty"`
}

MeteringReportServerSpec defines the desired state of MeteringReportServer

func (*MeteringReportServerSpec) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MeteringReportServerSpec.

func (*MeteringReportServerSpec) DeepCopyInto

func (in *MeteringReportServerSpec) DeepCopyInto(out *MeteringReportServerSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

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"`
	Replicas        int32                    `json:"replicas,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"`
	Resources           corev1.ResourceRequirements `json:"resources,omitempty"`
}

MeteringSenderSpecSender defines the metering-sender configuration in the MeteringSender spec

func (*MeteringSenderSpecSender) DeepCopy

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 MeteringSpec

type MeteringSpec 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"`
	IAMnamespace              string              `json:"iamNamespace,omitempty"`
	ClusterIssuer             string              `json:"clusterIssuer,omitempty"`
	MultiCloudReceiverEnabled bool                `json:"multiCloudReceiverEnabled,omitempty"`
	ExcludeSystemNamespaces   bool                `json:"excludeSystemNamespaces,omitempty"`
	DataManager               MeteringSpecDM      `json:"dataManager,omitempty"`
	Reader                    MeteringSpecRdr     `json:"reader,omitempty"`
	MongoDB                   MeteringSpecMongoDB `json:"mongodb"`
}

MeteringSpec defines the desired state of Metering

func (*MeteringSpec) DeepCopy

func (in *MeteringSpec) DeepCopy() *MeteringSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MeteringSpec.

func (*MeteringSpec) DeepCopyInto

func (in *MeteringSpec) DeepCopyInto(out *MeteringSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type MeteringSpecDM

type MeteringSpecDM struct {
	DataManagerResources MeteringSpecResources `json:"dm,omitempty"`
}

MeteringSpecDM defines the DataManager configuration in the Metering spec

func (*MeteringSpecDM) DeepCopy

func (in *MeteringSpecDM) DeepCopy() *MeteringSpecDM

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MeteringSpecDM.

func (*MeteringSpecDM) DeepCopyInto

func (in *MeteringSpecDM) DeepCopyInto(out *MeteringSpecDM)

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 MeteringSpecRdr

type MeteringSpecRdr struct {
	ReaderResources MeteringSpecResources `json:"rdr,omitempty"`
}

MeteringSpecRdr defines the Reader configuration in the Metering spec

func (*MeteringSpecRdr) DeepCopy

func (in *MeteringSpecRdr) DeepCopy() *MeteringSpecRdr

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MeteringSpecRdr.

func (*MeteringSpecRdr) DeepCopyInto

func (in *MeteringSpecRdr) DeepCopyInto(out *MeteringSpecRdr)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type MeteringSpecResources

type MeteringSpecResources struct {
	Resources corev1.ResourceRequirements `json:"resources,omitempty"`
}

MeteringSpecResources defines the resource requirements for the Metering containers

func (*MeteringSpecResources) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MeteringSpecResources.

func (*MeteringSpecResources) DeepCopyInto

func (in *MeteringSpecResources) DeepCopyInto(out *MeteringSpecResources)

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"`
	Resources             corev1.ResourceRequirements `json:"resources,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"`
	Versions StatusVersion `json:"versions,omitempty"`
}

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.

type MeteringUI

type MeteringUI struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   MeteringUISpec `json:"spec,omitempty"`
	Status MeteringStatus `json:"status,omitempty"`
}

MeteringUI is the Schema for the meteringuis API +kubebuilder:subresource:status +kubebuilder:resource:path=meteringuis,scope=Namespaced

func (*MeteringUI) DeepCopy

func (in *MeteringUI) DeepCopy() *MeteringUI

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MeteringUI.

func (*MeteringUI) DeepCopyInto

func (in *MeteringUI) DeepCopyInto(out *MeteringUI)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*MeteringUI) DeepCopyObject

func (in *MeteringUI) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type MeteringUIList

type MeteringUIList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []MeteringUI `json:"items"`
}

MeteringUIList contains a list of MeteringUI

func (*MeteringUIList) DeepCopy

func (in *MeteringUIList) DeepCopy() *MeteringUIList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MeteringUIList.

func (*MeteringUIList) DeepCopyInto

func (in *MeteringUIList) DeepCopyInto(out *MeteringUIList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*MeteringUIList) DeepCopyObject

func (in *MeteringUIList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type MeteringUISpec

type MeteringUISpec 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"`
	ClusterName     string              `json:"clusterName,omitempty"`
	MongoDB         MeteringSpecMongoDB `json:"mongodb"`
}

MeteringUISpec defines the desired state of MeteringUI

func (*MeteringUISpec) DeepCopy

func (in *MeteringUISpec) DeepCopy() *MeteringUISpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MeteringUISpec.

func (*MeteringUISpec) DeepCopyInto

func (in *MeteringUISpec) DeepCopyInto(out *MeteringUISpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type StatusVersion

type StatusVersion struct {
	Reconciled string `json:"reconciled"`
}

func (*StatusVersion) DeepCopy

func (in *StatusVersion) DeepCopy() *StatusVersion

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatusVersion.

func (*StatusVersion) DeepCopyInto

func (in *StatusVersion) DeepCopyInto(out *StatusVersion)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL