v2alpha1

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

+kubebuilder:object:generate=true +groupName=accurate.cybozu.com

Package v2alpha1 contains API Schema definitions for the accurate v2alpha1 API group

Index

Constants

View Source
const (
	SubNamespaceConflict string = "Conflict"
)

Variables

View Source
var (
	// SchemeGroupVersion is group version used to register these objects
	SchemeGroupVersion = schema.GroupVersion{Group: "accurate.cybozu.com", Version: "v2alpha1"}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion}

	// AddToScheme adds the types in this group-version to the given scheme.
	AddToScheme = SchemeBuilder.AddToScheme
)

Functions

This section is empty.

Types

type SubNamespace

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

	// Spec is the spec of SubNamespace.
	// +optional
	Spec SubNamespaceSpec `json:"spec,omitempty"`

	// Status is the status of SubNamespace.
	// +optional
	Status SubNamespaceStatus `json:"status,omitempty"`
}

SubNamespace is the Schema for the subnamespaces API

func (*SubNamespace) DeepCopy

func (in *SubNamespace) DeepCopy() *SubNamespace

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

func (*SubNamespace) DeepCopyInto

func (in *SubNamespace) DeepCopyInto(out *SubNamespace)

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

func (*SubNamespace) DeepCopyObject

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

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

func (*SubNamespace) Hub

func (*SubNamespace) Hub()

Hub marks this SubNamespace version as a conversion hub.

type SubNamespaceList

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

SubNamespaceList contains a list of SubNamespace

func (*SubNamespaceList) DeepCopy

func (in *SubNamespaceList) DeepCopy() *SubNamespaceList

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

func (*SubNamespaceList) DeepCopyInto

func (in *SubNamespaceList) DeepCopyInto(out *SubNamespaceList)

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

func (*SubNamespaceList) DeepCopyObject

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

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

type SubNamespaceSpec

type SubNamespaceSpec struct {
	// Labels are the labels to be propagated to the sub-namespace
	// +optional
	Labels map[string]string `json:"labels,omitempty"`

	// Annotations are the annotations to be propagated to the sub-namespace.
	// +optional
	Annotations map[string]string `json:"annotations,omitempty"`
}

SubNamespaceSpec defines the desired state of SubNamespace

func (*SubNamespaceSpec) DeepCopy

func (in *SubNamespaceSpec) DeepCopy() *SubNamespaceSpec

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

func (*SubNamespaceSpec) DeepCopyInto

func (in *SubNamespaceSpec) DeepCopyInto(out *SubNamespaceSpec)

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

type SubNamespaceStatus

type SubNamespaceStatus struct {
	// The generation observed by the object controller.
	// +optional
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`

	// Conditions represent the latest available observations of an object's state
	// +listType=map
	// +listMapKey=type
	// +optional
	Conditions []metav1.Condition `json:"conditions,omitempty"`
}

SubNamespaceStatus defines the observed state of SubNamespace

func (*SubNamespaceStatus) DeepCopy

func (in *SubNamespaceStatus) DeepCopy() *SubNamespaceStatus

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

func (*SubNamespaceStatus) DeepCopyInto

func (in *SubNamespaceStatus) DeepCopyInto(out *SubNamespaceStatus)

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