v1alpha1

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the network v1alpha1 API group +kubebuilder:object:generate=true +groupName=network.kubesphere.io

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "network.kubesphere.io", 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 Eip

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

	Spec   EipSpec   `json:"spec,omitempty"`
	Status EipStatus `json:"status,omitempty"`
}

+kubebuilder:object:root=true +kubebuilder:subresource:status Eip is the Schema for the eips API

func (*Eip) DeepCopy

func (in *Eip) DeepCopy() *Eip

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

func (*Eip) DeepCopyInto

func (in *Eip) DeepCopyInto(out *Eip)

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

func (*Eip) DeepCopyObject

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

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

type EipList

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

EipList contains a list of Eip

func (*EipList) DeepCopy

func (in *EipList) DeepCopy() *EipList

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

func (*EipList) DeepCopyInto

func (in *EipList) DeepCopyInto(out *EipList)

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

func (*EipList) DeepCopyObject

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

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

type EipSpec

type EipSpec struct {
	Address string `json:"address,omitempty"`
	Disable bool   `json:"disable,omitempty"`
}

EipSpec defines the desired state of EIP

func (*EipSpec) DeepCopy

func (in *EipSpec) DeepCopy() *EipSpec

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

func (*EipSpec) DeepCopyInto

func (in *EipSpec) DeepCopyInto(out *EipSpec)

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

type EipStatus

type EipStatus struct {
	PortsUsage map[string]string `json:"portsUsage,omitempty"`
	Occupied   bool              `json:"occupied,omitempty"`
}

EipStatus defines the observed state of EIP

func (*EipStatus) DeepCopy

func (in *EipStatus) DeepCopy() *EipStatus

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

func (*EipStatus) DeepCopyInto

func (in *EipStatus) DeepCopyInto(out *EipStatus)

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