mirror of
https://github.com/rancher/types.git
synced 2025-08-01 21:07:41 +00:00
Update generated code
This commit is contained in:
parent
7b5c192521
commit
08c652315e
@ -24,8 +24,9 @@ var (
|
||||
DeploymentResource = metav1.APIResource{
|
||||
Name: "deployments",
|
||||
SingularName: "deployment",
|
||||
Namespaced: false,
|
||||
Kind: DeploymentGroupVersionKind.Kind,
|
||||
Namespaced: true,
|
||||
|
||||
Kind: DeploymentGroupVersionKind.Kind,
|
||||
}
|
||||
)
|
||||
|
||||
|
@ -14,11 +14,11 @@ type Interface interface {
|
||||
RESTClient() rest.Interface
|
||||
controller.Starter
|
||||
|
||||
PodsGetter
|
||||
NodesGetter
|
||||
ComponentStatusesGetter
|
||||
NamespacesGetter
|
||||
EventsGetter
|
||||
PodsGetter
|
||||
}
|
||||
|
||||
type Client struct {
|
||||
@ -26,11 +26,11 @@ type Client struct {
|
||||
restClient rest.Interface
|
||||
starters []controller.Starter
|
||||
|
||||
podControllers map[string]PodController
|
||||
nodeControllers map[string]NodeController
|
||||
componentStatusControllers map[string]ComponentStatusController
|
||||
namespaceControllers map[string]NamespaceController
|
||||
eventControllers map[string]EventController
|
||||
podControllers map[string]PodController
|
||||
}
|
||||
|
||||
func NewForConfig(config rest.Config) (Interface, error) {
|
||||
@ -47,11 +47,11 @@ func NewForConfig(config rest.Config) (Interface, error) {
|
||||
return &Client{
|
||||
restClient: restClient,
|
||||
|
||||
podControllers: map[string]PodController{},
|
||||
nodeControllers: map[string]NodeController{},
|
||||
componentStatusControllers: map[string]ComponentStatusController{},
|
||||
namespaceControllers: map[string]NamespaceController{},
|
||||
eventControllers: map[string]EventController{},
|
||||
podControllers: map[string]PodController{},
|
||||
}, nil
|
||||
}
|
||||
|
||||
@ -67,19 +67,6 @@ func (c *Client) Start(ctx context.Context, threadiness int) error {
|
||||
return controller.Start(ctx, threadiness, c.starters...)
|
||||
}
|
||||
|
||||
type PodsGetter interface {
|
||||
Pods(namespace string) PodInterface
|
||||
}
|
||||
|
||||
func (c *Client) Pods(namespace string) PodInterface {
|
||||
objectClient := clientbase.NewObjectClient(namespace, c.restClient, &PodResource, PodGroupVersionKind, podFactory{})
|
||||
return &podClient{
|
||||
ns: namespace,
|
||||
client: c,
|
||||
objectClient: objectClient,
|
||||
}
|
||||
}
|
||||
|
||||
type NodesGetter interface {
|
||||
Nodes(namespace string) NodeInterface
|
||||
}
|
||||
@ -131,3 +118,16 @@ func (c *Client) Events(namespace string) EventInterface {
|
||||
objectClient: objectClient,
|
||||
}
|
||||
}
|
||||
|
||||
type PodsGetter interface {
|
||||
Pods(namespace string) PodInterface
|
||||
}
|
||||
|
||||
func (c *Client) Pods(namespace string) PodInterface {
|
||||
objectClient := clientbase.NewObjectClient(namespace, c.restClient, &PodResource, PodGroupVersionKind, podFactory{})
|
||||
return &podClient{
|
||||
ns: namespace,
|
||||
client: c,
|
||||
objectClient: objectClient,
|
||||
}
|
||||
}
|
||||
|
@ -24,8 +24,9 @@ var (
|
||||
PodResource = metav1.APIResource{
|
||||
Name: "pods",
|
||||
SingularName: "pod",
|
||||
Namespaced: false,
|
||||
Kind: PodGroupVersionKind.Kind,
|
||||
Namespaced: true,
|
||||
|
||||
Kind: PodGroupVersionKind.Kind,
|
||||
}
|
||||
)
|
||||
|
||||
|
@ -33,11 +33,11 @@ func addKnownTypes(scheme *runtime.Scheme) error {
|
||||
// TODO this gets cleaned up when the types are fixed
|
||||
scheme.AddKnownTypes(SchemeGroupVersion,
|
||||
|
||||
&PodList{},
|
||||
&NodeList{},
|
||||
&ComponentStatusList{},
|
||||
&NamespaceList{},
|
||||
&EventList{},
|
||||
&PodList{},
|
||||
)
|
||||
return nil
|
||||
}
|
||||
|
@ -41,6 +41,10 @@ func RegisterDeepCopies(scheme *runtime.Scheme) error {
|
||||
in.(*DeploymentParallelConfig).DeepCopyInto(out.(*DeploymentParallelConfig))
|
||||
return nil
|
||||
}, InType: reflect.TypeOf(&DeploymentParallelConfig{})},
|
||||
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
|
||||
in.(*Link).DeepCopyInto(out.(*Link))
|
||||
return nil
|
||||
}, InType: reflect.TypeOf(&Link{})},
|
||||
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
|
||||
in.(*Workload).DeepCopyInto(out.(*Workload))
|
||||
return nil
|
||||
@ -201,6 +205,22 @@ func (in *DeploymentParallelConfig) DeepCopy() *DeploymentParallelConfig {
|
||||
return out
|
||||
}
|
||||
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
func (in *Link) DeepCopyInto(out *Link) {
|
||||
*out = *in
|
||||
return
|
||||
}
|
||||
|
||||
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Link.
|
||||
func (in *Link) DeepCopy() *Link {
|
||||
if in == nil {
|
||||
return nil
|
||||
}
|
||||
out := new(Link)
|
||||
in.DeepCopyInto(out)
|
||||
return out
|
||||
}
|
||||
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
func (in *Workload) DeepCopyInto(out *Workload) {
|
||||
*out = *in
|
||||
@ -277,6 +297,11 @@ func (in *WorkloadSpec) DeepCopyInto(out *WorkloadSpec) {
|
||||
*out = *in
|
||||
in.DeployConfig.DeepCopyInto(&out.DeployConfig)
|
||||
in.Template.DeepCopyInto(&out.Template)
|
||||
if in.ServiceLinks != nil {
|
||||
in, out := &in.ServiceLinks, &out.ServiceLinks
|
||||
*out = make([]Link, len(*in))
|
||||
copy(*out, *in)
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
|
@ -14,9 +14,9 @@ type Interface interface {
|
||||
RESTClient() rest.Interface
|
||||
controller.Starter
|
||||
|
||||
RoleBindingsGetter
|
||||
ClusterRoleBindingsGetter
|
||||
ClusterRolesGetter
|
||||
RoleBindingsGetter
|
||||
RolesGetter
|
||||
}
|
||||
|
||||
@ -25,9 +25,9 @@ type Client struct {
|
||||
restClient rest.Interface
|
||||
starters []controller.Starter
|
||||
|
||||
roleBindingControllers map[string]RoleBindingController
|
||||
clusterRoleBindingControllers map[string]ClusterRoleBindingController
|
||||
clusterRoleControllers map[string]ClusterRoleController
|
||||
roleBindingControllers map[string]RoleBindingController
|
||||
roleControllers map[string]RoleController
|
||||
}
|
||||
|
||||
@ -45,9 +45,9 @@ func NewForConfig(config rest.Config) (Interface, error) {
|
||||
return &Client{
|
||||
restClient: restClient,
|
||||
|
||||
roleBindingControllers: map[string]RoleBindingController{},
|
||||
clusterRoleBindingControllers: map[string]ClusterRoleBindingController{},
|
||||
clusterRoleControllers: map[string]ClusterRoleController{},
|
||||
roleBindingControllers: map[string]RoleBindingController{},
|
||||
roleControllers: map[string]RoleController{},
|
||||
}, nil
|
||||
}
|
||||
@ -64,19 +64,6 @@ func (c *Client) Start(ctx context.Context, threadiness int) error {
|
||||
return controller.Start(ctx, threadiness, c.starters...)
|
||||
}
|
||||
|
||||
type RoleBindingsGetter interface {
|
||||
RoleBindings(namespace string) RoleBindingInterface
|
||||
}
|
||||
|
||||
func (c *Client) RoleBindings(namespace string) RoleBindingInterface {
|
||||
objectClient := clientbase.NewObjectClient(namespace, c.restClient, &RoleBindingResource, RoleBindingGroupVersionKind, roleBindingFactory{})
|
||||
return &roleBindingClient{
|
||||
ns: namespace,
|
||||
client: c,
|
||||
objectClient: objectClient,
|
||||
}
|
||||
}
|
||||
|
||||
type ClusterRoleBindingsGetter interface {
|
||||
ClusterRoleBindings(namespace string) ClusterRoleBindingInterface
|
||||
}
|
||||
@ -103,6 +90,19 @@ func (c *Client) ClusterRoles(namespace string) ClusterRoleInterface {
|
||||
}
|
||||
}
|
||||
|
||||
type RoleBindingsGetter interface {
|
||||
RoleBindings(namespace string) RoleBindingInterface
|
||||
}
|
||||
|
||||
func (c *Client) RoleBindings(namespace string) RoleBindingInterface {
|
||||
objectClient := clientbase.NewObjectClient(namespace, c.restClient, &RoleBindingResource, RoleBindingGroupVersionKind, roleBindingFactory{})
|
||||
return &roleBindingClient{
|
||||
ns: namespace,
|
||||
client: c,
|
||||
objectClient: objectClient,
|
||||
}
|
||||
}
|
||||
|
||||
type RolesGetter interface {
|
||||
Roles(namespace string) RoleInterface
|
||||
}
|
||||
|
@ -24,8 +24,9 @@ var (
|
||||
RoleBindingResource = metav1.APIResource{
|
||||
Name: "rolebindings",
|
||||
SingularName: "rolebinding",
|
||||
Namespaced: false,
|
||||
Kind: RoleBindingGroupVersionKind.Kind,
|
||||
Namespaced: true,
|
||||
|
||||
Kind: RoleBindingGroupVersionKind.Kind,
|
||||
}
|
||||
)
|
||||
|
||||
|
@ -24,8 +24,9 @@ var (
|
||||
RoleResource = metav1.APIResource{
|
||||
Name: "roles",
|
||||
SingularName: "role",
|
||||
Namespaced: false,
|
||||
Kind: RoleGroupVersionKind.Kind,
|
||||
Namespaced: true,
|
||||
|
||||
Kind: RoleGroupVersionKind.Kind,
|
||||
}
|
||||
)
|
||||
|
||||
|
@ -33,9 +33,9 @@ func addKnownTypes(scheme *runtime.Scheme) error {
|
||||
// TODO this gets cleaned up when the types are fixed
|
||||
scheme.AddKnownTypes(SchemeGroupVersion,
|
||||
|
||||
&RoleBindingList{},
|
||||
&ClusterRoleBindingList{},
|
||||
&ClusterRoleList{},
|
||||
&RoleBindingList{},
|
||||
&RoleList{},
|
||||
)
|
||||
return nil
|
||||
|
@ -12,6 +12,7 @@ const (
|
||||
ContainerFieldHealthcheck = "healthcheck"
|
||||
ContainerFieldImage = "image"
|
||||
ContainerFieldInitContainer = "initContainer"
|
||||
ContainerFieldName = "name"
|
||||
ContainerFieldPorts = "ports"
|
||||
ContainerFieldPostStart = "postStart"
|
||||
ContainerFieldPreStop = "preStop"
|
||||
@ -43,6 +44,7 @@ type Container struct {
|
||||
Healthcheck *Probe `json:"healthcheck,omitempty"`
|
||||
Image string `json:"image,omitempty"`
|
||||
InitContainer *bool `json:"initContainer,omitempty"`
|
||||
Name string `json:"name,omitempty"`
|
||||
Ports []ContainerPort `json:"ports,omitempty"`
|
||||
PostStart *Handler `json:"postStart,omitempty"`
|
||||
PreStop *Handler `json:"preStop,omitempty"`
|
||||
|
@ -60,7 +60,7 @@ type DaemonSet struct {
|
||||
Annotations map[string]string `json:"annotations,omitempty"`
|
||||
AutomountServiceAccountToken *bool `json:"automountServiceAccountToken,omitempty"`
|
||||
BatchSize string `json:"batchSize,omitempty"`
|
||||
Containers map[string]Container `json:"containers,omitempty"`
|
||||
Containers []Container `json:"containers,omitempty"`
|
||||
Created string `json:"created,omitempty"`
|
||||
DNSPolicy string `json:"dnsPolicy,omitempty"`
|
||||
DeploymentStrategy *DeployStrategy `json:"deploymentStrategy,omitempty"`
|
||||
|
@ -38,7 +38,7 @@ type DaemonSetSpec struct {
|
||||
ActiveDeadlineSeconds *int64 `json:"activeDeadlineSeconds,omitempty"`
|
||||
AutomountServiceAccountToken *bool `json:"automountServiceAccountToken,omitempty"`
|
||||
BatchSize string `json:"batchSize,omitempty"`
|
||||
Containers map[string]Container `json:"containers,omitempty"`
|
||||
Containers []Container `json:"containers,omitempty"`
|
||||
DNSPolicy string `json:"dnsPolicy,omitempty"`
|
||||
DeploymentStrategy *DeployStrategy `json:"deploymentStrategy,omitempty"`
|
||||
Fsgid *int64 `json:"fsgid,omitempty"`
|
||||
|
@ -60,7 +60,7 @@ type Deployment struct {
|
||||
Annotations map[string]string `json:"annotations,omitempty"`
|
||||
AutomountServiceAccountToken *bool `json:"automountServiceAccountToken,omitempty"`
|
||||
BatchSize string `json:"batchSize,omitempty"`
|
||||
Containers map[string]Container `json:"containers,omitempty"`
|
||||
Containers []Container `json:"containers,omitempty"`
|
||||
Created string `json:"created,omitempty"`
|
||||
DNSPolicy string `json:"dnsPolicy,omitempty"`
|
||||
DeploymentStrategy *DeployStrategy `json:"deploymentStrategy,omitempty"`
|
||||
|
@ -38,7 +38,7 @@ type DeploymentSpec struct {
|
||||
ActiveDeadlineSeconds *int64 `json:"activeDeadlineSeconds,omitempty"`
|
||||
AutomountServiceAccountToken *bool `json:"automountServiceAccountToken,omitempty"`
|
||||
BatchSize string `json:"batchSize,omitempty"`
|
||||
Containers map[string]Container `json:"containers,omitempty"`
|
||||
Containers []Container `json:"containers,omitempty"`
|
||||
DNSPolicy string `json:"dnsPolicy,omitempty"`
|
||||
DeploymentStrategy *DeployStrategy `json:"deploymentStrategy,omitempty"`
|
||||
Fsgid *int64 `json:"fsgid,omitempty"`
|
||||
|
12
client/project/v3/zz_generated_link.go
Normal file
12
client/project/v3/zz_generated_link.go
Normal file
@ -0,0 +1,12 @@
|
||||
package client
|
||||
|
||||
const (
|
||||
LinkType = "link"
|
||||
LinkFieldAlias = "alias"
|
||||
LinkFieldName = "name"
|
||||
)
|
||||
|
||||
type Link struct {
|
||||
Alias string `json:"alias,omitempty"`
|
||||
Name string `json:"name,omitempty"`
|
||||
}
|
@ -53,7 +53,7 @@ type Pod struct {
|
||||
ActiveDeadlineSeconds *int64 `json:"activeDeadlineSeconds,omitempty"`
|
||||
Annotations map[string]string `json:"annotations,omitempty"`
|
||||
AutomountServiceAccountToken *bool `json:"automountServiceAccountToken,omitempty"`
|
||||
Containers map[string]Container `json:"containers,omitempty"`
|
||||
Containers []Container `json:"containers,omitempty"`
|
||||
Created string `json:"created,omitempty"`
|
||||
DNSPolicy string `json:"dnsPolicy,omitempty"`
|
||||
Finalizers []string `json:"finalizers,omitempty"`
|
||||
|
@ -31,7 +31,7 @@ const (
|
||||
type PodSpec struct {
|
||||
ActiveDeadlineSeconds *int64 `json:"activeDeadlineSeconds,omitempty"`
|
||||
AutomountServiceAccountToken *bool `json:"automountServiceAccountToken,omitempty"`
|
||||
Containers map[string]Container `json:"containers,omitempty"`
|
||||
Containers []Container `json:"containers,omitempty"`
|
||||
DNSPolicy string `json:"dnsPolicy,omitempty"`
|
||||
Fsgid *int64 `json:"fsgid,omitempty"`
|
||||
Gids []int64 `json:"gids,omitempty"`
|
||||
|
@ -32,7 +32,7 @@ const (
|
||||
type PodTemplateSpec struct {
|
||||
ActiveDeadlineSeconds *int64 `json:"activeDeadlineSeconds,omitempty"`
|
||||
AutomountServiceAccountToken *bool `json:"automountServiceAccountToken,omitempty"`
|
||||
Containers map[string]Container `json:"containers,omitempty"`
|
||||
Containers []Container `json:"containers,omitempty"`
|
||||
DNSPolicy string `json:"dnsPolicy,omitempty"`
|
||||
Fsgid *int64 `json:"fsgid,omitempty"`
|
||||
Gids []int64 `json:"gids,omitempty"`
|
||||
|
@ -58,7 +58,7 @@ type ReplicaSet struct {
|
||||
Annotations map[string]string `json:"annotations,omitempty"`
|
||||
AutomountServiceAccountToken *bool `json:"automountServiceAccountToken,omitempty"`
|
||||
BatchSize string `json:"batchSize,omitempty"`
|
||||
Containers map[string]Container `json:"containers,omitempty"`
|
||||
Containers []Container `json:"containers,omitempty"`
|
||||
Created string `json:"created,omitempty"`
|
||||
DNSPolicy string `json:"dnsPolicy,omitempty"`
|
||||
DeploymentStrategy *DeployStrategy `json:"deploymentStrategy,omitempty"`
|
||||
|
@ -36,7 +36,7 @@ type ReplicaSetSpec struct {
|
||||
ActiveDeadlineSeconds *int64 `json:"activeDeadlineSeconds,omitempty"`
|
||||
AutomountServiceAccountToken *bool `json:"automountServiceAccountToken,omitempty"`
|
||||
BatchSize string `json:"batchSize,omitempty"`
|
||||
Containers map[string]Container `json:"containers,omitempty"`
|
||||
Containers []Container `json:"containers,omitempty"`
|
||||
DNSPolicy string `json:"dnsPolicy,omitempty"`
|
||||
DeploymentStrategy *DeployStrategy `json:"deploymentStrategy,omitempty"`
|
||||
Fsgid *int64 `json:"fsgid,omitempty"`
|
||||
|
@ -58,7 +58,7 @@ type ReplicationController struct {
|
||||
Annotations map[string]string `json:"annotations,omitempty"`
|
||||
AutomountServiceAccountToken *bool `json:"automountServiceAccountToken,omitempty"`
|
||||
BatchSize string `json:"batchSize,omitempty"`
|
||||
Containers map[string]Container `json:"containers,omitempty"`
|
||||
Containers []Container `json:"containers,omitempty"`
|
||||
Created string `json:"created,omitempty"`
|
||||
DNSPolicy string `json:"dnsPolicy,omitempty"`
|
||||
DeploymentStrategy *DeployStrategy `json:"deploymentStrategy,omitempty"`
|
||||
|
@ -36,7 +36,7 @@ type ReplicationControllerSpec struct {
|
||||
ActiveDeadlineSeconds *int64 `json:"activeDeadlineSeconds,omitempty"`
|
||||
AutomountServiceAccountToken *bool `json:"automountServiceAccountToken,omitempty"`
|
||||
BatchSize string `json:"batchSize,omitempty"`
|
||||
Containers map[string]Container `json:"containers,omitempty"`
|
||||
Containers []Container `json:"containers,omitempty"`
|
||||
DNSPolicy string `json:"dnsPolicy,omitempty"`
|
||||
DeploymentStrategy *DeployStrategy `json:"deploymentStrategy,omitempty"`
|
||||
Fsgid *int64 `json:"fsgid,omitempty"`
|
||||
|
@ -63,7 +63,7 @@ type StatefulSet struct {
|
||||
Annotations map[string]string `json:"annotations,omitempty"`
|
||||
AutomountServiceAccountToken *bool `json:"automountServiceAccountToken,omitempty"`
|
||||
BatchSize string `json:"batchSize,omitempty"`
|
||||
Containers map[string]Container `json:"containers,omitempty"`
|
||||
Containers []Container `json:"containers,omitempty"`
|
||||
Created string `json:"created,omitempty"`
|
||||
DNSPolicy string `json:"dnsPolicy,omitempty"`
|
||||
DeploymentStrategy *DeployStrategy `json:"deploymentStrategy,omitempty"`
|
||||
|
@ -41,7 +41,7 @@ type StatefulSetSpec struct {
|
||||
ActiveDeadlineSeconds *int64 `json:"activeDeadlineSeconds,omitempty"`
|
||||
AutomountServiceAccountToken *bool `json:"automountServiceAccountToken,omitempty"`
|
||||
BatchSize string `json:"batchSize,omitempty"`
|
||||
Containers map[string]Container `json:"containers,omitempty"`
|
||||
Containers []Container `json:"containers,omitempty"`
|
||||
DNSPolicy string `json:"dnsPolicy,omitempty"`
|
||||
DeploymentStrategy *DeployStrategy `json:"deploymentStrategy,omitempty"`
|
||||
Fsgid *int64 `json:"fsgid,omitempty"`
|
||||
|
@ -38,6 +38,7 @@ const (
|
||||
WorkloadFieldScale = "scale"
|
||||
WorkloadFieldSchedulerName = "schedulerName"
|
||||
WorkloadFieldServiceAccountName = "serviceAccountName"
|
||||
WorkloadFieldServiceLinks = "serviceLinks"
|
||||
WorkloadFieldState = "state"
|
||||
WorkloadFieldStatus = "status"
|
||||
WorkloadFieldSubdomain = "subdomain"
|
||||
@ -58,7 +59,7 @@ type Workload struct {
|
||||
Annotations map[string]string `json:"annotations,omitempty"`
|
||||
AutomountServiceAccountToken *bool `json:"automountServiceAccountToken,omitempty"`
|
||||
BatchSize string `json:"batchSize,omitempty"`
|
||||
Containers map[string]Container `json:"containers,omitempty"`
|
||||
Containers []Container `json:"containers,omitempty"`
|
||||
Created string `json:"created,omitempty"`
|
||||
DNSPolicy string `json:"dnsPolicy,omitempty"`
|
||||
DeploymentStrategy *DeployStrategy `json:"deploymentStrategy,omitempty"`
|
||||
@ -86,6 +87,7 @@ type Workload struct {
|
||||
Scale *int64 `json:"scale,omitempty"`
|
||||
SchedulerName string `json:"schedulerName,omitempty"`
|
||||
ServiceAccountName string `json:"serviceAccountName,omitempty"`
|
||||
ServiceLinks []Link `json:"serviceLinks,omitempty"`
|
||||
State string `json:"state,omitempty"`
|
||||
Status *WorkloadStatus `json:"status,omitempty"`
|
||||
Subdomain string `json:"subdomain,omitempty"`
|
||||
|
@ -25,6 +25,7 @@ const (
|
||||
WorkloadSpecFieldScale = "scale"
|
||||
WorkloadSpecFieldSchedulerName = "schedulerName"
|
||||
WorkloadSpecFieldServiceAccountName = "serviceAccountName"
|
||||
WorkloadSpecFieldServiceLinks = "serviceLinks"
|
||||
WorkloadSpecFieldSubdomain = "subdomain"
|
||||
WorkloadSpecFieldTerminationGracePeriodSeconds = "terminationGracePeriodSeconds"
|
||||
WorkloadSpecFieldTolerations = "tolerations"
|
||||
@ -36,7 +37,7 @@ type WorkloadSpec struct {
|
||||
ActiveDeadlineSeconds *int64 `json:"activeDeadlineSeconds,omitempty"`
|
||||
AutomountServiceAccountToken *bool `json:"automountServiceAccountToken,omitempty"`
|
||||
BatchSize string `json:"batchSize,omitempty"`
|
||||
Containers map[string]Container `json:"containers,omitempty"`
|
||||
Containers []Container `json:"containers,omitempty"`
|
||||
DNSPolicy string `json:"dnsPolicy,omitempty"`
|
||||
DeploymentStrategy *DeployStrategy `json:"deploymentStrategy,omitempty"`
|
||||
Fsgid *int64 `json:"fsgid,omitempty"`
|
||||
@ -56,6 +57,7 @@ type WorkloadSpec struct {
|
||||
Scale *int64 `json:"scale,omitempty"`
|
||||
SchedulerName string `json:"schedulerName,omitempty"`
|
||||
ServiceAccountName string `json:"serviceAccountName,omitempty"`
|
||||
ServiceLinks []Link `json:"serviceLinks,omitempty"`
|
||||
Subdomain string `json:"subdomain,omitempty"`
|
||||
TerminationGracePeriodSeconds *int64 `json:"terminationGracePeriodSeconds,omitempty"`
|
||||
Tolerations []Toleration `json:"tolerations,omitempty"`
|
||||
|
Loading…
Reference in New Issue
Block a user