v1

package
v0.2.0 Latest Latest
Warning

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

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

Documentation

Overview

Package v1 contains API Schema definitions for the dioscuri v1 API group +kubebuilder:object:generate=true +groupName=dioscuri.amazee.io

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "dioscuri.amazee.io", 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 HostMigration added in v0.1.6

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

	Spec   HostMigrationSpec   `json:"spec,omitempty"`
	Status HostMigrationStatus `json:"status,omitempty"`
}

HostMigration is the Schema for the hostmigrations API

func (*HostMigration) DeepCopy added in v0.1.6

func (in *HostMigration) DeepCopy() *HostMigration

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

func (*HostMigration) DeepCopyInto added in v0.1.6

func (in *HostMigration) DeepCopyInto(out *HostMigration)

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

func (*HostMigration) DeepCopyObject added in v0.1.6

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

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

type HostMigrationConditions added in v0.1.6

type HostMigrationConditions struct {
	LastTransitionTime string `json:"lastTransitionTime"`
	Status             string `json:"status"`
	Type               string `json:"type"`
	Condition          string `json:"condition"`
}

HostMigrationConditions defines the observed conditions of the migrations

func (*HostMigrationConditions) DeepCopy added in v0.1.6

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

func (*HostMigrationConditions) DeepCopyInto added in v0.1.6

func (in *HostMigrationConditions) DeepCopyInto(out *HostMigrationConditions)

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

type HostMigrationHosts added in v0.1.6

type HostMigrationHosts struct {
	ActiveHosts  string `json:"activeHosts"`
	StandbyHosts string `json:"standbyHosts"`
}

HostMigrationHosts .

func (*HostMigrationHosts) DeepCopy added in v0.1.6

func (in *HostMigrationHosts) DeepCopy() *HostMigrationHosts

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

func (*HostMigrationHosts) DeepCopyInto added in v0.1.6

func (in *HostMigrationHosts) DeepCopyInto(out *HostMigrationHosts)

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

type HostMigrationList added in v0.1.6

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

HostMigrationList contains a list of HostMigration

func (*HostMigrationList) DeepCopy added in v0.1.6

func (in *HostMigrationList) DeepCopy() *HostMigrationList

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

func (*HostMigrationList) DeepCopyInto added in v0.1.6

func (in *HostMigrationList) DeepCopyInto(out *HostMigrationList)

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

func (*HostMigrationList) DeepCopyObject added in v0.1.6

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

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

type HostMigrationSpec added in v0.1.6

type HostMigrationSpec struct {

	// Migrate is an example field of RouteMigrate. Edit RouteMigrate_types.go to remove/update
	DestinationNamespace string             `json:"destinationNamespace,omitempty"`
	Hosts                HostMigrationHosts `json:"hosts,omitempty"`
}

HostMigrationSpec defines the desired state of HostMigration

func (*HostMigrationSpec) DeepCopy added in v0.1.6

func (in *HostMigrationSpec) DeepCopy() *HostMigrationSpec

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

func (*HostMigrationSpec) DeepCopyInto added in v0.1.6

func (in *HostMigrationSpec) DeepCopyInto(out *HostMigrationSpec)

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

type HostMigrationStatus added in v0.1.6

type HostMigrationStatus struct {
	// INSERT ADDITIONAL STATUS FIELD - define observed state of cluster
	// Important: Run "make" to regenerate code after modifying this file
	Conditions []HostMigrationConditions `json:"conditions,omitempty"`
}

HostMigrationStatus defines the observed state of RouteMigrate

func (*HostMigrationStatus) DeepCopy added in v0.1.6

func (in *HostMigrationStatus) DeepCopy() *HostMigrationStatus

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

func (*HostMigrationStatus) DeepCopyInto added in v0.1.6

func (in *HostMigrationStatus) DeepCopyInto(out *HostMigrationStatus)

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