From 8e3235bfca509db9ab0f983e1cc75b80134c61a0 Mon Sep 17 00:00:00 2001 From: Darren Shepherd Date: Fri, 23 Mar 2018 17:34:29 -0700 Subject: [PATCH] Update generated code --- client/project/v3/zz_generated_client.go | 4 ++-- client/project/v3/zz_generated_config_map.go | 4 ++++ compose/zz_generated_compose.go | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/client/project/v3/zz_generated_client.go b/client/project/v3/zz_generated_client.go index cbe29cc0..24fae9a6 100644 --- a/client/project/v3/zz_generated_client.go +++ b/client/project/v3/zz_generated_client.go @@ -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 diff --git a/client/project/v3/zz_generated_config_map.go b/client/project/v3/zz_generated_config_map.go index fceb6cb5..1ca1fa68 100644 --- a/client/project/v3/zz_generated_config_map.go +++ b/client/project/v3/zz_generated_config_map.go @@ -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"` } diff --git a/compose/zz_generated_compose.go b/compose/zz_generated_compose.go index 5039c90d..b0f0b8df 100644 --- a/compose/zz_generated_compose.go +++ b/compose/zz_generated_compose.go @@ -56,6 +56,7 @@ type Config struct { // Project Client PersistentVolumeClaims map[string]projectClient.PersistentVolumeClaim `json:"persistentVolumeClaims,omitempty" yaml:"persistentVolumeClaims,omitempty"` + ConfigMaps map[string]projectClient.ConfigMap `json:"configMaps,omitempty" yaml:"configMaps,omitempty"` Ingresss map[string]projectClient.Ingress `json:"ingresses,omitempty" yaml:"ingresses,omitempty"` Secrets map[string]projectClient.Secret `json:"secrets,omitempty" yaml:"secrets,omitempty"` ServiceAccountTokens map[string]projectClient.ServiceAccountToken `json:"serviceAccountTokens,omitempty" yaml:"serviceAccountTokens,omitempty"` @@ -81,6 +82,5 @@ type Config struct { CronJobs map[string]projectClient.CronJob `json:"cronJobs,omitempty" yaml:"cronJobs,omitempty"` Workloads map[string]projectClient.Workload `json:"workloads,omitempty" yaml:"workloads,omitempty"` Apps map[string]projectClient.App `json:"apps,omitempty" yaml:"apps,omitempty"` - ConfigMaps map[string]projectClient.ConfigMap `json:"configMaps,omitempty" yaml:"configMaps,omitempty"` NamespaceComposeConfigs map[string]projectClient.NamespaceComposeConfig `json:"namespaceComposeConfigs,omitempty" yaml:"namespaceComposeConfigs,omitempty"` }