v1beta2

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

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

	// AddToScheme ...
	AddToScheme = localSchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: k8scnicncfio.GroupName, Version: "v1beta2"}

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 IPBlock

type IPBlock struct {
	CIDR string `json:"cidr"`
	// +optional
	Except []string `json:"except,omitempty"`
}

IPBlock ...

func (*IPBlock) DeepCopy

func (in *IPBlock) DeepCopy() *IPBlock

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

func (*IPBlock) DeepCopyInto

func (in *IPBlock) DeepCopyInto(out *IPBlock)

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

type MultiNetworkPolicy

type MultiNetworkPolicy struct {
	metav1.TypeMeta `json:",inline"`
	// Standard object's metadata.
	// +optional
	metav1.ObjectMeta `json:"metadata,omitempty"`

	// +optional
	Spec MultiNetworkPolicySpec `json:"spec,omitempty"`
}

MultiNetworkPolicy ...

func (*MultiNetworkPolicy) DeepCopy

func (in *MultiNetworkPolicy) DeepCopy() *MultiNetworkPolicy

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

func (*MultiNetworkPolicy) DeepCopyInto

func (in *MultiNetworkPolicy) DeepCopyInto(out *MultiNetworkPolicy)

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

func (*MultiNetworkPolicy) DeepCopyObject

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

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

type MultiNetworkPolicyEgressRule

type MultiNetworkPolicyEgressRule struct {
	// +optional
	Ports []MultiNetworkPolicyPort `json:"ports,omitempty"`

	// +optional
	To []MultiNetworkPolicyPeer `json:"to,omitempty"`
}

MultiNetworkPolicyEgressRule ...

func (*MultiNetworkPolicyEgressRule) DeepCopy

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

func (*MultiNetworkPolicyEgressRule) DeepCopyInto

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

type MultiNetworkPolicyIngressRule

type MultiNetworkPolicyIngressRule struct {
	// +optional
	Ports []MultiNetworkPolicyPort `json:"ports,omitempty"`

	// +optional
	From []MultiNetworkPolicyPeer `json:"from,omitempty"`
}

MultiNetworkPolicyIngressRule ...

func (*MultiNetworkPolicyIngressRule) DeepCopy

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

func (*MultiNetworkPolicyIngressRule) DeepCopyInto

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

type MultiNetworkPolicyList

type MultiNetworkPolicyList struct {
	metav1.TypeMeta `json:",inline"`
	// Standard object's metadata.
	// +optional
	metav1.ListMeta `json:"metadata,omitempty"`

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

MultiNetworkPolicyList ...

func (*MultiNetworkPolicyList) DeepCopy

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

func (*MultiNetworkPolicyList) DeepCopyInto

func (in *MultiNetworkPolicyList) DeepCopyInto(out *MultiNetworkPolicyList)

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

func (*MultiNetworkPolicyList) DeepCopyObject

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

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

type MultiNetworkPolicyPeer

type MultiNetworkPolicyPeer struct {
	// +optional
	PodSelector *metav1.LabelSelector `json:"podSelector,omitempty"`

	// +optional
	NamespaceSelector *metav1.LabelSelector `json:"namespaceSelector,omitempty"`

	// +optional
	IPBlock *IPBlock `json:"ipBlock,omitempty"`
}

MultiNetworkPolicyPeer ...

func (*MultiNetworkPolicyPeer) DeepCopy

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

func (*MultiNetworkPolicyPeer) DeepCopyInto

func (in *MultiNetworkPolicyPeer) DeepCopyInto(out *MultiNetworkPolicyPeer)

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

type MultiNetworkPolicyPort

type MultiNetworkPolicyPort struct {
	// +optional
	Protocol *v1.Protocol `json:"protocol,omitempty"`

	// +optional
	Port *intstr.IntOrString `json:"port,omitempty"`

	// +optional
	EndPort *int32 `json:"endPort,omitempty"`
}

MultiNetworkPolicyPort ...

func (*MultiNetworkPolicyPort) DeepCopy

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

func (*MultiNetworkPolicyPort) DeepCopyInto

func (in *MultiNetworkPolicyPort) DeepCopyInto(out *MultiNetworkPolicyPort)

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

type MultiNetworkPolicySpec

type MultiNetworkPolicySpec struct {
	PodSelector metav1.LabelSelector `json:"podSelector"`

	// +optional
	Ingress []MultiNetworkPolicyIngressRule `json:"ingress,omitempty"`

	// +optional
	Egress []MultiNetworkPolicyEgressRule `json:"egress,omitempty"`
	// +optional
	PolicyTypes []MultiPolicyType `json:"policyTypes,omitempty"`
}

MultiNetworkPolicySpec ...

func (*MultiNetworkPolicySpec) DeepCopy

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

func (*MultiNetworkPolicySpec) DeepCopyInto

func (in *MultiNetworkPolicySpec) DeepCopyInto(out *MultiNetworkPolicySpec)

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

type MultiPolicyType

type MultiPolicyType string

MultiPolicyType ...

const (
	// PolicyTypeIngress ...
	PolicyTypeIngress MultiPolicyType = "Ingress"
	// PolicyTypeEgress ...
	PolicyTypeEgress MultiPolicyType = "Egress"
)

Jump to

Keyboard shortcuts

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