v1beta1

package
v0.8.0 Latest Latest
Warning

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

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

Documentation

Overview

Package v1beta1 Package v1 contains API Schema definitions for the alibabacloud v1beta1 API group +k8s:deepcopy-gen=package,register +groupName=alibabacloud.com

Index

Constants

This section is empty.

Variables

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

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

	// AddToScheme adds the types in this group-version to the given scheme.
	AddToScheme = SchemeBuilder.AddToScheme
)

Functions

This section is empty.

Types

type AllocationType added in v0.5.0

type AllocationType struct {
	// +kubebuilder:default:=Auto
	// +kubebuilder:validation:Required
	Type IPAllocType `json:"type"`
	// +kubebuilder:validation:Required
	// +kubebuilder:validation:Enum=Follow;TTL;Never
	ReleaseStrategy ReleaseStrategy `json:"releaseStrategy"`
	ReleaseAfter    string          `json:"releaseAfter,omitempty"` // go type 5m0s
}

AllocationType ip type and release strategy

func (*AllocationType) DeepCopy added in v0.5.0

func (in *AllocationType) DeepCopy() *AllocationType

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

func (*AllocationType) DeepCopyInto added in v0.5.0

func (in *AllocationType) DeepCopyInto(out *AllocationType)

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

type Entry

type Entry struct {
	ExternalPort string `json:"externalPort,omitempty"`
	ExternalIP   string `json:"externalIP,omitempty"`
	InternalPort string `json:"internalPort,omitempty"`
	InternalIP   string `json:"internalIP,omitempty"`

	ForwardEntryID string `json:"forwardEntryId,omitempty"`
	IPProtocol     string `json:"ipProtocol,omitempty"`
}

Entry record for forwardEntry

func (*Entry) DeepCopy

func (in *Entry) DeepCopy() *Entry

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

func (*Entry) DeepCopyInto

func (in *Entry) DeepCopyInto(out *Entry)

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

type IPAllocType added in v0.5.0

type IPAllocType string

IPAllocType is the type for eip alloc strategy

const (
	IPAllocTypeAuto   IPAllocType = "Auto"
	IPAllocTypeStatic IPAllocType = "Static"
)

IPAllocType

type PodDNAT

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

	Spec   PodDNATSpec   `json:"spec,omitempty"`
	Status PodDNATStatus `json:"status,omitempty"`
}

PodDNAT is the Schema for the poddnats API

func (*PodDNAT) DeepCopy

func (in *PodDNAT) DeepCopy() *PodDNAT

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

func (*PodDNAT) DeepCopyInto

func (in *PodDNAT) DeepCopyInto(out *PodDNAT)

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

func (*PodDNAT) DeepCopyObject

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

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

type PodDNATList

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

PodDNATList contains a list of PodDNAT

func (*PodDNATList) DeepCopy

func (in *PodDNATList) DeepCopy() *PodDNATList

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

func (*PodDNATList) DeepCopyInto

func (in *PodDNATList) DeepCopyInto(out *PodDNATList)

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

func (*PodDNATList) DeepCopyObject

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

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

type PodDNATSpec

type PodDNATSpec struct {
	VSwitch      *string       `json:"vswitch,omitempty"` // deprecated
	ENI          *string       `json:"eni,omitempty"`     // deprecated
	ZoneID       *string       `json:"zoneID,omitempty"`
	ExternalIP   *string       `json:"externalIP,omitempty"`
	ExternalPort *string       `json:"externalPort,omitempty"` // deprecated
	InternalIP   *string       `json:"internalIP,omitempty"`   // pod IP may change
	InternalPort *string       `json:"internalPort,omitempty"` // deprecated
	Protocol     *string       `json:"protocol,omitempty"`
	TableId      *string       `json:"tableId,omitempty"` // natGateway ID
	EntryId      *string       `json:"entryId,omitempty"` // deprecated
	PortMapping  []PortMapping `json:"portMapping,omitempty"`
}

PodDNATSpec defines the desired state of PodDNAT

func (*PodDNATSpec) DeepCopy

func (in *PodDNATSpec) DeepCopy() *PodDNATSpec

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

func (*PodDNATSpec) DeepCopyInto

func (in *PodDNATSpec) DeepCopyInto(out *PodDNATSpec)

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

type PodDNATStatus

type PodDNATStatus struct {
	// created create status
	// +optional
	Created *string `json:"created,omitempty"` // deprecated

	// entries
	// +optional
	Entries []Entry `json:"entries,omitempty"`
}

PodDNATStatus defines the observed state of PodDNAT

func (*PodDNATStatus) DeepCopy

func (in *PodDNATStatus) DeepCopy() *PodDNATStatus

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

func (*PodDNATStatus) DeepCopyInto

func (in *PodDNATStatus) DeepCopyInto(out *PodDNATStatus)

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

type PodEIP added in v0.5.0

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

	Spec   PodEIPSpec   `json:"spec,omitempty"`
	Status PodEIPStatus `json:"status,omitempty"`
}

PodEIP is the Schema for the podeips API

func (*PodEIP) DeepCopy added in v0.5.0

func (in *PodEIP) DeepCopy() *PodEIP

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

func (*PodEIP) DeepCopyInto added in v0.5.0

func (in *PodEIP) DeepCopyInto(out *PodEIP)

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

func (*PodEIP) DeepCopyObject added in v0.5.0

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

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

type PodEIPList added in v0.5.0

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

PodEIPList contains a list of PodEIP

func (*PodEIPList) DeepCopy added in v0.5.0

func (in *PodEIPList) DeepCopy() *PodEIPList

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

func (*PodEIPList) DeepCopyInto added in v0.5.0

func (in *PodEIPList) DeepCopyInto(out *PodEIPList)

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

func (*PodEIPList) DeepCopyObject added in v0.5.0

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

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

type PodEIPSpec added in v0.5.0

type PodEIPSpec struct {
	// +kubebuilder:validation:Required
	AllocationID string `json:"allocationID"`

	BandwidthPackageID string `json:"bandwidthPackageID,omitempty"`

	// +kubebuilder:validation:Required
	AllocationType AllocationType `json:"allocationType"`
}

PodEIPSpec defines the desired state of PodEIP

func (*PodEIPSpec) DeepCopy added in v0.5.0

func (in *PodEIPSpec) DeepCopy() *PodEIPSpec

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

func (*PodEIPSpec) DeepCopyInto added in v0.5.0

func (in *PodEIPSpec) DeepCopyInto(out *PodEIPSpec)

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

type PodEIPStatus added in v0.5.0

type PodEIPStatus struct {
	// eni
	NetworkInterfaceID string `json:"networkInterfaceID,omitempty"`
	PrivateIPAddress   string `json:"privateIPAddress,omitempty"`
	// eip
	EipAddress            string `json:"eipAddress,omitempty"`
	ISP                   string `json:"isp,omitempty"`
	InternetChargeType    string `json:"internetChargeType,omitempty"`
	ResourceGroupID       string `json:"resourceGroupID,omitempty"`
	Name                  string `json:"name,omitempty"`
	PublicIpAddressPoolID string `json:"publicIpAddressPoolID,omitempty"`
	Status                string `json:"status,omitempty"`

	// BandwidthPackageID
	BandwidthPackageID string `json:"bandwidthPackageID,omitempty"`

	// PodLastSeen is the timestamp when pod resource last seen
	PodLastSeen metav1.Time `json:"podLastSeen,omitempty"`
}

PodEIPStatus defines the observed state of PodEIP

func (*PodEIPStatus) DeepCopy added in v0.5.0

func (in *PodEIPStatus) DeepCopy() *PodEIPStatus

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

func (*PodEIPStatus) DeepCopyInto added in v0.5.0

func (in *PodEIPStatus) DeepCopyInto(out *PodEIPStatus)

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

type PortMapping

type PortMapping struct {
	ExternalPort string `json:"externalPort,omitempty"`
	InternalPort string `json:"internalPort,omitempty"`
}

func (*PortMapping) DeepCopy

func (in *PortMapping) DeepCopy() *PortMapping

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

func (*PortMapping) DeepCopyInto

func (in *PortMapping) DeepCopyInto(out *PortMapping)

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

type ReleaseStrategy added in v0.5.0

type ReleaseStrategy string

ReleaseStrategy is the type for eip release strategy

const (
	ReleaseStrategyFollow ReleaseStrategy = "Follow" // default policy
	ReleaseStrategyTTL    ReleaseStrategy = "TTL"
	ReleaseStrategyNever  ReleaseStrategy = "Never"
)

ReleaseStrategy

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL