v1

package
v0.0.0-...-a3b290e Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2025 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package v1 is the v1 version of the API. +groupName=aci.aw

Index

Constants

This section is empty.

Variables

View Source
var (
	// localSchemeBuilder and AddToScheme will stay in k8s.io/kubernetes.
	SchemeBuilder runtime.SchemeBuilder

	AddToScheme = localSchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: aciaw.GroupName, Version: "v1"}

SchemeGroupVersion is group version used to register these objects

Functions

func Resource

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group qualified GroupResource

Types

type IntRange

type IntRange struct {
	Start int `json:"start,omitempty"`
	End   int `json:"end,omitempty"`
}

func (*IntRange) DeepCopy

func (in *IntRange) DeepCopy() *IntRange

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

func (*IntRange) DeepCopyInto

func (in *IntRange) DeepCopyInto(out *IntRange)

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

type PodIF

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

	Status PodIFStatus `json:"status"`
}

PodIF describes a pod network interface

func (*PodIF) DeepCopy

func (in *PodIF) DeepCopy() *PodIF

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

func (*PodIF) DeepCopyInto

func (in *PodIF) DeepCopyInto(out *PodIF)

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

func (*PodIF) DeepCopyObject

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

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

type PodIFList

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

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

PodIFList is a list of pod interfaces

func (*PodIFList) DeepCopy

func (in *PodIFList) DeepCopy() *PodIFList

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

func (*PodIFList) DeepCopyInto

func (in *PodIFList) DeepCopyInto(out *PodIFList)

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

func (*PodIFList) DeepCopyObject

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

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

type PodIFStatus

type PodIFStatus struct {
	PodNS       string `json:"podns,omitempty"`
	PodName     string `json:"podname,omitempty"`
	ContainerID string `json:"containerID,omitempty"`
	MacAddr     string `json:"macaddr,omitempty"`
	IPAddr      string `json:"ipaddr,omitempty"`
	EPG         string `json:"epg,omitempty"`
	VTEP        string `json:"vtep,omitempty"`
	IFName      string `json:"ifname,omitempty"`
}

PodIFStatus is the status of a PodIF

func (*PodIFStatus) DeepCopy

func (in *PodIFStatus) DeepCopy() *PodIFStatus

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

func (*PodIFStatus) DeepCopyInto

func (in *PodIFStatus) DeepCopyInto(out *PodIFStatus)

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

type WLRule

type WLRule struct {
	Protocol string   `json:"protocol,omitempty"`
	Ports    IntRange `json:"ports,omitempty"`
}

WLRules are implicit allow

func (*WLRule) DeepCopy

func (in *WLRule) DeepCopy() *WLRule

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

func (*WLRule) DeepCopyInto

func (in *WLRule) DeepCopyInto(out *WLRule)

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