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 ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RuleSpec.
func (*RuleSpec) DeepCopyInto ¶
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 ¶
func (in *SegmentationPolicyList) DeepCopy() *SegmentationPolicyList
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 ¶
func (in *SegmentationPolicySpec) DeepCopy() *SegmentationPolicySpec
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 ¶
func (in *SegmentationPolicyStatus) DeepCopy() *SegmentationPolicyStatus
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.