v1beta1

package
v0.0.0-...-c63ad0a Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package v1beta1 contains API Schema definitions for the migrations v1beta1 API group +kubebuilder:object:generate=true +groupName=migrations.coderanger.net

Index

Constants

This section is empty.

Variables

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

	// 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 Migrator

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

	Spec   MigratorSpec   `json:"spec,omitempty"`
	Status MigratorStatus `json:"status,omitempty"`
}

Migrator is the Schema for the migrators API

func (*Migrator) DeepCopy

func (in *Migrator) DeepCopy() *Migrator

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

func (*Migrator) DeepCopyInto

func (in *Migrator) DeepCopyInto(out *Migrator)

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

func (*Migrator) DeepCopyObject

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

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

func (*Migrator) GetConditions

func (o *Migrator) GetConditions() *[]conditions.Condition

TODO code generator for this.

type MigratorList

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

MigratorList contains a list of Migrator

func (*MigratorList) DeepCopy

func (in *MigratorList) DeepCopy() *MigratorList

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

func (*MigratorList) DeepCopyInto

func (in *MigratorList) DeepCopyInto(out *MigratorList)

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

func (*MigratorList) DeepCopyObject

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

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

type MigratorSpec

type MigratorSpec struct {
	Selector         *metav1.LabelSelector `json:"selector"`
	TemplateSelector *metav1.LabelSelector `json:"templateSelector,omitempty"`
	Command          *[]string             `json:"command,omitempty"`
	Image            string                `json:"image,omitempty"`
	Args             *[]string             `json:"args,omitempty"`
	Container        string                `json:"container,omitempty"`
	Labels           map[string]string     `json:"labels,omitempty"`
	Annotations      map[string]string     `json:"annotations,omitempty"`
}

MigratorSpec defines the desired state of Migrator

func (*MigratorSpec) DeepCopy

func (in *MigratorSpec) DeepCopy() *MigratorSpec

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

func (*MigratorSpec) DeepCopyInto

func (in *MigratorSpec) DeepCopyInto(out *MigratorSpec)

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

type MigratorStatus

type MigratorStatus struct {
	// Represents the observations of a RabbitUsers's current state.
	// Known .status.conditions.type are: Ready, UserReady, PermissionsReady
	// +patchMergeKey=type
	// +patchStrategy=merge
	// +listType=map
	// +listMapKey=type
	Conditions              []conditions.Condition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,1,rep,name=conditions"`
	LastSuccessfulMigration string                 `json:"lastSuccessfulMigration,omitempty"`
}

MigratorStatus defines the observed state of Migrator

func (*MigratorStatus) DeepCopy

func (in *MigratorStatus) DeepCopy() *MigratorStatus

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

func (*MigratorStatus) DeepCopyInto

func (in *MigratorStatus) DeepCopyInto(out *MigratorStatus)

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