v1alpha1

package
v0.0.0-...-cae1f32 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package v1alpha1 is the v1alpha1 version of the API.

Index

Constants

View Source
const GroupName = "staticegressips.nirmata.io"

GroupName is the group name for egress IP API

Variables

View Source
var (
	SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes)
	AddToScheme   = SchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1alpha1"}

SchemeGroupVersion is group version used to register these objects

Functions

func Kind

func Kind(kind string) schema.GroupKind

Kind takes an unqualified kind and returns back a Group qualified GroupKind

func Resource

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group qualified GroupResource

Types

type Rule

type Rule struct {
	ServiceName string `json:"service-name"`
	EgressIP    string `json:"egressip"`
	Cidr        string `json:"cidr"`
}

func (*Rule) DeepCopy

func (in *Rule) DeepCopy() *Rule

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

func (*Rule) DeepCopyInto

func (in *Rule) DeepCopyInto(out *Rule)

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

type StaticEgressIP

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

	Spec   StaticEgressIPSpec   `json:"spec"`
	Status StaticEgressIPStatus `json:"status"`
}

StaticEgressIP is a specification for a StaticEgressIP resource

func (*StaticEgressIP) DeepCopy

func (in *StaticEgressIP) DeepCopy() *StaticEgressIP

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

func (*StaticEgressIP) DeepCopyInto

func (in *StaticEgressIP) DeepCopyInto(out *StaticEgressIP)

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

func (*StaticEgressIP) DeepCopyObject

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

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

type StaticEgressIPList

type StaticEgressIPList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata"`

	Items []StaticEgressIP `json:"items"`
}

StaticEgressIPList is a list of StaticEgressIP resources

func (*StaticEgressIPList) DeepCopy

func (in *StaticEgressIPList) DeepCopy() *StaticEgressIPList

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

func (*StaticEgressIPList) DeepCopyInto

func (in *StaticEgressIPList) DeepCopyInto(out *StaticEgressIPList)

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

func (*StaticEgressIPList) DeepCopyObject

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

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

type StaticEgressIPSpec

type StaticEgressIPSpec struct {
	Rules []Rule `json:"rules"`
}

StaticEgressIPSpec is the spec for a StaticEgressIP resource

func (*StaticEgressIPSpec) DeepCopy

func (in *StaticEgressIPSpec) DeepCopy() *StaticEgressIPSpec

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

func (*StaticEgressIPSpec) DeepCopyInto

func (in *StaticEgressIPSpec) DeepCopyInto(out *StaticEgressIPSpec)

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

type StaticEgressIPStatus

type StaticEgressIPStatus struct {
	GatewayNode string `json:"gateway-node"`
	GatewayIP   string `json:"gateway-ip"`
}

StaticEgressIPStatus is the status for a StaticEgressIP resource

func (*StaticEgressIPStatus) DeepCopy

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

func (*StaticEgressIPStatus) DeepCopyInto

func (in *StaticEgressIPStatus) DeepCopyInto(out *StaticEgressIPStatus)

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