mirror of
https://github.com/rancher/types.git
synced 2025-06-26 05:31:32 +00:00
Generated changes
This commit is contained in:
parent
b840a3a9e6
commit
15d6dfa2d0
@ -97,7 +97,7 @@ func (l *daemonSetLister) Get(namespace, name string) (*v1beta2.DaemonSet, error
|
||||
return nil, errors.NewNotFound(schema.GroupResource{
|
||||
Group: DaemonSetGroupVersionKind.Group,
|
||||
Resource: "daemonSet",
|
||||
}, name)
|
||||
}, key)
|
||||
}
|
||||
return obj.(*v1beta2.DaemonSet), nil
|
||||
}
|
||||
|
@ -1,42 +1,10 @@
|
||||
package v1beta2
|
||||
|
||||
import (
|
||||
reflect "reflect"
|
||||
|
||||
apps_v1beta2 "k8s.io/api/apps/v1beta2"
|
||||
conversion "k8s.io/apimachinery/pkg/conversion"
|
||||
runtime "k8s.io/apimachinery/pkg/runtime"
|
||||
)
|
||||
|
||||
func init() {
|
||||
SchemeBuilder.Register(RegisterDeepCopies)
|
||||
}
|
||||
|
||||
// RegisterDeepCopies adds deep-copy functions to the given scheme. Public
|
||||
// to allow building arbitrary schemes.
|
||||
//
|
||||
// Deprecated: deepcopy registration will go away when static deepcopy is fully implemented.
|
||||
func RegisterDeepCopies(scheme *runtime.Scheme) error {
|
||||
return scheme.AddGeneratedDeepCopyFuncs(
|
||||
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
|
||||
in.(*DaemonSetList).DeepCopyInto(out.(*DaemonSetList))
|
||||
return nil
|
||||
}, InType: reflect.TypeOf(&DaemonSetList{})},
|
||||
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
|
||||
in.(*DeploymentList).DeepCopyInto(out.(*DeploymentList))
|
||||
return nil
|
||||
}, InType: reflect.TypeOf(&DeploymentList{})},
|
||||
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
|
||||
in.(*ReplicaSetList).DeepCopyInto(out.(*ReplicaSetList))
|
||||
return nil
|
||||
}, InType: reflect.TypeOf(&ReplicaSetList{})},
|
||||
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
|
||||
in.(*StatefulSetList).DeepCopyInto(out.(*StatefulSetList))
|
||||
return nil
|
||||
}, InType: reflect.TypeOf(&StatefulSetList{})},
|
||||
)
|
||||
}
|
||||
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
func (in *DaemonSetList) DeepCopyInto(out *DaemonSetList) {
|
||||
*out = *in
|
||||
@ -66,9 +34,8 @@ func (in *DaemonSetList) DeepCopy() *DaemonSetList {
|
||||
func (in *DaemonSetList) DeepCopyObject() runtime.Object {
|
||||
if c := in.DeepCopy(); c != nil {
|
||||
return c
|
||||
} else {
|
||||
return nil
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
@ -100,9 +67,8 @@ func (in *DeploymentList) DeepCopy() *DeploymentList {
|
||||
func (in *DeploymentList) DeepCopyObject() runtime.Object {
|
||||
if c := in.DeepCopy(); c != nil {
|
||||
return c
|
||||
} else {
|
||||
return nil
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
@ -134,9 +100,8 @@ func (in *ReplicaSetList) DeepCopy() *ReplicaSetList {
|
||||
func (in *ReplicaSetList) DeepCopyObject() runtime.Object {
|
||||
if c := in.DeepCopy(); c != nil {
|
||||
return c
|
||||
} else {
|
||||
return nil
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
@ -168,7 +133,6 @@ func (in *StatefulSetList) DeepCopy() *StatefulSetList {
|
||||
func (in *StatefulSetList) DeepCopyObject() runtime.Object {
|
||||
if c := in.DeepCopy(); c != nil {
|
||||
return c
|
||||
} else {
|
||||
return nil
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
@ -97,7 +97,7 @@ func (l *deploymentLister) Get(namespace, name string) (*v1beta2.Deployment, err
|
||||
return nil, errors.NewNotFound(schema.GroupResource{
|
||||
Group: DeploymentGroupVersionKind.Group,
|
||||
Resource: "deployment",
|
||||
}, name)
|
||||
}, key)
|
||||
}
|
||||
return obj.(*v1beta2.Deployment), nil
|
||||
}
|
||||
|
@ -97,7 +97,7 @@ func (l *replicaSetLister) Get(namespace, name string) (*v1beta2.ReplicaSet, err
|
||||
return nil, errors.NewNotFound(schema.GroupResource{
|
||||
Group: ReplicaSetGroupVersionKind.Group,
|
||||
Resource: "replicaSet",
|
||||
}, name)
|
||||
}, key)
|
||||
}
|
||||
return obj.(*v1beta2.ReplicaSet), nil
|
||||
}
|
||||
|
@ -97,7 +97,7 @@ func (l *statefulSetLister) Get(namespace, name string) (*v1beta2.StatefulSet, e
|
||||
return nil, errors.NewNotFound(schema.GroupResource{
|
||||
Group: StatefulSetGroupVersionKind.Group,
|
||||
Resource: "statefulSet",
|
||||
}, name)
|
||||
}, key)
|
||||
}
|
||||
return obj.(*v1beta2.StatefulSet), nil
|
||||
}
|
||||
|
@ -1,30 +1,10 @@
|
||||
package v1
|
||||
|
||||
import (
|
||||
reflect "reflect"
|
||||
|
||||
batch_v1 "k8s.io/api/batch/v1"
|
||||
conversion "k8s.io/apimachinery/pkg/conversion"
|
||||
runtime "k8s.io/apimachinery/pkg/runtime"
|
||||
)
|
||||
|
||||
func init() {
|
||||
SchemeBuilder.Register(RegisterDeepCopies)
|
||||
}
|
||||
|
||||
// RegisterDeepCopies adds deep-copy functions to the given scheme. Public
|
||||
// to allow building arbitrary schemes.
|
||||
//
|
||||
// Deprecated: deepcopy registration will go away when static deepcopy is fully implemented.
|
||||
func RegisterDeepCopies(scheme *runtime.Scheme) error {
|
||||
return scheme.AddGeneratedDeepCopyFuncs(
|
||||
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
|
||||
in.(*JobList).DeepCopyInto(out.(*JobList))
|
||||
return nil
|
||||
}, InType: reflect.TypeOf(&JobList{})},
|
||||
)
|
||||
}
|
||||
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
func (in *JobList) DeepCopyInto(out *JobList) {
|
||||
*out = *in
|
||||
@ -54,7 +34,6 @@ func (in *JobList) DeepCopy() *JobList {
|
||||
func (in *JobList) DeepCopyObject() runtime.Object {
|
||||
if c := in.DeepCopy(); c != nil {
|
||||
return c
|
||||
} else {
|
||||
return nil
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
@ -97,7 +97,7 @@ func (l *jobLister) Get(namespace, name string) (*v1.Job, error) {
|
||||
return nil, errors.NewNotFound(schema.GroupResource{
|
||||
Group: JobGroupVersionKind.Group,
|
||||
Resource: "job",
|
||||
}, name)
|
||||
}, key)
|
||||
}
|
||||
return obj.(*v1.Job), nil
|
||||
}
|
||||
|
@ -97,7 +97,7 @@ func (l *cronJobLister) Get(namespace, name string) (*v1beta1.CronJob, error) {
|
||||
return nil, errors.NewNotFound(schema.GroupResource{
|
||||
Group: CronJobGroupVersionKind.Group,
|
||||
Resource: "cronJob",
|
||||
}, name)
|
||||
}, key)
|
||||
}
|
||||
return obj.(*v1beta1.CronJob), nil
|
||||
}
|
||||
|
@ -1,30 +1,10 @@
|
||||
package v1beta1
|
||||
|
||||
import (
|
||||
reflect "reflect"
|
||||
|
||||
batch_v1beta1 "k8s.io/api/batch/v1beta1"
|
||||
conversion "k8s.io/apimachinery/pkg/conversion"
|
||||
runtime "k8s.io/apimachinery/pkg/runtime"
|
||||
)
|
||||
|
||||
func init() {
|
||||
SchemeBuilder.Register(RegisterDeepCopies)
|
||||
}
|
||||
|
||||
// RegisterDeepCopies adds deep-copy functions to the given scheme. Public
|
||||
// to allow building arbitrary schemes.
|
||||
//
|
||||
// Deprecated: deepcopy registration will go away when static deepcopy is fully implemented.
|
||||
func RegisterDeepCopies(scheme *runtime.Scheme) error {
|
||||
return scheme.AddGeneratedDeepCopyFuncs(
|
||||
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
|
||||
in.(*CronJobList).DeepCopyInto(out.(*CronJobList))
|
||||
return nil
|
||||
}, InType: reflect.TypeOf(&CronJobList{})},
|
||||
)
|
||||
}
|
||||
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
func (in *CronJobList) DeepCopyInto(out *CronJobList) {
|
||||
*out = *in
|
||||
@ -54,7 +34,6 @@ func (in *CronJobList) DeepCopy() *CronJobList {
|
||||
func (in *CronJobList) DeepCopyObject() runtime.Object {
|
||||
if c := in.DeepCopy(); c != nil {
|
||||
return c
|
||||
} else {
|
||||
return nil
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
@ -96,7 +96,7 @@ func (l *componentStatusLister) Get(namespace, name string) (*v1.ComponentStatus
|
||||
return nil, errors.NewNotFound(schema.GroupResource{
|
||||
Group: ComponentStatusGroupVersionKind.Group,
|
||||
Resource: "componentStatus",
|
||||
}, name)
|
||||
}, key)
|
||||
}
|
||||
return obj.(*v1.ComponentStatus), nil
|
||||
}
|
||||
|
@ -97,7 +97,7 @@ func (l *configMapLister) Get(namespace, name string) (*v1.ConfigMap, error) {
|
||||
return nil, errors.NewNotFound(schema.GroupResource{
|
||||
Group: ConfigMapGroupVersionKind.Group,
|
||||
Resource: "configMap",
|
||||
}, name)
|
||||
}, key)
|
||||
}
|
||||
return obj.(*v1.ConfigMap), nil
|
||||
}
|
||||
|
@ -1,70 +1,10 @@
|
||||
package v1
|
||||
|
||||
import (
|
||||
reflect "reflect"
|
||||
|
||||
core_v1 "k8s.io/api/core/v1"
|
||||
conversion "k8s.io/apimachinery/pkg/conversion"
|
||||
runtime "k8s.io/apimachinery/pkg/runtime"
|
||||
)
|
||||
|
||||
func init() {
|
||||
SchemeBuilder.Register(RegisterDeepCopies)
|
||||
}
|
||||
|
||||
// RegisterDeepCopies adds deep-copy functions to the given scheme. Public
|
||||
// to allow building arbitrary schemes.
|
||||
//
|
||||
// Deprecated: deepcopy registration will go away when static deepcopy is fully implemented.
|
||||
func RegisterDeepCopies(scheme *runtime.Scheme) error {
|
||||
return scheme.AddGeneratedDeepCopyFuncs(
|
||||
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
|
||||
in.(*ComponentStatusList).DeepCopyInto(out.(*ComponentStatusList))
|
||||
return nil
|
||||
}, InType: reflect.TypeOf(&ComponentStatusList{})},
|
||||
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
|
||||
in.(*ConfigMapList).DeepCopyInto(out.(*ConfigMapList))
|
||||
return nil
|
||||
}, InType: reflect.TypeOf(&ConfigMapList{})},
|
||||
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
|
||||
in.(*EndpointsList).DeepCopyInto(out.(*EndpointsList))
|
||||
return nil
|
||||
}, InType: reflect.TypeOf(&EndpointsList{})},
|
||||
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
|
||||
in.(*EventList).DeepCopyInto(out.(*EventList))
|
||||
return nil
|
||||
}, InType: reflect.TypeOf(&EventList{})},
|
||||
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
|
||||
in.(*NamespaceList).DeepCopyInto(out.(*NamespaceList))
|
||||
return nil
|
||||
}, InType: reflect.TypeOf(&NamespaceList{})},
|
||||
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
|
||||
in.(*NodeList).DeepCopyInto(out.(*NodeList))
|
||||
return nil
|
||||
}, InType: reflect.TypeOf(&NodeList{})},
|
||||
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
|
||||
in.(*PodList).DeepCopyInto(out.(*PodList))
|
||||
return nil
|
||||
}, InType: reflect.TypeOf(&PodList{})},
|
||||
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
|
||||
in.(*ReplicationControllerList).DeepCopyInto(out.(*ReplicationControllerList))
|
||||
return nil
|
||||
}, InType: reflect.TypeOf(&ReplicationControllerList{})},
|
||||
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
|
||||
in.(*SecretList).DeepCopyInto(out.(*SecretList))
|
||||
return nil
|
||||
}, InType: reflect.TypeOf(&SecretList{})},
|
||||
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
|
||||
in.(*ServiceAccountList).DeepCopyInto(out.(*ServiceAccountList))
|
||||
return nil
|
||||
}, InType: reflect.TypeOf(&ServiceAccountList{})},
|
||||
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
|
||||
in.(*ServiceList).DeepCopyInto(out.(*ServiceList))
|
||||
return nil
|
||||
}, InType: reflect.TypeOf(&ServiceList{})},
|
||||
)
|
||||
}
|
||||
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
func (in *ComponentStatusList) DeepCopyInto(out *ComponentStatusList) {
|
||||
*out = *in
|
||||
@ -94,9 +34,8 @@ func (in *ComponentStatusList) DeepCopy() *ComponentStatusList {
|
||||
func (in *ComponentStatusList) DeepCopyObject() runtime.Object {
|
||||
if c := in.DeepCopy(); c != nil {
|
||||
return c
|
||||
} else {
|
||||
return nil
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
@ -128,9 +67,8 @@ func (in *ConfigMapList) DeepCopy() *ConfigMapList {
|
||||
func (in *ConfigMapList) DeepCopyObject() runtime.Object {
|
||||
if c := in.DeepCopy(); c != nil {
|
||||
return c
|
||||
} else {
|
||||
return nil
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
@ -162,9 +100,8 @@ func (in *EndpointsList) DeepCopy() *EndpointsList {
|
||||
func (in *EndpointsList) DeepCopyObject() runtime.Object {
|
||||
if c := in.DeepCopy(); c != nil {
|
||||
return c
|
||||
} else {
|
||||
return nil
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
@ -196,9 +133,8 @@ func (in *EventList) DeepCopy() *EventList {
|
||||
func (in *EventList) DeepCopyObject() runtime.Object {
|
||||
if c := in.DeepCopy(); c != nil {
|
||||
return c
|
||||
} else {
|
||||
return nil
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
@ -230,9 +166,8 @@ func (in *NamespaceList) DeepCopy() *NamespaceList {
|
||||
func (in *NamespaceList) DeepCopyObject() runtime.Object {
|
||||
if c := in.DeepCopy(); c != nil {
|
||||
return c
|
||||
} else {
|
||||
return nil
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
@ -264,9 +199,8 @@ func (in *NodeList) DeepCopy() *NodeList {
|
||||
func (in *NodeList) DeepCopyObject() runtime.Object {
|
||||
if c := in.DeepCopy(); c != nil {
|
||||
return c
|
||||
} else {
|
||||
return nil
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
@ -298,9 +232,8 @@ func (in *PodList) DeepCopy() *PodList {
|
||||
func (in *PodList) DeepCopyObject() runtime.Object {
|
||||
if c := in.DeepCopy(); c != nil {
|
||||
return c
|
||||
} else {
|
||||
return nil
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
@ -332,9 +265,8 @@ func (in *ReplicationControllerList) DeepCopy() *ReplicationControllerList {
|
||||
func (in *ReplicationControllerList) DeepCopyObject() runtime.Object {
|
||||
if c := in.DeepCopy(); c != nil {
|
||||
return c
|
||||
} else {
|
||||
return nil
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
@ -366,9 +298,8 @@ func (in *SecretList) DeepCopy() *SecretList {
|
||||
func (in *SecretList) DeepCopyObject() runtime.Object {
|
||||
if c := in.DeepCopy(); c != nil {
|
||||
return c
|
||||
} else {
|
||||
return nil
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
@ -400,9 +331,8 @@ func (in *ServiceAccountList) DeepCopy() *ServiceAccountList {
|
||||
func (in *ServiceAccountList) DeepCopyObject() runtime.Object {
|
||||
if c := in.DeepCopy(); c != nil {
|
||||
return c
|
||||
} else {
|
||||
return nil
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
@ -434,7 +364,6 @@ func (in *ServiceList) DeepCopy() *ServiceList {
|
||||
func (in *ServiceList) DeepCopyObject() runtime.Object {
|
||||
if c := in.DeepCopy(); c != nil {
|
||||
return c
|
||||
} else {
|
||||
return nil
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
@ -97,7 +97,7 @@ func (l *endpointsLister) Get(namespace, name string) (*v1.Endpoints, error) {
|
||||
return nil, errors.NewNotFound(schema.GroupResource{
|
||||
Group: EndpointsGroupVersionKind.Group,
|
||||
Resource: "endpoints",
|
||||
}, name)
|
||||
}, key)
|
||||
}
|
||||
return obj.(*v1.Endpoints), nil
|
||||
}
|
||||
|
@ -96,7 +96,7 @@ func (l *eventLister) Get(namespace, name string) (*v1.Event, error) {
|
||||
return nil, errors.NewNotFound(schema.GroupResource{
|
||||
Group: EventGroupVersionKind.Group,
|
||||
Resource: "event",
|
||||
}, name)
|
||||
}, key)
|
||||
}
|
||||
return obj.(*v1.Event), nil
|
||||
}
|
||||
|
@ -96,7 +96,7 @@ func (l *namespaceLister) Get(namespace, name string) (*v1.Namespace, error) {
|
||||
return nil, errors.NewNotFound(schema.GroupResource{
|
||||
Group: NamespaceGroupVersionKind.Group,
|
||||
Resource: "namespace",
|
||||
}, name)
|
||||
}, key)
|
||||
}
|
||||
return obj.(*v1.Namespace), nil
|
||||
}
|
||||
|
@ -96,7 +96,7 @@ func (l *nodeLister) Get(namespace, name string) (*v1.Node, error) {
|
||||
return nil, errors.NewNotFound(schema.GroupResource{
|
||||
Group: NodeGroupVersionKind.Group,
|
||||
Resource: "node",
|
||||
}, name)
|
||||
}, key)
|
||||
}
|
||||
return obj.(*v1.Node), nil
|
||||
}
|
||||
|
@ -97,7 +97,7 @@ func (l *podLister) Get(namespace, name string) (*v1.Pod, error) {
|
||||
return nil, errors.NewNotFound(schema.GroupResource{
|
||||
Group: PodGroupVersionKind.Group,
|
||||
Resource: "pod",
|
||||
}, name)
|
||||
}, key)
|
||||
}
|
||||
return obj.(*v1.Pod), nil
|
||||
}
|
||||
|
@ -97,7 +97,7 @@ func (l *replicationControllerLister) Get(namespace, name string) (*v1.Replicati
|
||||
return nil, errors.NewNotFound(schema.GroupResource{
|
||||
Group: ReplicationControllerGroupVersionKind.Group,
|
||||
Resource: "replicationController",
|
||||
}, name)
|
||||
}, key)
|
||||
}
|
||||
return obj.(*v1.ReplicationController), nil
|
||||
}
|
||||
|
@ -97,7 +97,7 @@ func (l *secretLister) Get(namespace, name string) (*v1.Secret, error) {
|
||||
return nil, errors.NewNotFound(schema.GroupResource{
|
||||
Group: SecretGroupVersionKind.Group,
|
||||
Resource: "secret",
|
||||
}, name)
|
||||
}, key)
|
||||
}
|
||||
return obj.(*v1.Secret), nil
|
||||
}
|
||||
|
@ -97,7 +97,7 @@ func (l *serviceAccountLister) Get(namespace, name string) (*v1.ServiceAccount,
|
||||
return nil, errors.NewNotFound(schema.GroupResource{
|
||||
Group: ServiceAccountGroupVersionKind.Group,
|
||||
Resource: "serviceAccount",
|
||||
}, name)
|
||||
}, key)
|
||||
}
|
||||
return obj.(*v1.ServiceAccount), nil
|
||||
}
|
||||
|
@ -97,7 +97,7 @@ func (l *serviceLister) Get(namespace, name string) (*v1.Service, error) {
|
||||
return nil, errors.NewNotFound(schema.GroupResource{
|
||||
Group: ServiceGroupVersionKind.Group,
|
||||
Resource: "service",
|
||||
}, name)
|
||||
}, key)
|
||||
}
|
||||
return obj.(*v1.Service), nil
|
||||
}
|
||||
|
@ -1,34 +1,10 @@
|
||||
package v1beta1
|
||||
|
||||
import (
|
||||
reflect "reflect"
|
||||
|
||||
extensions_v1beta1 "k8s.io/api/extensions/v1beta1"
|
||||
conversion "k8s.io/apimachinery/pkg/conversion"
|
||||
runtime "k8s.io/apimachinery/pkg/runtime"
|
||||
)
|
||||
|
||||
func init() {
|
||||
SchemeBuilder.Register(RegisterDeepCopies)
|
||||
}
|
||||
|
||||
// RegisterDeepCopies adds deep-copy functions to the given scheme. Public
|
||||
// to allow building arbitrary schemes.
|
||||
//
|
||||
// Deprecated: deepcopy registration will go away when static deepcopy is fully implemented.
|
||||
func RegisterDeepCopies(scheme *runtime.Scheme) error {
|
||||
return scheme.AddGeneratedDeepCopyFuncs(
|
||||
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
|
||||
in.(*IngressList).DeepCopyInto(out.(*IngressList))
|
||||
return nil
|
||||
}, InType: reflect.TypeOf(&IngressList{})},
|
||||
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
|
||||
in.(*PodSecurityPolicyList).DeepCopyInto(out.(*PodSecurityPolicyList))
|
||||
return nil
|
||||
}, InType: reflect.TypeOf(&PodSecurityPolicyList{})},
|
||||
)
|
||||
}
|
||||
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
func (in *IngressList) DeepCopyInto(out *IngressList) {
|
||||
*out = *in
|
||||
@ -58,9 +34,8 @@ func (in *IngressList) DeepCopy() *IngressList {
|
||||
func (in *IngressList) DeepCopyObject() runtime.Object {
|
||||
if c := in.DeepCopy(); c != nil {
|
||||
return c
|
||||
} else {
|
||||
return nil
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
@ -92,7 +67,6 @@ func (in *PodSecurityPolicyList) DeepCopy() *PodSecurityPolicyList {
|
||||
func (in *PodSecurityPolicyList) DeepCopyObject() runtime.Object {
|
||||
if c := in.DeepCopy(); c != nil {
|
||||
return c
|
||||
} else {
|
||||
return nil
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
@ -97,7 +97,7 @@ func (l *ingressLister) Get(namespace, name string) (*v1beta1.Ingress, error) {
|
||||
return nil, errors.NewNotFound(schema.GroupResource{
|
||||
Group: IngressGroupVersionKind.Group,
|
||||
Resource: "ingress",
|
||||
}, name)
|
||||
}, key)
|
||||
}
|
||||
return obj.(*v1beta1.Ingress), nil
|
||||
}
|
||||
|
@ -96,7 +96,7 @@ func (l *podSecurityPolicyLister) Get(namespace, name string) (*v1beta1.PodSecur
|
||||
return nil, errors.NewNotFound(schema.GroupResource{
|
||||
Group: PodSecurityPolicyGroupVersionKind.Group,
|
||||
Resource: "podSecurityPolicy",
|
||||
}, name)
|
||||
}, key)
|
||||
}
|
||||
return obj.(*v1beta1.PodSecurityPolicy), nil
|
||||
}
|
||||
|
@ -95,7 +95,7 @@ func (l *authConfigLister) Get(namespace, name string) (*AuthConfig, error) {
|
||||
return nil, errors.NewNotFound(schema.GroupResource{
|
||||
Group: AuthConfigGroupVersionKind.Group,
|
||||
Resource: "authConfig",
|
||||
}, name)
|
||||
}, key)
|
||||
}
|
||||
return obj.(*AuthConfig), nil
|
||||
}
|
||||
|
@ -95,7 +95,7 @@ func (l *catalogLister) Get(namespace, name string) (*Catalog, error) {
|
||||
return nil, errors.NewNotFound(schema.GroupResource{
|
||||
Group: CatalogGroupVersionKind.Group,
|
||||
Resource: "catalog",
|
||||
}, name)
|
||||
}, key)
|
||||
}
|
||||
return obj.(*Catalog), nil
|
||||
}
|
||||
|
@ -96,7 +96,7 @@ func (l *clusterAlertLister) Get(namespace, name string) (*ClusterAlert, error)
|
||||
return nil, errors.NewNotFound(schema.GroupResource{
|
||||
Group: ClusterAlertGroupVersionKind.Group,
|
||||
Resource: "clusterAlert",
|
||||
}, name)
|
||||
}, key)
|
||||
}
|
||||
return obj.(*ClusterAlert), nil
|
||||
}
|
||||
|
@ -95,7 +95,7 @@ func (l *clusterLister) Get(namespace, name string) (*Cluster, error) {
|
||||
return nil, errors.NewNotFound(schema.GroupResource{
|
||||
Group: ClusterGroupVersionKind.Group,
|
||||
Resource: "cluster",
|
||||
}, name)
|
||||
}, key)
|
||||
}
|
||||
return obj.(*Cluster), nil
|
||||
}
|
||||
|
@ -96,7 +96,7 @@ func (l *clusterEventLister) Get(namespace, name string) (*ClusterEvent, error)
|
||||
return nil, errors.NewNotFound(schema.GroupResource{
|
||||
Group: ClusterEventGroupVersionKind.Group,
|
||||
Resource: "clusterEvent",
|
||||
}, name)
|
||||
}, key)
|
||||
}
|
||||
return obj.(*ClusterEvent), nil
|
||||
}
|
||||
|
@ -96,7 +96,7 @@ func (l *clusterLoggingLister) Get(namespace, name string) (*ClusterLogging, err
|
||||
return nil, errors.NewNotFound(schema.GroupResource{
|
||||
Group: ClusterLoggingGroupVersionKind.Group,
|
||||
Resource: "clusterLogging",
|
||||
}, name)
|
||||
}, key)
|
||||
}
|
||||
return obj.(*ClusterLogging), nil
|
||||
}
|
||||
|
@ -96,7 +96,7 @@ func (l *clusterPipelineLister) Get(namespace, name string) (*ClusterPipeline, e
|
||||
return nil, errors.NewNotFound(schema.GroupResource{
|
||||
Group: ClusterPipelineGroupVersionKind.Group,
|
||||
Resource: "clusterPipeline",
|
||||
}, name)
|
||||
}, key)
|
||||
}
|
||||
return obj.(*ClusterPipeline), nil
|
||||
}
|
||||
|
@ -96,7 +96,7 @@ func (l *clusterRegistrationTokenLister) Get(namespace, name string) (*ClusterRe
|
||||
return nil, errors.NewNotFound(schema.GroupResource{
|
||||
Group: ClusterRegistrationTokenGroupVersionKind.Group,
|
||||
Resource: "clusterRegistrationToken",
|
||||
}, name)
|
||||
}, key)
|
||||
}
|
||||
return obj.(*ClusterRegistrationToken), nil
|
||||
}
|
||||
|
@ -96,7 +96,7 @@ func (l *clusterRoleTemplateBindingLister) Get(namespace, name string) (*Cluster
|
||||
return nil, errors.NewNotFound(schema.GroupResource{
|
||||
Group: ClusterRoleTemplateBindingGroupVersionKind.Group,
|
||||
Resource: "clusterRoleTemplateBinding",
|
||||
}, name)
|
||||
}, key)
|
||||
}
|
||||
return obj.(*ClusterRoleTemplateBinding), nil
|
||||
}
|
||||
|
@ -95,7 +95,7 @@ func (l *composeConfigLister) Get(namespace, name string) (*ComposeConfig, error
|
||||
return nil, errors.NewNotFound(schema.GroupResource{
|
||||
Group: ComposeConfigGroupVersionKind.Group,
|
||||
Resource: "composeConfig",
|
||||
}, name)
|
||||
}, key)
|
||||
}
|
||||
return obj.(*ComposeConfig), nil
|
||||
}
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -95,7 +95,7 @@ func (l *dynamicSchemaLister) Get(namespace, name string) (*DynamicSchema, error
|
||||
return nil, errors.NewNotFound(schema.GroupResource{
|
||||
Group: DynamicSchemaGroupVersionKind.Group,
|
||||
Resource: "dynamicSchema",
|
||||
}, name)
|
||||
}, key)
|
||||
}
|
||||
return obj.(*DynamicSchema), nil
|
||||
}
|
||||
|
@ -95,7 +95,7 @@ func (l *globalRoleBindingLister) Get(namespace, name string) (*GlobalRoleBindin
|
||||
return nil, errors.NewNotFound(schema.GroupResource{
|
||||
Group: GlobalRoleBindingGroupVersionKind.Group,
|
||||
Resource: "globalRoleBinding",
|
||||
}, name)
|
||||
}, key)
|
||||
}
|
||||
return obj.(*GlobalRoleBinding), nil
|
||||
}
|
||||
|
@ -95,7 +95,7 @@ func (l *globalRoleLister) Get(namespace, name string) (*GlobalRole, error) {
|
||||
return nil, errors.NewNotFound(schema.GroupResource{
|
||||
Group: GlobalRoleGroupVersionKind.Group,
|
||||
Resource: "globalRole",
|
||||
}, name)
|
||||
}, key)
|
||||
}
|
||||
return obj.(*GlobalRole), nil
|
||||
}
|
||||
|
@ -95,7 +95,7 @@ func (l *groupLister) Get(namespace, name string) (*Group, error) {
|
||||
return nil, errors.NewNotFound(schema.GroupResource{
|
||||
Group: GroupGroupVersionKind.Group,
|
||||
Resource: "group",
|
||||
}, name)
|
||||
}, key)
|
||||
}
|
||||
return obj.(*Group), nil
|
||||
}
|
||||
|
@ -95,7 +95,7 @@ func (l *groupMemberLister) Get(namespace, name string) (*GroupMember, error) {
|
||||
return nil, errors.NewNotFound(schema.GroupResource{
|
||||
Group: GroupMemberGroupVersionKind.Group,
|
||||
Resource: "groupMember",
|
||||
}, name)
|
||||
}, key)
|
||||
}
|
||||
return obj.(*GroupMember), nil
|
||||
}
|
||||
|
@ -95,7 +95,7 @@ func (l *ldapConfigLister) Get(namespace, name string) (*LdapConfig, error) {
|
||||
return nil, errors.NewNotFound(schema.GroupResource{
|
||||
Group: LdapConfigGroupVersionKind.Group,
|
||||
Resource: "ldapConfig",
|
||||
}, name)
|
||||
}, key)
|
||||
}
|
||||
return obj.(*LdapConfig), nil
|
||||
}
|
||||
|
@ -95,7 +95,7 @@ func (l *listenConfigLister) Get(namespace, name string) (*ListenConfig, error)
|
||||
return nil, errors.NewNotFound(schema.GroupResource{
|
||||
Group: ListenConfigGroupVersionKind.Group,
|
||||
Resource: "listenConfig",
|
||||
}, name)
|
||||
}, key)
|
||||
}
|
||||
return obj.(*ListenConfig), nil
|
||||
}
|
||||
|
@ -96,7 +96,7 @@ func (l *nodeLister) Get(namespace, name string) (*Node, error) {
|
||||
return nil, errors.NewNotFound(schema.GroupResource{
|
||||
Group: NodeGroupVersionKind.Group,
|
||||
Resource: "node",
|
||||
}, name)
|
||||
}, key)
|
||||
}
|
||||
return obj.(*Node), nil
|
||||
}
|
||||
|
@ -95,7 +95,7 @@ func (l *nodeDriverLister) Get(namespace, name string) (*NodeDriver, error) {
|
||||
return nil, errors.NewNotFound(schema.GroupResource{
|
||||
Group: NodeDriverGroupVersionKind.Group,
|
||||
Resource: "nodeDriver",
|
||||
}, name)
|
||||
}, key)
|
||||
}
|
||||
return obj.(*NodeDriver), nil
|
||||
}
|
||||
|
@ -96,7 +96,7 @@ func (l *nodePoolLister) Get(namespace, name string) (*NodePool, error) {
|
||||
return nil, errors.NewNotFound(schema.GroupResource{
|
||||
Group: NodePoolGroupVersionKind.Group,
|
||||
Resource: "nodePool",
|
||||
}, name)
|
||||
}, key)
|
||||
}
|
||||
return obj.(*NodePool), nil
|
||||
}
|
||||
|
@ -96,7 +96,7 @@ func (l *nodeTemplateLister) Get(namespace, name string) (*NodeTemplate, error)
|
||||
return nil, errors.NewNotFound(schema.GroupResource{
|
||||
Group: NodeTemplateGroupVersionKind.Group,
|
||||
Resource: "nodeTemplate",
|
||||
}, name)
|
||||
}, key)
|
||||
}
|
||||
return obj.(*NodeTemplate), nil
|
||||
}
|
||||
|
@ -96,7 +96,7 @@ func (l *notifierLister) Get(namespace, name string) (*Notifier, error) {
|
||||
return nil, errors.NewNotFound(schema.GroupResource{
|
||||
Group: NotifierGroupVersionKind.Group,
|
||||
Resource: "notifier",
|
||||
}, name)
|
||||
}, key)
|
||||
}
|
||||
return obj.(*Notifier), nil
|
||||
}
|
||||
|
@ -96,7 +96,7 @@ func (l *pipelineLister) Get(namespace, name string) (*Pipeline, error) {
|
||||
return nil, errors.NewNotFound(schema.GroupResource{
|
||||
Group: PipelineGroupVersionKind.Group,
|
||||
Resource: "pipeline",
|
||||
}, name)
|
||||
}, key)
|
||||
}
|
||||
return obj.(*Pipeline), nil
|
||||
}
|
||||
|
@ -96,7 +96,7 @@ func (l *pipelineExecutionLister) Get(namespace, name string) (*PipelineExecutio
|
||||
return nil, errors.NewNotFound(schema.GroupResource{
|
||||
Group: PipelineExecutionGroupVersionKind.Group,
|
||||
Resource: "pipelineExecution",
|
||||
}, name)
|
||||
}, key)
|
||||
}
|
||||
return obj.(*PipelineExecution), nil
|
||||
}
|
||||
|
@ -96,7 +96,7 @@ func (l *pipelineExecutionLogLister) Get(namespace, name string) (*PipelineExecu
|
||||
return nil, errors.NewNotFound(schema.GroupResource{
|
||||
Group: PipelineExecutionLogGroupVersionKind.Group,
|
||||
Resource: "pipelineExecutionLog",
|
||||
}, name)
|
||||
}, key)
|
||||
}
|
||||
return obj.(*PipelineExecutionLog), nil
|
||||
}
|
||||
|
@ -95,7 +95,7 @@ func (l *podSecurityPolicyTemplateLister) Get(namespace, name string) (*PodSecur
|
||||
return nil, errors.NewNotFound(schema.GroupResource{
|
||||
Group: PodSecurityPolicyTemplateGroupVersionKind.Group,
|
||||
Resource: "podSecurityPolicyTemplate",
|
||||
}, name)
|
||||
}, key)
|
||||
}
|
||||
return obj.(*PodSecurityPolicyTemplate), nil
|
||||
}
|
||||
|
@ -96,7 +96,7 @@ func (l *podSecurityPolicyTemplateProjectBindingLister) Get(namespace, name stri
|
||||
return nil, errors.NewNotFound(schema.GroupResource{
|
||||
Group: PodSecurityPolicyTemplateProjectBindingGroupVersionKind.Group,
|
||||
Resource: "podSecurityPolicyTemplateProjectBinding",
|
||||
}, name)
|
||||
}, key)
|
||||
}
|
||||
return obj.(*PodSecurityPolicyTemplateProjectBinding), nil
|
||||
}
|
||||
|
@ -96,7 +96,7 @@ func (l *preferenceLister) Get(namespace, name string) (*Preference, error) {
|
||||
return nil, errors.NewNotFound(schema.GroupResource{
|
||||
Group: PreferenceGroupVersionKind.Group,
|
||||
Resource: "preference",
|
||||
}, name)
|
||||
}, key)
|
||||
}
|
||||
return obj.(*Preference), nil
|
||||
}
|
||||
|
@ -95,7 +95,7 @@ func (l *principalLister) Get(namespace, name string) (*Principal, error) {
|
||||
return nil, errors.NewNotFound(schema.GroupResource{
|
||||
Group: PrincipalGroupVersionKind.Group,
|
||||
Resource: "principal",
|
||||
}, name)
|
||||
}, key)
|
||||
}
|
||||
return obj.(*Principal), nil
|
||||
}
|
||||
|
@ -96,7 +96,7 @@ func (l *projectAlertLister) Get(namespace, name string) (*ProjectAlert, error)
|
||||
return nil, errors.NewNotFound(schema.GroupResource{
|
||||
Group: ProjectAlertGroupVersionKind.Group,
|
||||
Resource: "projectAlert",
|
||||
}, name)
|
||||
}, key)
|
||||
}
|
||||
return obj.(*ProjectAlert), nil
|
||||
}
|
||||
|
@ -96,7 +96,7 @@ func (l *projectLister) Get(namespace, name string) (*Project, error) {
|
||||
return nil, errors.NewNotFound(schema.GroupResource{
|
||||
Group: ProjectGroupVersionKind.Group,
|
||||
Resource: "project",
|
||||
}, name)
|
||||
}, key)
|
||||
}
|
||||
return obj.(*Project), nil
|
||||
}
|
||||
|
@ -96,7 +96,7 @@ func (l *projectLoggingLister) Get(namespace, name string) (*ProjectLogging, err
|
||||
return nil, errors.NewNotFound(schema.GroupResource{
|
||||
Group: ProjectLoggingGroupVersionKind.Group,
|
||||
Resource: "projectLogging",
|
||||
}, name)
|
||||
}, key)
|
||||
}
|
||||
return obj.(*ProjectLogging), nil
|
||||
}
|
||||
|
@ -96,7 +96,7 @@ func (l *projectNetworkPolicyLister) Get(namespace, name string) (*ProjectNetwor
|
||||
return nil, errors.NewNotFound(schema.GroupResource{
|
||||
Group: ProjectNetworkPolicyGroupVersionKind.Group,
|
||||
Resource: "projectNetworkPolicy",
|
||||
}, name)
|
||||
}, key)
|
||||
}
|
||||
return obj.(*ProjectNetworkPolicy), nil
|
||||
}
|
||||
|
@ -96,7 +96,7 @@ func (l *projectRoleTemplateBindingLister) Get(namespace, name string) (*Project
|
||||
return nil, errors.NewNotFound(schema.GroupResource{
|
||||
Group: ProjectRoleTemplateBindingGroupVersionKind.Group,
|
||||
Resource: "projectRoleTemplateBinding",
|
||||
}, name)
|
||||
}, key)
|
||||
}
|
||||
return obj.(*ProjectRoleTemplateBinding), nil
|
||||
}
|
||||
|
@ -95,7 +95,7 @@ func (l *roleTemplateLister) Get(namespace, name string) (*RoleTemplate, error)
|
||||
return nil, errors.NewNotFound(schema.GroupResource{
|
||||
Group: RoleTemplateGroupVersionKind.Group,
|
||||
Resource: "roleTemplate",
|
||||
}, name)
|
||||
}, key)
|
||||
}
|
||||
return obj.(*RoleTemplate), nil
|
||||
}
|
||||
|
@ -95,7 +95,7 @@ func (l *settingLister) Get(namespace, name string) (*Setting, error) {
|
||||
return nil, errors.NewNotFound(schema.GroupResource{
|
||||
Group: SettingGroupVersionKind.Group,
|
||||
Resource: "setting",
|
||||
}, name)
|
||||
}, key)
|
||||
}
|
||||
return obj.(*Setting), nil
|
||||
}
|
||||
|
@ -96,7 +96,7 @@ func (l *sourceCodeCredentialLister) Get(namespace, name string) (*SourceCodeCre
|
||||
return nil, errors.NewNotFound(schema.GroupResource{
|
||||
Group: SourceCodeCredentialGroupVersionKind.Group,
|
||||
Resource: "sourceCodeCredential",
|
||||
}, name)
|
||||
}, key)
|
||||
}
|
||||
return obj.(*SourceCodeCredential), nil
|
||||
}
|
||||
|
@ -96,7 +96,7 @@ func (l *sourceCodeRepositoryLister) Get(namespace, name string) (*SourceCodeRep
|
||||
return nil, errors.NewNotFound(schema.GroupResource{
|
||||
Group: SourceCodeRepositoryGroupVersionKind.Group,
|
||||
Resource: "sourceCodeRepository",
|
||||
}, name)
|
||||
}, key)
|
||||
}
|
||||
return obj.(*SourceCodeRepository), nil
|
||||
}
|
||||
|
@ -95,7 +95,7 @@ func (l *templateContentLister) Get(namespace, name string) (*TemplateContent, e
|
||||
return nil, errors.NewNotFound(schema.GroupResource{
|
||||
Group: TemplateContentGroupVersionKind.Group,
|
||||
Resource: "templateContent",
|
||||
}, name)
|
||||
}, key)
|
||||
}
|
||||
return obj.(*TemplateContent), nil
|
||||
}
|
||||
|
@ -95,7 +95,7 @@ func (l *templateLister) Get(namespace, name string) (*Template, error) {
|
||||
return nil, errors.NewNotFound(schema.GroupResource{
|
||||
Group: TemplateGroupVersionKind.Group,
|
||||
Resource: "template",
|
||||
}, name)
|
||||
}, key)
|
||||
}
|
||||
return obj.(*Template), nil
|
||||
}
|
||||
|
@ -95,7 +95,7 @@ func (l *templateVersionLister) Get(namespace, name string) (*TemplateVersion, e
|
||||
return nil, errors.NewNotFound(schema.GroupResource{
|
||||
Group: TemplateVersionGroupVersionKind.Group,
|
||||
Resource: "templateVersion",
|
||||
}, name)
|
||||
}, key)
|
||||
}
|
||||
return obj.(*TemplateVersion), nil
|
||||
}
|
||||
|
@ -95,7 +95,7 @@ func (l *tokenLister) Get(namespace, name string) (*Token, error) {
|
||||
return nil, errors.NewNotFound(schema.GroupResource{
|
||||
Group: TokenGroupVersionKind.Group,
|
||||
Resource: "token",
|
||||
}, name)
|
||||
}, key)
|
||||
}
|
||||
return obj.(*Token), nil
|
||||
}
|
||||
|
@ -95,7 +95,7 @@ func (l *userAttributeLister) Get(namespace, name string) (*UserAttribute, error
|
||||
return nil, errors.NewNotFound(schema.GroupResource{
|
||||
Group: UserAttributeGroupVersionKind.Group,
|
||||
Resource: "userAttribute",
|
||||
}, name)
|
||||
}, key)
|
||||
}
|
||||
return obj.(*UserAttribute), nil
|
||||
}
|
||||
|
@ -95,7 +95,7 @@ func (l *userLister) Get(namespace, name string) (*User, error) {
|
||||
return nil, errors.NewNotFound(schema.GroupResource{
|
||||
Group: UserGroupVersionKind.Group,
|
||||
Resource: "user",
|
||||
}, name)
|
||||
}, key)
|
||||
}
|
||||
return obj.(*User), nil
|
||||
}
|
||||
|
@ -95,7 +95,7 @@ func (l *authProviderLister) Get(namespace, name string) (*AuthProvider, error)
|
||||
return nil, errors.NewNotFound(schema.GroupResource{
|
||||
Group: AuthProviderGroupVersionKind.Group,
|
||||
Resource: "authProvider",
|
||||
}, name)
|
||||
}, key)
|
||||
}
|
||||
return obj.(*AuthProvider), nil
|
||||
}
|
||||
|
@ -1,73 +1,9 @@
|
||||
package v3public
|
||||
|
||||
import (
|
||||
reflect "reflect"
|
||||
|
||||
conversion "k8s.io/apimachinery/pkg/conversion"
|
||||
runtime "k8s.io/apimachinery/pkg/runtime"
|
||||
)
|
||||
|
||||
func init() {
|
||||
SchemeBuilder.Register(RegisterDeepCopies)
|
||||
}
|
||||
|
||||
// RegisterDeepCopies adds deep-copy functions to the given scheme. Public
|
||||
// to allow building arbitrary schemes.
|
||||
//
|
||||
// Deprecated: deepcopy registration will go away when static deepcopy is fully implemented.
|
||||
func RegisterDeepCopies(scheme *runtime.Scheme) error {
|
||||
return scheme.AddGeneratedDeepCopyFuncs(
|
||||
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
|
||||
in.(*ActiveDirectoryProvider).DeepCopyInto(out.(*ActiveDirectoryProvider))
|
||||
return nil
|
||||
}, InType: reflect.TypeOf(&ActiveDirectoryProvider{})},
|
||||
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
|
||||
in.(*AuthProvider).DeepCopyInto(out.(*AuthProvider))
|
||||
return nil
|
||||
}, InType: reflect.TypeOf(&AuthProvider{})},
|
||||
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
|
||||
in.(*AuthProviderList).DeepCopyInto(out.(*AuthProviderList))
|
||||
return nil
|
||||
}, InType: reflect.TypeOf(&AuthProviderList{})},
|
||||
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
|
||||
in.(*AzureADLogin).DeepCopyInto(out.(*AzureADLogin))
|
||||
return nil
|
||||
}, InType: reflect.TypeOf(&AzureADLogin{})},
|
||||
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
|
||||
in.(*AzureADProvider).DeepCopyInto(out.(*AzureADProvider))
|
||||
return nil
|
||||
}, InType: reflect.TypeOf(&AzureADProvider{})},
|
||||
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
|
||||
in.(*BasicLogin).DeepCopyInto(out.(*BasicLogin))
|
||||
return nil
|
||||
}, InType: reflect.TypeOf(&BasicLogin{})},
|
||||
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
|
||||
in.(*FreeIpaProvider).DeepCopyInto(out.(*FreeIpaProvider))
|
||||
return nil
|
||||
}, InType: reflect.TypeOf(&FreeIpaProvider{})},
|
||||
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
|
||||
in.(*GenericLogin).DeepCopyInto(out.(*GenericLogin))
|
||||
return nil
|
||||
}, InType: reflect.TypeOf(&GenericLogin{})},
|
||||
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
|
||||
in.(*GithubLogin).DeepCopyInto(out.(*GithubLogin))
|
||||
return nil
|
||||
}, InType: reflect.TypeOf(&GithubLogin{})},
|
||||
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
|
||||
in.(*GithubProvider).DeepCopyInto(out.(*GithubProvider))
|
||||
return nil
|
||||
}, InType: reflect.TypeOf(&GithubProvider{})},
|
||||
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
|
||||
in.(*LocalProvider).DeepCopyInto(out.(*LocalProvider))
|
||||
return nil
|
||||
}, InType: reflect.TypeOf(&LocalProvider{})},
|
||||
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
|
||||
in.(*OpenLdapProvider).DeepCopyInto(out.(*OpenLdapProvider))
|
||||
return nil
|
||||
}, InType: reflect.TypeOf(&OpenLdapProvider{})},
|
||||
)
|
||||
}
|
||||
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
func (in *ActiveDirectoryProvider) DeepCopyInto(out *ActiveDirectoryProvider) {
|
||||
*out = *in
|
||||
@ -91,9 +27,8 @@ func (in *ActiveDirectoryProvider) DeepCopy() *ActiveDirectoryProvider {
|
||||
func (in *ActiveDirectoryProvider) DeepCopyObject() runtime.Object {
|
||||
if c := in.DeepCopy(); c != nil {
|
||||
return c
|
||||
} else {
|
||||
return nil
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
@ -118,9 +53,8 @@ func (in *AuthProvider) DeepCopy() *AuthProvider {
|
||||
func (in *AuthProvider) DeepCopyObject() runtime.Object {
|
||||
if c := in.DeepCopy(); c != nil {
|
||||
return c
|
||||
} else {
|
||||
return nil
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
@ -152,9 +86,8 @@ func (in *AuthProviderList) DeepCopy() *AuthProviderList {
|
||||
func (in *AuthProviderList) DeepCopyObject() runtime.Object {
|
||||
if c := in.DeepCopy(); c != nil {
|
||||
return c
|
||||
} else {
|
||||
return nil
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
@ -197,9 +130,8 @@ func (in *AzureADProvider) DeepCopy() *AzureADProvider {
|
||||
func (in *AzureADProvider) DeepCopyObject() runtime.Object {
|
||||
if c := in.DeepCopy(); c != nil {
|
||||
return c
|
||||
} else {
|
||||
return nil
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
@ -242,9 +174,8 @@ func (in *FreeIpaProvider) DeepCopy() *FreeIpaProvider {
|
||||
func (in *FreeIpaProvider) DeepCopyObject() runtime.Object {
|
||||
if c := in.DeepCopy(); c != nil {
|
||||
return c
|
||||
} else {
|
||||
return nil
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
@ -303,9 +234,8 @@ func (in *GithubProvider) DeepCopy() *GithubProvider {
|
||||
func (in *GithubProvider) DeepCopyObject() runtime.Object {
|
||||
if c := in.DeepCopy(); c != nil {
|
||||
return c
|
||||
} else {
|
||||
return nil
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
@ -331,9 +261,8 @@ func (in *LocalProvider) DeepCopy() *LocalProvider {
|
||||
func (in *LocalProvider) DeepCopyObject() runtime.Object {
|
||||
if c := in.DeepCopy(); c != nil {
|
||||
return c
|
||||
} else {
|
||||
return nil
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
@ -359,7 +288,6 @@ func (in *OpenLdapProvider) DeepCopy() *OpenLdapProvider {
|
||||
func (in *OpenLdapProvider) DeepCopyObject() runtime.Object {
|
||||
if c := in.DeepCopy(); c != nil {
|
||||
return c
|
||||
} else {
|
||||
return nil
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
@ -1,30 +1,10 @@
|
||||
package v1
|
||||
|
||||
import (
|
||||
reflect "reflect"
|
||||
|
||||
networking_v1 "k8s.io/api/networking/v1"
|
||||
conversion "k8s.io/apimachinery/pkg/conversion"
|
||||
runtime "k8s.io/apimachinery/pkg/runtime"
|
||||
)
|
||||
|
||||
func init() {
|
||||
SchemeBuilder.Register(RegisterDeepCopies)
|
||||
}
|
||||
|
||||
// RegisterDeepCopies adds deep-copy functions to the given scheme. Public
|
||||
// to allow building arbitrary schemes.
|
||||
//
|
||||
// Deprecated: deepcopy registration will go away when static deepcopy is fully implemented.
|
||||
func RegisterDeepCopies(scheme *runtime.Scheme) error {
|
||||
return scheme.AddGeneratedDeepCopyFuncs(
|
||||
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
|
||||
in.(*NetworkPolicyList).DeepCopyInto(out.(*NetworkPolicyList))
|
||||
return nil
|
||||
}, InType: reflect.TypeOf(&NetworkPolicyList{})},
|
||||
)
|
||||
}
|
||||
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
func (in *NetworkPolicyList) DeepCopyInto(out *NetworkPolicyList) {
|
||||
*out = *in
|
||||
@ -54,7 +34,6 @@ func (in *NetworkPolicyList) DeepCopy() *NetworkPolicyList {
|
||||
func (in *NetworkPolicyList) DeepCopyObject() runtime.Object {
|
||||
if c := in.DeepCopy(); c != nil {
|
||||
return c
|
||||
} else {
|
||||
return nil
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
@ -97,7 +97,7 @@ func (l *networkPolicyLister) Get(namespace, name string) (*v1.NetworkPolicy, er
|
||||
return nil, errors.NewNotFound(schema.GroupResource{
|
||||
Group: NetworkPolicyGroupVersionKind.Group,
|
||||
Resource: "networkPolicy",
|
||||
}, name)
|
||||
}, key)
|
||||
}
|
||||
return obj.(*v1.NetworkPolicy), nil
|
||||
}
|
||||
|
@ -96,7 +96,7 @@ func (l *appLister) Get(namespace, name string) (*App, error) {
|
||||
return nil, errors.NewNotFound(schema.GroupResource{
|
||||
Group: AppGroupVersionKind.Group,
|
||||
Resource: "app",
|
||||
}, name)
|
||||
}, key)
|
||||
}
|
||||
return obj.(*App), nil
|
||||
}
|
||||
|
@ -96,7 +96,7 @@ func (l *appRevisionLister) Get(namespace, name string) (*AppRevision, error) {
|
||||
return nil, errors.NewNotFound(schema.GroupResource{
|
||||
Group: AppRevisionGroupVersionKind.Group,
|
||||
Resource: "appRevision",
|
||||
}, name)
|
||||
}, key)
|
||||
}
|
||||
return obj.(*AppRevision), nil
|
||||
}
|
||||
|
@ -96,7 +96,7 @@ func (l *basicAuthLister) Get(namespace, name string) (*BasicAuth, error) {
|
||||
return nil, errors.NewNotFound(schema.GroupResource{
|
||||
Group: BasicAuthGroupVersionKind.Group,
|
||||
Resource: "basicAuth",
|
||||
}, name)
|
||||
}, key)
|
||||
}
|
||||
return obj.(*BasicAuth), nil
|
||||
}
|
||||
|
@ -96,7 +96,7 @@ func (l *certificateLister) Get(namespace, name string) (*Certificate, error) {
|
||||
return nil, errors.NewNotFound(schema.GroupResource{
|
||||
Group: CertificateGroupVersionKind.Group,
|
||||
Resource: "certificate",
|
||||
}, name)
|
||||
}, key)
|
||||
}
|
||||
return obj.(*Certificate), nil
|
||||
}
|
||||
|
@ -1,169 +1,9 @@
|
||||
package v3
|
||||
|
||||
import (
|
||||
reflect "reflect"
|
||||
|
||||
conversion "k8s.io/apimachinery/pkg/conversion"
|
||||
runtime "k8s.io/apimachinery/pkg/runtime"
|
||||
)
|
||||
|
||||
func init() {
|
||||
SchemeBuilder.Register(RegisterDeepCopies)
|
||||
}
|
||||
|
||||
// RegisterDeepCopies adds deep-copy functions to the given scheme. Public
|
||||
// to allow building arbitrary schemes.
|
||||
//
|
||||
// Deprecated: deepcopy registration will go away when static deepcopy is fully implemented.
|
||||
func RegisterDeepCopies(scheme *runtime.Scheme) error {
|
||||
return scheme.AddGeneratedDeepCopyFuncs(
|
||||
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
|
||||
in.(*App).DeepCopyInto(out.(*App))
|
||||
return nil
|
||||
}, InType: reflect.TypeOf(&App{})},
|
||||
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
|
||||
in.(*AppCondition).DeepCopyInto(out.(*AppCondition))
|
||||
return nil
|
||||
}, InType: reflect.TypeOf(&AppCondition{})},
|
||||
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
|
||||
in.(*AppList).DeepCopyInto(out.(*AppList))
|
||||
return nil
|
||||
}, InType: reflect.TypeOf(&AppList{})},
|
||||
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
|
||||
in.(*AppRevision).DeepCopyInto(out.(*AppRevision))
|
||||
return nil
|
||||
}, InType: reflect.TypeOf(&AppRevision{})},
|
||||
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
|
||||
in.(*AppRevisionList).DeepCopyInto(out.(*AppRevisionList))
|
||||
return nil
|
||||
}, InType: reflect.TypeOf(&AppRevisionList{})},
|
||||
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
|
||||
in.(*AppRevisionSpec).DeepCopyInto(out.(*AppRevisionSpec))
|
||||
return nil
|
||||
}, InType: reflect.TypeOf(&AppRevisionSpec{})},
|
||||
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
|
||||
in.(*AppRevisionStatus).DeepCopyInto(out.(*AppRevisionStatus))
|
||||
return nil
|
||||
}, InType: reflect.TypeOf(&AppRevisionStatus{})},
|
||||
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
|
||||
in.(*AppSpec).DeepCopyInto(out.(*AppSpec))
|
||||
return nil
|
||||
}, InType: reflect.TypeOf(&AppSpec{})},
|
||||
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
|
||||
in.(*AppStatus).DeepCopyInto(out.(*AppStatus))
|
||||
return nil
|
||||
}, InType: reflect.TypeOf(&AppStatus{})},
|
||||
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
|
||||
in.(*AppUpgradeConfig).DeepCopyInto(out.(*AppUpgradeConfig))
|
||||
return nil
|
||||
}, InType: reflect.TypeOf(&AppUpgradeConfig{})},
|
||||
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
|
||||
in.(*BasicAuth).DeepCopyInto(out.(*BasicAuth))
|
||||
return nil
|
||||
}, InType: reflect.TypeOf(&BasicAuth{})},
|
||||
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
|
||||
in.(*BasicAuthList).DeepCopyInto(out.(*BasicAuthList))
|
||||
return nil
|
||||
}, InType: reflect.TypeOf(&BasicAuthList{})},
|
||||
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
|
||||
in.(*Certificate).DeepCopyInto(out.(*Certificate))
|
||||
return nil
|
||||
}, InType: reflect.TypeOf(&Certificate{})},
|
||||
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
|
||||
in.(*CertificateList).DeepCopyInto(out.(*CertificateList))
|
||||
return nil
|
||||
}, InType: reflect.TypeOf(&CertificateList{})},
|
||||
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
|
||||
in.(*DeploymentRollbackInput).DeepCopyInto(out.(*DeploymentRollbackInput))
|
||||
return nil
|
||||
}, InType: reflect.TypeOf(&DeploymentRollbackInput{})},
|
||||
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
|
||||
in.(*DockerCredential).DeepCopyInto(out.(*DockerCredential))
|
||||
return nil
|
||||
}, InType: reflect.TypeOf(&DockerCredential{})},
|
||||
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
|
||||
in.(*DockerCredentialList).DeepCopyInto(out.(*DockerCredentialList))
|
||||
return nil
|
||||
}, InType: reflect.TypeOf(&DockerCredentialList{})},
|
||||
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
|
||||
in.(*NamespacedBasicAuth).DeepCopyInto(out.(*NamespacedBasicAuth))
|
||||
return nil
|
||||
}, InType: reflect.TypeOf(&NamespacedBasicAuth{})},
|
||||
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
|
||||
in.(*NamespacedBasicAuthList).DeepCopyInto(out.(*NamespacedBasicAuthList))
|
||||
return nil
|
||||
}, InType: reflect.TypeOf(&NamespacedBasicAuthList{})},
|
||||
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
|
||||
in.(*NamespacedCertificate).DeepCopyInto(out.(*NamespacedCertificate))
|
||||
return nil
|
||||
}, InType: reflect.TypeOf(&NamespacedCertificate{})},
|
||||
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
|
||||
in.(*NamespacedCertificateList).DeepCopyInto(out.(*NamespacedCertificateList))
|
||||
return nil
|
||||
}, InType: reflect.TypeOf(&NamespacedCertificateList{})},
|
||||
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
|
||||
in.(*NamespacedDockerCredential).DeepCopyInto(out.(*NamespacedDockerCredential))
|
||||
return nil
|
||||
}, InType: reflect.TypeOf(&NamespacedDockerCredential{})},
|
||||
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
|
||||
in.(*NamespacedDockerCredentialList).DeepCopyInto(out.(*NamespacedDockerCredentialList))
|
||||
return nil
|
||||
}, InType: reflect.TypeOf(&NamespacedDockerCredentialList{})},
|
||||
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
|
||||
in.(*NamespacedSSHAuth).DeepCopyInto(out.(*NamespacedSSHAuth))
|
||||
return nil
|
||||
}, InType: reflect.TypeOf(&NamespacedSSHAuth{})},
|
||||
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
|
||||
in.(*NamespacedSSHAuthList).DeepCopyInto(out.(*NamespacedSSHAuthList))
|
||||
return nil
|
||||
}, InType: reflect.TypeOf(&NamespacedSSHAuthList{})},
|
||||
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
|
||||
in.(*NamespacedServiceAccountToken).DeepCopyInto(out.(*NamespacedServiceAccountToken))
|
||||
return nil
|
||||
}, InType: reflect.TypeOf(&NamespacedServiceAccountToken{})},
|
||||
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
|
||||
in.(*NamespacedServiceAccountTokenList).DeepCopyInto(out.(*NamespacedServiceAccountTokenList))
|
||||
return nil
|
||||
}, InType: reflect.TypeOf(&NamespacedServiceAccountTokenList{})},
|
||||
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
|
||||
in.(*PublicEndpoint).DeepCopyInto(out.(*PublicEndpoint))
|
||||
return nil
|
||||
}, InType: reflect.TypeOf(&PublicEndpoint{})},
|
||||
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
|
||||
in.(*RegistryCredential).DeepCopyInto(out.(*RegistryCredential))
|
||||
return nil
|
||||
}, InType: reflect.TypeOf(&RegistryCredential{})},
|
||||
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
|
||||
in.(*RollbackRevision).DeepCopyInto(out.(*RollbackRevision))
|
||||
return nil
|
||||
}, InType: reflect.TypeOf(&RollbackRevision{})},
|
||||
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
|
||||
in.(*SSHAuth).DeepCopyInto(out.(*SSHAuth))
|
||||
return nil
|
||||
}, InType: reflect.TypeOf(&SSHAuth{})},
|
||||
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
|
||||
in.(*SSHAuthList).DeepCopyInto(out.(*SSHAuthList))
|
||||
return nil
|
||||
}, InType: reflect.TypeOf(&SSHAuthList{})},
|
||||
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
|
||||
in.(*ServiceAccountToken).DeepCopyInto(out.(*ServiceAccountToken))
|
||||
return nil
|
||||
}, InType: reflect.TypeOf(&ServiceAccountToken{})},
|
||||
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
|
||||
in.(*ServiceAccountTokenList).DeepCopyInto(out.(*ServiceAccountTokenList))
|
||||
return nil
|
||||
}, InType: reflect.TypeOf(&ServiceAccountTokenList{})},
|
||||
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
|
||||
in.(*Workload).DeepCopyInto(out.(*Workload))
|
||||
return nil
|
||||
}, InType: reflect.TypeOf(&Workload{})},
|
||||
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
|
||||
in.(*WorkloadList).DeepCopyInto(out.(*WorkloadList))
|
||||
return nil
|
||||
}, InType: reflect.TypeOf(&WorkloadList{})},
|
||||
)
|
||||
}
|
||||
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
func (in *App) DeepCopyInto(out *App) {
|
||||
*out = *in
|
||||
@ -189,9 +29,8 @@ func (in *App) DeepCopy() *App {
|
||||
func (in *App) DeepCopyObject() runtime.Object {
|
||||
if c := in.DeepCopy(); c != nil {
|
||||
return c
|
||||
} else {
|
||||
return nil
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
@ -239,9 +78,8 @@ func (in *AppList) DeepCopy() *AppList {
|
||||
func (in *AppList) DeepCopyObject() runtime.Object {
|
||||
if c := in.DeepCopy(); c != nil {
|
||||
return c
|
||||
} else {
|
||||
return nil
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
@ -269,9 +107,8 @@ func (in *AppRevision) DeepCopy() *AppRevision {
|
||||
func (in *AppRevision) DeepCopyObject() runtime.Object {
|
||||
if c := in.DeepCopy(); c != nil {
|
||||
return c
|
||||
} else {
|
||||
return nil
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
@ -303,9 +140,8 @@ func (in *AppRevisionList) DeepCopy() *AppRevisionList {
|
||||
func (in *AppRevisionList) DeepCopyObject() runtime.Object {
|
||||
if c := in.DeepCopy(); c != nil {
|
||||
return c
|
||||
} else {
|
||||
return nil
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
@ -451,9 +287,8 @@ func (in *BasicAuth) DeepCopy() *BasicAuth {
|
||||
func (in *BasicAuth) DeepCopyObject() runtime.Object {
|
||||
if c := in.DeepCopy(); c != nil {
|
||||
return c
|
||||
} else {
|
||||
return nil
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
@ -485,9 +320,8 @@ func (in *BasicAuthList) DeepCopy() *BasicAuthList {
|
||||
func (in *BasicAuthList) DeepCopyObject() runtime.Object {
|
||||
if c := in.DeepCopy(); c != nil {
|
||||
return c
|
||||
} else {
|
||||
return nil
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
@ -518,9 +352,8 @@ func (in *Certificate) DeepCopy() *Certificate {
|
||||
func (in *Certificate) DeepCopyObject() runtime.Object {
|
||||
if c := in.DeepCopy(); c != nil {
|
||||
return c
|
||||
} else {
|
||||
return nil
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
@ -552,9 +385,8 @@ func (in *CertificateList) DeepCopy() *CertificateList {
|
||||
func (in *CertificateList) DeepCopyObject() runtime.Object {
|
||||
if c := in.DeepCopy(); c != nil {
|
||||
return c
|
||||
} else {
|
||||
return nil
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
@ -603,9 +435,8 @@ func (in *DockerCredential) DeepCopy() *DockerCredential {
|
||||
func (in *DockerCredential) DeepCopyObject() runtime.Object {
|
||||
if c := in.DeepCopy(); c != nil {
|
||||
return c
|
||||
} else {
|
||||
return nil
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
@ -637,9 +468,8 @@ func (in *DockerCredentialList) DeepCopy() *DockerCredentialList {
|
||||
func (in *DockerCredentialList) DeepCopyObject() runtime.Object {
|
||||
if c := in.DeepCopy(); c != nil {
|
||||
return c
|
||||
} else {
|
||||
return nil
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
@ -665,9 +495,8 @@ func (in *NamespacedBasicAuth) DeepCopy() *NamespacedBasicAuth {
|
||||
func (in *NamespacedBasicAuth) DeepCopyObject() runtime.Object {
|
||||
if c := in.DeepCopy(); c != nil {
|
||||
return c
|
||||
} else {
|
||||
return nil
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
@ -699,9 +528,8 @@ func (in *NamespacedBasicAuthList) DeepCopy() *NamespacedBasicAuthList {
|
||||
func (in *NamespacedBasicAuthList) DeepCopyObject() runtime.Object {
|
||||
if c := in.DeepCopy(); c != nil {
|
||||
return c
|
||||
} else {
|
||||
return nil
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
@ -732,9 +560,8 @@ func (in *NamespacedCertificate) DeepCopy() *NamespacedCertificate {
|
||||
func (in *NamespacedCertificate) DeepCopyObject() runtime.Object {
|
||||
if c := in.DeepCopy(); c != nil {
|
||||
return c
|
||||
} else {
|
||||
return nil
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
@ -766,9 +593,8 @@ func (in *NamespacedCertificateList) DeepCopy() *NamespacedCertificateList {
|
||||
func (in *NamespacedCertificateList) DeepCopyObject() runtime.Object {
|
||||
if c := in.DeepCopy(); c != nil {
|
||||
return c
|
||||
} else {
|
||||
return nil
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
@ -801,9 +627,8 @@ func (in *NamespacedDockerCredential) DeepCopy() *NamespacedDockerCredential {
|
||||
func (in *NamespacedDockerCredential) DeepCopyObject() runtime.Object {
|
||||
if c := in.DeepCopy(); c != nil {
|
||||
return c
|
||||
} else {
|
||||
return nil
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
@ -835,9 +660,8 @@ func (in *NamespacedDockerCredentialList) DeepCopy() *NamespacedDockerCredential
|
||||
func (in *NamespacedDockerCredentialList) DeepCopyObject() runtime.Object {
|
||||
if c := in.DeepCopy(); c != nil {
|
||||
return c
|
||||
} else {
|
||||
return nil
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
@ -863,9 +687,8 @@ func (in *NamespacedSSHAuth) DeepCopy() *NamespacedSSHAuth {
|
||||
func (in *NamespacedSSHAuth) DeepCopyObject() runtime.Object {
|
||||
if c := in.DeepCopy(); c != nil {
|
||||
return c
|
||||
} else {
|
||||
return nil
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
@ -897,9 +720,8 @@ func (in *NamespacedSSHAuthList) DeepCopy() *NamespacedSSHAuthList {
|
||||
func (in *NamespacedSSHAuthList) DeepCopyObject() runtime.Object {
|
||||
if c := in.DeepCopy(); c != nil {
|
||||
return c
|
||||
} else {
|
||||
return nil
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
@ -925,9 +747,8 @@ func (in *NamespacedServiceAccountToken) DeepCopy() *NamespacedServiceAccountTok
|
||||
func (in *NamespacedServiceAccountToken) DeepCopyObject() runtime.Object {
|
||||
if c := in.DeepCopy(); c != nil {
|
||||
return c
|
||||
} else {
|
||||
return nil
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
@ -959,9 +780,8 @@ func (in *NamespacedServiceAccountTokenList) DeepCopy() *NamespacedServiceAccoun
|
||||
func (in *NamespacedServiceAccountTokenList) DeepCopyObject() runtime.Object {
|
||||
if c := in.DeepCopy(); c != nil {
|
||||
return c
|
||||
} else {
|
||||
return nil
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
@ -1040,9 +860,8 @@ func (in *SSHAuth) DeepCopy() *SSHAuth {
|
||||
func (in *SSHAuth) DeepCopyObject() runtime.Object {
|
||||
if c := in.DeepCopy(); c != nil {
|
||||
return c
|
||||
} else {
|
||||
return nil
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
@ -1074,9 +893,8 @@ func (in *SSHAuthList) DeepCopy() *SSHAuthList {
|
||||
func (in *SSHAuthList) DeepCopyObject() runtime.Object {
|
||||
if c := in.DeepCopy(); c != nil {
|
||||
return c
|
||||
} else {
|
||||
return nil
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
@ -1102,9 +920,8 @@ func (in *ServiceAccountToken) DeepCopy() *ServiceAccountToken {
|
||||
func (in *ServiceAccountToken) DeepCopyObject() runtime.Object {
|
||||
if c := in.DeepCopy(); c != nil {
|
||||
return c
|
||||
} else {
|
||||
return nil
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
@ -1136,9 +953,8 @@ func (in *ServiceAccountTokenList) DeepCopy() *ServiceAccountTokenList {
|
||||
func (in *ServiceAccountTokenList) DeepCopyObject() runtime.Object {
|
||||
if c := in.DeepCopy(); c != nil {
|
||||
return c
|
||||
} else {
|
||||
return nil
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
@ -1164,9 +980,8 @@ func (in *Workload) DeepCopy() *Workload {
|
||||
func (in *Workload) DeepCopyObject() runtime.Object {
|
||||
if c := in.DeepCopy(); c != nil {
|
||||
return c
|
||||
} else {
|
||||
return nil
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
@ -1198,7 +1013,6 @@ func (in *WorkloadList) DeepCopy() *WorkloadList {
|
||||
func (in *WorkloadList) DeepCopyObject() runtime.Object {
|
||||
if c := in.DeepCopy(); c != nil {
|
||||
return c
|
||||
} else {
|
||||
return nil
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
@ -96,7 +96,7 @@ func (l *dockerCredentialLister) Get(namespace, name string) (*DockerCredential,
|
||||
return nil, errors.NewNotFound(schema.GroupResource{
|
||||
Group: DockerCredentialGroupVersionKind.Group,
|
||||
Resource: "dockerCredential",
|
||||
}, name)
|
||||
}, key)
|
||||
}
|
||||
return obj.(*DockerCredential), nil
|
||||
}
|
||||
|
@ -96,7 +96,7 @@ func (l *namespacedBasicAuthLister) Get(namespace, name string) (*NamespacedBasi
|
||||
return nil, errors.NewNotFound(schema.GroupResource{
|
||||
Group: NamespacedBasicAuthGroupVersionKind.Group,
|
||||
Resource: "namespacedBasicAuth",
|
||||
}, name)
|
||||
}, key)
|
||||
}
|
||||
return obj.(*NamespacedBasicAuth), nil
|
||||
}
|
||||
|
@ -96,7 +96,7 @@ func (l *namespacedCertificateLister) Get(namespace, name string) (*NamespacedCe
|
||||
return nil, errors.NewNotFound(schema.GroupResource{
|
||||
Group: NamespacedCertificateGroupVersionKind.Group,
|
||||
Resource: "namespacedCertificate",
|
||||
}, name)
|
||||
}, key)
|
||||
}
|
||||
return obj.(*NamespacedCertificate), nil
|
||||
}
|
||||
|
@ -96,7 +96,7 @@ func (l *namespacedDockerCredentialLister) Get(namespace, name string) (*Namespa
|
||||
return nil, errors.NewNotFound(schema.GroupResource{
|
||||
Group: NamespacedDockerCredentialGroupVersionKind.Group,
|
||||
Resource: "namespacedDockerCredential",
|
||||
}, name)
|
||||
}, key)
|
||||
}
|
||||
return obj.(*NamespacedDockerCredential), nil
|
||||
}
|
||||
|
@ -96,7 +96,7 @@ func (l *namespacedServiceAccountTokenLister) Get(namespace, name string) (*Name
|
||||
return nil, errors.NewNotFound(schema.GroupResource{
|
||||
Group: NamespacedServiceAccountTokenGroupVersionKind.Group,
|
||||
Resource: "namespacedServiceAccountToken",
|
||||
}, name)
|
||||
}, key)
|
||||
}
|
||||
return obj.(*NamespacedServiceAccountToken), nil
|
||||
}
|
||||
|
@ -96,7 +96,7 @@ func (l *namespacedSshAuthLister) Get(namespace, name string) (*NamespacedSSHAut
|
||||
return nil, errors.NewNotFound(schema.GroupResource{
|
||||
Group: NamespacedSSHAuthGroupVersionKind.Group,
|
||||
Resource: "namespacedSshAuth",
|
||||
}, name)
|
||||
}, key)
|
||||
}
|
||||
return obj.(*NamespacedSSHAuth), nil
|
||||
}
|
||||
|
@ -96,7 +96,7 @@ func (l *serviceAccountTokenLister) Get(namespace, name string) (*ServiceAccount
|
||||
return nil, errors.NewNotFound(schema.GroupResource{
|
||||
Group: ServiceAccountTokenGroupVersionKind.Group,
|
||||
Resource: "serviceAccountToken",
|
||||
}, name)
|
||||
}, key)
|
||||
}
|
||||
return obj.(*ServiceAccountToken), nil
|
||||
}
|
||||
|
@ -96,7 +96,7 @@ func (l *sshAuthLister) Get(namespace, name string) (*SSHAuth, error) {
|
||||
return nil, errors.NewNotFound(schema.GroupResource{
|
||||
Group: SSHAuthGroupVersionKind.Group,
|
||||
Resource: "sshAuth",
|
||||
}, name)
|
||||
}, key)
|
||||
}
|
||||
return obj.(*SSHAuth), nil
|
||||
}
|
||||
|
@ -96,7 +96,7 @@ func (l *workloadLister) Get(namespace, name string) (*Workload, error) {
|
||||
return nil, errors.NewNotFound(schema.GroupResource{
|
||||
Group: WorkloadGroupVersionKind.Group,
|
||||
Resource: "workload",
|
||||
}, name)
|
||||
}, key)
|
||||
}
|
||||
return obj.(*Workload), nil
|
||||
}
|
||||
|
@ -96,7 +96,7 @@ func (l *clusterRoleBindingLister) Get(namespace, name string) (*v1.ClusterRoleB
|
||||
return nil, errors.NewNotFound(schema.GroupResource{
|
||||
Group: ClusterRoleBindingGroupVersionKind.Group,
|
||||
Resource: "clusterRoleBinding",
|
||||
}, name)
|
||||
}, key)
|
||||
}
|
||||
return obj.(*v1.ClusterRoleBinding), nil
|
||||
}
|
||||
|
@ -96,7 +96,7 @@ func (l *clusterRoleLister) Get(namespace, name string) (*v1.ClusterRole, error)
|
||||
return nil, errors.NewNotFound(schema.GroupResource{
|
||||
Group: ClusterRoleGroupVersionKind.Group,
|
||||
Resource: "clusterRole",
|
||||
}, name)
|
||||
}, key)
|
||||
}
|
||||
return obj.(*v1.ClusterRole), nil
|
||||
}
|
||||
|
@ -1,42 +1,10 @@
|
||||
package v1
|
||||
|
||||
import (
|
||||
reflect "reflect"
|
||||
|
||||
rbac_v1 "k8s.io/api/rbac/v1"
|
||||
conversion "k8s.io/apimachinery/pkg/conversion"
|
||||
runtime "k8s.io/apimachinery/pkg/runtime"
|
||||
)
|
||||
|
||||
func init() {
|
||||
SchemeBuilder.Register(RegisterDeepCopies)
|
||||
}
|
||||
|
||||
// RegisterDeepCopies adds deep-copy functions to the given scheme. Public
|
||||
// to allow building arbitrary schemes.
|
||||
//
|
||||
// Deprecated: deepcopy registration will go away when static deepcopy is fully implemented.
|
||||
func RegisterDeepCopies(scheme *runtime.Scheme) error {
|
||||
return scheme.AddGeneratedDeepCopyFuncs(
|
||||
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
|
||||
in.(*ClusterRoleBindingList).DeepCopyInto(out.(*ClusterRoleBindingList))
|
||||
return nil
|
||||
}, InType: reflect.TypeOf(&ClusterRoleBindingList{})},
|
||||
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
|
||||
in.(*ClusterRoleList).DeepCopyInto(out.(*ClusterRoleList))
|
||||
return nil
|
||||
}, InType: reflect.TypeOf(&ClusterRoleList{})},
|
||||
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
|
||||
in.(*RoleBindingList).DeepCopyInto(out.(*RoleBindingList))
|
||||
return nil
|
||||
}, InType: reflect.TypeOf(&RoleBindingList{})},
|
||||
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
|
||||
in.(*RoleList).DeepCopyInto(out.(*RoleList))
|
||||
return nil
|
||||
}, InType: reflect.TypeOf(&RoleList{})},
|
||||
)
|
||||
}
|
||||
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
func (in *ClusterRoleBindingList) DeepCopyInto(out *ClusterRoleBindingList) {
|
||||
*out = *in
|
||||
@ -66,9 +34,8 @@ func (in *ClusterRoleBindingList) DeepCopy() *ClusterRoleBindingList {
|
||||
func (in *ClusterRoleBindingList) DeepCopyObject() runtime.Object {
|
||||
if c := in.DeepCopy(); c != nil {
|
||||
return c
|
||||
} else {
|
||||
return nil
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
@ -100,9 +67,8 @@ func (in *ClusterRoleList) DeepCopy() *ClusterRoleList {
|
||||
func (in *ClusterRoleList) DeepCopyObject() runtime.Object {
|
||||
if c := in.DeepCopy(); c != nil {
|
||||
return c
|
||||
} else {
|
||||
return nil
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
@ -134,9 +100,8 @@ func (in *RoleBindingList) DeepCopy() *RoleBindingList {
|
||||
func (in *RoleBindingList) DeepCopyObject() runtime.Object {
|
||||
if c := in.DeepCopy(); c != nil {
|
||||
return c
|
||||
} else {
|
||||
return nil
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
@ -168,7 +133,6 @@ func (in *RoleList) DeepCopy() *RoleList {
|
||||
func (in *RoleList) DeepCopyObject() runtime.Object {
|
||||
if c := in.DeepCopy(); c != nil {
|
||||
return c
|
||||
} else {
|
||||
return nil
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
@ -97,7 +97,7 @@ func (l *roleBindingLister) Get(namespace, name string) (*v1.RoleBinding, error)
|
||||
return nil, errors.NewNotFound(schema.GroupResource{
|
||||
Group: RoleBindingGroupVersionKind.Group,
|
||||
Resource: "roleBinding",
|
||||
}, name)
|
||||
}, key)
|
||||
}
|
||||
return obj.(*v1.RoleBinding), nil
|
||||
}
|
||||
|
@ -97,7 +97,7 @@ func (l *roleLister) Get(namespace, name string) (*v1.Role, error) {
|
||||
return nil, errors.NewNotFound(schema.GroupResource{
|
||||
Group: RoleGroupVersionKind.Group,
|
||||
Resource: "role",
|
||||
}, name)
|
||||
}, key)
|
||||
}
|
||||
return obj.(*v1.Role), nil
|
||||
}
|
||||
|
@ -0,0 +1,24 @@
|
||||
package client
|
||||
|
||||
const (
|
||||
CSIPersistentVolumeSourceType = "csiPersistentVolumeSource"
|
||||
CSIPersistentVolumeSourceFieldControllerPublishSecretRef = "controllerPublishSecretRef"
|
||||
CSIPersistentVolumeSourceFieldDriver = "driver"
|
||||
CSIPersistentVolumeSourceFieldFSType = "fsType"
|
||||
CSIPersistentVolumeSourceFieldNodePublishSecretRef = "nodePublishSecretRef"
|
||||
CSIPersistentVolumeSourceFieldNodeStageSecretRef = "nodeStageSecretRef"
|
||||
CSIPersistentVolumeSourceFieldReadOnly = "readOnly"
|
||||
CSIPersistentVolumeSourceFieldVolumeAttributes = "volumeAttributes"
|
||||
CSIPersistentVolumeSourceFieldVolumeHandle = "volumeHandle"
|
||||
)
|
||||
|
||||
type CSIPersistentVolumeSource struct {
|
||||
ControllerPublishSecretRef *SecretReference `json:"controllerPublishSecretRef,omitempty" yaml:"controllerPublishSecretRef,omitempty"`
|
||||
Driver string `json:"driver,omitempty" yaml:"driver,omitempty"`
|
||||
FSType string `json:"fsType,omitempty" yaml:"fsType,omitempty"`
|
||||
NodePublishSecretRef *SecretReference `json:"nodePublishSecretRef,omitempty" yaml:"nodePublishSecretRef,omitempty"`
|
||||
NodeStageSecretRef *SecretReference `json:"nodeStageSecretRef,omitempty" yaml:"nodeStageSecretRef,omitempty"`
|
||||
ReadOnly bool `json:"readOnly,omitempty" yaml:"readOnly,omitempty"`
|
||||
VolumeAttributes map[string]string `json:"volumeAttributes,omitempty" yaml:"volumeAttributes,omitempty"`
|
||||
VolumeHandle string `json:"volumeHandle,omitempty" yaml:"volumeHandle,omitempty"`
|
||||
}
|
@ -0,0 +1,18 @@
|
||||
package client
|
||||
|
||||
const (
|
||||
FlexPersistentVolumeSourceType = "flexPersistentVolumeSource"
|
||||
FlexPersistentVolumeSourceFieldDriver = "driver"
|
||||
FlexPersistentVolumeSourceFieldFSType = "fsType"
|
||||
FlexPersistentVolumeSourceFieldOptions = "options"
|
||||
FlexPersistentVolumeSourceFieldReadOnly = "readOnly"
|
||||
FlexPersistentVolumeSourceFieldSecretRef = "secretRef"
|
||||
)
|
||||
|
||||
type FlexPersistentVolumeSource struct {
|
||||
Driver string `json:"driver,omitempty" yaml:"driver,omitempty"`
|
||||
FSType string `json:"fsType,omitempty" yaml:"fsType,omitempty"`
|
||||
Options map[string]string `json:"options,omitempty" yaml:"options,omitempty"`
|
||||
ReadOnly bool `json:"readOnly,omitempty" yaml:"readOnly,omitempty"`
|
||||
SecretRef *SecretReference `json:"secretRef,omitempty" yaml:"secretRef,omitempty"`
|
||||
}
|
@ -1,18 +0,0 @@
|
||||
package client
|
||||
|
||||
const (
|
||||
FlexVolumeSourceType = "flexVolumeSource"
|
||||
FlexVolumeSourceFieldDriver = "driver"
|
||||
FlexVolumeSourceFieldFSType = "fsType"
|
||||
FlexVolumeSourceFieldOptions = "options"
|
||||
FlexVolumeSourceFieldReadOnly = "readOnly"
|
||||
FlexVolumeSourceFieldSecretRef = "secretRef"
|
||||
)
|
||||
|
||||
type FlexVolumeSource struct {
|
||||
Driver string `json:"driver,omitempty" yaml:"driver,omitempty"`
|
||||
FSType string `json:"fsType,omitempty" yaml:"fsType,omitempty"`
|
||||
Options map[string]string `json:"options,omitempty" yaml:"options,omitempty"`
|
||||
ReadOnly bool `json:"readOnly,omitempty" yaml:"readOnly,omitempty"`
|
||||
SecretRef *LocalObjectReference `json:"secretRef,omitempty" yaml:"secretRef,omitempty"`
|
||||
}
|
@ -0,0 +1,30 @@
|
||||
package client
|
||||
|
||||
const (
|
||||
ISCSIPersistentVolumeSourceType = "iscsiPersistentVolumeSource"
|
||||
ISCSIPersistentVolumeSourceFieldDiscoveryCHAPAuth = "chapAuthDiscovery"
|
||||
ISCSIPersistentVolumeSourceFieldFSType = "fsType"
|
||||
ISCSIPersistentVolumeSourceFieldIQN = "iqn"
|
||||
ISCSIPersistentVolumeSourceFieldISCSIInterface = "iscsiInterface"
|
||||
ISCSIPersistentVolumeSourceFieldInitiatorName = "initiatorName"
|
||||
ISCSIPersistentVolumeSourceFieldLun = "lun"
|
||||
ISCSIPersistentVolumeSourceFieldPortals = "portals"
|
||||
ISCSIPersistentVolumeSourceFieldReadOnly = "readOnly"
|
||||
ISCSIPersistentVolumeSourceFieldSecretRef = "secretRef"
|
||||
ISCSIPersistentVolumeSourceFieldSessionCHAPAuth = "chapAuthSession"
|
||||
ISCSIPersistentVolumeSourceFieldTargetPortal = "targetPortal"
|
||||
)
|
||||
|
||||
type ISCSIPersistentVolumeSource struct {
|
||||
DiscoveryCHAPAuth bool `json:"chapAuthDiscovery,omitempty" yaml:"chapAuthDiscovery,omitempty"`
|
||||
FSType string `json:"fsType,omitempty" yaml:"fsType,omitempty"`
|
||||
IQN string `json:"iqn,omitempty" yaml:"iqn,omitempty"`
|
||||
ISCSIInterface string `json:"iscsiInterface,omitempty" yaml:"iscsiInterface,omitempty"`
|
||||
InitiatorName string `json:"initiatorName,omitempty" yaml:"initiatorName,omitempty"`
|
||||
Lun int64 `json:"lun,omitempty" yaml:"lun,omitempty"`
|
||||
Portals []string `json:"portals,omitempty" yaml:"portals,omitempty"`
|
||||
ReadOnly bool `json:"readOnly,omitempty" yaml:"readOnly,omitempty"`
|
||||
SecretRef *SecretReference `json:"secretRef,omitempty" yaml:"secretRef,omitempty"`
|
||||
SessionCHAPAuth bool `json:"chapAuthSession,omitempty" yaml:"chapAuthSession,omitempty"`
|
||||
TargetPortal string `json:"targetPortal,omitempty" yaml:"targetPortal,omitempty"`
|
||||
}
|
@ -1,30 +0,0 @@
|
||||
package client
|
||||
|
||||
const (
|
||||
ISCSIVolumeSourceType = "iscsiVolumeSource"
|
||||
ISCSIVolumeSourceFieldDiscoveryCHAPAuth = "chapAuthDiscovery"
|
||||
ISCSIVolumeSourceFieldFSType = "fsType"
|
||||
ISCSIVolumeSourceFieldIQN = "iqn"
|
||||
ISCSIVolumeSourceFieldISCSIInterface = "iscsiInterface"
|
||||
ISCSIVolumeSourceFieldInitiatorName = "initiatorName"
|
||||
ISCSIVolumeSourceFieldLun = "lun"
|
||||
ISCSIVolumeSourceFieldPortals = "portals"
|
||||
ISCSIVolumeSourceFieldReadOnly = "readOnly"
|
||||
ISCSIVolumeSourceFieldSecretRef = "secretRef"
|
||||
ISCSIVolumeSourceFieldSessionCHAPAuth = "chapAuthSession"
|
||||
ISCSIVolumeSourceFieldTargetPortal = "targetPortal"
|
||||
)
|
||||
|
||||
type ISCSIVolumeSource struct {
|
||||
DiscoveryCHAPAuth bool `json:"chapAuthDiscovery,omitempty" yaml:"chapAuthDiscovery,omitempty"`
|
||||
FSType string `json:"fsType,omitempty" yaml:"fsType,omitempty"`
|
||||
IQN string `json:"iqn,omitempty" yaml:"iqn,omitempty"`
|
||||
ISCSIInterface string `json:"iscsiInterface,omitempty" yaml:"iscsiInterface,omitempty"`
|
||||
InitiatorName string `json:"initiatorName,omitempty" yaml:"initiatorName,omitempty"`
|
||||
Lun int64 `json:"lun,omitempty" yaml:"lun,omitempty"`
|
||||
Portals []string `json:"portals,omitempty" yaml:"portals,omitempty"`
|
||||
ReadOnly bool `json:"readOnly,omitempty" yaml:"readOnly,omitempty"`
|
||||
SecretRef *LocalObjectReference `json:"secretRef,omitempty" yaml:"secretRef,omitempty"`
|
||||
SessionCHAPAuth bool `json:"chapAuthSession,omitempty" yaml:"chapAuthSession,omitempty"`
|
||||
TargetPortal string `json:"targetPortal,omitempty" yaml:"targetPortal,omitempty"`
|
||||
}
|
@ -1,10 +0,0 @@
|
||||
package client
|
||||
|
||||
const (
|
||||
LocalObjectReferenceType = "localObjectReference"
|
||||
LocalObjectReferenceFieldName = "name"
|
||||
)
|
||||
|
||||
type LocalObjectReference struct {
|
||||
Name string `json:"name,omitempty" yaml:"name,omitempty"`
|
||||
}
|
10
client/cluster/v3/zz_generated_node_selector.go
Normal file
10
client/cluster/v3/zz_generated_node_selector.go
Normal file
@ -0,0 +1,10 @@
|
||||
package client
|
||||
|
||||
const (
|
||||
NodeSelectorType = "nodeSelector"
|
||||
NodeSelectorFieldNodeSelectorTerms = "nodeSelectorTerms"
|
||||
)
|
||||
|
||||
type NodeSelector struct {
|
||||
NodeSelectorTerms []NodeSelectorTerm `json:"nodeSelectorTerms,omitempty" yaml:"nodeSelectorTerms,omitempty"`
|
||||
}
|
14
client/cluster/v3/zz_generated_node_selector_requirement.go
Normal file
14
client/cluster/v3/zz_generated_node_selector_requirement.go
Normal file
@ -0,0 +1,14 @@
|
||||
package client
|
||||
|
||||
const (
|
||||
NodeSelectorRequirementType = "nodeSelectorRequirement"
|
||||
NodeSelectorRequirementFieldKey = "key"
|
||||
NodeSelectorRequirementFieldOperator = "operator"
|
||||
NodeSelectorRequirementFieldValues = "values"
|
||||
)
|
||||
|
||||
type NodeSelectorRequirement struct {
|
||||
Key string `json:"key,omitempty" yaml:"key,omitempty"`
|
||||
Operator string `json:"operator,omitempty" yaml:"operator,omitempty"`
|
||||
Values []string `json:"values,omitempty" yaml:"values,omitempty"`
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user