v2

package
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2024 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Overview

Package v2 contains API Schema definitions for the cilium.angeloxx.ch v2 API group +kubebuilder:object:generate=true +groupName=cilium.angeloxx.ch

ref https://github.com/cilium/cilium/blob/main/pkg/k8s/apis/cilium.io/v2/cegp_types.go

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "cilium.angeloxx.ch", Version: "v2"}

	// 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 HAEgressGatewayPolicy

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

	Spec   ciliumv2.CiliumEgressGatewayPolicySpec `json:"spec,omitempty"`
	Status HAEgressGatewayPolicyStatus            `json:"status,omitempty"`
}

haEgressGatewayPolicy is the Schema for the haegressgatewaypolicies API

func (*HAEgressGatewayPolicy) DeepCopy

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

func (*HAEgressGatewayPolicy) DeepCopyInto

func (in *HAEgressGatewayPolicy) DeepCopyInto(out *HAEgressGatewayPolicy)

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

func (*HAEgressGatewayPolicy) DeepCopyObject

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

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

type HAEgressGatewayPolicyList

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

haEgressGatewayPolicyList contains a list of haEgressGatewayPolicy

func (*HAEgressGatewayPolicyList) DeepCopy

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

func (*HAEgressGatewayPolicyList) DeepCopyInto

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

func (*HAEgressGatewayPolicyList) DeepCopyObject

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

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

type HAEgressGatewayPolicyStatus

type HAEgressGatewayPolicyStatus struct {
	ServiceCreated bool `json:"serviceCreated"`
	PolicyCreated  bool `json:"policyCreated"`

	// +kubebuilder:validation:Optional
	ExitNode string `json:"exitNode,omitempty"`

	// +kubebuilder:validation:Optional
	IPAddress string `json:"ipAddress,omitempty"`

	// +kubebuilder:validation:Optional
	LastModifiedTime metav1.Time `json:"lastModifiedTime,omitempty"`
}

HAEgressGatewayPolicy defines the observed state of haEgressGatewayPolicy

func (*HAEgressGatewayPolicyStatus) DeepCopy

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

func (*HAEgressGatewayPolicyStatus) DeepCopyInto

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