v1alpha1

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the actions v1alpha1 API group +kubebuilder:object:generate=true +groupName=node-detacher.variant.run

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "node-detacher.variant.run", 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
)

Functions

This section is empty.

Types

type Attachment

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

	Spec   AttachmentSpec   `json:"spec,omitempty"`
	Status AttachmentStatus `json:"status,omitempty"`
}

Attachment is the Schema for the runners API

func (*Attachment) DeepCopy

func (in *Attachment) DeepCopy() *Attachment

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

func (*Attachment) DeepCopyInto

func (in *Attachment) DeepCopyInto(out *Attachment)

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

func (*Attachment) DeepCopyObject

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

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

type AttachmentList

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

AttachmentList contains a list of Attachment

func (*AttachmentList) DeepCopy

func (in *AttachmentList) DeepCopy() *AttachmentList

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

func (*AttachmentList) DeepCopyInto

func (in *AttachmentList) DeepCopyInto(out *AttachmentList)

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

func (*AttachmentList) DeepCopyObject

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

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

type AttachmentSpec

type AttachmentSpec struct {
	// +kubebuilder:validation:MinLength=3
	NodeName string `json:"nodeName"`

	// +optional
	AwsTargets []AwsTarget `json:"awsTargets,omitempty"`

	// +optional
	AwsLoadBalancers []AwsLoadBalancer `json:"awsLoadBalancers,omitempty"`
}

AttachmentSpec defines the desired state of Attachment

func (*AttachmentSpec) DeepCopy

func (in *AttachmentSpec) DeepCopy() *AttachmentSpec

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

func (*AttachmentSpec) DeepCopyInto

func (in *AttachmentSpec) DeepCopyInto(out *AttachmentSpec)

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

type AttachmentStatus

type AttachmentStatus struct {
	CachedAt   metav1.Time `json:"cachedAt"`
	DetachedAt metav1.Time `json:"detachedAt,omitempty"`
	Phase      string      `json:"phase"`
	Reason     string      `json:"reason"`
	Message    string      `json:"message"`
}

AttachmentStatus defines the observed state of Attachment

func (*AttachmentStatus) DeepCopy

func (in *AttachmentStatus) DeepCopy() *AttachmentStatus

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

func (*AttachmentStatus) DeepCopyInto

func (in *AttachmentStatus) DeepCopyInto(out *AttachmentStatus)

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

type AwsLoadBalancer

type AwsLoadBalancer struct {
	Name string `json:"name"`

	// +optional
	Detached bool `json:"detached,omitempty"`
}

AwsLoadBalancer defines the AWS ELB v1 CLB that the load-balancing target is attached to

func (*AwsLoadBalancer) DeepCopy

func (in *AwsLoadBalancer) DeepCopy() *AwsLoadBalancer

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

func (*AwsLoadBalancer) DeepCopyInto

func (in *AwsLoadBalancer) DeepCopyInto(out *AwsLoadBalancer)

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

type AwsTarget

type AwsTarget struct {
	ARN string `json:"arn"`

	// +optional
	Port *int64 `json:"port,omitempty"`

	// +optional
	Detached bool `json:"detached,omitempty"`
}

AwsTarget defines the AWS ELB v2 Target Group Target

func (*AwsTarget) DeepCopy

func (in *AwsTarget) DeepCopy() *AwsTarget

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

func (*AwsTarget) DeepCopyInto

func (in *AwsTarget) DeepCopyInto(out *AwsTarget)

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