Documentation ¶
Overview ¶
Package v1 is the v1 version of the API.
Package v1 contains API Schema definitions for the networking.k8s.io v1 API group
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // SchemeGroupVersion is group version used to register API objects in the policy.flomesh.io v1alpha1 API group SchemeGroupVersion = schema.GroupVersion{ Group: "networking.k8s.io", Version: "v1", } // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) // AddToScheme adds all Resources to the Scheme AddToScheme = SchemeBuilder.AddToScheme )
Functions ¶
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type IngressClass ¶
type IngressClass struct { metav1.TypeMeta `json:",inline"` // Standard object's metadata. // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata // +optional metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` // Spec is the desired state of the IngressClass. // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status // +optional Spec networkingv1.IngressClassSpec `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"` }
IngressClass represents the class of the Ingress, referenced by the Ingress Spec. +genclient +genclient:nonNamespaced +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +kubebuilder:metadata:labels=app.kubernetes.io/name=flomesh.io
func (*IngressClass) DeepCopy ¶
func (in *IngressClass) DeepCopy() *IngressClass
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressClass.
func (*IngressClass) DeepCopyInto ¶
func (in *IngressClass) DeepCopyInto(out *IngressClass)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*IngressClass) DeepCopyObject ¶
func (in *IngressClass) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type IngressClassList ¶
type IngressClassList struct { metav1.TypeMeta `json:",inline"` // Standard list metadata. // +optional metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` // Items is the list of IngressClasses. Items []IngressClass `json:"items" protobuf:"bytes,2,rep,name=items"` }
IngressClassList is a collection of IngressClasses. +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
func (*IngressClassList) DeepCopy ¶
func (in *IngressClassList) DeepCopy() *IngressClassList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressClassList.
func (*IngressClassList) DeepCopyInto ¶
func (in *IngressClassList) DeepCopyInto(out *IngressClassList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*IngressClassList) DeepCopyObject ¶
func (in *IngressClassList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.