v1

package
v0.0.0-...-8262c23 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

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

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

	Spec   SimpleCRDSpec   `json:"spec,omitempty"`
	Status SimpleCRDStatus `json:"status,omitempty"`
}

SimpleCRD is a CRD we use on tests to validate the behavior of our internal reconciler. This should be kept simple with only primitive values on spec / status since the deepcopy code is manually maintained and it's going to be easier that way

func (*SimpleCRD) DeepCopy

func (in *SimpleCRD) DeepCopy() *SimpleCRD

func (*SimpleCRD) DeepCopyInto

func (in *SimpleCRD) DeepCopyInto(out *SimpleCRD)

func (*SimpleCRD) DeepCopyObject

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

type SimpleCRDList

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

func (*SimpleCRDList) DeepCopy

func (in *SimpleCRDList) DeepCopy() *SimpleCRDList

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

func (*SimpleCRDList) DeepCopyInto

func (in *SimpleCRDList) DeepCopyInto(out *SimpleCRDList)

func (*SimpleCRDList) DeepCopyObject

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

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

type SimpleCRDSpec

type SimpleCRDSpec struct {
	ReferencedMap  *string `json:"referencedMap"`
	ConfigMapValue *string `json:"configMapValue"`
	SecretValue    *string `json:"secretValue"`
}

func (*SimpleCRDSpec) DeepCopy

func (in *SimpleCRDSpec) DeepCopy() *SimpleCRDSpec

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

func (*SimpleCRDSpec) DeepCopyInto

func (in *SimpleCRDSpec) DeepCopyInto(out *SimpleCRDSpec)

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

type SimpleCRDStatus

type SimpleCRDStatus struct {
	StaticValue         *string `json:"staticValue"`
	ReferencedValue     *string `json:"referencedValue"`
	KnownConfigMapValue *string `json:"knownConfigMapValue"`
	KnownSecretValue    *string `json:"knownSecretValue"`
	NamespaceAnnotation string  `json:"namespaceAnnotation"`
	Finalizing          bool    `json:"finalizing"`
}

Jump to

Keyboard shortcuts

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