v1alpha1

package
v1.0.0 Latest Latest
Warning

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

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

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the v1alpha1 API group +kubebuilder:object:generate=true +groupName=cloud.namecheap.com

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects.
	GroupVersion = schema.GroupVersion{Group: "cloud.namecheap.com", 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
)
View Source
var ErrObjectIsNotValid = errors.New("object is not valid")

Functions

This section is empty.

Types

type Condition

type Condition string
const (
	ConditionCreated   Condition = "Created"
	ConditionScheduled Condition = "Scheduled"
	ConditionFailed    Condition = "Failed"
)

type FailureReason

type FailureReason string

type ScheduledResource

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

	Spec   ScheduledResourceSpec   `json:"spec,omitempty"`
	Status ScheduledResourceStatus `json:"status,omitempty"`
}

func (*ScheduledResource) DeepCopy

func (in *ScheduledResource) DeepCopy() *ScheduledResource

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

func (*ScheduledResource) DeepCopyInto

func (in *ScheduledResource) DeepCopyInto(out *ScheduledResource)

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

func (*ScheduledResource) DeepCopyObject

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

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

func (*ScheduledResource) GetContent

func (in *ScheduledResource) GetContent() (*unstructured.Unstructured, error)

func (*ScheduledResource) IsBeingDeleted

func (in *ScheduledResource) IsBeingDeleted() bool

type ScheduledResourceList

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

func (*ScheduledResourceList) DeepCopy

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

func (*ScheduledResourceList) DeepCopyInto

func (in *ScheduledResourceList) DeepCopyInto(out *ScheduledResourceList)

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

func (*ScheduledResourceList) DeepCopyObject

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

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

type ScheduledResourceSpec

type ScheduledResourceSpec struct {
	In      string `json:"in"`
	Content string `json:"content"`
}

func (*ScheduledResourceSpec) DeepCopy

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

func (*ScheduledResourceSpec) DeepCopyInto

func (in *ScheduledResourceSpec) DeepCopyInto(out *ScheduledResourceSpec)

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

type ScheduledResourceStatus

type ScheduledResourceStatus struct {
	Condition Condition `json:"condition"`
}

func (*ScheduledResourceStatus) DeepCopy

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

func (*ScheduledResourceStatus) DeepCopyInto

func (in *ScheduledResourceStatus) DeepCopyInto(out *ScheduledResourceStatus)

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