Documentation
¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the v1alpha1 API group. +kubebuilder:object:generate=true +groupName=maxtac.vtk.io
Index ¶
- Variables
- type Access
- type AccessList
- type AccessPoint
- type AccessSpec
- type AccessStatus
- type ClusterAccess
- type ClusterAccessList
- type ClusterAccessSpec
- type ClusterAccessStatus
- type ClusterExternalAccess
- type ClusterExternalAccessList
- type ClusterExternalAccessSpec
- type ClusterExternalAccessStatus
- type ExternalAccess
- type ExternalAccessList
- type ExternalAccessSpec
- type ExternalAccessStatus
- type Netpol
- type SvcRef
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects. GroupVersion = schema.GroupVersion{Group: "maxtac.vtk.io", 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 Access ¶
type Access struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec AccessSpec `json:"spec,omitempty"`
Status AccessStatus `json:"status,omitempty"`
}
Access is the Schema for the accesses API.
func (*Access) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Access.
func (*Access) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Access) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type AccessList ¶
type AccessList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []Access `json:"items"`
}
AccessList contains a list of Access.
func (*AccessList) DeepCopy ¶
func (in *AccessList) DeepCopy() *AccessList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AccessList.
func (*AccessList) DeepCopyInto ¶
func (in *AccessList) DeepCopyInto(out *AccessList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AccessList) DeepCopyObject ¶
func (in *AccessList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type AccessPoint ¶
type AccessPoint struct {
ServiceName string `json:"serviceName"`
Namespace string `json:"namespace"`
}
func (*AccessPoint) DeepCopy ¶
func (in *AccessPoint) DeepCopy() *AccessPoint
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AccessPoint.
func (*AccessPoint) DeepCopyInto ¶
func (in *AccessPoint) DeepCopyInto(out *AccessPoint)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AccessSpec ¶
type AccessSpec struct {
// +kubebuilder:validation:Required
ServiceSelector *metav1.LabelSelector `json:"serviceSelector"`
// +kubebuilder:validation:Optional
Targets []AccessPoint `json:"targets"`
// +kubebuilder:validation:Optional
Direction string `json:"direction"`
// +kubebuilder:validation:Optional
Duration string `json:"duration,omitempty"`
}
AccessSpec defines the desired state of Access.
func (*AccessSpec) DeepCopy ¶
func (in *AccessSpec) DeepCopy() *AccessSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AccessSpec.
func (*AccessSpec) DeepCopyInto ¶
func (in *AccessSpec) DeepCopyInto(out *AccessSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AccessStatus ¶
type AccessStatus struct {
Netpols []Netpol `json:"netpols,omitempty"`
Services []SvcRef `json:"services,omitempty"`
// +kubebuilder:validation:Optional
Conditions []metav1.Condition `json:"conditions"`
ExpirationTimestamp *metav1.Time `json:"expirationTimestamp,omitempty"`
}
AccessStatus defines the observed state of Access.
func (*AccessStatus) DeepCopy ¶
func (in *AccessStatus) DeepCopy() *AccessStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AccessStatus.
func (*AccessStatus) DeepCopyInto ¶
func (in *AccessStatus) DeepCopyInto(out *AccessStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterAccess ¶ added in v0.2.0
type ClusterAccess struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec ClusterAccessSpec `json:"spec,omitempty"`
Status ClusterAccessStatus `json:"status,omitempty"`
}
ClusterAccess is the Schema for the clusteraccesses API.
func (*ClusterAccess) DeepCopy ¶ added in v0.2.0
func (in *ClusterAccess) DeepCopy() *ClusterAccess
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterAccess.
func (*ClusterAccess) DeepCopyInto ¶ added in v0.2.0
func (in *ClusterAccess) DeepCopyInto(out *ClusterAccess)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ClusterAccess) DeepCopyObject ¶ added in v0.2.0
func (in *ClusterAccess) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ClusterAccessList ¶ added in v0.2.0
type ClusterAccessList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []ClusterAccess `json:"items"`
}
ClusterAccessList contains a list of ClusterAccess.
func (*ClusterAccessList) DeepCopy ¶ added in v0.2.0
func (in *ClusterAccessList) DeepCopy() *ClusterAccessList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterAccessList.
func (*ClusterAccessList) DeepCopyInto ¶ added in v0.2.0
func (in *ClusterAccessList) DeepCopyInto(out *ClusterAccessList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ClusterAccessList) DeepCopyObject ¶ added in v0.2.0
func (in *ClusterAccessList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ClusterAccessSpec ¶ added in v0.2.0
type ClusterAccessSpec struct {
// INSERT ADDITIONAL SPEC FIELDS - desired state of cluster
// Important: Run "make" to regenerate code after modifying this file
// +kubebuilder:validation:Required
ServiceSelector *metav1.LabelSelector `json:"serviceSelector"`
// +kubebuilder:validation:Optional
Targets []AccessPoint `json:"targets"`
// +kubebuilder:validation:Optional
Direction string `json:"direction"`
// +kubebuilder:validation:Optional
Mirrored bool `json:"mirrored,omitempty"`
// +kubebuilder:validation:Optional
Duration string `json:"duration,omitempty"`
}
ClusterAccessSpec defines the desired state of ClusterAccess.
func (*ClusterAccessSpec) DeepCopy ¶ added in v0.2.0
func (in *ClusterAccessSpec) DeepCopy() *ClusterAccessSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterAccessSpec.
func (*ClusterAccessSpec) DeepCopyInto ¶ added in v0.2.0
func (in *ClusterAccessSpec) DeepCopyInto(out *ClusterAccessSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterAccessStatus ¶ added in v0.2.0
type ClusterAccessStatus struct {
Netpols []Netpol `json:"netpols,omitempty"`
Services []SvcRef `json:"services,omitempty"`
// +kubebuilder:validation:Optional
Conditions []metav1.Condition `json:"conditions"`
ExpirationTimestamp *metav1.Time `json:"expirationTimestamp,omitempty"`
}
ClusterAccessStatus defines the observed state of ClusterAccess.
func (*ClusterAccessStatus) DeepCopy ¶ added in v0.2.0
func (in *ClusterAccessStatus) DeepCopy() *ClusterAccessStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterAccessStatus.
func (*ClusterAccessStatus) DeepCopyInto ¶ added in v0.2.0
func (in *ClusterAccessStatus) DeepCopyInto(out *ClusterAccessStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterExternalAccess ¶ added in v0.2.0
type ClusterExternalAccess struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec ClusterExternalAccessSpec `json:"spec,omitempty"`
Status ClusterExternalAccessStatus `json:"status,omitempty"`
}
ClusterExternalAccess is the Schema for the clusterexternalaccesses API.
func (*ClusterExternalAccess) DeepCopy ¶ added in v0.2.0
func (in *ClusterExternalAccess) DeepCopy() *ClusterExternalAccess
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterExternalAccess.
func (*ClusterExternalAccess) DeepCopyInto ¶ added in v0.2.0
func (in *ClusterExternalAccess) DeepCopyInto(out *ClusterExternalAccess)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ClusterExternalAccess) DeepCopyObject ¶ added in v0.2.0
func (in *ClusterExternalAccess) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ClusterExternalAccessList ¶ added in v0.2.0
type ClusterExternalAccessList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []ClusterExternalAccess `json:"items"`
}
ClusterExternalAccessList contains a list of ClusterExternalAccess.
func (*ClusterExternalAccessList) DeepCopy ¶ added in v0.2.0
func (in *ClusterExternalAccessList) DeepCopy() *ClusterExternalAccessList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterExternalAccessList.
func (*ClusterExternalAccessList) DeepCopyInto ¶ added in v0.2.0
func (in *ClusterExternalAccessList) DeepCopyInto(out *ClusterExternalAccessList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ClusterExternalAccessList) DeepCopyObject ¶ added in v0.2.0
func (in *ClusterExternalAccessList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ClusterExternalAccessSpec ¶ added in v0.2.0
type ClusterExternalAccessSpec struct {
// +kubebuilder:validation:Optional
// +kubebuilder:items:validation:Pattern=`^((([0-9]{1,3}\.){3}[0-9]{1,3})(/(3[0-2]|[12]?[0-9]))?|([0-9A-Fa-f:]*:[0-9A-Fa-f:]*)(/(12[0-8]|1[01][0-9]|[1-9]?[0-9]))?)$`
TargetCIDRs []string `json:"targetCIDRs,omitempty"`
// +kubebuilder:validation:Required
ServiceSelector *metav1.LabelSelector `json:"serviceSelector"`
// +kubebuilder:validation:Optional
Direction string `json:"direction"`
// +kubebuilder:validation:Optional
Duration string `json:"duration,omitempty"`
}
ClusterExternalAccessSpec defines the desired state of ClusterExternalAccess.
func (*ClusterExternalAccessSpec) DeepCopy ¶ added in v0.2.0
func (in *ClusterExternalAccessSpec) DeepCopy() *ClusterExternalAccessSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterExternalAccessSpec.
func (*ClusterExternalAccessSpec) DeepCopyInto ¶ added in v0.2.0
func (in *ClusterExternalAccessSpec) DeepCopyInto(out *ClusterExternalAccessSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterExternalAccessStatus ¶ added in v0.2.0
type ClusterExternalAccessStatus struct {
Netpols []Netpol `json:"netpols,omitempty"`
Services []SvcRef `json:"services,omitempty"`
// +kubebuilder:validation:Optional
Conditions []metav1.Condition `json:"conditions"`
ExpirationTimestamp *metav1.Time `json:"expirationTimestamp,omitempty"`
}
ClusterExternalAccessStatus defines the observed state of ClusterExternalAccess.
func (*ClusterExternalAccessStatus) DeepCopy ¶ added in v0.2.0
func (in *ClusterExternalAccessStatus) DeepCopy() *ClusterExternalAccessStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterExternalAccessStatus.
func (*ClusterExternalAccessStatus) DeepCopyInto ¶ added in v0.2.0
func (in *ClusterExternalAccessStatus) DeepCopyInto(out *ClusterExternalAccessStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ExternalAccess ¶
type ExternalAccess struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec ExternalAccessSpec `json:"spec,omitempty"`
Status ExternalAccessStatus `json:"status,omitempty"`
}
ExternalAccess is the Schema for the externalaccesses API.
func (*ExternalAccess) DeepCopy ¶
func (in *ExternalAccess) DeepCopy() *ExternalAccess
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalAccess.
func (*ExternalAccess) DeepCopyInto ¶
func (in *ExternalAccess) DeepCopyInto(out *ExternalAccess)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ExternalAccess) DeepCopyObject ¶
func (in *ExternalAccess) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ExternalAccessList ¶
type ExternalAccessList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []ExternalAccess `json:"items"`
}
ExternalAccessList contains a list of ExternalAccess.
func (*ExternalAccessList) DeepCopy ¶
func (in *ExternalAccessList) DeepCopy() *ExternalAccessList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalAccessList.
func (*ExternalAccessList) DeepCopyInto ¶
func (in *ExternalAccessList) DeepCopyInto(out *ExternalAccessList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ExternalAccessList) DeepCopyObject ¶
func (in *ExternalAccessList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ExternalAccessSpec ¶
type ExternalAccessSpec struct {
// +kubebuilder:validation:Optional
// +kubebuilder:items:validation:Pattern=`^((([0-9]{1,3}\.){3}[0-9]{1,3})(/(3[0-2]|[12]?[0-9]))?|([0-9A-Fa-f:]*:[0-9A-Fa-f:]*)(/(12[0-8]|1[01][0-9]|[1-9]?[0-9]))?)$`
TargetCIDRs []string `json:"targetCIDRs,omitempty"`
// +kubebuilder:validation:Required
ServiceSelector *metav1.LabelSelector `json:"serviceSelector"`
// +kubebuilder:validation:Optional
Direction string `json:"direction"`
// +kubebuilder:validation:Optional
Duration string `json:"duration,omitempty"`
}
ExternalAccessSpec defines the desired state of ExternalAccess.
func (*ExternalAccessSpec) DeepCopy ¶
func (in *ExternalAccessSpec) DeepCopy() *ExternalAccessSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalAccessSpec.
func (*ExternalAccessSpec) DeepCopyInto ¶
func (in *ExternalAccessSpec) DeepCopyInto(out *ExternalAccessSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ExternalAccessStatus ¶
type ExternalAccessStatus struct {
// INSERT ADDITIONAL STATUS FIELD - define observed state of cluster
// Important: Run "make" to regenerate code after modifying this file
Netpols []Netpol `json:"netpols,omitempty"`
Services []SvcRef `json:"services,omitempty"`
// +kubebuilder:validation:Optional
Conditions []metav1.Condition `json:"conditions"`
ExpirationTimestamp *metav1.Time `json:"expirationTimestamp,omitempty"`
}
ExternalAccessStatus defines the observed state of ExternalAccess.
func (*ExternalAccessStatus) DeepCopy ¶
func (in *ExternalAccessStatus) DeepCopy() *ExternalAccessStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalAccessStatus.
func (*ExternalAccessStatus) DeepCopyInto ¶
func (in *ExternalAccessStatus) DeepCopyInto(out *ExternalAccessStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Netpol ¶ added in v0.1.0
func (*Netpol) DeepCopy ¶ added in v0.1.0
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Netpol.
func (*Netpol) DeepCopyInto ¶ added in v0.1.0
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SvcRef ¶ added in v0.1.0
func (*SvcRef) DeepCopy ¶ added in v0.1.0
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SvcRef.
func (*SvcRef) DeepCopyInto ¶ added in v0.1.0
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.