v1alpha1

package
v0.0.0-...-0bcaffd Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the silly v1alpha1 API group +kubebuilder:object:generate=true +groupName=silly.example.org

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "silly.example.org", 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
)

Functions

This section is empty.

Types

type ConfigMapCount

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

	Spec ConfigMapCountSpec `json:"spec,omitempty"`
	// +optional
	Status ConfigMapCountStatus `json:"status"`
}

ConfigMapCount is the Schema for the configmapcounts API

func (*ConfigMapCount) DeepCopy

func (in *ConfigMapCount) DeepCopy() *ConfigMapCount

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

func (*ConfigMapCount) DeepCopyInto

func (in *ConfigMapCount) DeepCopyInto(out *ConfigMapCount)

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

func (*ConfigMapCount) DeepCopyObject

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

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

type ConfigMapCountList

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

ConfigMapCountList contains a list of ConfigMapCount

func (*ConfigMapCountList) DeepCopy

func (in *ConfigMapCountList) DeepCopy() *ConfigMapCountList

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

func (*ConfigMapCountList) DeepCopyInto

func (in *ConfigMapCountList) DeepCopyInto(out *ConfigMapCountList)

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

func (*ConfigMapCountList) DeepCopyObject

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

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

type ConfigMapCountSpec

type ConfigMapCountSpec struct {
	// Selector selects ConfigMaps to count
	// +optional
	Selector metav1.LabelSelector `json:"selector,omitempty"`
}

ConfigMapCountSpec defines the desired state of ConfigMapCount

func (*ConfigMapCountSpec) DeepCopy

func (in *ConfigMapCountSpec) DeepCopy() *ConfigMapCountSpec

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

func (*ConfigMapCountSpec) DeepCopyInto

func (in *ConfigMapCountSpec) DeepCopyInto(out *ConfigMapCountSpec)

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

type ConfigMapCountStatus

type ConfigMapCountStatus struct {
	// ConfigMaps count - selected by .spec.selector in the current namespace
	// +optional
	ConfigMaps int `json:"configMaps"`
}

ConfigMapCountStatus defines the observed state of ConfigMapCount

func (*ConfigMapCountStatus) DeepCopy

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

func (*ConfigMapCountStatus) DeepCopyInto

func (in *ConfigMapCountStatus) DeepCopyInto(out *ConfigMapCountStatus)

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