Documentation ¶
Overview ¶
Package v1alpha1 is the v1alpha1 version of the API.
Index ¶
Constants ¶
const GroupName = "xnetwork.flomesh.io"
GroupName specifies the group name used to register the objects.
Variables ¶
var ( // localSchemeBuilder and AddToScheme will stay in k8s.io/kubernetes. SchemeBuilder runtime.SchemeBuilder // Deprecated: use Install instead AddToScheme = localSchemeBuilder.AddToScheme Install = localSchemeBuilder.AddToScheme )
var GroupVersion = v1.GroupVersion{Group: GroupName, Version: "v1alpha1"}
GroupVersion specifies the group and the version used to register the objects.
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1alpha1"}
SchemeGroupVersion is group version used to register these objects Deprecated: use GroupVersion instead.
Functions ¶
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type AccessControl ¶
type AccessControl struct { // Object's type metadata metav1.TypeMeta `json:",inline"` // Object's metadata // +optional metav1.ObjectMeta `json:"metadata,omitempty"` // Spec is the Ingress backend policy specification // +optional Spec AccessControlSpec `json:"spec,omitempty"` }
AccessControl is the type used to represent an AccessControl policy. An AccessControl policy authorizes one or more backends to accept ingress traffic from one or more sources. +genclient +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +kubebuilder:metadata:labels=app.kubernetes.io/name=flomesh.io +kubebuilder:resource:shortName=accesscontrol,scope=Namespaced
func (*AccessControl) DeepCopy ¶
func (in *AccessControl) DeepCopy() *AccessControl
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AccessControl.
func (*AccessControl) DeepCopyInto ¶
func (in *AccessControl) DeepCopyInto(out *AccessControl)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AccessControl) DeepCopyObject ¶
func (in *AccessControl) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type AccessControlList ¶
type AccessControlList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []AccessControl `json:"items"` }
AccessControlList defines the list of AccessControl objects. +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
func (*AccessControlList) DeepCopy ¶
func (in *AccessControlList) DeepCopy() *AccessControlList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AccessControlList.
func (*AccessControlList) DeepCopyInto ¶
func (in *AccessControlList) DeepCopyInto(out *AccessControlList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AccessControlList) DeepCopyObject ¶
func (in *AccessControlList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type AccessControlServiceSpec ¶
type AccessControlServiceSpec struct { // Name defines the name of the source for the given Kind. Name string `json:"name"` // Namespace defines the namespace for the given source. // +optional Namespace string `json:"namespace,omitempty"` // +kubebuilder:default=true // +optional WithClusterIPs bool `json:"withClusterIPs,omitempty"` // +kubebuilder:default=false // +optional WithExternalIPs bool `json:"withExternalIPs,omitempty"` // +kubebuilder:default=false // +optional WithEndpointIPs bool `json:"withEndpointIPs,omitempty"` }
AccessControlServiceSpec is the type used to represent the Source in the list of Sources specified in an AccessControl policy specification.
func (*AccessControlServiceSpec) DeepCopy ¶
func (in *AccessControlServiceSpec) DeepCopy() *AccessControlServiceSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AccessControlServiceSpec.
func (*AccessControlServiceSpec) DeepCopyInto ¶
func (in *AccessControlServiceSpec) DeepCopyInto(out *AccessControlServiceSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AccessControlSpec ¶
type AccessControlSpec struct { // Services defines the list of sources the AccessControl policy applies to. Services []AccessControlServiceSpec `json:"services"` }
AccessControlSpec is the type used to represent the AccessControl policy specification.
func (*AccessControlSpec) DeepCopy ¶
func (in *AccessControlSpec) DeepCopy() *AccessControlSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AccessControlSpec.
func (*AccessControlSpec) DeepCopyInto ¶
func (in *AccessControlSpec) DeepCopyInto(out *AccessControlSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.