v1alpha1

package
v0.0.1 Latest Latest
Warning

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

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

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the network v1alpha1 API group +k8s:openapi-gen=true +k8s:deepcopy-gen=package,register +k8s:conversion-gen=github.com/kubesphere/porter/pkg/apis/network +k8s:defaulter-gen=TypeMeta +groupName=network.kubesphere.io

Package v1alpha1 contains API Schema definitions for the network v1alpha1 API group +k8s:openapi-gen=true +k8s:deepcopy-gen=package,register +k8s:conversion-gen=github.com/kubesphere/porter/pkg/apis/network +k8s:defaulter-gen=TypeMeta +groupName=network.kubesphere.io

Index

Constants

This section is empty.

Variables

View Source
var (
	// SchemeGroupVersion is group version used to register these objects
	SchemeGroupVersion = schema.GroupVersion{Group: "network.kubesphere.io", Version: "v1alpha1"}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion}

	// AddToScheme is required by pkg/client/...
	AddToScheme = SchemeBuilder.AddToScheme
)

Functions

func Resource

func Resource(resource string) schema.GroupResource

Resource is required by pkg/client/listers/...

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"`
}

EIP is the Schema for the eips API +k8s:openapi-gen=true

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 {
	// INSERT ADDITIONAL STATUS FIELD - define observed state of cluster
	// Important: Run "make" to regenerate code after modifying this file
	PortsUsage map[int32]string `json:"portsUsage,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