mirror of
https://github.com/kubernetes/client-go.git
synced 2026-07-25 14:01:39 +00:00
enable commentstart check on networking API group
Signed-off-by: liyuerich <yue.li@daocloud.io> Kubernetes-commit: ae927190a8d9e22dcc7c370beb5f9df4793fe773
This commit is contained in:
committed by
Kubernetes Publisher
parent
d6461844fa
commit
06b1985b08
@@ -36,7 +36,7 @@ import (
|
||||
// based virtual hosting etc.
|
||||
type IngressApplyConfiguration struct {
|
||||
metav1.TypeMetaApplyConfiguration `json:""`
|
||||
// Standard object's metadata.
|
||||
// metadata is the standard object metadata.
|
||||
// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
||||
*metav1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
|
||||
// spec is the desired state of the Ingress.
|
||||
|
||||
@@ -37,7 +37,7 @@ import (
|
||||
// resources without a class specified will be assigned this default class.
|
||||
type IngressClassApplyConfiguration struct {
|
||||
metav1.TypeMetaApplyConfiguration `json:""`
|
||||
// Standard object's metadata.
|
||||
// metadata is the standard object metadata.
|
||||
// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
||||
*metav1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
|
||||
// spec is the desired state of the IngressClass.
|
||||
|
||||
@@ -26,6 +26,7 @@ package v1
|
||||
// mixing different types of rules in a single Ingress is disallowed, so exactly
|
||||
// one of the following must be set.
|
||||
type IngressRuleValueApplyConfiguration struct {
|
||||
// http is a HTTP IngressRuleValue, which contains a list of http selectors
|
||||
HTTP *HTTPIngressRuleValueApplyConfiguration `json:"http,omitempty"`
|
||||
}
|
||||
|
||||
|
||||
@@ -39,7 +39,7 @@ import (
|
||||
// Invalid: 10.01.2.3 or 2001:db8:0:0:0::1
|
||||
type IPAddressApplyConfiguration struct {
|
||||
metav1.TypeMetaApplyConfiguration `json:""`
|
||||
// Standard object's metadata.
|
||||
// metadata is the standard object metadata.
|
||||
// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
||||
*metav1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
|
||||
// spec is the desired state of the IPAddress.
|
||||
|
||||
@@ -23,7 +23,7 @@ package v1
|
||||
//
|
||||
// IPAddressSpec describe the attributes in an IP Address.
|
||||
type IPAddressSpecApplyConfiguration struct {
|
||||
// ParentRef references the resource that an IPAddress is attached to.
|
||||
// parentRef references the resource that an IPAddress is attached to.
|
||||
// An IPAddress must reference a parent object.
|
||||
ParentRef *ParentReferenceApplyConfiguration `json:"parentRef,omitempty"`
|
||||
}
|
||||
|
||||
@@ -33,7 +33,7 @@ import (
|
||||
// NetworkPolicy describes what network traffic is allowed for a set of Pods
|
||||
type NetworkPolicyApplyConfiguration struct {
|
||||
metav1.TypeMetaApplyConfiguration `json:""`
|
||||
// Standard object's metadata.
|
||||
// metadata is the standard object metadata.
|
||||
// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
||||
*metav1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
|
||||
// spec represents the specification of the desired behavior for this NetworkPolicy.
|
||||
|
||||
@@ -23,13 +23,13 @@ package v1
|
||||
//
|
||||
// ParentReference describes a reference to a parent object.
|
||||
type ParentReferenceApplyConfiguration struct {
|
||||
// Group is the group of the object being referenced.
|
||||
// group is the group of the object being referenced.
|
||||
Group *string `json:"group,omitempty"`
|
||||
// Resource is the resource of the object being referenced.
|
||||
// resource is the resource of the object being referenced.
|
||||
Resource *string `json:"resource,omitempty"`
|
||||
// Namespace is the namespace of the object being referenced.
|
||||
// namespace is the namespace of the object being referenced.
|
||||
Namespace *string `json:"namespace,omitempty"`
|
||||
// Name is the name of the object being referenced.
|
||||
// name is the name of the object being referenced.
|
||||
Name *string `json:"name,omitempty"`
|
||||
}
|
||||
|
||||
|
||||
@@ -34,7 +34,7 @@ import (
|
||||
// This range is used to allocate ClusterIPs to Service objects.
|
||||
type ServiceCIDRApplyConfiguration struct {
|
||||
metav1.TypeMetaApplyConfiguration `json:""`
|
||||
// Standard object's metadata.
|
||||
// metadata is the standard object metadata.
|
||||
// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
||||
*metav1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
|
||||
// spec is the desired state of the ServiceCIDR.
|
||||
|
||||
@@ -23,7 +23,7 @@ package v1
|
||||
//
|
||||
// ServiceCIDRSpec define the CIDRs the user wants to use for allocating ClusterIPs for Services.
|
||||
type ServiceCIDRSpecApplyConfiguration struct {
|
||||
// CIDRs defines the IP blocks in CIDR notation (e.g. "192.168.0.0/24" or "2001:db8::/64")
|
||||
// cidrs defines the IP blocks in CIDR notation (e.g. "192.168.0.0/24" or "2001:db8::/64")
|
||||
// from which to assign service cluster IPs. Max of two CIDRs is allowed, one of each IP family.
|
||||
// This field is immutable.
|
||||
CIDRs []string `json:"cidrs,omitempty"`
|
||||
|
||||
@@ -36,7 +36,7 @@ import (
|
||||
// based virtual hosting etc.
|
||||
type IngressApplyConfiguration struct {
|
||||
v1.TypeMetaApplyConfiguration `json:""`
|
||||
// Standard object's metadata.
|
||||
// metadata is the standard object metadata.
|
||||
// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
||||
*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
|
||||
// spec is the desired state of the Ingress.
|
||||
|
||||
@@ -37,7 +37,7 @@ import (
|
||||
// resources without a class specified will be assigned this default class.
|
||||
type IngressClassApplyConfiguration struct {
|
||||
v1.TypeMetaApplyConfiguration `json:""`
|
||||
// Standard object's metadata.
|
||||
// metadata is the standard object metadata.
|
||||
// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
||||
*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
|
||||
// spec is the desired state of the IngressClass.
|
||||
|
||||
@@ -26,6 +26,7 @@ package v1beta1
|
||||
// mixing different types of rules in a single Ingress is disallowed, so exactly
|
||||
// one of the following must be set.
|
||||
type IngressRuleValueApplyConfiguration struct {
|
||||
// http is a HTTP IngressRuleValue, which contains a list of http selectors
|
||||
HTTP *HTTPIngressRuleValueApplyConfiguration `json:"http,omitempty"`
|
||||
}
|
||||
|
||||
|
||||
@@ -39,7 +39,7 @@ import (
|
||||
// Invalid: 10.01.2.3 or 2001:db8:0:0:0::1
|
||||
type IPAddressApplyConfiguration struct {
|
||||
v1.TypeMetaApplyConfiguration `json:""`
|
||||
// Standard object's metadata.
|
||||
// metadata is the standard object metadata.
|
||||
// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
||||
*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
|
||||
// spec is the desired state of the IPAddress.
|
||||
|
||||
@@ -23,7 +23,7 @@ package v1beta1
|
||||
//
|
||||
// IPAddressSpec describe the attributes in an IP Address.
|
||||
type IPAddressSpecApplyConfiguration struct {
|
||||
// ParentRef references the resource that an IPAddress is attached to.
|
||||
// parentRef references the resource that an IPAddress is attached to.
|
||||
// An IPAddress must reference a parent object.
|
||||
ParentRef *ParentReferenceApplyConfiguration `json:"parentRef,omitempty"`
|
||||
}
|
||||
|
||||
@@ -23,13 +23,13 @@ package v1beta1
|
||||
//
|
||||
// ParentReference describes a reference to a parent object.
|
||||
type ParentReferenceApplyConfiguration struct {
|
||||
// Group is the group of the object being referenced.
|
||||
// group is the group of the object being referenced.
|
||||
Group *string `json:"group,omitempty"`
|
||||
// Resource is the resource of the object being referenced.
|
||||
// resource is the resource of the object being referenced.
|
||||
Resource *string `json:"resource,omitempty"`
|
||||
// Namespace is the namespace of the object being referenced.
|
||||
// namespace is the namespace of the object being referenced.
|
||||
Namespace *string `json:"namespace,omitempty"`
|
||||
// Name is the name of the object being referenced.
|
||||
// name is the name of the object being referenced.
|
||||
Name *string `json:"name,omitempty"`
|
||||
}
|
||||
|
||||
|
||||
@@ -34,7 +34,7 @@ import (
|
||||
// This range is used to allocate ClusterIPs to Service objects.
|
||||
type ServiceCIDRApplyConfiguration struct {
|
||||
v1.TypeMetaApplyConfiguration `json:""`
|
||||
// Standard object's metadata.
|
||||
// metadata is the standard object metadata.
|
||||
// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
||||
*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
|
||||
// spec is the desired state of the ServiceCIDR.
|
||||
|
||||
@@ -23,7 +23,7 @@ package v1beta1
|
||||
//
|
||||
// ServiceCIDRSpec define the CIDRs the user wants to use for allocating ClusterIPs for Services.
|
||||
type ServiceCIDRSpecApplyConfiguration struct {
|
||||
// CIDRs defines the IP blocks in CIDR notation (e.g. "192.168.0.0/24" or "2001:db8::/64")
|
||||
// cidrs defines the IP blocks in CIDR notation (e.g. "192.168.0.0/24" or "2001:db8::/64")
|
||||
// from which to assign service cluster IPs. Max of two CIDRs is allowed, one of each IP family.
|
||||
// This field is immutable.
|
||||
CIDRs []string `json:"cidrs,omitempty"`
|
||||
|
||||
Reference in New Issue
Block a user