v1

package
v0.0.0-...-b6584fe Latest Latest
Warning

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

Go to latest
Published: May 4, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package v1 contains API Schema definitions for the operator v1 API group +kubebuilder:object:generate=true +groupName=operator.ibm.com

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "operator.ibm.com", Version: "v1"}

	// 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 PolicyController

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

	Spec   PolicyControllerSpec   `json:"spec,omitempty"`
	Status PolicyControllerStatus `json:"status,omitempty"`
}

PolicyController is the Schema for the policycontrollers API

func (*PolicyController) DeepCopy

func (in *PolicyController) DeepCopy() *PolicyController

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

func (*PolicyController) DeepCopyInto

func (in *PolicyController) DeepCopyInto(out *PolicyController)

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

func (*PolicyController) DeepCopyObject

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

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

type PolicyControllerList

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

PolicyControllerList contains a list of PolicyController

func (*PolicyControllerList) DeepCopy

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

func (*PolicyControllerList) DeepCopyInto

func (in *PolicyControllerList) DeepCopyInto(out *PolicyControllerList)

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

func (*PolicyControllerList) DeepCopyObject

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

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

type PolicyControllerSpec

type PolicyControllerSpec struct {
	OperatorVersion string                       `json:"operatorVersion,omitempty"`
	Replicas        int32                        `json:"replicas"`
	ImageRegistry   string                       `json:"imageRegistry,omitempty"`
	ImageTagPostfix string                       `json:"imageTagPostfix,omitempty"`
	Resources       *corev1.ResourceRequirements `json:"resources,omitempty"`
}

PolicyControllerSpec defines the desired state of PolicyController

func (*PolicyControllerSpec) DeepCopy

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

func (*PolicyControllerSpec) DeepCopyInto

func (in *PolicyControllerSpec) DeepCopyInto(out *PolicyControllerSpec)

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

type PolicyControllerStatus

type PolicyControllerStatus struct {
	Nodes    []string      `json:"nodes"`
	Versions StatusVersion `json:"versions,omitempty"`
}

PolicyControllerStatus defines the observed state of PolicyController

func (*PolicyControllerStatus) DeepCopy

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

func (*PolicyControllerStatus) DeepCopyInto

func (in *PolicyControllerStatus) DeepCopyInto(out *PolicyControllerStatus)

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"`
}

StatusVersion defines the Operator versions

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