v1alpha1

package
v0.1.4 Latest Latest
Warning

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

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

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the operator v1alpha1 API group.

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects.
	GroupVersion = schema.GroupVersion{Group: "operator.kyma-project.io", Version: "v1alpha1"}

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

	// Needed by kubernetes/code-generator.
	SchemeGroupVersion = GroupVersion
)

Functions

func Resource

func Resource(resource string) schema.GroupResource

Needed by kubernetes/code-generator.

Types

type DNSMasqueradingOperator

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

	Spec DNSMasqueradingOperatorSpec `json:"spec,omitempty"`
	// +kubebuilder:default={"observedGeneration":-1}
	Status DNSMasqueradingOperatorStatus `json:"status,omitempty"`
}

DNSMasqueradingOperator is the Schema for the dnsmasqueradingoperators API.

func (*DNSMasqueradingOperator) DeepCopy

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

func (*DNSMasqueradingOperator) DeepCopyInto

func (in *DNSMasqueradingOperator) DeepCopyInto(out *DNSMasqueradingOperator)

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

func (*DNSMasqueradingOperator) DeepCopyObject

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

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

func (*DNSMasqueradingOperator) GetDeploymentName

func (c *DNSMasqueradingOperator) GetDeploymentName() string

func (*DNSMasqueradingOperator) GetDeploymentNamespace

func (c *DNSMasqueradingOperator) GetDeploymentNamespace() string

func (*DNSMasqueradingOperator) GetSpec

func (*DNSMasqueradingOperator) GetStatus

func (c *DNSMasqueradingOperator) GetStatus() *component.Status

type DNSMasqueradingOperatorList

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

DNSMasqueradingOperatorList contains a list of DNSMasqueradingOperator.

func (*DNSMasqueradingOperatorList) DeepCopy

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

func (*DNSMasqueradingOperatorList) DeepCopyInto

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

func (*DNSMasqueradingOperatorList) DeepCopyObject

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

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

type DNSMasqueradingOperatorSpec

type DNSMasqueradingOperatorSpec struct {
	component.Spec `json:",inline"`
	// +kubebuilder:validation:Minimum=1
	// +kubebuilder:default=1
	ReplicaCount int `json:"replicaCount,omitempty"`
	// +optional
	Image                          component.ImageSpec `json:"image"`
	component.KubernetesProperties `json:",inline"`
}

DNSMasqueradingOperatorSpec defines the desired state of DNSMasqueradingOperator.

func (*DNSMasqueradingOperatorSpec) DeepCopy

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

func (*DNSMasqueradingOperatorSpec) DeepCopyInto

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

func (*DNSMasqueradingOperatorSpec) ToUnstructured

func (s *DNSMasqueradingOperatorSpec) ToUnstructured() map[string]any

type DNSMasqueradingOperatorStatus

type DNSMasqueradingOperatorStatus struct {
	component.Status `json:",inline"`
}

DNSMasqueradingOperatorStatus defines the observed state of DNSMasqueradingOperator.

func (*DNSMasqueradingOperatorStatus) DeepCopy

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

func (*DNSMasqueradingOperatorStatus) DeepCopyInto

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