v1alpha1

package
v0.0.0-...-aca0140 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the apic v1alpha1 API group +kubebuilder:object:generate=true +groupName=apic.aci.cisco

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "apic.aci.cisco", Version: "v1alpha1"}

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

type RuleSpec struct {
	Eth  string `json:"eth,omitempty"`
	IP   string `json:"ip,omitempty"`
	Port int    `json:"port,omitempty"`
}

func (*RuleSpec) DeepCopy

func (in *RuleSpec) DeepCopy() *RuleSpec

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

func (*RuleSpec) DeepCopyInto

func (in *RuleSpec) DeepCopyInto(out *RuleSpec)

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

type SegmentationPolicy

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

	Spec   SegmentationPolicySpec   `json:"spec,omitempty"`
	Status SegmentationPolicyStatus `json:"status,omitempty"`
}

Group is the Schema for the groups API SegmentationPolicy is the Schema for the segmentationpolicies API

func (*SegmentationPolicy) DeepCopy

func (in *SegmentationPolicy) DeepCopy() *SegmentationPolicy

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

func (*SegmentationPolicy) DeepCopyInto

func (in *SegmentationPolicy) DeepCopyInto(out *SegmentationPolicy)

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

func (*SegmentationPolicy) DeepCopyObject

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

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

type SegmentationPolicyList

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

SegmentationPolicyList contains a list of SegmentationPolicy

func (*SegmentationPolicyList) DeepCopy

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

func (*SegmentationPolicyList) DeepCopyInto

func (in *SegmentationPolicyList) DeepCopyInto(out *SegmentationPolicyList)

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

func (*SegmentationPolicyList) DeepCopyObject

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

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

type SegmentationPolicySpec

type SegmentationPolicySpec struct {
	Namespaces []string   `json:"namespaces"`
	Rules      []RuleSpec `json:"rules"`
}

SegmentationPolicySpec defines the desired state of SegmentationPolicy

func (*SegmentationPolicySpec) DeepCopy

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

func (*SegmentationPolicySpec) DeepCopyInto

func (in *SegmentationPolicySpec) DeepCopyInto(out *SegmentationPolicySpec)

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

type SegmentationPolicyStatus

type SegmentationPolicyStatus struct {
	Namespaces string `json:"namespaces"`
	Rules      string `json:"rules"`
	State      string `json:"state"`
}

SegmentationPolicyStatus defines the observed state of SegmentationPolicy

func (*SegmentationPolicyStatus) DeepCopy

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

func (*SegmentationPolicyStatus) DeepCopyInto

func (in *SegmentationPolicyStatus) DeepCopyInto(out *SegmentationPolicyStatus)

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