Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
71a58de4
Commit
71a58de4
authored
Apr 24, 2019
by
yue9944882
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
clean up genclient tags for hub types
parent
970e5929
Show whitespace changes
Inline
Side-by-side
Showing
17 changed files
with
0 additions
and
80 deletions
+0
-80
types.go
pkg/apis/admissionregistration/types.go
+0
-4
types.go
pkg/apis/apps/types.go
+0
-5
types.go
pkg/apis/auditregistration/types.go
+0
-2
types.go
pkg/apis/authentication/types.go
+0
-3
types.go
pkg/apis/authorization/types.go
+0
-11
types.go
pkg/apis/autoscaling/types.go
+0
-1
types.go
pkg/apis/batch/types.go
+0
-2
types.go
pkg/apis/certificates/types.go
+0
-2
types.go
pkg/apis/coordination/types.go
+0
-1
types.go
pkg/apis/core/types.go
+0
-22
types.go
pkg/apis/imagepolicy/types.go
+0
-3
types.go
pkg/apis/networking/types.go
+0
-2
types.go
pkg/apis/policy/types.go
+0
-5
types.go
pkg/apis/rbac/types.go
+0
-6
types.go
pkg/apis/scheduling/types.go
+0
-2
types.go
pkg/apis/settings/types.go
+0
-1
types.go
pkg/apis/storage/types.go
+0
-8
No files found.
pkg/apis/admissionregistration/types.go
View file @
71a58de4
...
@@ -100,8 +100,6 @@ const (
...
@@ -100,8 +100,6 @@ const (
SideEffectClassNoneOnDryRun
SideEffectClass
=
"NoneOnDryRun"
SideEffectClassNoneOnDryRun
SideEffectClass
=
"NoneOnDryRun"
)
)
// +genclient
// +genclient:nonNamespaced
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
// ValidatingWebhookConfiguration describes the configuration of an admission webhook that accepts or rejects and object without changing it.
// ValidatingWebhookConfiguration describes the configuration of an admission webhook that accepts or rejects and object without changing it.
...
@@ -128,8 +126,6 @@ type ValidatingWebhookConfigurationList struct {
...
@@ -128,8 +126,6 @@ type ValidatingWebhookConfigurationList struct {
Items
[]
ValidatingWebhookConfiguration
Items
[]
ValidatingWebhookConfiguration
}
}
// +genclient
// +genclient:nonNamespaced
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
// MutatingWebhookConfiguration describes the configuration of and admission webhook that accept or reject and may change the object.
// MutatingWebhookConfiguration describes the configuration of and admission webhook that accept or reject and may change the object.
...
...
pkg/apis/apps/types.go
View file @
71a58de4
...
@@ -23,7 +23,6 @@ import (
...
@@ -23,7 +23,6 @@ import (
api
"k8s.io/kubernetes/pkg/apis/core"
api
"k8s.io/kubernetes/pkg/apis/core"
)
)
// +genclient
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
// StatefulSet represents a set of pods with consistent identities.
// StatefulSet represents a set of pods with consistent identities.
...
@@ -227,7 +226,6 @@ type StatefulSetList struct {
...
@@ -227,7 +226,6 @@ type StatefulSetList struct {
Items
[]
StatefulSet
Items
[]
StatefulSet
}
}
// +genclient
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
// ControllerRevision implements an immutable snapshot of state data. Clients
// ControllerRevision implements an immutable snapshot of state data. Clients
...
@@ -262,7 +260,6 @@ type ControllerRevisionList struct {
...
@@ -262,7 +260,6 @@ type ControllerRevisionList struct {
Items
[]
ControllerRevision
Items
[]
ControllerRevision
}
}
// +genclient
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
type
Deployment
struct
{
type
Deployment
struct
{
...
@@ -644,7 +641,6 @@ type DaemonSetCondition struct {
...
@@ -644,7 +641,6 @@ type DaemonSetCondition struct {
Message
string
Message
string
}
}
// +genclient
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
// DaemonSet represents the configuration of a daemon set.
// DaemonSet represents the configuration of a daemon set.
...
@@ -691,7 +687,6 @@ type DaemonSetList struct {
...
@@ -691,7 +687,6 @@ type DaemonSetList struct {
Items
[]
DaemonSet
Items
[]
DaemonSet
}
}
// +genclient
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
// ReplicaSet ensures that a specified number of pod replicas are running at any given time.
// ReplicaSet ensures that a specified number of pod replicas are running at any given time.
...
...
pkg/apis/auditregistration/types.go
View file @
71a58de4
...
@@ -57,8 +57,6 @@ const (
...
@@ -57,8 +57,6 @@ const (
StagePanic
=
"Panic"
StagePanic
=
"Panic"
)
)
// +genclient
// +genclient:nonNamespaced
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
// AuditSink represents a cluster level sink for audit data
// AuditSink represents a cluster level sink for audit data
...
...
pkg/apis/authentication/types.go
View file @
71a58de4
...
@@ -36,9 +36,6 @@ const (
...
@@ -36,9 +36,6 @@ const (
ImpersonateUserExtraHeaderPrefix
=
"Impersonate-Extra-"
ImpersonateUserExtraHeaderPrefix
=
"Impersonate-Extra-"
)
)
// +genclient
// +genclient:nonNamespaced
// +genclient:noVerbs
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
// TokenReview attempts to authenticate a token to a known user.
// TokenReview attempts to authenticate a token to a known user.
...
...
pkg/apis/authorization/types.go
View file @
71a58de4
...
@@ -20,9 +20,6 @@ import (
...
@@ -20,9 +20,6 @@ import (
metav1
"k8s.io/apimachinery/pkg/apis/meta/v1"
metav1
"k8s.io/apimachinery/pkg/apis/meta/v1"
)
)
// +genclient
// +genclient:nonNamespaced
// +genclient:noVerbs
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
// SubjectAccessReview checks whether or not a user or group can perform an action. Not filling in a
// SubjectAccessReview checks whether or not a user or group can perform an action. Not filling in a
...
@@ -38,9 +35,6 @@ type SubjectAccessReview struct {
...
@@ -38,9 +35,6 @@ type SubjectAccessReview struct {
Status
SubjectAccessReviewStatus
Status
SubjectAccessReviewStatus
}
}
// +genclient
// +genclient:nonNamespaced
// +genclient:noVerbs
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
// SelfSubjectAccessReview checks whether or the current user can perform an action. Not filling in a
// SelfSubjectAccessReview checks whether or the current user can perform an action. Not filling in a
...
@@ -57,8 +51,6 @@ type SelfSubjectAccessReview struct {
...
@@ -57,8 +51,6 @@ type SelfSubjectAccessReview struct {
Status
SubjectAccessReviewStatus
Status
SubjectAccessReviewStatus
}
}
// +genclient
// +genclient:noVerbs
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
// LocalSubjectAccessReview checks whether or not a user or group can perform an action in a given namespace.
// LocalSubjectAccessReview checks whether or not a user or group can perform an action in a given namespace.
...
@@ -155,9 +147,6 @@ type SubjectAccessReviewStatus struct {
...
@@ -155,9 +147,6 @@ type SubjectAccessReviewStatus struct {
EvaluationError
string
EvaluationError
string
}
}
// +genclient
// +genclient:nonNamespaced
// +genclient:noVerbs
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
// SelfSubjectRulesReview enumerates the set of actions the current user can perform within a namespace.
// SelfSubjectRulesReview enumerates the set of actions the current user can perform within a namespace.
...
...
pkg/apis/autoscaling/types.go
View file @
71a58de4
...
@@ -379,7 +379,6 @@ type MetricValueStatus struct {
...
@@ -379,7 +379,6 @@ type MetricValueStatus struct {
AverageUtilization
*
int32
AverageUtilization
*
int32
}
}
// +genclient
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
// HorizontalPodAutoscaler is the configuration for a horizontal pod
// HorizontalPodAutoscaler is the configuration for a horizontal pod
...
...
pkg/apis/batch/types.go
View file @
71a58de4
...
@@ -21,7 +21,6 @@ import (
...
@@ -21,7 +21,6 @@ import (
api
"k8s.io/kubernetes/pkg/apis/core"
api
"k8s.io/kubernetes/pkg/apis/core"
)
)
// +genclient
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
// Job represents the configuration of a single job.
// Job represents the configuration of a single job.
...
@@ -215,7 +214,6 @@ type JobCondition struct {
...
@@ -215,7 +214,6 @@ type JobCondition struct {
Message
string
Message
string
}
}
// +genclient
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
// CronJob represents the configuration of a single cron job.
// CronJob represents the configuration of a single cron job.
...
...
pkg/apis/certificates/types.go
View file @
71a58de4
...
@@ -18,8 +18,6 @@ package certificates
...
@@ -18,8 +18,6 @@ package certificates
import
metav1
"k8s.io/apimachinery/pkg/apis/meta/v1"
import
metav1
"k8s.io/apimachinery/pkg/apis/meta/v1"
// +genclient
// +genclient:nonNamespaced
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
// Describes a certificate signing request
// Describes a certificate signing request
...
...
pkg/apis/coordination/types.go
View file @
71a58de4
...
@@ -20,7 +20,6 @@ import (
...
@@ -20,7 +20,6 @@ import (
metav1
"k8s.io/apimachinery/pkg/apis/meta/v1"
metav1
"k8s.io/apimachinery/pkg/apis/meta/v1"
)
)
// +genclient
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
// Lease defines a lease concept.
// Lease defines a lease concept.
...
...
pkg/apis/core/types.go
View file @
71a58de4
...
@@ -255,8 +255,6 @@ const (
...
@@ -255,8 +255,6 @@ const (
MountOptionAnnotation
=
"volume.beta.kubernetes.io/mount-options"
MountOptionAnnotation
=
"volume.beta.kubernetes.io/mount-options"
)
)
// +genclient
// +genclient:nonNamespaced
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
type
PersistentVolume
struct
{
type
PersistentVolume
struct
{
...
@@ -363,7 +361,6 @@ type PersistentVolumeList struct {
...
@@ -363,7 +361,6 @@ type PersistentVolumeList struct {
Items
[]
PersistentVolume
Items
[]
PersistentVolume
}
}
// +genclient
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
// PersistentVolumeClaim is a user's request for and claim to a persistent volume
// PersistentVolumeClaim is a user's request for and claim to a persistent volume
...
@@ -2879,7 +2876,6 @@ type PodStatusResult struct {
...
@@ -2879,7 +2876,6 @@ type PodStatusResult struct {
Status
PodStatus
Status
PodStatus
}
}
// +genclient
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
// Pod is a collection of containers, used as either input (create, update) or as output (list, get).
// Pod is a collection of containers, used as either input (create, update) or as output (list, get).
...
@@ -2909,7 +2905,6 @@ type PodTemplateSpec struct {
...
@@ -2909,7 +2905,6 @@ type PodTemplateSpec struct {
Spec
PodSpec
Spec
PodSpec
}
}
// +genclient
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
// PodTemplate describes a template for creating copies of a predefined pod.
// PodTemplate describes a template for creating copies of a predefined pod.
...
@@ -3017,9 +3012,6 @@ type ReplicationControllerCondition struct {
...
@@ -3017,9 +3012,6 @@ type ReplicationControllerCondition struct {
Message
string
Message
string
}
}
// +genclient
// +genclient:method=GetScale,verb=get,subresource=scale,result=k8s.io/kubernetes/pkg/apis/autoscaling.Scale
// +genclient:method=UpdateScale,verb=update,subresource=scale,input=k8s.io/kubernetes/pkg/apis/autoscaling.Scale,result=k8s.io/kubernetes/pkg/apis/autoscaling.Scale
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
// ReplicationController represents the configuration of a replication controller.
// ReplicationController represents the configuration of a replication controller.
...
@@ -3293,7 +3285,6 @@ type ServicePort struct {
...
@@ -3293,7 +3285,6 @@ type ServicePort struct {
NodePort
int32
NodePort
int32
}
}
// +genclient
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
// Service is a named abstraction of software service (for example, mysql) consisting of local port
// Service is a named abstraction of software service (for example, mysql) consisting of local port
...
@@ -3313,7 +3304,6 @@ type Service struct {
...
@@ -3313,7 +3304,6 @@ type Service struct {
Status
ServiceStatus
Status
ServiceStatus
}
}
// +genclient
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
// ServiceAccount binds together:
// ServiceAccount binds together:
...
@@ -3351,7 +3341,6 @@ type ServiceAccountList struct {
...
@@ -3351,7 +3341,6 @@ type ServiceAccountList struct {
Items
[]
ServiceAccount
Items
[]
ServiceAccount
}
}
// +genclient
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
// Endpoints is a collection of endpoints that implement the actual service. Example:
// Endpoints is a collection of endpoints that implement the actual service. Example:
...
@@ -3776,8 +3765,6 @@ const (
...
@@ -3776,8 +3765,6 @@ const (
// ResourceList is a set of (resource name, quantity) pairs.
// ResourceList is a set of (resource name, quantity) pairs.
type
ResourceList
map
[
ResourceName
]
resource
.
Quantity
type
ResourceList
map
[
ResourceName
]
resource
.
Quantity
// +genclient
// +genclient:nonNamespaced
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
// Node is a worker node in Kubernetes
// Node is a worker node in Kubernetes
...
@@ -3839,8 +3826,6 @@ const (
...
@@ -3839,8 +3826,6 @@ const (
NamespaceTerminating
NamespacePhase
=
"Terminating"
NamespaceTerminating
NamespacePhase
=
"Terminating"
)
)
// +genclient
// +genclient:nonNamespaced
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
// A namespace provides a scope for Names.
// A namespace provides a scope for Names.
...
@@ -4095,7 +4080,6 @@ const (
...
@@ -4095,7 +4080,6 @@ const (
EventTypeWarning
string
=
"Warning"
EventTypeWarning
string
=
"Warning"
)
)
// +genclient
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
// Event is a report of an event somewhere in the cluster.
// Event is a report of an event somewhere in the cluster.
...
@@ -4239,7 +4223,6 @@ type LimitRangeSpec struct {
...
@@ -4239,7 +4223,6 @@ type LimitRangeSpec struct {
Limits
[]
LimitRangeItem
Limits
[]
LimitRangeItem
}
}
// +genclient
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
// LimitRange sets resource usage limits for each kind of resource in a Namespace
// LimitRange sets resource usage limits for each kind of resource in a Namespace
...
@@ -4386,7 +4369,6 @@ type ResourceQuotaStatus struct {
...
@@ -4386,7 +4369,6 @@ type ResourceQuotaStatus struct {
Used
ResourceList
Used
ResourceList
}
}
// +genclient
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
// ResourceQuota sets aggregate quota restrictions enforced per namespace
// ResourceQuota sets aggregate quota restrictions enforced per namespace
...
@@ -4416,7 +4398,6 @@ type ResourceQuotaList struct {
...
@@ -4416,7 +4398,6 @@ type ResourceQuotaList struct {
Items
[]
ResourceQuota
Items
[]
ResourceQuota
}
}
// +genclient
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
// Secret holds secret data of a certain type. The total bytes of the values in
// Secret holds secret data of a certain type. The total bytes of the values in
...
@@ -4536,7 +4517,6 @@ type SecretList struct {
...
@@ -4536,7 +4517,6 @@ type SecretList struct {
Items
[]
Secret
Items
[]
Secret
}
}
// +genclient
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
// ConfigMap holds configuration data for components or applications to consume.
// ConfigMap holds configuration data for components or applications to consume.
...
@@ -4634,8 +4614,6 @@ type ComponentCondition struct {
...
@@ -4634,8 +4614,6 @@ type ComponentCondition struct {
Error
string
Error
string
}
}
// +genclient
// +genclient:nonNamespaced
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
// ComponentStatus (and ComponentStatusList) holds the cluster validation info.
// ComponentStatus (and ComponentStatusList) holds the cluster validation info.
...
...
pkg/apis/imagepolicy/types.go
View file @
71a58de4
...
@@ -20,9 +20,6 @@ import (
...
@@ -20,9 +20,6 @@ import (
metav1
"k8s.io/apimachinery/pkg/apis/meta/v1"
metav1
"k8s.io/apimachinery/pkg/apis/meta/v1"
)
)
// +genclient
// +genclient:nonNamespaced
// +genclient:noVerbs
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
// ImageReview checks if the set of images in a pod are allowed.
// ImageReview checks if the set of images in a pod are allowed.
...
...
pkg/apis/networking/types.go
View file @
71a58de4
...
@@ -22,7 +22,6 @@ import (
...
@@ -22,7 +22,6 @@ import (
api
"k8s.io/kubernetes/pkg/apis/core"
api
"k8s.io/kubernetes/pkg/apis/core"
)
)
// +genclient
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
// NetworkPolicy describes what network traffic is allowed for a set of Pods
// NetworkPolicy describes what network traffic is allowed for a set of Pods
...
@@ -196,7 +195,6 @@ type NetworkPolicyList struct {
...
@@ -196,7 +195,6 @@ type NetworkPolicyList struct {
Items
[]
NetworkPolicy
Items
[]
NetworkPolicy
}
}
// +genclient
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
// Ingress is a collection of rules that allow inbound connections to reach the
// Ingress is a collection of rules that allow inbound connections to reach the
...
...
pkg/apis/policy/types.go
View file @
71a58de4
...
@@ -79,7 +79,6 @@ type PodDisruptionBudgetStatus struct {
...
@@ -79,7 +79,6 @@ type PodDisruptionBudgetStatus struct {
ExpectedPods
int32
ExpectedPods
int32
}
}
// +genclient
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
// PodDisruptionBudget is an object to define the max disruption that can be caused to a collection of pods
// PodDisruptionBudget is an object to define the max disruption that can be caused to a collection of pods
...
@@ -106,8 +105,6 @@ type PodDisruptionBudgetList struct {
...
@@ -106,8 +105,6 @@ type PodDisruptionBudgetList struct {
Items
[]
PodDisruptionBudget
Items
[]
PodDisruptionBudget
}
}
// +genclient
// +genclient:noVerbs
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
// Eviction evicts a pod from its node subject to certain policies and safety constraints.
// Eviction evicts a pod from its node subject to certain policies and safety constraints.
...
@@ -125,8 +122,6 @@ type Eviction struct {
...
@@ -125,8 +122,6 @@ type Eviction struct {
DeleteOptions
*
metav1
.
DeleteOptions
DeleteOptions
*
metav1
.
DeleteOptions
}
}
// +genclient
// +genclient:nonNamespaced
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
// PodSecurityPolicy governs the ability to make requests that affect the SecurityContext
// PodSecurityPolicy governs the ability to make requests that affect the SecurityContext
...
...
pkg/apis/rbac/types.go
View file @
71a58de4
...
@@ -88,7 +88,6 @@ type RoleRef struct {
...
@@ -88,7 +88,6 @@ type RoleRef struct {
Name
string
Name
string
}
}
// +genclient
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
// Role is a namespaced, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding.
// Role is a namespaced, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding.
...
@@ -101,7 +100,6 @@ type Role struct {
...
@@ -101,7 +100,6 @@ type Role struct {
Rules
[]
PolicyRule
Rules
[]
PolicyRule
}
}
// +genclient
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
// RoleBinding references a role, but does not contain it. It can reference a Role in the same namespace or a ClusterRole in the global namespace.
// RoleBinding references a role, but does not contain it. It can reference a Role in the same namespace or a ClusterRole in the global namespace.
...
@@ -143,8 +141,6 @@ type RoleList struct {
...
@@ -143,8 +141,6 @@ type RoleList struct {
Items
[]
Role
Items
[]
Role
}
}
// +genclient
// +genclient:nonNamespaced
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
// ClusterRole is a cluster level, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding or ClusterRoleBinding.
// ClusterRole is a cluster level, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding or ClusterRoleBinding.
...
@@ -169,8 +165,6 @@ type AggregationRule struct {
...
@@ -169,8 +165,6 @@ type AggregationRule struct {
ClusterRoleSelectors
[]
metav1
.
LabelSelector
ClusterRoleSelectors
[]
metav1
.
LabelSelector
}
}
// +genclient
// +genclient:nonNamespaced
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
// ClusterRoleBinding references a ClusterRole, but not contain it. It can reference a ClusterRole in the global namespace,
// ClusterRoleBinding references a ClusterRole, but not contain it. It can reference a ClusterRole in the global namespace,
...
...
pkg/apis/scheduling/types.go
View file @
71a58de4
...
@@ -36,8 +36,6 @@ const (
...
@@ -36,8 +36,6 @@ const (
SystemNodeCritical
=
SystemPriorityClassPrefix
+
"node-critical"
SystemNodeCritical
=
SystemPriorityClassPrefix
+
"node-critical"
)
)
// +genclient
// +genclient:nonNamespaced
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
// PriorityClass defines the mapping from a priority class name to the priority
// PriorityClass defines the mapping from a priority class name to the priority
...
...
pkg/apis/settings/types.go
View file @
71a58de4
...
@@ -21,7 +21,6 @@ import (
...
@@ -21,7 +21,6 @@ import (
api
"k8s.io/kubernetes/pkg/apis/core"
api
"k8s.io/kubernetes/pkg/apis/core"
)
)
// +genclient
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
// PodPreset is a policy resource that defines additional runtime
// PodPreset is a policy resource that defines additional runtime
...
...
pkg/apis/storage/types.go
View file @
71a58de4
...
@@ -21,8 +21,6 @@ import (
...
@@ -21,8 +21,6 @@ import (
api
"k8s.io/kubernetes/pkg/apis/core"
api
"k8s.io/kubernetes/pkg/apis/core"
)
)
// +genclient
// +genclient:nonNamespaced
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
// StorageClass describes a named "class" of storage offered in a cluster.
// StorageClass describes a named "class" of storage offered in a cluster.
...
@@ -94,8 +92,6 @@ type StorageClassList struct {
...
@@ -94,8 +92,6 @@ type StorageClassList struct {
Items
[]
StorageClass
Items
[]
StorageClass
}
}
// +genclient
// +genclient:nonNamespaced
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
// Captures the intent to attach or detach the specified volume to/from
// Captures the intent to attach or detach the specified volume to/from
...
@@ -216,8 +212,6 @@ const (
...
@@ -216,8 +212,6 @@ const (
VolumeBindingWaitForFirstConsumer
VolumeBindingMode
=
"WaitForFirstConsumer"
VolumeBindingWaitForFirstConsumer
VolumeBindingMode
=
"WaitForFirstConsumer"
)
)
// +genclient
// +genclient:nonNamespaced
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
// CSIDriver captures information about a Container Storage Interface (CSI)
// CSIDriver captures information about a Container Storage Interface (CSI)
...
@@ -294,8 +288,6 @@ type CSIDriverSpec struct {
...
@@ -294,8 +288,6 @@ type CSIDriverSpec struct {
PodInfoOnMount
*
bool
PodInfoOnMount
*
bool
}
}
// +genclient
// +genclient:nonNamespaced
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
// CSINode holds information about all CSI drivers installed on a node.
// CSINode holds information about all CSI drivers installed on a node.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment