resources

package
v0.22.0 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2024 License: Apache-2.0 Imports: 14 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: "testing.reconciler.runtime", 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
)
View Source
var SchemeGroupVersion = GroupVersion

compatibility with k8s.io/code-generator

Functions

This section is empty.

Types

type TestDuck

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

	Spec   TestDuckSpec       `json:"spec"`
	Status TestResourceStatus `json:"status"`
}

func (*TestDuck) DeepCopy

func (in *TestDuck) DeepCopy() *TestDuck

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

func (*TestDuck) DeepCopyInto

func (in *TestDuck) DeepCopyInto(out *TestDuck)

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

func (*TestDuck) DeepCopyObject

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

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

func (*TestDuck) Default

func (r *TestDuck) Default()

func (*TestDuck) ValidateCreate

func (r *TestDuck) ValidateCreate() (admission.Warnings, error)

func (*TestDuck) ValidateDelete

func (r *TestDuck) ValidateDelete() (admission.Warnings, error)

func (*TestDuck) ValidateUpdate

func (r *TestDuck) ValidateUpdate(old runtime.Object) (admission.Warnings, error)

type TestDuckList

type TestDuckList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata"`

	Items []TestDuck `json:"items"`
}

func (*TestDuckList) DeepCopy

func (in *TestDuckList) DeepCopy() *TestDuckList

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

func (*TestDuckList) DeepCopyInto

func (in *TestDuckList) DeepCopyInto(out *TestDuckList)

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

func (*TestDuckList) DeepCopyObject

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

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

type TestDuckSpec

type TestDuckSpec struct {
	Fields map[string]string `json:"fields,omitempty"`
}

+kubebuilder:object:generate=true

func (*TestDuckSpec) DeepCopy

func (in *TestDuckSpec) DeepCopy() *TestDuckSpec

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

func (*TestDuckSpec) DeepCopyInto

func (in *TestDuckSpec) DeepCopyInto(out *TestDuckSpec)

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

type TestResource

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

	Spec   TestResourceSpec   `json:"spec"`
	Status TestResourceStatus `json:"status"`
}

func (*TestResource) DeepCopy

func (in *TestResource) DeepCopy() *TestResource

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

func (*TestResource) DeepCopyInto

func (in *TestResource) DeepCopyInto(out *TestResource)

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

func (*TestResource) DeepCopyObject

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

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

func (*TestResource) Default

func (*TestResource) Default(ctx context.Context, obj runtime.Object) error

func (*TestResource) ValidateCreate

func (*TestResource) ValidateCreate(ctx context.Context, obj runtime.Object) (admission.Warnings, error)

func (*TestResource) ValidateDelete

func (*TestResource) ValidateDelete(ctx context.Context, obj runtime.Object) (admission.Warnings, error)

func (*TestResource) ValidateUpdate

func (*TestResource) ValidateUpdate(ctx context.Context, oldObj, newObj runtime.Object) (admission.Warnings, error)

type TestResourceEmptyStatus

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

	Spec   TestResourceSpec              `json:"spec"`
	Status TestResourceEmptyStatusStatus `json:"status"`
}

func (*TestResourceEmptyStatus) DeepCopy

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

func (*TestResourceEmptyStatus) DeepCopyInto

func (in *TestResourceEmptyStatus) DeepCopyInto(out *TestResourceEmptyStatus)

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

func (*TestResourceEmptyStatus) DeepCopyObject

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

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

func (*TestResourceEmptyStatus) Default

type TestResourceEmptyStatusList

type TestResourceEmptyStatusList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata"`

	Items []TestResourceNoStatus `json:"items"`
}

func (*TestResourceEmptyStatusList) DeepCopy

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

func (*TestResourceEmptyStatusList) DeepCopyInto

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

func (*TestResourceEmptyStatusList) DeepCopyObject

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

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

type TestResourceEmptyStatusStatus

type TestResourceEmptyStatusStatus struct {
}

+kubebuilder:object:generate=true

func (*TestResourceEmptyStatusStatus) DeepCopy

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

func (*TestResourceEmptyStatusStatus) DeepCopyInto

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

type TestResourceInterfaceList

type TestResourceInterfaceList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata"`

	Items []client.Object `json:"items"`
}

func (*TestResourceInterfaceList) DeepCopy

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

func (*TestResourceInterfaceList) DeepCopyInto

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

func (*TestResourceInterfaceList) DeepCopyObject

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

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

type TestResourceInvalidList

type TestResourceInvalidList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata"`

	Items []string `json:"items"`
}

func (*TestResourceInvalidList) DeepCopy

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

func (*TestResourceInvalidList) DeepCopyInto

func (in *TestResourceInvalidList) DeepCopyInto(out *TestResourceInvalidList)

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

func (*TestResourceInvalidList) DeepCopyObject

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

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

type TestResourceList

type TestResourceList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata"`

	Items []TestResource `json:"items"`
}

func (*TestResourceList) DeepCopy

func (in *TestResourceList) DeepCopy() *TestResourceList

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

func (*TestResourceList) DeepCopyInto

func (in *TestResourceList) DeepCopyInto(out *TestResourceList)

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

func (*TestResourceList) DeepCopyObject

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

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

type TestResourceNilableStatus

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

	Spec   TestResourceSpec    `json:"spec"`
	Status *TestResourceStatus `json:"status"`
}

func (*TestResourceNilableStatus) DeepCopy

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

func (*TestResourceNilableStatus) DeepCopyInto

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

func (*TestResourceNilableStatus) DeepCopyObject

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

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

func (TestResourceNilableStatus) Default

func (*TestResourceNilableStatus) ValidateCreate

func (*TestResourceNilableStatus) ValidateDelete

func (*TestResourceNilableStatus) ValidateUpdate

func (*TestResourceNilableStatus) ValidateUpdate(ctx context.Context, oldObj, newObj runtime.Object) (admission.Warnings, error)

type TestResourceNilableStatusList

type TestResourceNilableStatusList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata"`

	Items []TestResourceNilableStatus `json:"items"`
}

func (*TestResourceNilableStatusList) DeepCopy

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

func (*TestResourceNilableStatusList) DeepCopyInto

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

func (*TestResourceNilableStatusList) DeepCopyObject

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

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

type TestResourceNoStatus

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

	Spec TestResourceSpec `json:"spec"`
}

func (*TestResourceNoStatus) DeepCopy

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

func (*TestResourceNoStatus) DeepCopyInto

func (in *TestResourceNoStatus) DeepCopyInto(out *TestResourceNoStatus)

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

func (*TestResourceNoStatus) DeepCopyObject

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

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

func (*TestResourceNoStatus) Default

func (r *TestResourceNoStatus) Default()

type TestResourceNoStatusList

type TestResourceNoStatusList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata"`

	Items []TestResourceNoStatus `json:"items"`
}

func (*TestResourceNoStatusList) DeepCopy

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

func (*TestResourceNoStatusList) DeepCopyInto

func (in *TestResourceNoStatusList) DeepCopyInto(out *TestResourceNoStatusList)

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

func (*TestResourceNoStatusList) DeepCopyObject

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

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

type TestResourcePointerList

type TestResourcePointerList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata"`

	Items []*TestResource `json:"items"`
}

func (*TestResourcePointerList) DeepCopy

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

func (*TestResourcePointerList) DeepCopyInto

func (in *TestResourcePointerList) DeepCopyInto(out *TestResourcePointerList)

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

func (*TestResourcePointerList) DeepCopyObject

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

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

type TestResourceSpec

type TestResourceSpec struct {
	Fields   map[string]string      `json:"fields,omitempty"`
	Template corev1.PodTemplateSpec `json:"template,omitempty"`

	ErrOnMarshal   bool `json:"errOnMarhsal,omitempty"`
	ErrOnUnmarshal bool `json:"errOnUnmarhsal,omitempty"`
}

+kubebuilder:object:generate=true

func (*TestResourceSpec) DeepCopy

func (in *TestResourceSpec) DeepCopy() *TestResourceSpec

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

func (*TestResourceSpec) DeepCopyInto

func (in *TestResourceSpec) DeepCopyInto(out *TestResourceSpec)

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

func (*TestResourceSpec) MarshalJSON

func (r *TestResourceSpec) MarshalJSON() ([]byte, error)

func (*TestResourceSpec) UnmarshalJSON

func (r *TestResourceSpec) UnmarshalJSON(data []byte) error

type TestResourceStatus

type TestResourceStatus struct {
	apis.Status `json:",inline"`
	Fields      map[string]string `json:"fields,omitempty"`
}

+kubebuilder:object:generate=true

func (*TestResourceStatus) DeepCopy

func (in *TestResourceStatus) DeepCopy() *TestResourceStatus

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

func (*TestResourceStatus) DeepCopyInto

func (in *TestResourceStatus) DeepCopyInto(out *TestResourceStatus)

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

func (*TestResourceStatus) InitializeConditions

func (rs *TestResourceStatus) InitializeConditions(ctx context.Context)

func (*TestResourceStatus) MarkNotReady

func (rs *TestResourceStatus) MarkNotReady(ctx context.Context, reason, message string, messageA ...interface{})

func (*TestResourceStatus) MarkReady

func (rs *TestResourceStatus) MarkReady(ctx context.Context)

type TestResourceUnexportedFields

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

	Spec   TestResourceUnexportedFieldsSpec   `json:"spec"`
	Status TestResourceUnexportedFieldsStatus `json:"status"`
}

func (*TestResourceUnexportedFields) DeepCopy

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

func (*TestResourceUnexportedFields) DeepCopyInto

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

func (*TestResourceUnexportedFields) DeepCopyObject

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

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

func (*TestResourceUnexportedFields) Default

func (*TestResourceUnexportedFields) ReflectUnexportedFieldsToStatus

func (r *TestResourceUnexportedFields) ReflectUnexportedFieldsToStatus()

func (*TestResourceUnexportedFields) ValidateCreate

func (*TestResourceUnexportedFields) ValidateDelete

func (*TestResourceUnexportedFields) ValidateUpdate

func (*TestResourceUnexportedFields) ValidateUpdate(ctx context.Context, oldObj, newObj runtime.Object) (admission.Warnings, error)

type TestResourceUnexportedFieldsList

type TestResourceUnexportedFieldsList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata"`

	Items []TestResourceUnexportedFields `json:"items"`
}

func (*TestResourceUnexportedFieldsList) DeepCopy

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

func (*TestResourceUnexportedFieldsList) DeepCopyInto

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

func (*TestResourceUnexportedFieldsList) DeepCopyObject

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

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

type TestResourceUnexportedFieldsSpec

type TestResourceUnexportedFieldsSpec struct {
	Fields map[string]string `json:"fields,omitempty"`

	Template corev1.PodTemplateSpec `json:"template,omitempty"`

	ErrOnMarshal   bool `json:"errOnMarhsal,omitempty"`
	ErrOnUnmarshal bool `json:"errOnUnmarhsal,omitempty"`
	// contains filtered or unexported fields
}

+kubebuilder:object:generate=true

func (*TestResourceUnexportedFieldsSpec) AddUnexportedField

func (r *TestResourceUnexportedFieldsSpec) AddUnexportedField(key, value string)

func (*TestResourceUnexportedFieldsSpec) DeepCopy

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

func (*TestResourceUnexportedFieldsSpec) DeepCopyInto

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

func (*TestResourceUnexportedFieldsSpec) GetUnexportedFields

func (r *TestResourceUnexportedFieldsSpec) GetUnexportedFields() map[string]string

func (*TestResourceUnexportedFieldsSpec) MarshalJSON

func (r *TestResourceUnexportedFieldsSpec) MarshalJSON() ([]byte, error)

func (*TestResourceUnexportedFieldsSpec) SetUnexportedFields

func (r *TestResourceUnexportedFieldsSpec) SetUnexportedFields(f map[string]string)

func (*TestResourceUnexportedFieldsSpec) UnmarshalJSON

func (r *TestResourceUnexportedFieldsSpec) UnmarshalJSON(data []byte) error

type TestResourceUnexportedFieldsStatus

type TestResourceUnexportedFieldsStatus struct {
	apis.Status `json:",inline"`
	Fields      map[string]string `json:"fields,omitempty"`
	// contains filtered or unexported fields
}

+kubebuilder:object:generate=true

func (*TestResourceUnexportedFieldsStatus) AddUnexportedField

func (r *TestResourceUnexportedFieldsStatus) AddUnexportedField(key, value string)

func (*TestResourceUnexportedFieldsStatus) DeepCopy

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

func (*TestResourceUnexportedFieldsStatus) DeepCopyInto

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

func (*TestResourceUnexportedFieldsStatus) GetUnexportedFields

func (r *TestResourceUnexportedFieldsStatus) GetUnexportedFields() map[string]string

func (*TestResourceUnexportedFieldsStatus) SetUnexportedFields

func (r *TestResourceUnexportedFieldsStatus) SetUnexportedFields(f map[string]string)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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