v1alpha1

package
v0.12.1 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package v1alpha1 contains api definitions for test.infrared.reddit.com/v1alpha1 +kubebuilder:object:generate=true +groupName=test.infrared.reddit.com

Index

Constants

View Source
const (
	Group   = "test.infrared.reddit.com"
	Version = "v1alpha1"
)

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: Group, Version: Version}

	// 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 (
	// TestClaim type metadata
	TestClaimKind             = reflect.TypeOf(TestClaim{}).Name()
	TestClaimGroupKind        = schema.GroupKind{Group: Group, Kind: TestClaimKind}.String()
	TestClaimKindAPIVersion   = TestClaimKind + "." + GroupVersion.String()
	TestClaimGroupVersionKind = GroupVersion.WithKind(TestClaimKind)

	// TestClaimed type metadata
	TestClaimedKind             = reflect.TypeOf(TestClaimed{}).Name()
	TestClaimedGroupKind        = schema.GroupKind{Group: Group, Kind: TestClaimedKind}.String()
	TestClaimedKindAPIVersion   = TestClaimedKind + "." + GroupVersion.String()
	TestClaimedGroupVersionKind = GroupVersion.WithKind(TestClaimedKind)
)

Functions

This section is empty.

Types

type TestClaim

type TestClaim struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              TestClaimSpec   `json:"spec,omitempty"`
	Status            TestClaimStatus `json:"status,omitempty"`
}

func (*TestClaim) DeepCopy

func (in *TestClaim) DeepCopy() *TestClaim

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

func (*TestClaim) DeepCopyInto

func (in *TestClaim) DeepCopyInto(out *TestClaim)

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

func (*TestClaim) DeepCopyObject

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

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

func (*TestClaim) GetClaimedRef

func (t *TestClaim) GetClaimedRef() *api.TypedObjectRef

func (*TestClaim) GetCondition

func (t *TestClaim) GetCondition(ct api.ConditionType) api.Condition

func (*TestClaim) GetConditions

func (t *TestClaim) GetConditions() []api.Condition

func (*TestClaim) GetManagedResources

func (c *TestClaim) GetManagedResources() []api.TypedObjectRef

func (*TestClaim) SetClaimedRef

func (t *TestClaim) SetClaimedRef(ref *api.TypedObjectRef)

func (*TestClaim) SetConditions

func (t *TestClaim) SetConditions(c ...api.Condition)

func (*TestClaim) SetManagedResources

func (c *TestClaim) SetManagedResources(refs []api.TypedObjectRef)

type TestClaimList

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

TestClaimList contains a list of TestClaims

func (*TestClaimList) DeepCopy

func (in *TestClaimList) DeepCopy() *TestClaimList

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

func (*TestClaimList) DeepCopyInto

func (in *TestClaimList) DeepCopyInto(out *TestClaimList)

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

func (*TestClaimList) DeepCopyObject

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

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

type TestClaimSpec

type TestClaimSpec struct {
	ClaimedRef    *api.TypedObjectRef `json:"claimedRef,omitempty"`
	TestField     string              `json:"testField,omitempty"`
	ConfigMapName *string             `json:"configMapName,omitempty"`
	DontDelete    bool                `json:"dontDelete,omitempty"`
}

func (*TestClaimSpec) DeepCopy

func (in *TestClaimSpec) DeepCopy() *TestClaimSpec

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

func (*TestClaimSpec) DeepCopyInto

func (in *TestClaimSpec) DeepCopyInto(out *TestClaimSpec)

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

type TestClaimStatus

type TestClaimStatus struct {
	// A field updated by the controller to match the Spec's test field on reconciliation.
	// Mutation to this field can be used to verify if the reconcile loop has run in tests.
	TestField string `json:"testField,omitempty"`

	// Status conditions for the TestClaim.
	api.ConditionedStatus `json:",inline"`

	// ResourceRefs is a list of all resources managed by this object.
	ResourceRefs []api.TypedObjectRef `json:"resourceRefs,omitempty"`

	ConfigMapName *string `json:"configMapName,omitempty"`
}

TestClaimStatus describes the status of a TestClaim.

func (*TestClaimStatus) DeepCopy

func (in *TestClaimStatus) DeepCopy() *TestClaimStatus

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

func (*TestClaimStatus) DeepCopyInto

func (in *TestClaimStatus) DeepCopyInto(out *TestClaimStatus)

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

type TestClaimed

type TestClaimed struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              TestClaimedSpec   `json:"spec,omitempty"`
	Status            TestClaimedStatus `json:"status,omitempty"`
}

func (*TestClaimed) DeepCopy

func (in *TestClaimed) DeepCopy() *TestClaimed

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

func (*TestClaimed) DeepCopyInto

func (in *TestClaimed) DeepCopyInto(out *TestClaimed)

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

func (*TestClaimed) DeepCopyObject

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

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

func (*TestClaimed) GetClaimRef

func (t *TestClaimed) GetClaimRef() *api.TypedObjectRef

func (*TestClaimed) GetCondition

func (t *TestClaimed) GetCondition(ct api.ConditionType) api.Condition

func (*TestClaimed) GetConditions

func (t *TestClaimed) GetConditions() []api.Condition

func (*TestClaimed) GetManagedResources

func (t *TestClaimed) GetManagedResources() []api.TypedObjectRef

func (*TestClaimed) SetClaimRef

func (t *TestClaimed) SetClaimRef(ref *api.TypedObjectRef)

func (*TestClaimed) SetConditions

func (t *TestClaimed) SetConditions(c ...api.Condition)

func (*TestClaimed) SetManagedResources

func (t *TestClaimed) SetManagedResources(refs []api.TypedObjectRef)

type TestClaimedList

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

TestClaimedList contains a list of TestClaimeds

func (*TestClaimedList) DeepCopy

func (in *TestClaimedList) DeepCopy() *TestClaimedList

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

func (*TestClaimedList) DeepCopyInto

func (in *TestClaimedList) DeepCopyInto(out *TestClaimedList)

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

func (*TestClaimedList) DeepCopyObject

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

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

type TestClaimedSpec

type TestClaimedSpec struct {
	ClaimRef   *api.TypedObjectRef `json:"claimRef,omitempty"`
	Success    bool                `json:"success,omitempty"`
	DontDelete bool                `json:"dontDelete,omitempty"`
}

func (*TestClaimedSpec) DeepCopy

func (in *TestClaimedSpec) DeepCopy() *TestClaimedSpec

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

func (*TestClaimedSpec) DeepCopyInto

func (in *TestClaimedSpec) DeepCopyInto(out *TestClaimedSpec)

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

type TestClaimedStatus

type TestClaimedStatus struct {
	api.ConditionedStatus `json:",inline"`

	Resources []api.TypedObjectRef `json:"resources,omitempty"`
}

func (*TestClaimedStatus) DeepCopy

func (in *TestClaimedStatus) DeepCopy() *TestClaimedStatus

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

func (*TestClaimedStatus) DeepCopyInto

func (in *TestClaimedStatus) DeepCopyInto(out *TestClaimedStatus)

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