1
0
mirror of https://github.com/rancher/types.git synced 2025-09-16 06:49:21 +00:00

Update generated code

This commit is contained in:
Darren Shepherd
2018-03-23 17:34:29 -07:00
parent b1b1384724
commit 8e3235bfca
3 changed files with 7 additions and 3 deletions

View File

@@ -8,6 +8,7 @@ type Client struct {
clientbase.APIBaseClient
PersistentVolumeClaim PersistentVolumeClaimOperations
ConfigMap ConfigMapOperations
Ingress IngressOperations
Secret SecretOperations
ServiceAccountToken ServiceAccountTokenOperations
@@ -33,7 +34,6 @@ type Client struct {
CronJob CronJobOperations
Workload WorkloadOperations
App AppOperations
ConfigMap ConfigMapOperations
NamespaceComposeConfig NamespaceComposeConfigOperations
}
@@ -48,6 +48,7 @@ func NewClient(opts *clientbase.ClientOpts) (*Client, error) {
}
client.PersistentVolumeClaim = newPersistentVolumeClaimClient(client)
client.ConfigMap = newConfigMapClient(client)
client.Ingress = newIngressClient(client)
client.Secret = newSecretClient(client)
client.ServiceAccountToken = newServiceAccountTokenClient(client)
@@ -73,7 +74,6 @@ func NewClient(opts *clientbase.ClientOpts) (*Client, error) {
client.CronJob = newCronJobClient(client)
client.Workload = newWorkloadClient(client)
client.App = newAppClient(client)
client.ConfigMap = newConfigMapClient(client)
client.NamespaceComposeConfig = newNamespaceComposeConfigClient(client)
return client, nil

View File

@@ -12,7 +12,9 @@ const (
ConfigMapFieldData = "data"
ConfigMapFieldLabels = "labels"
ConfigMapFieldName = "name"
ConfigMapFieldNamespaceId = "namespaceId"
ConfigMapFieldOwnerReferences = "ownerReferences"
ConfigMapFieldProjectID = "projectId"
ConfigMapFieldRemoved = "removed"
ConfigMapFieldUuid = "uuid"
)
@@ -25,7 +27,9 @@ type ConfigMap struct {
Data map[string]string `json:"data,omitempty" yaml:"data,omitempty"`
Labels map[string]string `json:"labels,omitempty" yaml:"labels,omitempty"`
Name string `json:"name,omitempty" yaml:"name,omitempty"`
NamespaceId string `json:"namespaceId,omitempty" yaml:"namespaceId,omitempty"`
OwnerReferences []OwnerReference `json:"ownerReferences,omitempty" yaml:"ownerReferences,omitempty"`
ProjectID string `json:"projectId,omitempty" yaml:"projectId,omitempty"`
Removed string `json:"removed,omitempty" yaml:"removed,omitempty"`
Uuid string `json:"uuid,omitempty" yaml:"uuid,omitempty"`
}