diff --git a/pkg/apiclient/apiclient.go b/pkg/apiclient/apiclient.go index 4e0b5bce9782b..9a923ed3978d4 100644 --- a/pkg/apiclient/apiclient.go +++ b/pkg/apiclient/apiclient.go @@ -819,9 +819,9 @@ func (c *client) WatchApplicationWithRetry(ctx context.Context, appName string, if err == nil { var wc applicationpkg.ApplicationService_WatchClient wc, err = appIf.Watch(ctx, &applicationpkg.ApplicationQuery{ - Name: &appName, - AppNamespace: &appNs, - ResourceVersion: &revision, + Name: appName, + AppNamespace: appNs, + ResourceVersion: revision, }) if err == nil { for { diff --git a/pkg/apiclient/application/application.pb.go b/pkg/apiclient/application/application.pb.go index 2f73469d1049f..94096a4d3147b 100644 --- a/pkg/apiclient/application/application.pb.go +++ b/pkg/apiclient/application/application.pb.go @@ -12,7 +12,6 @@ import ( fmt "fmt" v1alpha1 "github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1" apiclient "github.com/argoproj/argo-cd/v2/reposerver/apiclient" - github_com_gogo_protobuf_proto "github.com/gogo/protobuf/proto" proto "github.com/gogo/protobuf/proto" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" @@ -43,21 +42,21 @@ const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package // Otherwise you will receive a 404. type ApplicationQuery struct { // the application's name - Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // forces application reconciliation if set to 'hard' - Refresh *string `protobuf:"bytes,2,opt,name=refresh" json:"refresh,omitempty"` + Refresh string `protobuf:"bytes,2,opt,name=refresh,proto3" json:"refresh,omitempty"` // the project names to restrict returned list applications - Projects []string `protobuf:"bytes,3,rep,name=projects" json:"projects,omitempty"` + Projects []string `protobuf:"bytes,3,rep,name=projects,proto3" json:"projects,omitempty"` // when specified with a watch call, shows changes that occur after that particular version of a resource. - ResourceVersion *string `protobuf:"bytes,4,opt,name=resourceVersion" json:"resourceVersion,omitempty"` + ResourceVersion string `protobuf:"bytes,4,opt,name=resourceVersion,proto3" json:"resourceVersion,omitempty"` // the selector to restrict returned list to applications only with matched labels - Selector *string `protobuf:"bytes,5,opt,name=selector" json:"selector,omitempty"` + Selector string `protobuf:"bytes,5,opt,name=selector,proto3" json:"selector,omitempty"` // the repoURL to restrict returned list applications - Repo *string `protobuf:"bytes,6,opt,name=repo" json:"repo,omitempty"` + Repo string `protobuf:"bytes,6,opt,name=repo,proto3" json:"repo,omitempty"` // the application's namespace - AppNamespace *string `protobuf:"bytes,7,opt,name=appNamespace" json:"appNamespace,omitempty"` + AppNamespace string `protobuf:"bytes,7,opt,name=appNamespace,proto3" json:"appNamespace,omitempty"` // the project names to restrict returned list applications (legacy name for backwards-compatibility) - Project []string `protobuf:"bytes,8,rep,name=project" json:"project,omitempty"` + Project []string `protobuf:"bytes,8,rep,name=project,proto3" json:"project,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -97,15 +96,15 @@ func (m *ApplicationQuery) XXX_DiscardUnknown() { var xxx_messageInfo_ApplicationQuery proto.InternalMessageInfo func (m *ApplicationQuery) GetName() string { - if m != nil && m.Name != nil { - return *m.Name + if m != nil { + return m.Name } return "" } func (m *ApplicationQuery) GetRefresh() string { - if m != nil && m.Refresh != nil { - return *m.Refresh + if m != nil { + return m.Refresh } return "" } @@ -118,29 +117,29 @@ func (m *ApplicationQuery) GetProjects() []string { } func (m *ApplicationQuery) GetResourceVersion() string { - if m != nil && m.ResourceVersion != nil { - return *m.ResourceVersion + if m != nil { + return m.ResourceVersion } return "" } func (m *ApplicationQuery) GetSelector() string { - if m != nil && m.Selector != nil { - return *m.Selector + if m != nil { + return m.Selector } return "" } func (m *ApplicationQuery) GetRepo() string { - if m != nil && m.Repo != nil { - return *m.Repo + if m != nil { + return m.Repo } return "" } func (m *ApplicationQuery) GetAppNamespace() string { - if m != nil && m.AppNamespace != nil { - return *m.AppNamespace + if m != nil { + return m.AppNamespace } return "" } @@ -154,8 +153,8 @@ func (m *ApplicationQuery) GetProject() []string { type NodeQuery struct { // the application's name - Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` - AppNamespace *string `protobuf:"bytes,2,opt,name=appNamespace" json:"appNamespace,omitempty"` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + AppNamespace string `protobuf:"bytes,2,opt,name=appNamespace,proto3" json:"appNamespace,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -195,31 +194,31 @@ func (m *NodeQuery) XXX_DiscardUnknown() { var xxx_messageInfo_NodeQuery proto.InternalMessageInfo func (m *NodeQuery) GetName() string { - if m != nil && m.Name != nil { - return *m.Name + if m != nil { + return m.Name } return "" } func (m *NodeQuery) GetAppNamespace() string { - if m != nil && m.AppNamespace != nil { - return *m.AppNamespace + if m != nil { + return m.AppNamespace } return "" } type RevisionMetadataQuery struct { // the application's name - Name *string `protobuf:"bytes,1,req,name=name" json:"name,omitempty"` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // the revision of the app - Revision *string `protobuf:"bytes,2,req,name=revision" json:"revision,omitempty"` + Revision string `protobuf:"bytes,2,opt,name=revision,proto3" json:"revision,omitempty"` // the application's namespace - AppNamespace *string `protobuf:"bytes,3,opt,name=appNamespace" json:"appNamespace,omitempty"` - Project *string `protobuf:"bytes,4,opt,name=project" json:"project,omitempty"` + AppNamespace string `protobuf:"bytes,3,opt,name=appNamespace,proto3" json:"appNamespace,omitempty"` + Project string `protobuf:"bytes,4,opt,name=project,proto3" json:"project,omitempty"` // source index (for multi source apps) - SourceIndex *int32 `protobuf:"varint,5,opt,name=sourceIndex" json:"sourceIndex,omitempty"` + SourceIndex int32 `protobuf:"varint,5,opt,name=sourceIndex,proto3" json:"sourceIndex,omitempty"` // versionId from historical data (for multi source apps) - VersionId *int32 `protobuf:"varint,6,opt,name=versionId" json:"versionId,omitempty"` + VersionId int32 `protobuf:"varint,6,opt,name=versionId,proto3" json:"versionId,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -259,55 +258,55 @@ func (m *RevisionMetadataQuery) XXX_DiscardUnknown() { var xxx_messageInfo_RevisionMetadataQuery proto.InternalMessageInfo func (m *RevisionMetadataQuery) GetName() string { - if m != nil && m.Name != nil { - return *m.Name + if m != nil { + return m.Name } return "" } func (m *RevisionMetadataQuery) GetRevision() string { - if m != nil && m.Revision != nil { - return *m.Revision + if m != nil { + return m.Revision } return "" } func (m *RevisionMetadataQuery) GetAppNamespace() string { - if m != nil && m.AppNamespace != nil { - return *m.AppNamespace + if m != nil { + return m.AppNamespace } return "" } func (m *RevisionMetadataQuery) GetProject() string { - if m != nil && m.Project != nil { - return *m.Project + if m != nil { + return m.Project } return "" } func (m *RevisionMetadataQuery) GetSourceIndex() int32 { - if m != nil && m.SourceIndex != nil { - return *m.SourceIndex + if m != nil { + return m.SourceIndex } return 0 } func (m *RevisionMetadataQuery) GetVersionId() int32 { - if m != nil && m.VersionId != nil { - return *m.VersionId + if m != nil { + return m.VersionId } return 0 } // ApplicationEventsQuery is a query for application resource events type ApplicationResourceEventsQuery struct { - Name *string `protobuf:"bytes,1,req,name=name" json:"name,omitempty"` - ResourceNamespace *string `protobuf:"bytes,2,opt,name=resourceNamespace" json:"resourceNamespace,omitempty"` - ResourceName *string `protobuf:"bytes,3,opt,name=resourceName" json:"resourceName,omitempty"` - ResourceUID *string `protobuf:"bytes,4,opt,name=resourceUID" json:"resourceUID,omitempty"` - AppNamespace *string `protobuf:"bytes,5,opt,name=appNamespace" json:"appNamespace,omitempty"` - Project *string `protobuf:"bytes,6,opt,name=project" json:"project,omitempty"` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + ResourceNamespace string `protobuf:"bytes,2,opt,name=resourceNamespace,proto3" json:"resourceNamespace,omitempty"` + ResourceName string `protobuf:"bytes,3,opt,name=resourceName,proto3" json:"resourceName,omitempty"` + ResourceUID string `protobuf:"bytes,4,opt,name=resourceUID,proto3" json:"resourceUID,omitempty"` + AppNamespace string `protobuf:"bytes,5,opt,name=appNamespace,proto3" json:"appNamespace,omitempty"` + Project string `protobuf:"bytes,6,opt,name=project,proto3" json:"project,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -347,55 +346,55 @@ func (m *ApplicationResourceEventsQuery) XXX_DiscardUnknown() { var xxx_messageInfo_ApplicationResourceEventsQuery proto.InternalMessageInfo func (m *ApplicationResourceEventsQuery) GetName() string { - if m != nil && m.Name != nil { - return *m.Name + if m != nil { + return m.Name } return "" } func (m *ApplicationResourceEventsQuery) GetResourceNamespace() string { - if m != nil && m.ResourceNamespace != nil { - return *m.ResourceNamespace + if m != nil { + return m.ResourceNamespace } return "" } func (m *ApplicationResourceEventsQuery) GetResourceName() string { - if m != nil && m.ResourceName != nil { - return *m.ResourceName + if m != nil { + return m.ResourceName } return "" } func (m *ApplicationResourceEventsQuery) GetResourceUID() string { - if m != nil && m.ResourceUID != nil { - return *m.ResourceUID + if m != nil { + return m.ResourceUID } return "" } func (m *ApplicationResourceEventsQuery) GetAppNamespace() string { - if m != nil && m.AppNamespace != nil { - return *m.AppNamespace + if m != nil { + return m.AppNamespace } return "" } func (m *ApplicationResourceEventsQuery) GetProject() string { - if m != nil && m.Project != nil { - return *m.Project + if m != nil { + return m.Project } return "" } // ManifestQuery is a query for manifest resources type ApplicationManifestQuery struct { - Name *string `protobuf:"bytes,1,req,name=name" json:"name,omitempty"` - Revision *string `protobuf:"bytes,2,opt,name=revision" json:"revision,omitempty"` - AppNamespace *string `protobuf:"bytes,3,opt,name=appNamespace" json:"appNamespace,omitempty"` - Project *string `protobuf:"bytes,4,opt,name=project" json:"project,omitempty"` - SourcePositions []int64 `protobuf:"varint,5,rep,name=sourcePositions" json:"sourcePositions,omitempty"` - Revisions []string `protobuf:"bytes,6,rep,name=revisions" json:"revisions,omitempty"` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + Revision string `protobuf:"bytes,2,opt,name=revision,proto3" json:"revision,omitempty"` + AppNamespace string `protobuf:"bytes,3,opt,name=appNamespace,proto3" json:"appNamespace,omitempty"` + Project string `protobuf:"bytes,4,opt,name=project,proto3" json:"project,omitempty"` + SourcePositions []int64 `protobuf:"varint,5,rep,packed,name=sourcePositions,proto3" json:"sourcePositions,omitempty"` + Revisions []string `protobuf:"bytes,6,rep,name=revisions,proto3" json:"revisions,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -435,29 +434,29 @@ func (m *ApplicationManifestQuery) XXX_DiscardUnknown() { var xxx_messageInfo_ApplicationManifestQuery proto.InternalMessageInfo func (m *ApplicationManifestQuery) GetName() string { - if m != nil && m.Name != nil { - return *m.Name + if m != nil { + return m.Name } return "" } func (m *ApplicationManifestQuery) GetRevision() string { - if m != nil && m.Revision != nil { - return *m.Revision + if m != nil { + return m.Revision } return "" } func (m *ApplicationManifestQuery) GetAppNamespace() string { - if m != nil && m.AppNamespace != nil { - return *m.AppNamespace + if m != nil { + return m.AppNamespace } return "" } func (m *ApplicationManifestQuery) GetProject() string { - if m != nil && m.Project != nil { - return *m.Project + if m != nil { + return m.Project } return "" } @@ -477,7 +476,7 @@ func (m *ApplicationManifestQuery) GetRevisions() []string { } type FileChunk struct { - Chunk []byte `protobuf:"bytes,1,req,name=chunk" json:"chunk,omitempty"` + Chunk []byte `protobuf:"bytes,1,opt,name=chunk,proto3" json:"chunk,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -524,10 +523,10 @@ func (m *FileChunk) GetChunk() []byte { } type ApplicationManifestQueryWithFiles struct { - Name *string `protobuf:"bytes,1,req,name=name" json:"name,omitempty"` - Checksum *string `protobuf:"bytes,2,req,name=checksum" json:"checksum,omitempty"` - AppNamespace *string `protobuf:"bytes,3,opt,name=appNamespace" json:"appNamespace,omitempty"` - Project *string `protobuf:"bytes,4,opt,name=project" json:"project,omitempty"` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + Checksum string `protobuf:"bytes,2,opt,name=checksum,proto3" json:"checksum,omitempty"` + AppNamespace string `protobuf:"bytes,3,opt,name=appNamespace,proto3" json:"appNamespace,omitempty"` + Project string `protobuf:"bytes,4,opt,name=project,proto3" json:"project,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -567,29 +566,29 @@ func (m *ApplicationManifestQueryWithFiles) XXX_DiscardUnknown() { var xxx_messageInfo_ApplicationManifestQueryWithFiles proto.InternalMessageInfo func (m *ApplicationManifestQueryWithFiles) GetName() string { - if m != nil && m.Name != nil { - return *m.Name + if m != nil { + return m.Name } return "" } func (m *ApplicationManifestQueryWithFiles) GetChecksum() string { - if m != nil && m.Checksum != nil { - return *m.Checksum + if m != nil { + return m.Checksum } return "" } func (m *ApplicationManifestQueryWithFiles) GetAppNamespace() string { - if m != nil && m.AppNamespace != nil { - return *m.AppNamespace + if m != nil { + return m.AppNamespace } return "" } func (m *ApplicationManifestQueryWithFiles) GetProject() string { - if m != nil && m.Project != nil { - return *m.Project + if m != nil { + return m.Project } return "" } @@ -646,10 +645,10 @@ type isApplicationManifestQueryWithFilesWrapper_Part interface { } type ApplicationManifestQueryWithFilesWrapper_Query struct { - Query *ApplicationManifestQueryWithFiles `protobuf:"bytes,1,opt,name=query,oneof" json:"query,omitempty"` + Query *ApplicationManifestQueryWithFiles `protobuf:"bytes,1,opt,name=query,proto3,oneof" json:"query,omitempty"` } type ApplicationManifestQueryWithFilesWrapper_Chunk struct { - Chunk *FileChunk `protobuf:"bytes,2,opt,name=chunk,oneof" json:"chunk,omitempty"` + Chunk *FileChunk `protobuf:"bytes,2,opt,name=chunk,proto3,oneof" json:"chunk,omitempty"` } func (*ApplicationManifestQueryWithFilesWrapper_Query) isApplicationManifestQueryWithFilesWrapper_Part() { @@ -726,9 +725,9 @@ func (m *ApplicationResponse) XXX_DiscardUnknown() { var xxx_messageInfo_ApplicationResponse proto.InternalMessageInfo type ApplicationCreateRequest struct { - Application *v1alpha1.Application `protobuf:"bytes,1,req,name=application" json:"application,omitempty"` - Upsert *bool `protobuf:"varint,2,opt,name=upsert" json:"upsert,omitempty"` - Validate *bool `protobuf:"varint,3,opt,name=validate" json:"validate,omitempty"` + Application *v1alpha1.Application `protobuf:"bytes,1,opt,name=application,proto3" json:"application,omitempty"` + Upsert bool `protobuf:"varint,2,opt,name=upsert,proto3" json:"upsert,omitempty"` + Validate bool `protobuf:"varint,3,opt,name=validate,proto3" json:"validate,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -775,23 +774,23 @@ func (m *ApplicationCreateRequest) GetApplication() *v1alpha1.Application { } func (m *ApplicationCreateRequest) GetUpsert() bool { - if m != nil && m.Upsert != nil { - return *m.Upsert + if m != nil { + return m.Upsert } return false } func (m *ApplicationCreateRequest) GetValidate() bool { - if m != nil && m.Validate != nil { - return *m.Validate + if m != nil { + return m.Validate } return false } type ApplicationUpdateRequest struct { - Application *v1alpha1.Application `protobuf:"bytes,1,req,name=application" json:"application,omitempty"` - Validate *bool `protobuf:"varint,2,opt,name=validate" json:"validate,omitempty"` - Project *string `protobuf:"bytes,3,opt,name=project" json:"project,omitempty"` + Application *v1alpha1.Application `protobuf:"bytes,1,opt,name=application,proto3" json:"application,omitempty"` + Validate bool `protobuf:"varint,2,opt,name=validate,proto3" json:"validate,omitempty"` + Project string `protobuf:"bytes,3,opt,name=project,proto3" json:"project,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -838,25 +837,25 @@ func (m *ApplicationUpdateRequest) GetApplication() *v1alpha1.Application { } func (m *ApplicationUpdateRequest) GetValidate() bool { - if m != nil && m.Validate != nil { - return *m.Validate + if m != nil { + return m.Validate } return false } func (m *ApplicationUpdateRequest) GetProject() string { - if m != nil && m.Project != nil { - return *m.Project + if m != nil { + return m.Project } return "" } type ApplicationDeleteRequest struct { - Name *string `protobuf:"bytes,1,req,name=name" json:"name,omitempty"` - Cascade *bool `protobuf:"varint,2,opt,name=cascade" json:"cascade,omitempty"` - PropagationPolicy *string `protobuf:"bytes,3,opt,name=propagationPolicy" json:"propagationPolicy,omitempty"` - AppNamespace *string `protobuf:"bytes,4,opt,name=appNamespace" json:"appNamespace,omitempty"` - Project *string `protobuf:"bytes,5,opt,name=project" json:"project,omitempty"` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + Cascade bool `protobuf:"varint,2,opt,name=cascade,proto3" json:"cascade,omitempty"` + PropagationPolicy string `protobuf:"bytes,3,opt,name=propagationPolicy,proto3" json:"propagationPolicy,omitempty"` + AppNamespace string `protobuf:"bytes,4,opt,name=appNamespace,proto3" json:"appNamespace,omitempty"` + Project string `protobuf:"bytes,5,opt,name=project,proto3" json:"project,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -896,42 +895,42 @@ func (m *ApplicationDeleteRequest) XXX_DiscardUnknown() { var xxx_messageInfo_ApplicationDeleteRequest proto.InternalMessageInfo func (m *ApplicationDeleteRequest) GetName() string { - if m != nil && m.Name != nil { - return *m.Name + if m != nil { + return m.Name } return "" } func (m *ApplicationDeleteRequest) GetCascade() bool { - if m != nil && m.Cascade != nil { - return *m.Cascade + if m != nil { + return m.Cascade } return false } func (m *ApplicationDeleteRequest) GetPropagationPolicy() string { - if m != nil && m.PropagationPolicy != nil { - return *m.PropagationPolicy + if m != nil { + return m.PropagationPolicy } return "" } func (m *ApplicationDeleteRequest) GetAppNamespace() string { - if m != nil && m.AppNamespace != nil { - return *m.AppNamespace + if m != nil { + return m.AppNamespace } return "" } func (m *ApplicationDeleteRequest) GetProject() string { - if m != nil && m.Project != nil { - return *m.Project + if m != nil { + return m.Project } return "" } type SyncOptions struct { - Items []string `protobuf:"bytes,1,rep,name=items" json:"items,omitempty"` + Items []string `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -979,20 +978,20 @@ func (m *SyncOptions) GetItems() []string { // ApplicationSyncRequest is a request to apply the config state to live state type ApplicationSyncRequest struct { - Name *string `protobuf:"bytes,1,req,name=name" json:"name,omitempty"` - Revision *string `protobuf:"bytes,2,opt,name=revision" json:"revision,omitempty"` - DryRun *bool `protobuf:"varint,3,opt,name=dryRun" json:"dryRun,omitempty"` - Prune *bool `protobuf:"varint,4,opt,name=prune" json:"prune,omitempty"` - Strategy *v1alpha1.SyncStrategy `protobuf:"bytes,5,opt,name=strategy" json:"strategy,omitempty"` - Resources []*v1alpha1.SyncOperationResource `protobuf:"bytes,7,rep,name=resources" json:"resources,omitempty"` - Manifests []string `protobuf:"bytes,8,rep,name=manifests" json:"manifests,omitempty"` - Infos []*v1alpha1.Info `protobuf:"bytes,9,rep,name=infos" json:"infos,omitempty"` - RetryStrategy *v1alpha1.RetryStrategy `protobuf:"bytes,10,opt,name=retryStrategy" json:"retryStrategy,omitempty"` - SyncOptions *SyncOptions `protobuf:"bytes,11,opt,name=syncOptions" json:"syncOptions,omitempty"` - AppNamespace *string `protobuf:"bytes,12,opt,name=appNamespace" json:"appNamespace,omitempty"` - Project *string `protobuf:"bytes,13,opt,name=project" json:"project,omitempty"` - SourcePositions []int64 `protobuf:"varint,14,rep,name=sourcePositions" json:"sourcePositions,omitempty"` - Revisions []string `protobuf:"bytes,15,rep,name=revisions" json:"revisions,omitempty"` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + Revision string `protobuf:"bytes,2,opt,name=revision,proto3" json:"revision,omitempty"` + DryRun bool `protobuf:"varint,3,opt,name=dryRun,proto3" json:"dryRun,omitempty"` + Prune bool `protobuf:"varint,4,opt,name=prune,proto3" json:"prune,omitempty"` + Strategy *v1alpha1.SyncStrategy `protobuf:"bytes,5,opt,name=strategy,proto3" json:"strategy,omitempty"` + Resources []*v1alpha1.SyncOperationResource `protobuf:"bytes,7,rep,name=resources,proto3" json:"resources,omitempty"` + Manifests []string `protobuf:"bytes,8,rep,name=manifests,proto3" json:"manifests,omitempty"` + Infos []*v1alpha1.Info `protobuf:"bytes,9,rep,name=infos,proto3" json:"infos,omitempty"` + RetryStrategy *v1alpha1.RetryStrategy `protobuf:"bytes,10,opt,name=retryStrategy,proto3" json:"retryStrategy,omitempty"` + SyncOptions *SyncOptions `protobuf:"bytes,11,opt,name=syncOptions,proto3" json:"syncOptions,omitempty"` + AppNamespace string `protobuf:"bytes,12,opt,name=appNamespace,proto3" json:"appNamespace,omitempty"` + Project string `protobuf:"bytes,13,opt,name=project,proto3" json:"project,omitempty"` + SourcePositions []int64 `protobuf:"varint,14,rep,packed,name=sourcePositions,proto3" json:"sourcePositions,omitempty"` + Revisions []string `protobuf:"bytes,15,rep,name=revisions,proto3" json:"revisions,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -1032,29 +1031,29 @@ func (m *ApplicationSyncRequest) XXX_DiscardUnknown() { var xxx_messageInfo_ApplicationSyncRequest proto.InternalMessageInfo func (m *ApplicationSyncRequest) GetName() string { - if m != nil && m.Name != nil { - return *m.Name + if m != nil { + return m.Name } return "" } func (m *ApplicationSyncRequest) GetRevision() string { - if m != nil && m.Revision != nil { - return *m.Revision + if m != nil { + return m.Revision } return "" } func (m *ApplicationSyncRequest) GetDryRun() bool { - if m != nil && m.DryRun != nil { - return *m.DryRun + if m != nil { + return m.DryRun } return false } func (m *ApplicationSyncRequest) GetPrune() bool { - if m != nil && m.Prune != nil { - return *m.Prune + if m != nil { + return m.Prune } return false } @@ -1102,15 +1101,15 @@ func (m *ApplicationSyncRequest) GetSyncOptions() *SyncOptions { } func (m *ApplicationSyncRequest) GetAppNamespace() string { - if m != nil && m.AppNamespace != nil { - return *m.AppNamespace + if m != nil { + return m.AppNamespace } return "" } func (m *ApplicationSyncRequest) GetProject() string { - if m != nil && m.Project != nil { - return *m.Project + if m != nil { + return m.Project } return "" } @@ -1131,11 +1130,11 @@ func (m *ApplicationSyncRequest) GetRevisions() []string { // ApplicationUpdateSpecRequest is a request to update application spec type ApplicationUpdateSpecRequest struct { - Name *string `protobuf:"bytes,1,req,name=name" json:"name,omitempty"` - Spec *v1alpha1.ApplicationSpec `protobuf:"bytes,2,req,name=spec" json:"spec,omitempty"` - Validate *bool `protobuf:"varint,3,opt,name=validate" json:"validate,omitempty"` - AppNamespace *string `protobuf:"bytes,4,opt,name=appNamespace" json:"appNamespace,omitempty"` - Project *string `protobuf:"bytes,5,opt,name=project" json:"project,omitempty"` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + Spec *v1alpha1.ApplicationSpec `protobuf:"bytes,2,opt,name=spec,proto3" json:"spec,omitempty"` + Validate bool `protobuf:"varint,3,opt,name=validate,proto3" json:"validate,omitempty"` + AppNamespace string `protobuf:"bytes,4,opt,name=appNamespace,proto3" json:"appNamespace,omitempty"` + Project string `protobuf:"bytes,5,opt,name=project,proto3" json:"project,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -1175,8 +1174,8 @@ func (m *ApplicationUpdateSpecRequest) XXX_DiscardUnknown() { var xxx_messageInfo_ApplicationUpdateSpecRequest proto.InternalMessageInfo func (m *ApplicationUpdateSpecRequest) GetName() string { - if m != nil && m.Name != nil { - return *m.Name + if m != nil { + return m.Name } return "" } @@ -1189,33 +1188,33 @@ func (m *ApplicationUpdateSpecRequest) GetSpec() *v1alpha1.ApplicationSpec { } func (m *ApplicationUpdateSpecRequest) GetValidate() bool { - if m != nil && m.Validate != nil { - return *m.Validate + if m != nil { + return m.Validate } return false } func (m *ApplicationUpdateSpecRequest) GetAppNamespace() string { - if m != nil && m.AppNamespace != nil { - return *m.AppNamespace + if m != nil { + return m.AppNamespace } return "" } func (m *ApplicationUpdateSpecRequest) GetProject() string { - if m != nil && m.Project != nil { - return *m.Project + if m != nil { + return m.Project } return "" } // ApplicationPatchRequest is a request to patch an application type ApplicationPatchRequest struct { - Name *string `protobuf:"bytes,1,req,name=name" json:"name,omitempty"` - Patch *string `protobuf:"bytes,2,req,name=patch" json:"patch,omitempty"` - PatchType *string `protobuf:"bytes,3,req,name=patchType" json:"patchType,omitempty"` - AppNamespace *string `protobuf:"bytes,5,opt,name=appNamespace" json:"appNamespace,omitempty"` - Project *string `protobuf:"bytes,6,opt,name=project" json:"project,omitempty"` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + Patch string `protobuf:"bytes,2,opt,name=patch,proto3" json:"patch,omitempty"` + PatchType string `protobuf:"bytes,3,opt,name=patchType,proto3" json:"patchType,omitempty"` + AppNamespace string `protobuf:"bytes,5,opt,name=appNamespace,proto3" json:"appNamespace,omitempty"` + Project string `protobuf:"bytes,6,opt,name=project,proto3" json:"project,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -1255,47 +1254,47 @@ func (m *ApplicationPatchRequest) XXX_DiscardUnknown() { var xxx_messageInfo_ApplicationPatchRequest proto.InternalMessageInfo func (m *ApplicationPatchRequest) GetName() string { - if m != nil && m.Name != nil { - return *m.Name + if m != nil { + return m.Name } return "" } func (m *ApplicationPatchRequest) GetPatch() string { - if m != nil && m.Patch != nil { - return *m.Patch + if m != nil { + return m.Patch } return "" } func (m *ApplicationPatchRequest) GetPatchType() string { - if m != nil && m.PatchType != nil { - return *m.PatchType + if m != nil { + return m.PatchType } return "" } func (m *ApplicationPatchRequest) GetAppNamespace() string { - if m != nil && m.AppNamespace != nil { - return *m.AppNamespace + if m != nil { + return m.AppNamespace } return "" } func (m *ApplicationPatchRequest) GetProject() string { - if m != nil && m.Project != nil { - return *m.Project + if m != nil { + return m.Project } return "" } type ApplicationRollbackRequest struct { - Name *string `protobuf:"bytes,1,req,name=name" json:"name,omitempty"` - Id *int64 `protobuf:"varint,2,req,name=id" json:"id,omitempty"` - DryRun *bool `protobuf:"varint,3,opt,name=dryRun" json:"dryRun,omitempty"` - Prune *bool `protobuf:"varint,4,opt,name=prune" json:"prune,omitempty"` - AppNamespace *string `protobuf:"bytes,6,opt,name=appNamespace" json:"appNamespace,omitempty"` - Project *string `protobuf:"bytes,7,opt,name=project" json:"project,omitempty"` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + Id int64 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"` + DryRun bool `protobuf:"varint,3,opt,name=dryRun,proto3" json:"dryRun,omitempty"` + Prune bool `protobuf:"varint,4,opt,name=prune,proto3" json:"prune,omitempty"` + AppNamespace string `protobuf:"bytes,6,opt,name=appNamespace,proto3" json:"appNamespace,omitempty"` + Project string `protobuf:"bytes,7,opt,name=project,proto3" json:"project,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -1335,56 +1334,56 @@ func (m *ApplicationRollbackRequest) XXX_DiscardUnknown() { var xxx_messageInfo_ApplicationRollbackRequest proto.InternalMessageInfo func (m *ApplicationRollbackRequest) GetName() string { - if m != nil && m.Name != nil { - return *m.Name + if m != nil { + return m.Name } return "" } func (m *ApplicationRollbackRequest) GetId() int64 { - if m != nil && m.Id != nil { - return *m.Id + if m != nil { + return m.Id } return 0 } func (m *ApplicationRollbackRequest) GetDryRun() bool { - if m != nil && m.DryRun != nil { - return *m.DryRun + if m != nil { + return m.DryRun } return false } func (m *ApplicationRollbackRequest) GetPrune() bool { - if m != nil && m.Prune != nil { - return *m.Prune + if m != nil { + return m.Prune } return false } func (m *ApplicationRollbackRequest) GetAppNamespace() string { - if m != nil && m.AppNamespace != nil { - return *m.AppNamespace + if m != nil { + return m.AppNamespace } return "" } func (m *ApplicationRollbackRequest) GetProject() string { - if m != nil && m.Project != nil { - return *m.Project + if m != nil { + return m.Project } return "" } type ApplicationResourceRequest struct { - Name *string `protobuf:"bytes,1,req,name=name" json:"name,omitempty"` - Namespace *string `protobuf:"bytes,2,opt,name=namespace" json:"namespace,omitempty"` - ResourceName *string `protobuf:"bytes,3,req,name=resourceName" json:"resourceName,omitempty"` - Version *string `protobuf:"bytes,4,req,name=version" json:"version,omitempty"` - Group *string `protobuf:"bytes,5,opt,name=group" json:"group,omitempty"` - Kind *string `protobuf:"bytes,6,req,name=kind" json:"kind,omitempty"` - AppNamespace *string `protobuf:"bytes,7,opt,name=appNamespace" json:"appNamespace,omitempty"` - Project *string `protobuf:"bytes,8,opt,name=project" json:"project,omitempty"` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"` + ResourceName string `protobuf:"bytes,3,opt,name=resourceName,proto3" json:"resourceName,omitempty"` + Version string `protobuf:"bytes,4,opt,name=version,proto3" json:"version,omitempty"` + Group string `protobuf:"bytes,5,opt,name=group,proto3" json:"group,omitempty"` + Kind string `protobuf:"bytes,6,opt,name=kind,proto3" json:"kind,omitempty"` + AppNamespace string `protobuf:"bytes,7,opt,name=appNamespace,proto3" json:"appNamespace,omitempty"` + Project string `protobuf:"bytes,8,opt,name=project,proto3" json:"project,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -1424,72 +1423,72 @@ func (m *ApplicationResourceRequest) XXX_DiscardUnknown() { var xxx_messageInfo_ApplicationResourceRequest proto.InternalMessageInfo func (m *ApplicationResourceRequest) GetName() string { - if m != nil && m.Name != nil { - return *m.Name + if m != nil { + return m.Name } return "" } func (m *ApplicationResourceRequest) GetNamespace() string { - if m != nil && m.Namespace != nil { - return *m.Namespace + if m != nil { + return m.Namespace } return "" } func (m *ApplicationResourceRequest) GetResourceName() string { - if m != nil && m.ResourceName != nil { - return *m.ResourceName + if m != nil { + return m.ResourceName } return "" } func (m *ApplicationResourceRequest) GetVersion() string { - if m != nil && m.Version != nil { - return *m.Version + if m != nil { + return m.Version } return "" } func (m *ApplicationResourceRequest) GetGroup() string { - if m != nil && m.Group != nil { - return *m.Group + if m != nil { + return m.Group } return "" } func (m *ApplicationResourceRequest) GetKind() string { - if m != nil && m.Kind != nil { - return *m.Kind + if m != nil { + return m.Kind } return "" } func (m *ApplicationResourceRequest) GetAppNamespace() string { - if m != nil && m.AppNamespace != nil { - return *m.AppNamespace + if m != nil { + return m.AppNamespace } return "" } func (m *ApplicationResourceRequest) GetProject() string { - if m != nil && m.Project != nil { - return *m.Project + if m != nil { + return m.Project } return "" } type ApplicationResourcePatchRequest struct { - Name *string `protobuf:"bytes,1,req,name=name" json:"name,omitempty"` - Namespace *string `protobuf:"bytes,2,opt,name=namespace" json:"namespace,omitempty"` - ResourceName *string `protobuf:"bytes,3,req,name=resourceName" json:"resourceName,omitempty"` - Version *string `protobuf:"bytes,4,req,name=version" json:"version,omitempty"` - Group *string `protobuf:"bytes,5,opt,name=group" json:"group,omitempty"` - Kind *string `protobuf:"bytes,6,req,name=kind" json:"kind,omitempty"` - Patch *string `protobuf:"bytes,7,req,name=patch" json:"patch,omitempty"` - PatchType *string `protobuf:"bytes,8,req,name=patchType" json:"patchType,omitempty"` - AppNamespace *string `protobuf:"bytes,9,opt,name=appNamespace" json:"appNamespace,omitempty"` - Project *string `protobuf:"bytes,10,opt,name=project" json:"project,omitempty"` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"` + ResourceName string `protobuf:"bytes,3,opt,name=resourceName,proto3" json:"resourceName,omitempty"` + Version string `protobuf:"bytes,4,opt,name=version,proto3" json:"version,omitempty"` + Group string `protobuf:"bytes,5,opt,name=group,proto3" json:"group,omitempty"` + Kind string `protobuf:"bytes,6,opt,name=kind,proto3" json:"kind,omitempty"` + Patch string `protobuf:"bytes,7,opt,name=patch,proto3" json:"patch,omitempty"` + PatchType string `protobuf:"bytes,8,opt,name=patchType,proto3" json:"patchType,omitempty"` + AppNamespace string `protobuf:"bytes,9,opt,name=appNamespace,proto3" json:"appNamespace,omitempty"` + Project string `protobuf:"bytes,10,opt,name=project,proto3" json:"project,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -1529,86 +1528,86 @@ func (m *ApplicationResourcePatchRequest) XXX_DiscardUnknown() { var xxx_messageInfo_ApplicationResourcePatchRequest proto.InternalMessageInfo func (m *ApplicationResourcePatchRequest) GetName() string { - if m != nil && m.Name != nil { - return *m.Name + if m != nil { + return m.Name } return "" } func (m *ApplicationResourcePatchRequest) GetNamespace() string { - if m != nil && m.Namespace != nil { - return *m.Namespace + if m != nil { + return m.Namespace } return "" } func (m *ApplicationResourcePatchRequest) GetResourceName() string { - if m != nil && m.ResourceName != nil { - return *m.ResourceName + if m != nil { + return m.ResourceName } return "" } func (m *ApplicationResourcePatchRequest) GetVersion() string { - if m != nil && m.Version != nil { - return *m.Version + if m != nil { + return m.Version } return "" } func (m *ApplicationResourcePatchRequest) GetGroup() string { - if m != nil && m.Group != nil { - return *m.Group + if m != nil { + return m.Group } return "" } func (m *ApplicationResourcePatchRequest) GetKind() string { - if m != nil && m.Kind != nil { - return *m.Kind + if m != nil { + return m.Kind } return "" } func (m *ApplicationResourcePatchRequest) GetPatch() string { - if m != nil && m.Patch != nil { - return *m.Patch + if m != nil { + return m.Patch } return "" } func (m *ApplicationResourcePatchRequest) GetPatchType() string { - if m != nil && m.PatchType != nil { - return *m.PatchType + if m != nil { + return m.PatchType } return "" } func (m *ApplicationResourcePatchRequest) GetAppNamespace() string { - if m != nil && m.AppNamespace != nil { - return *m.AppNamespace + if m != nil { + return m.AppNamespace } return "" } func (m *ApplicationResourcePatchRequest) GetProject() string { - if m != nil && m.Project != nil { - return *m.Project + if m != nil { + return m.Project } return "" } type ApplicationResourceDeleteRequest struct { - Name *string `protobuf:"bytes,1,req,name=name" json:"name,omitempty"` - Namespace *string `protobuf:"bytes,2,opt,name=namespace" json:"namespace,omitempty"` - ResourceName *string `protobuf:"bytes,3,req,name=resourceName" json:"resourceName,omitempty"` - Version *string `protobuf:"bytes,4,req,name=version" json:"version,omitempty"` - Group *string `protobuf:"bytes,5,opt,name=group" json:"group,omitempty"` - Kind *string `protobuf:"bytes,6,req,name=kind" json:"kind,omitempty"` - Force *bool `protobuf:"varint,7,opt,name=force" json:"force,omitempty"` - Orphan *bool `protobuf:"varint,8,opt,name=orphan" json:"orphan,omitempty"` - AppNamespace *string `protobuf:"bytes,9,opt,name=appNamespace" json:"appNamespace,omitempty"` - Project *string `protobuf:"bytes,10,opt,name=project" json:"project,omitempty"` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"` + ResourceName string `protobuf:"bytes,3,opt,name=resourceName,proto3" json:"resourceName,omitempty"` + Version string `protobuf:"bytes,4,opt,name=version,proto3" json:"version,omitempty"` + Group string `protobuf:"bytes,5,opt,name=group,proto3" json:"group,omitempty"` + Kind string `protobuf:"bytes,6,opt,name=kind,proto3" json:"kind,omitempty"` + Force bool `protobuf:"varint,7,opt,name=force,proto3" json:"force,omitempty"` + Orphan bool `protobuf:"varint,8,opt,name=orphan,proto3" json:"orphan,omitempty"` + AppNamespace string `protobuf:"bytes,9,opt,name=appNamespace,proto3" json:"appNamespace,omitempty"` + Project string `protobuf:"bytes,10,opt,name=project,proto3" json:"project,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -1648,85 +1647,85 @@ func (m *ApplicationResourceDeleteRequest) XXX_DiscardUnknown() { var xxx_messageInfo_ApplicationResourceDeleteRequest proto.InternalMessageInfo func (m *ApplicationResourceDeleteRequest) GetName() string { - if m != nil && m.Name != nil { - return *m.Name + if m != nil { + return m.Name } return "" } func (m *ApplicationResourceDeleteRequest) GetNamespace() string { - if m != nil && m.Namespace != nil { - return *m.Namespace + if m != nil { + return m.Namespace } return "" } func (m *ApplicationResourceDeleteRequest) GetResourceName() string { - if m != nil && m.ResourceName != nil { - return *m.ResourceName + if m != nil { + return m.ResourceName } return "" } func (m *ApplicationResourceDeleteRequest) GetVersion() string { - if m != nil && m.Version != nil { - return *m.Version + if m != nil { + return m.Version } return "" } func (m *ApplicationResourceDeleteRequest) GetGroup() string { - if m != nil && m.Group != nil { - return *m.Group + if m != nil { + return m.Group } return "" } func (m *ApplicationResourceDeleteRequest) GetKind() string { - if m != nil && m.Kind != nil { - return *m.Kind + if m != nil { + return m.Kind } return "" } func (m *ApplicationResourceDeleteRequest) GetForce() bool { - if m != nil && m.Force != nil { - return *m.Force + if m != nil { + return m.Force } return false } func (m *ApplicationResourceDeleteRequest) GetOrphan() bool { - if m != nil && m.Orphan != nil { - return *m.Orphan + if m != nil { + return m.Orphan } return false } func (m *ApplicationResourceDeleteRequest) GetAppNamespace() string { - if m != nil && m.AppNamespace != nil { - return *m.AppNamespace + if m != nil { + return m.AppNamespace } return "" } func (m *ApplicationResourceDeleteRequest) GetProject() string { - if m != nil && m.Project != nil { - return *m.Project + if m != nil { + return m.Project } return "" } type ResourceActionRunRequest struct { - Name *string `protobuf:"bytes,1,req,name=name" json:"name,omitempty"` - Namespace *string `protobuf:"bytes,2,opt,name=namespace" json:"namespace,omitempty"` - ResourceName *string `protobuf:"bytes,3,req,name=resourceName" json:"resourceName,omitempty"` - Version *string `protobuf:"bytes,4,req,name=version" json:"version,omitempty"` - Group *string `protobuf:"bytes,5,opt,name=group" json:"group,omitempty"` - Kind *string `protobuf:"bytes,6,req,name=kind" json:"kind,omitempty"` - Action *string `protobuf:"bytes,7,req,name=action" json:"action,omitempty"` - AppNamespace *string `protobuf:"bytes,8,opt,name=appNamespace" json:"appNamespace,omitempty"` - Project *string `protobuf:"bytes,9,opt,name=project" json:"project,omitempty"` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"` + ResourceName string `protobuf:"bytes,3,opt,name=resourceName,proto3" json:"resourceName,omitempty"` + Version string `protobuf:"bytes,4,opt,name=version,proto3" json:"version,omitempty"` + Group string `protobuf:"bytes,5,opt,name=group,proto3" json:"group,omitempty"` + Kind string `protobuf:"bytes,6,opt,name=kind,proto3" json:"kind,omitempty"` + Action string `protobuf:"bytes,7,opt,name=action,proto3" json:"action,omitempty"` + AppNamespace string `protobuf:"bytes,8,opt,name=appNamespace,proto3" json:"appNamespace,omitempty"` + Project string `protobuf:"bytes,9,opt,name=project,proto3" json:"project,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -1766,70 +1765,70 @@ func (m *ResourceActionRunRequest) XXX_DiscardUnknown() { var xxx_messageInfo_ResourceActionRunRequest proto.InternalMessageInfo func (m *ResourceActionRunRequest) GetName() string { - if m != nil && m.Name != nil { - return *m.Name + if m != nil { + return m.Name } return "" } func (m *ResourceActionRunRequest) GetNamespace() string { - if m != nil && m.Namespace != nil { - return *m.Namespace + if m != nil { + return m.Namespace } return "" } func (m *ResourceActionRunRequest) GetResourceName() string { - if m != nil && m.ResourceName != nil { - return *m.ResourceName + if m != nil { + return m.ResourceName } return "" } func (m *ResourceActionRunRequest) GetVersion() string { - if m != nil && m.Version != nil { - return *m.Version + if m != nil { + return m.Version } return "" } func (m *ResourceActionRunRequest) GetGroup() string { - if m != nil && m.Group != nil { - return *m.Group + if m != nil { + return m.Group } return "" } func (m *ResourceActionRunRequest) GetKind() string { - if m != nil && m.Kind != nil { - return *m.Kind + if m != nil { + return m.Kind } return "" } func (m *ResourceActionRunRequest) GetAction() string { - if m != nil && m.Action != nil { - return *m.Action + if m != nil { + return m.Action } return "" } func (m *ResourceActionRunRequest) GetAppNamespace() string { - if m != nil && m.AppNamespace != nil { - return *m.AppNamespace + if m != nil { + return m.AppNamespace } return "" } func (m *ResourceActionRunRequest) GetProject() string { - if m != nil && m.Project != nil { - return *m.Project + if m != nil { + return m.Project } return "" } type ResourceActionsListResponse struct { - Actions []*v1alpha1.ResourceAction `protobuf:"bytes,1,rep,name=actions" json:"actions,omitempty"` + Actions []*v1alpha1.ResourceAction `protobuf:"bytes,1,rep,name=actions,proto3" json:"actions,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -1876,7 +1875,7 @@ func (m *ResourceActionsListResponse) GetActions() []*v1alpha1.ResourceAction { } type ApplicationResourceResponse struct { - Manifest *string `protobuf:"bytes,1,req,name=manifest" json:"manifest,omitempty"` + Manifest string `protobuf:"bytes,1,opt,name=manifest,proto3" json:"manifest,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -1916,29 +1915,29 @@ func (m *ApplicationResourceResponse) XXX_DiscardUnknown() { var xxx_messageInfo_ApplicationResourceResponse proto.InternalMessageInfo func (m *ApplicationResourceResponse) GetManifest() string { - if m != nil && m.Manifest != nil { - return *m.Manifest + if m != nil { + return m.Manifest } return "" } type ApplicationPodLogsQuery struct { - Name *string `protobuf:"bytes,1,req,name=name" json:"name,omitempty"` - Namespace *string `protobuf:"bytes,2,opt,name=namespace" json:"namespace,omitempty"` - PodName *string `protobuf:"bytes,3,opt,name=podName" json:"podName,omitempty"` - Container *string `protobuf:"bytes,4,opt,name=container" json:"container,omitempty"` - SinceSeconds *int64 `protobuf:"varint,5,opt,name=sinceSeconds" json:"sinceSeconds,omitempty"` - SinceTime *v1.Time `protobuf:"bytes,6,opt,name=sinceTime" json:"sinceTime,omitempty"` - TailLines *int64 `protobuf:"varint,7,opt,name=tailLines" json:"tailLines,omitempty"` - Follow *bool `protobuf:"varint,8,opt,name=follow" json:"follow,omitempty"` - UntilTime *string `protobuf:"bytes,9,opt,name=untilTime" json:"untilTime,omitempty"` - Filter *string `protobuf:"bytes,10,opt,name=filter" json:"filter,omitempty"` - Kind *string `protobuf:"bytes,11,opt,name=kind" json:"kind,omitempty"` - Group *string `protobuf:"bytes,12,opt,name=group" json:"group,omitempty"` - ResourceName *string `protobuf:"bytes,13,opt,name=resourceName" json:"resourceName,omitempty"` - Previous *bool `protobuf:"varint,14,opt,name=previous" json:"previous,omitempty"` - AppNamespace *string `protobuf:"bytes,15,opt,name=appNamespace" json:"appNamespace,omitempty"` - Project *string `protobuf:"bytes,16,opt,name=project" json:"project,omitempty"` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"` + PodName string `protobuf:"bytes,3,opt,name=podName,proto3" json:"podName,omitempty"` + Container string `protobuf:"bytes,4,opt,name=container,proto3" json:"container,omitempty"` + SinceSeconds int64 `protobuf:"varint,5,opt,name=sinceSeconds,proto3" json:"sinceSeconds,omitempty"` + SinceTime *v1.Time `protobuf:"bytes,6,opt,name=sinceTime,proto3" json:"sinceTime,omitempty"` + TailLines int64 `protobuf:"varint,7,opt,name=tailLines,proto3" json:"tailLines,omitempty"` + Follow bool `protobuf:"varint,8,opt,name=follow,proto3" json:"follow,omitempty"` + UntilTime string `protobuf:"bytes,9,opt,name=untilTime,proto3" json:"untilTime,omitempty"` + Filter string `protobuf:"bytes,10,opt,name=filter,proto3" json:"filter,omitempty"` + Kind string `protobuf:"bytes,11,opt,name=kind,proto3" json:"kind,omitempty"` + Group string `protobuf:"bytes,12,opt,name=group,proto3" json:"group,omitempty"` + ResourceName string `protobuf:"bytes,13,opt,name=resourceName,proto3" json:"resourceName,omitempty"` + Previous bool `protobuf:"varint,14,opt,name=previous,proto3" json:"previous,omitempty"` + AppNamespace string `protobuf:"bytes,15,opt,name=appNamespace,proto3" json:"appNamespace,omitempty"` + Project string `protobuf:"bytes,16,opt,name=project,proto3" json:"project,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -1978,36 +1977,36 @@ func (m *ApplicationPodLogsQuery) XXX_DiscardUnknown() { var xxx_messageInfo_ApplicationPodLogsQuery proto.InternalMessageInfo func (m *ApplicationPodLogsQuery) GetName() string { - if m != nil && m.Name != nil { - return *m.Name + if m != nil { + return m.Name } return "" } func (m *ApplicationPodLogsQuery) GetNamespace() string { - if m != nil && m.Namespace != nil { - return *m.Namespace + if m != nil { + return m.Namespace } return "" } func (m *ApplicationPodLogsQuery) GetPodName() string { - if m != nil && m.PodName != nil { - return *m.PodName + if m != nil { + return m.PodName } return "" } func (m *ApplicationPodLogsQuery) GetContainer() string { - if m != nil && m.Container != nil { - return *m.Container + if m != nil { + return m.Container } return "" } func (m *ApplicationPodLogsQuery) GetSinceSeconds() int64 { - if m != nil && m.SinceSeconds != nil { - return *m.SinceSeconds + if m != nil { + return m.SinceSeconds } return 0 } @@ -2020,82 +2019,82 @@ func (m *ApplicationPodLogsQuery) GetSinceTime() *v1.Time { } func (m *ApplicationPodLogsQuery) GetTailLines() int64 { - if m != nil && m.TailLines != nil { - return *m.TailLines + if m != nil { + return m.TailLines } return 0 } func (m *ApplicationPodLogsQuery) GetFollow() bool { - if m != nil && m.Follow != nil { - return *m.Follow + if m != nil { + return m.Follow } return false } func (m *ApplicationPodLogsQuery) GetUntilTime() string { - if m != nil && m.UntilTime != nil { - return *m.UntilTime + if m != nil { + return m.UntilTime } return "" } func (m *ApplicationPodLogsQuery) GetFilter() string { - if m != nil && m.Filter != nil { - return *m.Filter + if m != nil { + return m.Filter } return "" } func (m *ApplicationPodLogsQuery) GetKind() string { - if m != nil && m.Kind != nil { - return *m.Kind + if m != nil { + return m.Kind } return "" } func (m *ApplicationPodLogsQuery) GetGroup() string { - if m != nil && m.Group != nil { - return *m.Group + if m != nil { + return m.Group } return "" } func (m *ApplicationPodLogsQuery) GetResourceName() string { - if m != nil && m.ResourceName != nil { - return *m.ResourceName + if m != nil { + return m.ResourceName } return "" } func (m *ApplicationPodLogsQuery) GetPrevious() bool { - if m != nil && m.Previous != nil { - return *m.Previous + if m != nil { + return m.Previous } return false } func (m *ApplicationPodLogsQuery) GetAppNamespace() string { - if m != nil && m.AppNamespace != nil { - return *m.AppNamespace + if m != nil { + return m.AppNamespace } return "" } func (m *ApplicationPodLogsQuery) GetProject() string { - if m != nil && m.Project != nil { - return *m.Project + if m != nil { + return m.Project } return "" } type LogEntry struct { - Content *string `protobuf:"bytes,1,req,name=content" json:"content,omitempty"` + Content string `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"` // deprecated in favor of timeStampStr since meta.v1.Time don't support nano time - TimeStamp *v1.Time `protobuf:"bytes,2,req,name=timeStamp" json:"timeStamp,omitempty"` - Last *bool `protobuf:"varint,3,req,name=last" json:"last,omitempty"` - TimeStampStr *string `protobuf:"bytes,4,req,name=timeStampStr" json:"timeStampStr,omitempty"` - PodName *string `protobuf:"bytes,5,req,name=podName" json:"podName,omitempty"` + TimeStamp *v1.Time `protobuf:"bytes,2,opt,name=timeStamp,proto3" json:"timeStamp,omitempty"` + Last bool `protobuf:"varint,3,opt,name=last,proto3" json:"last,omitempty"` + TimeStampStr string `protobuf:"bytes,4,opt,name=timeStampStr,proto3" json:"timeStampStr,omitempty"` + PodName string `protobuf:"bytes,5,opt,name=podName,proto3" json:"podName,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -2135,8 +2134,8 @@ func (m *LogEntry) XXX_DiscardUnknown() { var xxx_messageInfo_LogEntry proto.InternalMessageInfo func (m *LogEntry) GetContent() string { - if m != nil && m.Content != nil { - return *m.Content + if m != nil { + return m.Content } return "" } @@ -2149,30 +2148,30 @@ func (m *LogEntry) GetTimeStamp() *v1.Time { } func (m *LogEntry) GetLast() bool { - if m != nil && m.Last != nil { - return *m.Last + if m != nil { + return m.Last } return false } func (m *LogEntry) GetTimeStampStr() string { - if m != nil && m.TimeStampStr != nil { - return *m.TimeStampStr + if m != nil { + return m.TimeStampStr } return "" } func (m *LogEntry) GetPodName() string { - if m != nil && m.PodName != nil { - return *m.PodName + if m != nil { + return m.PodName } return "" } type OperationTerminateRequest struct { - Name *string `protobuf:"bytes,1,req,name=name" json:"name,omitempty"` - AppNamespace *string `protobuf:"bytes,2,opt,name=appNamespace" json:"appNamespace,omitempty"` - Project *string `protobuf:"bytes,3,opt,name=project" json:"project,omitempty"` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + AppNamespace string `protobuf:"bytes,2,opt,name=appNamespace,proto3" json:"appNamespace,omitempty"` + Project string `protobuf:"bytes,3,opt,name=project,proto3" json:"project,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -2212,30 +2211,30 @@ func (m *OperationTerminateRequest) XXX_DiscardUnknown() { var xxx_messageInfo_OperationTerminateRequest proto.InternalMessageInfo func (m *OperationTerminateRequest) GetName() string { - if m != nil && m.Name != nil { - return *m.Name + if m != nil { + return m.Name } return "" } func (m *OperationTerminateRequest) GetAppNamespace() string { - if m != nil && m.AppNamespace != nil { - return *m.AppNamespace + if m != nil { + return m.AppNamespace } return "" } func (m *OperationTerminateRequest) GetProject() string { - if m != nil && m.Project != nil { - return *m.Project + if m != nil { + return m.Project } return "" } type ApplicationSyncWindowsQuery struct { - Name *string `protobuf:"bytes,1,req,name=name" json:"name,omitempty"` - AppNamespace *string `protobuf:"bytes,2,opt,name=appNamespace" json:"appNamespace,omitempty"` - Project *string `protobuf:"bytes,3,opt,name=project" json:"project,omitempty"` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + AppNamespace string `protobuf:"bytes,2,opt,name=appNamespace,proto3" json:"appNamespace,omitempty"` + Project string `protobuf:"bytes,3,opt,name=project,proto3" json:"project,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -2275,30 +2274,30 @@ func (m *ApplicationSyncWindowsQuery) XXX_DiscardUnknown() { var xxx_messageInfo_ApplicationSyncWindowsQuery proto.InternalMessageInfo func (m *ApplicationSyncWindowsQuery) GetName() string { - if m != nil && m.Name != nil { - return *m.Name + if m != nil { + return m.Name } return "" } func (m *ApplicationSyncWindowsQuery) GetAppNamespace() string { - if m != nil && m.AppNamespace != nil { - return *m.AppNamespace + if m != nil { + return m.AppNamespace } return "" } func (m *ApplicationSyncWindowsQuery) GetProject() string { - if m != nil && m.Project != nil { - return *m.Project + if m != nil { + return m.Project } return "" } type ApplicationSyncWindowsResponse struct { - ActiveWindows []*ApplicationSyncWindow `protobuf:"bytes,1,rep,name=activeWindows" json:"activeWindows,omitempty"` - AssignedWindows []*ApplicationSyncWindow `protobuf:"bytes,2,rep,name=assignedWindows" json:"assignedWindows,omitempty"` - CanSync *bool `protobuf:"varint,3,req,name=canSync" json:"canSync,omitempty"` + ActiveWindows []*ApplicationSyncWindow `protobuf:"bytes,1,rep,name=activeWindows,proto3" json:"activeWindows,omitempty"` + AssignedWindows []*ApplicationSyncWindow `protobuf:"bytes,2,rep,name=assignedWindows,proto3" json:"assignedWindows,omitempty"` + CanSync bool `protobuf:"varint,3,opt,name=canSync,proto3" json:"canSync,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -2352,17 +2351,17 @@ func (m *ApplicationSyncWindowsResponse) GetAssignedWindows() []*ApplicationSync } func (m *ApplicationSyncWindowsResponse) GetCanSync() bool { - if m != nil && m.CanSync != nil { - return *m.CanSync + if m != nil { + return m.CanSync } return false } type ApplicationSyncWindow struct { - Kind *string `protobuf:"bytes,1,req,name=kind" json:"kind,omitempty"` - Schedule *string `protobuf:"bytes,2,req,name=schedule" json:"schedule,omitempty"` - Duration *string `protobuf:"bytes,3,req,name=duration" json:"duration,omitempty"` - ManualSync *bool `protobuf:"varint,4,req,name=manualSync" json:"manualSync,omitempty"` + Kind string `protobuf:"bytes,1,opt,name=kind,proto3" json:"kind,omitempty"` + Schedule string `protobuf:"bytes,2,opt,name=schedule,proto3" json:"schedule,omitempty"` + Duration string `protobuf:"bytes,3,opt,name=duration,proto3" json:"duration,omitempty"` + ManualSync bool `protobuf:"varint,4,opt,name=manualSync,proto3" json:"manualSync,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -2402,29 +2401,29 @@ func (m *ApplicationSyncWindow) XXX_DiscardUnknown() { var xxx_messageInfo_ApplicationSyncWindow proto.InternalMessageInfo func (m *ApplicationSyncWindow) GetKind() string { - if m != nil && m.Kind != nil { - return *m.Kind + if m != nil { + return m.Kind } return "" } func (m *ApplicationSyncWindow) GetSchedule() string { - if m != nil && m.Schedule != nil { - return *m.Schedule + if m != nil { + return m.Schedule } return "" } func (m *ApplicationSyncWindow) GetDuration() string { - if m != nil && m.Duration != nil { - return *m.Duration + if m != nil { + return m.Duration } return "" } func (m *ApplicationSyncWindow) GetManualSync() bool { - if m != nil && m.ManualSync != nil { - return *m.ManualSync + if m != nil { + return m.ManualSync } return false } @@ -2469,14 +2468,14 @@ func (m *OperationTerminateResponse) XXX_DiscardUnknown() { var xxx_messageInfo_OperationTerminateResponse proto.InternalMessageInfo type ResourcesQuery struct { - ApplicationName *string `protobuf:"bytes,1,req,name=applicationName" json:"applicationName,omitempty"` - Namespace *string `protobuf:"bytes,2,opt,name=namespace" json:"namespace,omitempty"` - Name *string `protobuf:"bytes,3,opt,name=name" json:"name,omitempty"` - Version *string `protobuf:"bytes,4,opt,name=version" json:"version,omitempty"` - Group *string `protobuf:"bytes,5,opt,name=group" json:"group,omitempty"` - Kind *string `protobuf:"bytes,6,opt,name=kind" json:"kind,omitempty"` - AppNamespace *string `protobuf:"bytes,7,opt,name=appNamespace" json:"appNamespace,omitempty"` - Project *string `protobuf:"bytes,8,opt,name=project" json:"project,omitempty"` + ApplicationName string `protobuf:"bytes,1,opt,name=applicationName,proto3" json:"applicationName,omitempty"` + Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"` + Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` + Version string `protobuf:"bytes,4,opt,name=version,proto3" json:"version,omitempty"` + Group string `protobuf:"bytes,5,opt,name=group,proto3" json:"group,omitempty"` + Kind string `protobuf:"bytes,6,opt,name=kind,proto3" json:"kind,omitempty"` + AppNamespace string `protobuf:"bytes,7,opt,name=appNamespace,proto3" json:"appNamespace,omitempty"` + Project string `protobuf:"bytes,8,opt,name=project,proto3" json:"project,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -2516,63 +2515,63 @@ func (m *ResourcesQuery) XXX_DiscardUnknown() { var xxx_messageInfo_ResourcesQuery proto.InternalMessageInfo func (m *ResourcesQuery) GetApplicationName() string { - if m != nil && m.ApplicationName != nil { - return *m.ApplicationName + if m != nil { + return m.ApplicationName } return "" } func (m *ResourcesQuery) GetNamespace() string { - if m != nil && m.Namespace != nil { - return *m.Namespace + if m != nil { + return m.Namespace } return "" } func (m *ResourcesQuery) GetName() string { - if m != nil && m.Name != nil { - return *m.Name + if m != nil { + return m.Name } return "" } func (m *ResourcesQuery) GetVersion() string { - if m != nil && m.Version != nil { - return *m.Version + if m != nil { + return m.Version } return "" } func (m *ResourcesQuery) GetGroup() string { - if m != nil && m.Group != nil { - return *m.Group + if m != nil { + return m.Group } return "" } func (m *ResourcesQuery) GetKind() string { - if m != nil && m.Kind != nil { - return *m.Kind + if m != nil { + return m.Kind } return "" } func (m *ResourcesQuery) GetAppNamespace() string { - if m != nil && m.AppNamespace != nil { - return *m.AppNamespace + if m != nil { + return m.AppNamespace } return "" } func (m *ResourcesQuery) GetProject() string { - if m != nil && m.Project != nil { - return *m.Project + if m != nil { + return m.Project } return "" } type ManagedResourcesResponse struct { - Items []*v1alpha1.ResourceDiff `protobuf:"bytes,1,rep,name=items" json:"items,omitempty"` + Items []*v1alpha1.ResourceDiff `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -2619,10 +2618,10 @@ func (m *ManagedResourcesResponse) GetItems() []*v1alpha1.ResourceDiff { } type LinkInfo struct { - Title *string `protobuf:"bytes,1,req,name=title" json:"title,omitempty"` - Url *string `protobuf:"bytes,2,req,name=url" json:"url,omitempty"` - Description *string `protobuf:"bytes,3,opt,name=description" json:"description,omitempty"` - IconClass *string `protobuf:"bytes,4,opt,name=iconClass" json:"iconClass,omitempty"` + Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` + Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"` + Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` + IconClass string `protobuf:"bytes,4,opt,name=iconClass,proto3" json:"iconClass,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -2662,35 +2661,35 @@ func (m *LinkInfo) XXX_DiscardUnknown() { var xxx_messageInfo_LinkInfo proto.InternalMessageInfo func (m *LinkInfo) GetTitle() string { - if m != nil && m.Title != nil { - return *m.Title + if m != nil { + return m.Title } return "" } func (m *LinkInfo) GetUrl() string { - if m != nil && m.Url != nil { - return *m.Url + if m != nil { + return m.Url } return "" } func (m *LinkInfo) GetDescription() string { - if m != nil && m.Description != nil { - return *m.Description + if m != nil { + return m.Description } return "" } func (m *LinkInfo) GetIconClass() string { - if m != nil && m.IconClass != nil { - return *m.IconClass + if m != nil { + return m.IconClass } return "" } type LinksResponse struct { - Items []*LinkInfo `protobuf:"bytes,1,rep,name=items" json:"items,omitempty"` + Items []*LinkInfo `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -2737,9 +2736,9 @@ func (m *LinksResponse) GetItems() []*LinkInfo { } type ListAppLinksRequest struct { - Name *string `protobuf:"bytes,1,req,name=name" json:"name,omitempty"` - Namespace *string `protobuf:"bytes,3,opt,name=namespace" json:"namespace,omitempty"` - Project *string `protobuf:"bytes,4,opt,name=project" json:"project,omitempty"` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + Namespace string `protobuf:"bytes,3,opt,name=namespace,proto3" json:"namespace,omitempty"` + Project string `protobuf:"bytes,4,opt,name=project,proto3" json:"project,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -2779,22 +2778,22 @@ func (m *ListAppLinksRequest) XXX_DiscardUnknown() { var xxx_messageInfo_ListAppLinksRequest proto.InternalMessageInfo func (m *ListAppLinksRequest) GetName() string { - if m != nil && m.Name != nil { - return *m.Name + if m != nil { + return m.Name } return "" } func (m *ListAppLinksRequest) GetNamespace() string { - if m != nil && m.Namespace != nil { - return *m.Namespace + if m != nil { + return m.Namespace } return "" } func (m *ListAppLinksRequest) GetProject() string { - if m != nil && m.Project != nil { - return *m.Project + if m != nil { + return m.Project } return "" } @@ -2842,179 +2841,177 @@ func init() { } var fileDescriptor_df6e82b174b5eaec = []byte{ - // 2742 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x5a, 0x4d, 0x8c, 0x1b, 0x49, - 0x15, 0xa6, 0xec, 0xf1, 0x8c, 0xe7, 0x79, 0x26, 0x93, 0xd4, 0x26, 0x83, 0xd7, 0x99, 0x0d, 0xde, - 0x4e, 0xb2, 0x71, 0x26, 0x19, 0x3b, 0x31, 0x01, 0x65, 0x67, 0x77, 0x05, 0xc9, 0xe4, 0x17, 0x26, - 0xd9, 0xd0, 0x93, 0x10, 0xb4, 0x1c, 0xa0, 0xb6, 0xbb, 0xc6, 0xd3, 0x4c, 0xbb, 0xbb, 0xd3, 0xdd, - 0x76, 0x18, 0x85, 0x5c, 0x16, 0xed, 0x05, 0xad, 0x40, 0xc0, 0x1e, 0x10, 0x42, 0x80, 0x16, 0xad, - 0x84, 0x10, 0x88, 0x0b, 0x42, 0x48, 0x08, 0x09, 0x0e, 0x20, 0x38, 0x20, 0xad, 0xe0, 0xc8, 0x05, - 0x45, 0x88, 0x23, 0x5c, 0xf6, 0x8c, 0x50, 0x55, 0x57, 0x75, 0x57, 0xfb, 0xa7, 0xed, 0xc1, 0x46, - 0x9b, 0x5b, 0xbf, 0x72, 0xd5, 0x7b, 0xdf, 0x7b, 0xf5, 0xea, 0xbd, 0x57, 0xaf, 0x0c, 0x27, 0x02, - 0xea, 0x77, 0xa9, 0xdf, 0x20, 0x9e, 0x67, 0x5b, 0x06, 0x09, 0x2d, 0xd7, 0x51, 0xbf, 0xeb, 0x9e, - 0xef, 0x86, 0x2e, 0x2e, 0x29, 0x43, 0x95, 0x95, 0x96, 0xeb, 0xb6, 0x6c, 0xda, 0x20, 0x9e, 0xd5, - 0x20, 0x8e, 0xe3, 0x86, 0x7c, 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 0xce, 0xd3, 0x6f, 0xa2, 0x65, 0x98, 0x25, 0x1c, 0xad, 0x70, 0x2a, 0x41, 0xf5, - 0x19, 0xa3, 0x98, 0x6d, 0x8c, 0xf9, 0xb4, 0x31, 0xde, 0x44, 0x70, 0x34, 0x6d, 0x8c, 0x60, 0xd3, - 0x0a, 0x42, 0x79, 0x39, 0xc0, 0xdb, 0x30, 0x17, 0xc9, 0x89, 0x4a, 0xbb, 0x52, 0x73, 0x73, 0xd2, - 0x84, 0x9f, 0x32, 0xbc, 0x64, 0xae, 0xbd, 0x08, 0x47, 0x07, 0x46, 0x39, 0x01, 0xa3, 0x02, 0x45, - 0x59, 0xe4, 0x88, 0xad, 0x89, 0x69, 0xed, 0xcd, 0x99, 0x74, 0xca, 0x71, 0xcd, 0x4d, 0xb7, 0x95, - 0x71, 0xdf, 0xcf, 0xde, 0x4e, 0x66, 0x2a, 0xd7, 0x54, 0xae, 0xf6, 0x92, 0x64, 0xeb, 0x0c, 0xd7, - 0x09, 0x89, 0xe5, 0x50, 0x5f, 0x64, 0xc5, 0x64, 0x80, 0x6d, 0x43, 0x60, 0x39, 0x06, 0xdd, 0xa2, - 0x86, 0xeb, 0x98, 0x01, 0xdf, 0xcf, 0xbc, 0x9e, 0x1a, 0xc3, 0x37, 0x60, 0x9e, 0xd3, 0x77, 0xad, - 0x76, 0x94, 0x06, 0x4a, 0xcd, 0xd5, 0x7a, 0xd4, 0x83, 0xab, 0xab, 0x3d, 0xb8, 0xc4, 0x86, 0x6d, - 0x1a, 0x92, 0x7a, 0xf7, 0x7c, 0x9d, 0xad, 0xd0, 0x93, 0xc5, 0x0c, 0x4b, 0x48, 0x2c, 0x7b, 0xd3, - 0x72, 0x78, 0xe1, 0xc9, 0x44, 0x25, 0x03, 0xcc, 0x55, 0xb6, 0x5d, 0xdb, 0x76, 0x1f, 0xca, 0x73, - 0x13, 0x51, 0x6c, 0x55, 0xc7, 0x09, 0x2d, 0x9b, 0xcb, 0x8f, 0x1c, 0x21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e8, 0xbd, 0x27, 0xc7, 0xd0, 0xdf, 0x9f, 0x1c, 0x43, 0xaf, 0x5d, 0x1c, 0xef, - 0x3f, 0xc2, 0x86, 0x6d, 0x51, 0x27, 0x54, 0xd9, 0xff, 0x37, 0x00, 0x00, 0xff, 0xff, 0x45, 0x63, - 0x3b, 0x00, 0x09, 0x2d, 0x00, 0x00, + // 2712 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x5a, 0x4d, 0x8c, 0x1c, 0x47, + 0xf5, 0xff, 0xd7, 0xce, 0xce, 0xec, 0xec, 0x9b, 0x5d, 0xaf, 0x5d, 0xb1, 0xf7, 0x3f, 0x19, 0x6f, + 0xcc, 0xa4, 0x6d, 0xc7, 0x93, 0xb5, 0x77, 0xc6, 0xde, 0x04, 0xe4, 0x6c, 0x12, 0x81, 0xbd, 0xfe, + 0x84, 0xb5, 0x63, 0x7a, 0x6d, 0x8c, 0xc2, 0x01, 0xca, 0xdd, 0xb5, 0xb3, 0xcd, 0xce, 0x74, 0xb7, + 0xbb, 0x7b, 0xc6, 0xac, 0x8c, 0x2f, 0x41, 0xb9, 0xa0, 0x08, 0x04, 0xe4, 0x80, 0x10, 0x02, 0x14, + 0x14, 0x09, 0x21, 0x10, 0x17, 0x84, 0x90, 0x10, 0x12, 0x1c, 0x40, 0x70, 0x40, 0x8a, 0xe0, 0xc8, + 0x05, 0x59, 0x88, 0x23, 0x5c, 0x72, 0x46, 0xa8, 0xaa, 0xab, 0xba, 0xab, 0xe6, 0xa3, 0x67, 0x96, + 0x59, 0x64, 0xdf, 0xfa, 0xd5, 0x54, 0xbd, 0xf7, 0x7b, 0xaf, 0x5e, 0xbd, 0xf7, 0xea, 0xd5, 0xc0, + 0x89, 0x90, 0x06, 0x5d, 0x1a, 0x34, 0x88, 0xef, 0xb7, 0x1c, 0x8b, 0x44, 0x8e, 0xe7, 0xaa, 0xdf, + 0x75,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x7e, 0xd9, + 0x1c, 0x71, 0xe0, 0x63, 0x82, 0x59, 0x95, 0x7f, 0xdc, 0xde, 0xf5, 0x65, 0x46, 0x4e, 0x07, 0x26, + 0x2c, 0x9e, 0x7e, 0x82, 0xa0, 0xa2, 0xc6, 0x70, 0xaf, 0xd5, 0xba, 0x47, 0xac, 0x9d, 0x2c, 0x90, + 0x07, 0x60, 0xca, 0xb1, 0x39, 0xc2, 0x9c, 0x39, 0xe5, 0xd8, 0x7b, 0x0c, 0x46, 0xbd, 0x70, 0x0b, + 0xd9, 0x70, 0x67, 0x74, 0xb8, 0x1f, 0xf6, 0xc0, 0x95, 0x21, 0x21, 0x03, 0xee, 0x12, 0xcc, 0xba, + 0x3d, 0x85, 0x6c, 0x3a, 0x30, 0x56, 0x01, 0x5b, 0x86, 0x99, 0xae, 0x76, 0xcd, 0x91, 0x24, 0x53, + 0xb1, 0x19, 0x78, 0x1d, 0x5f, 0x18, 0x3d, 0x26, 0x18, 0x8a, 0x1d, 0xc7, 0xb5, 0xe5, 0xc5, 0x86, + 0x7d, 0xef, 0xfd, 0x62, 0xa3, 0xa9, 0xfd, 0xd3, 0x29, 0xf8, 0xc8, 0x00, 0xb5, 0x47, 0xfa, 0xd3, + 0xd3, 0xa1, 0x7b, 0xe2, 0xd5, 0x33, 0x43, 0xbd, 0xba, 0x38, 0xca, 0xab, 0x67, 0xb3, 0xed, 0x05, + 0xba, 0xbd, 0x7e, 0x34, 0x05, 0xd5, 0x01, 0xf6, 0x1a, 0x5d, 0x4e, 0x3c, 0x35, 0x06, 0xdb, 0xf2, + 0x02, 0xe1, 0x25, 0x45, 0x33, 0x26, 0xd8, 0x39, 0xf3, 0x02, 0x7f, 0x9b, 0xb8, 0xdc, 0x5a, 0x45, + 0x53, 0x50, 0x13, 0x9a, 0xea, 0xab, 0x53, 0x50, 0x96, 0xf6, 0xb9, 0x60, 0x71, 0x6b, 0x75, 0xdc, + 0xa7, 0xdf, 0x44, 0x8b, 0x50, 0x20, 0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0x8d, 0x54, 0xf6, 0xf7, 0x0a, 0xfc, 0xff, 0xbc, 0x2f, 0xfd, 0x27, 0x00, 0x00, 0xff, 0xff, + 0xb5, 0x7f, 0x00, 0xf5, 0x11, 0x2d, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -4274,31 +4271,31 @@ func (m *ApplicationQuery) MarshalToSizedBuffer(dAtA []byte) (int, error) { dAtA[i] = 0x42 } } - if m.AppNamespace != nil { - i -= len(*m.AppNamespace) - copy(dAtA[i:], *m.AppNamespace) - i = encodeVarintApplication(dAtA, i, uint64(len(*m.AppNamespace))) + if len(m.AppNamespace) > 0 { + i -= len(m.AppNamespace) + copy(dAtA[i:], m.AppNamespace) + i = encodeVarintApplication(dAtA, i, uint64(len(m.AppNamespace))) i-- dAtA[i] = 0x3a } - if m.Repo != nil { - i -= len(*m.Repo) - copy(dAtA[i:], *m.Repo) - i = encodeVarintApplication(dAtA, i, uint64(len(*m.Repo))) + if len(m.Repo) > 0 { + i -= len(m.Repo) + copy(dAtA[i:], m.Repo) + i = encodeVarintApplication(dAtA, i, uint64(len(m.Repo))) i-- dAtA[i] = 0x32 } - if m.Selector != nil { - i -= len(*m.Selector) - copy(dAtA[i:], *m.Selector) - i = encodeVarintApplication(dAtA, i, uint64(len(*m.Selector))) + if len(m.Selector) > 0 { + i -= len(m.Selector) + copy(dAtA[i:], m.Selector) + i = encodeVarintApplication(dAtA, i, uint64(len(m.Selector))) i-- dAtA[i] = 0x2a } - if m.ResourceVersion != nil { - i -= len(*m.ResourceVersion) - copy(dAtA[i:], *m.ResourceVersion) - i = encodeVarintApplication(dAtA, i, uint64(len(*m.ResourceVersion))) + if len(m.ResourceVersion) > 0 { + i -= len(m.ResourceVersion) + copy(dAtA[i:], m.ResourceVersion) + i = encodeVarintApplication(dAtA, i, uint64(len(m.ResourceVersion))) i-- dAtA[i] = 0x22 } @@ -4311,17 +4308,17 @@ func (m *ApplicationQuery) MarshalToSizedBuffer(dAtA []byte) (int, error) { dAtA[i] = 0x1a } } - if m.Refresh != nil { - i -= len(*m.Refresh) - copy(dAtA[i:], *m.Refresh) - i = encodeVarintApplication(dAtA, i, uint64(len(*m.Refresh))) + if len(m.Refresh) > 0 { + i -= len(m.Refresh) + copy(dAtA[i:], m.Refresh) + i = encodeVarintApplication(dAtA, i, uint64(len(m.Refresh))) i-- dAtA[i] = 0x12 } - if m.Name != nil { - i -= len(*m.Name) - copy(dAtA[i:], *m.Name) - i = encodeVarintApplication(dAtA, i, uint64(len(*m.Name))) + if len(m.Name) > 0 { + i -= len(m.Name) + copy(dAtA[i:], m.Name) + i = encodeVarintApplication(dAtA, i, uint64(len(m.Name))) i-- dAtA[i] = 0xa } @@ -4352,17 +4349,17 @@ func (m *NodeQuery) MarshalToSizedBuffer(dAtA []byte) (int, error) { i -= len(m.XXX_unrecognized) copy(dAtA[i:], m.XXX_unrecognized) } - if m.AppNamespace != nil { - i -= len(*m.AppNamespace) - copy(dAtA[i:], *m.AppNamespace) - i = encodeVarintApplication(dAtA, i, uint64(len(*m.AppNamespace))) + if len(m.AppNamespace) > 0 { + i -= len(m.AppNamespace) + copy(dAtA[i:], m.AppNamespace) + i = encodeVarintApplication(dAtA, i, uint64(len(m.AppNamespace))) i-- dAtA[i] = 0x12 } - if m.Name != nil { - i -= len(*m.Name) - copy(dAtA[i:], *m.Name) - i = encodeVarintApplication(dAtA, i, uint64(len(*m.Name))) + if len(m.Name) > 0 { + i -= len(m.Name) + copy(dAtA[i:], m.Name) + i = encodeVarintApplication(dAtA, i, uint64(len(m.Name))) i-- dAtA[i] = 0xa } @@ -4393,45 +4390,41 @@ func (m *RevisionMetadataQuery) MarshalToSizedBuffer(dAtA []byte) (int, error) { i -= len(m.XXX_unrecognized) copy(dAtA[i:], m.XXX_unrecognized) } - if m.VersionId != nil { - i = encodeVarintApplication(dAtA, i, uint64(*m.VersionId)) + if m.VersionId != 0 { + i = encodeVarintApplication(dAtA, i, uint64(m.VersionId)) i-- dAtA[i] = 0x30 } - if m.SourceIndex != nil { - i = encodeVarintApplication(dAtA, i, uint64(*m.SourceIndex)) + if m.SourceIndex != 0 { + i = encodeVarintApplication(dAtA, i, uint64(m.SourceIndex)) i-- dAtA[i] = 0x28 } - if m.Project != nil { - i -= len(*m.Project) - copy(dAtA[i:], *m.Project) - i = encodeVarintApplication(dAtA, i, uint64(len(*m.Project))) + if len(m.Project) > 0 { + i -= len(m.Project) + copy(dAtA[i:], m.Project) + i = encodeVarintApplication(dAtA, i, uint64(len(m.Project))) i-- dAtA[i] = 0x22 } - if m.AppNamespace != nil { - i -= len(*m.AppNamespace) - copy(dAtA[i:], *m.AppNamespace) - i = encodeVarintApplication(dAtA, i, uint64(len(*m.AppNamespace))) + if len(m.AppNamespace) > 0 { + i -= len(m.AppNamespace) + copy(dAtA[i:], m.AppNamespace) + i = encodeVarintApplication(dAtA, i, uint64(len(m.AppNamespace))) i-- dAtA[i] = 0x1a } - if m.Revision == nil { - return 0, github_com_gogo_protobuf_proto.NewRequiredNotSetError("revision") - } else { - i -= len(*m.Revision) - copy(dAtA[i:], *m.Revision) - i = encodeVarintApplication(dAtA, i, uint64(len(*m.Revision))) + if len(m.Revision) > 0 { + i -= len(m.Revision) + copy(dAtA[i:], m.Revision) + i = encodeVarintApplication(dAtA, i, uint64(len(m.Revision))) i-- dAtA[i] = 0x12 } - if m.Name == nil { - return 0, github_com_gogo_protobuf_proto.NewRequiredNotSetError("name") - } else { - i -= len(*m.Name) - copy(dAtA[i:], *m.Name) - i = encodeVarintApplication(dAtA, i, uint64(len(*m.Name))) + if len(m.Name) > 0 { + i -= len(m.Name) + copy(dAtA[i:], m.Name) + i = encodeVarintApplication(dAtA, i, uint64(len(m.Name))) i-- dAtA[i] = 0xa } @@ -4462,47 +4455,45 @@ func (m *ApplicationResourceEventsQuery) MarshalToSizedBuffer(dAtA []byte) (int, i -= len(m.XXX_unrecognized) copy(dAtA[i:], m.XXX_unrecognized) } - if m.Project != nil { - i -= len(*m.Project) - copy(dAtA[i:], *m.Project) - i = encodeVarintApplication(dAtA, i, uint64(len(*m.Project))) + if len(m.Project) > 0 { + i -= len(m.Project) + copy(dAtA[i:], m.Project) + i = encodeVarintApplication(dAtA, i, uint64(len(m.Project))) i-- dAtA[i] = 0x32 } - if m.AppNamespace != nil { - i -= len(*m.AppNamespace) - copy(dAtA[i:], *m.AppNamespace) - i = encodeVarintApplication(dAtA, i, uint64(len(*m.AppNamespace))) + if len(m.AppNamespace) > 0 { + i -= len(m.AppNamespace) + copy(dAtA[i:], m.AppNamespace) + i = encodeVarintApplication(dAtA, i, uint64(len(m.AppNamespace))) i-- dAtA[i] = 0x2a } - if m.ResourceUID != nil { - i -= len(*m.ResourceUID) - copy(dAtA[i:], *m.ResourceUID) - i = encodeVarintApplication(dAtA, i, uint64(len(*m.ResourceUID))) + if len(m.ResourceUID) > 0 { + i -= len(m.ResourceUID) + copy(dAtA[i:], m.ResourceUID) + i = encodeVarintApplication(dAtA, i, uint64(len(m.ResourceUID))) i-- dAtA[i] = 0x22 } - if m.ResourceName != nil { - i -= len(*m.ResourceName) - copy(dAtA[i:], *m.ResourceName) - i = encodeVarintApplication(dAtA, i, uint64(len(*m.ResourceName))) + if len(m.ResourceName) > 0 { + i -= len(m.ResourceName) + copy(dAtA[i:], m.ResourceName) + i = encodeVarintApplication(dAtA, i, uint64(len(m.ResourceName))) i-- dAtA[i] = 0x1a } - if m.ResourceNamespace != nil { - i -= len(*m.ResourceNamespace) - copy(dAtA[i:], *m.ResourceNamespace) - i = encodeVarintApplication(dAtA, i, uint64(len(*m.ResourceNamespace))) + if len(m.ResourceNamespace) > 0 { + i -= len(m.ResourceNamespace) + copy(dAtA[i:], m.ResourceNamespace) + i = encodeVarintApplication(dAtA, i, uint64(len(m.ResourceNamespace))) i-- dAtA[i] = 0x12 } - if m.Name == nil { - return 0, github_com_gogo_protobuf_proto.NewRequiredNotSetError("name") - } else { - i -= len(*m.Name) - copy(dAtA[i:], *m.Name) - i = encodeVarintApplication(dAtA, i, uint64(len(*m.Name))) + if len(m.Name) > 0 { + i -= len(m.Name) + copy(dAtA[i:], m.Name) + i = encodeVarintApplication(dAtA, i, uint64(len(m.Name))) i-- dAtA[i] = 0xa } @@ -4543,39 +4534,49 @@ func (m *ApplicationManifestQuery) MarshalToSizedBuffer(dAtA []byte) (int, error } } if len(m.SourcePositions) > 0 { - for iNdEx := len(m.SourcePositions) - 1; iNdEx >= 0; iNdEx-- { - i = encodeVarintApplication(dAtA, i, uint64(m.SourcePositions[iNdEx])) - i-- - dAtA[i] = 0x28 - } + dAtA2 := make([]byte, len(m.SourcePositions)*10) + var j1 int + for _, num1 := range m.SourcePositions { + num := uint64(num1) + for num >= 1<<7 { + dAtA2[j1] = uint8(uint64(num)&0x7f | 0x80) + num >>= 7 + j1++ + } + dAtA2[j1] = uint8(num) + j1++ + } + i -= j1 + copy(dAtA[i:], dAtA2[:j1]) + i = encodeVarintApplication(dAtA, i, uint64(j1)) + i-- + dAtA[i] = 0x2a } - if m.Project != nil { - i -= len(*m.Project) - copy(dAtA[i:], *m.Project) - i = encodeVarintApplication(dAtA, i, uint64(len(*m.Project))) + if len(m.Project) > 0 { + i -= len(m.Project) + copy(dAtA[i:], m.Project) + i = encodeVarintApplication(dAtA, i, uint64(len(m.Project))) i-- dAtA[i] = 0x22 } - if m.AppNamespace != nil { - i -= len(*m.AppNamespace) - copy(dAtA[i:], *m.AppNamespace) - i = encodeVarintApplication(dAtA, i, uint64(len(*m.AppNamespace))) + if len(m.AppNamespace) > 0 { + i -= len(m.AppNamespace) + copy(dAtA[i:], m.AppNamespace) + i = encodeVarintApplication(dAtA, i, uint64(len(m.AppNamespace))) i-- dAtA[i] = 0x1a } - if m.Revision != nil { - i -= len(*m.Revision) - copy(dAtA[i:], *m.Revision) - i = encodeVarintApplication(dAtA, i, uint64(len(*m.Revision))) + if len(m.Revision) > 0 { + i -= len(m.Revision) + copy(dAtA[i:], m.Revision) + i = encodeVarintApplication(dAtA, i, uint64(len(m.Revision))) i-- dAtA[i] = 0x12 } - if m.Name == nil { - return 0, github_com_gogo_protobuf_proto.NewRequiredNotSetError("name") - } else { - i -= len(*m.Name) - copy(dAtA[i:], *m.Name) - i = encodeVarintApplication(dAtA, i, uint64(len(*m.Name))) + if len(m.Name) > 0 { + i -= len(m.Name) + copy(dAtA[i:], m.Name) + i = encodeVarintApplication(dAtA, i, uint64(len(m.Name))) i-- dAtA[i] = 0xa } @@ -4606,9 +4607,7 @@ func (m *FileChunk) MarshalToSizedBuffer(dAtA []byte) (int, error) { i -= len(m.XXX_unrecognized) copy(dAtA[i:], m.XXX_unrecognized) } - if m.Chunk == nil { - return 0, github_com_gogo_protobuf_proto.NewRequiredNotSetError("chunk") - } else { + if len(m.Chunk) > 0 { i -= len(m.Chunk) copy(dAtA[i:], m.Chunk) i = encodeVarintApplication(dAtA, i, uint64(len(m.Chunk))) @@ -4642,35 +4641,31 @@ func (m *ApplicationManifestQueryWithFiles) MarshalToSizedBuffer(dAtA []byte) (i i -= len(m.XXX_unrecognized) copy(dAtA[i:], m.XXX_unrecognized) } - if m.Project != nil { - i -= len(*m.Project) - copy(dAtA[i:], *m.Project) - i = encodeVarintApplication(dAtA, i, uint64(len(*m.Project))) + if len(m.Project) > 0 { + i -= len(m.Project) + copy(dAtA[i:], m.Project) + i = encodeVarintApplication(dAtA, i, uint64(len(m.Project))) i-- dAtA[i] = 0x22 } - if m.AppNamespace != nil { - i -= len(*m.AppNamespace) - copy(dAtA[i:], *m.AppNamespace) - i = encodeVarintApplication(dAtA, i, uint64(len(*m.AppNamespace))) + if len(m.AppNamespace) > 0 { + i -= len(m.AppNamespace) + copy(dAtA[i:], m.AppNamespace) + i = encodeVarintApplication(dAtA, i, uint64(len(m.AppNamespace))) i-- dAtA[i] = 0x1a } - if m.Checksum == nil { - return 0, github_com_gogo_protobuf_proto.NewRequiredNotSetError("checksum") - } else { - i -= len(*m.Checksum) - copy(dAtA[i:], *m.Checksum) - i = encodeVarintApplication(dAtA, i, uint64(len(*m.Checksum))) + if len(m.Checksum) > 0 { + i -= len(m.Checksum) + copy(dAtA[i:], m.Checksum) + i = encodeVarintApplication(dAtA, i, uint64(len(m.Checksum))) i-- dAtA[i] = 0x12 } - if m.Name == nil { - return 0, github_com_gogo_protobuf_proto.NewRequiredNotSetError("name") - } else { - i -= len(*m.Name) - copy(dAtA[i:], *m.Name) - i = encodeVarintApplication(dAtA, i, uint64(len(*m.Name))) + if len(m.Name) > 0 { + i -= len(m.Name) + copy(dAtA[i:], m.Name) + i = encodeVarintApplication(dAtA, i, uint64(len(m.Name))) i-- dAtA[i] = 0xa } @@ -4806,9 +4801,9 @@ func (m *ApplicationCreateRequest) MarshalToSizedBuffer(dAtA []byte) (int, error i -= len(m.XXX_unrecognized) copy(dAtA[i:], m.XXX_unrecognized) } - if m.Validate != nil { + if m.Validate { i-- - if *m.Validate { + if m.Validate { dAtA[i] = 1 } else { dAtA[i] = 0 @@ -4816,9 +4811,9 @@ func (m *ApplicationCreateRequest) MarshalToSizedBuffer(dAtA []byte) (int, error i-- dAtA[i] = 0x18 } - if m.Upsert != nil { + if m.Upsert { i-- - if *m.Upsert { + if m.Upsert { dAtA[i] = 1 } else { dAtA[i] = 0 @@ -4826,9 +4821,7 @@ func (m *ApplicationCreateRequest) MarshalToSizedBuffer(dAtA []byte) (int, error i-- dAtA[i] = 0x10 } - if m.Application == nil { - return 0, github_com_gogo_protobuf_proto.NewRequiredNotSetError("application") - } else { + if m.Application != nil { { size, err := m.Application.MarshalToSizedBuffer(dAtA[:i]) if err != nil { @@ -4867,16 +4860,16 @@ func (m *ApplicationUpdateRequest) MarshalToSizedBuffer(dAtA []byte) (int, error i -= len(m.XXX_unrecognized) copy(dAtA[i:], m.XXX_unrecognized) } - if m.Project != nil { - i -= len(*m.Project) - copy(dAtA[i:], *m.Project) - i = encodeVarintApplication(dAtA, i, uint64(len(*m.Project))) + if len(m.Project) > 0 { + i -= len(m.Project) + copy(dAtA[i:], m.Project) + i = encodeVarintApplication(dAtA, i, uint64(len(m.Project))) i-- dAtA[i] = 0x1a } - if m.Validate != nil { + if m.Validate { i-- - if *m.Validate { + if m.Validate { dAtA[i] = 1 } else { dAtA[i] = 0 @@ -4884,9 +4877,7 @@ func (m *ApplicationUpdateRequest) MarshalToSizedBuffer(dAtA []byte) (int, error i-- dAtA[i] = 0x10 } - if m.Application == nil { - return 0, github_com_gogo_protobuf_proto.NewRequiredNotSetError("application") - } else { + if m.Application != nil { { size, err := m.Application.MarshalToSizedBuffer(dAtA[:i]) if err != nil { @@ -4925,30 +4916,30 @@ func (m *ApplicationDeleteRequest) MarshalToSizedBuffer(dAtA []byte) (int, error i -= len(m.XXX_unrecognized) copy(dAtA[i:], m.XXX_unrecognized) } - if m.Project != nil { - i -= len(*m.Project) - copy(dAtA[i:], *m.Project) - i = encodeVarintApplication(dAtA, i, uint64(len(*m.Project))) + if len(m.Project) > 0 { + i -= len(m.Project) + copy(dAtA[i:], m.Project) + i = encodeVarintApplication(dAtA, i, uint64(len(m.Project))) i-- dAtA[i] = 0x2a } - if m.AppNamespace != nil { - i -= len(*m.AppNamespace) - copy(dAtA[i:], *m.AppNamespace) - i = encodeVarintApplication(dAtA, i, uint64(len(*m.AppNamespace))) + if len(m.AppNamespace) > 0 { + i -= len(m.AppNamespace) + copy(dAtA[i:], m.AppNamespace) + i = encodeVarintApplication(dAtA, i, uint64(len(m.AppNamespace))) i-- dAtA[i] = 0x22 } - if m.PropagationPolicy != nil { - i -= len(*m.PropagationPolicy) - copy(dAtA[i:], *m.PropagationPolicy) - i = encodeVarintApplication(dAtA, i, uint64(len(*m.PropagationPolicy))) + if len(m.PropagationPolicy) > 0 { + i -= len(m.PropagationPolicy) + copy(dAtA[i:], m.PropagationPolicy) + i = encodeVarintApplication(dAtA, i, uint64(len(m.PropagationPolicy))) i-- dAtA[i] = 0x1a } - if m.Cascade != nil { + if m.Cascade { i-- - if *m.Cascade { + if m.Cascade { dAtA[i] = 1 } else { dAtA[i] = 0 @@ -4956,12 +4947,10 @@ func (m *ApplicationDeleteRequest) MarshalToSizedBuffer(dAtA []byte) (int, error i-- dAtA[i] = 0x10 } - if m.Name == nil { - return 0, github_com_gogo_protobuf_proto.NewRequiredNotSetError("name") - } else { - i -= len(*m.Name) - copy(dAtA[i:], *m.Name) - i = encodeVarintApplication(dAtA, i, uint64(len(*m.Name))) + if len(m.Name) > 0 { + i -= len(m.Name) + copy(dAtA[i:], m.Name) + i = encodeVarintApplication(dAtA, i, uint64(len(m.Name))) i-- dAtA[i] = 0xa } @@ -5038,23 +5027,35 @@ func (m *ApplicationSyncRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) } } if len(m.SourcePositions) > 0 { - for iNdEx := len(m.SourcePositions) - 1; iNdEx >= 0; iNdEx-- { - i = encodeVarintApplication(dAtA, i, uint64(m.SourcePositions[iNdEx])) - i-- - dAtA[i] = 0x70 + dAtA8 := make([]byte, len(m.SourcePositions)*10) + var j7 int + for _, num1 := range m.SourcePositions { + num := uint64(num1) + for num >= 1<<7 { + dAtA8[j7] = uint8(uint64(num)&0x7f | 0x80) + num >>= 7 + j7++ + } + dAtA8[j7] = uint8(num) + j7++ } + i -= j7 + copy(dAtA[i:], dAtA8[:j7]) + i = encodeVarintApplication(dAtA, i, uint64(j7)) + i-- + dAtA[i] = 0x72 } - if m.Project != nil { - i -= len(*m.Project) - copy(dAtA[i:], *m.Project) - i = encodeVarintApplication(dAtA, i, uint64(len(*m.Project))) + if len(m.Project) > 0 { + i -= len(m.Project) + copy(dAtA[i:], m.Project) + i = encodeVarintApplication(dAtA, i, uint64(len(m.Project))) i-- dAtA[i] = 0x6a } - if m.AppNamespace != nil { - i -= len(*m.AppNamespace) - copy(dAtA[i:], *m.AppNamespace) - i = encodeVarintApplication(dAtA, i, uint64(len(*m.AppNamespace))) + if len(m.AppNamespace) > 0 { + i -= len(m.AppNamespace) + copy(dAtA[i:], m.AppNamespace) + i = encodeVarintApplication(dAtA, i, uint64(len(m.AppNamespace))) i-- dAtA[i] = 0x62 } @@ -5131,9 +5132,9 @@ func (m *ApplicationSyncRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) i-- dAtA[i] = 0x2a } - if m.Prune != nil { + if m.Prune { i-- - if *m.Prune { + if m.Prune { dAtA[i] = 1 } else { dAtA[i] = 0 @@ -5141,9 +5142,9 @@ func (m *ApplicationSyncRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) i-- dAtA[i] = 0x20 } - if m.DryRun != nil { + if m.DryRun { i-- - if *m.DryRun { + if m.DryRun { dAtA[i] = 1 } else { dAtA[i] = 0 @@ -5151,19 +5152,17 @@ func (m *ApplicationSyncRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) i-- dAtA[i] = 0x18 } - if m.Revision != nil { - i -= len(*m.Revision) - copy(dAtA[i:], *m.Revision) - i = encodeVarintApplication(dAtA, i, uint64(len(*m.Revision))) + if len(m.Revision) > 0 { + i -= len(m.Revision) + copy(dAtA[i:], m.Revision) + i = encodeVarintApplication(dAtA, i, uint64(len(m.Revision))) i-- dAtA[i] = 0x12 } - if m.Name == nil { - return 0, github_com_gogo_protobuf_proto.NewRequiredNotSetError("name") - } else { - i -= len(*m.Name) - copy(dAtA[i:], *m.Name) - i = encodeVarintApplication(dAtA, i, uint64(len(*m.Name))) + if len(m.Name) > 0 { + i -= len(m.Name) + copy(dAtA[i:], m.Name) + i = encodeVarintApplication(dAtA, i, uint64(len(m.Name))) i-- dAtA[i] = 0xa } @@ -5194,23 +5193,23 @@ func (m *ApplicationUpdateSpecRequest) MarshalToSizedBuffer(dAtA []byte) (int, e i -= len(m.XXX_unrecognized) copy(dAtA[i:], m.XXX_unrecognized) } - if m.Project != nil { - i -= len(*m.Project) - copy(dAtA[i:], *m.Project) - i = encodeVarintApplication(dAtA, i, uint64(len(*m.Project))) + if len(m.Project) > 0 { + i -= len(m.Project) + copy(dAtA[i:], m.Project) + i = encodeVarintApplication(dAtA, i, uint64(len(m.Project))) i-- dAtA[i] = 0x2a } - if m.AppNamespace != nil { - i -= len(*m.AppNamespace) - copy(dAtA[i:], *m.AppNamespace) - i = encodeVarintApplication(dAtA, i, uint64(len(*m.AppNamespace))) + if len(m.AppNamespace) > 0 { + i -= len(m.AppNamespace) + copy(dAtA[i:], m.AppNamespace) + i = encodeVarintApplication(dAtA, i, uint64(len(m.AppNamespace))) i-- dAtA[i] = 0x22 } - if m.Validate != nil { + if m.Validate { i-- - if *m.Validate { + if m.Validate { dAtA[i] = 1 } else { dAtA[i] = 0 @@ -5218,9 +5217,7 @@ func (m *ApplicationUpdateSpecRequest) MarshalToSizedBuffer(dAtA []byte) (int, e i-- dAtA[i] = 0x18 } - if m.Spec == nil { - return 0, github_com_gogo_protobuf_proto.NewRequiredNotSetError("spec") - } else { + if m.Spec != nil { { size, err := m.Spec.MarshalToSizedBuffer(dAtA[:i]) if err != nil { @@ -5232,12 +5229,10 @@ func (m *ApplicationUpdateSpecRequest) MarshalToSizedBuffer(dAtA []byte) (int, e i-- dAtA[i] = 0x12 } - if m.Name == nil { - return 0, github_com_gogo_protobuf_proto.NewRequiredNotSetError("name") - } else { - i -= len(*m.Name) - copy(dAtA[i:], *m.Name) - i = encodeVarintApplication(dAtA, i, uint64(len(*m.Name))) + if len(m.Name) > 0 { + i -= len(m.Name) + copy(dAtA[i:], m.Name) + i = encodeVarintApplication(dAtA, i, uint64(len(m.Name))) i-- dAtA[i] = 0xa } @@ -5268,44 +5263,38 @@ func (m *ApplicationPatchRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) i -= len(m.XXX_unrecognized) copy(dAtA[i:], m.XXX_unrecognized) } - if m.Project != nil { - i -= len(*m.Project) - copy(dAtA[i:], *m.Project) - i = encodeVarintApplication(dAtA, i, uint64(len(*m.Project))) + if len(m.Project) > 0 { + i -= len(m.Project) + copy(dAtA[i:], m.Project) + i = encodeVarintApplication(dAtA, i, uint64(len(m.Project))) i-- dAtA[i] = 0x32 } - if m.AppNamespace != nil { - i -= len(*m.AppNamespace) - copy(dAtA[i:], *m.AppNamespace) - i = encodeVarintApplication(dAtA, i, uint64(len(*m.AppNamespace))) + if len(m.AppNamespace) > 0 { + i -= len(m.AppNamespace) + copy(dAtA[i:], m.AppNamespace) + i = encodeVarintApplication(dAtA, i, uint64(len(m.AppNamespace))) i-- dAtA[i] = 0x2a } - if m.PatchType == nil { - return 0, github_com_gogo_protobuf_proto.NewRequiredNotSetError("patchType") - } else { - i -= len(*m.PatchType) - copy(dAtA[i:], *m.PatchType) - i = encodeVarintApplication(dAtA, i, uint64(len(*m.PatchType))) + if len(m.PatchType) > 0 { + i -= len(m.PatchType) + copy(dAtA[i:], m.PatchType) + i = encodeVarintApplication(dAtA, i, uint64(len(m.PatchType))) i-- dAtA[i] = 0x1a } - if m.Patch == nil { - return 0, github_com_gogo_protobuf_proto.NewRequiredNotSetError("patch") - } else { - i -= len(*m.Patch) - copy(dAtA[i:], *m.Patch) - i = encodeVarintApplication(dAtA, i, uint64(len(*m.Patch))) + if len(m.Patch) > 0 { + i -= len(m.Patch) + copy(dAtA[i:], m.Patch) + i = encodeVarintApplication(dAtA, i, uint64(len(m.Patch))) i-- dAtA[i] = 0x12 } - if m.Name == nil { - return 0, github_com_gogo_protobuf_proto.NewRequiredNotSetError("name") - } else { - i -= len(*m.Name) - copy(dAtA[i:], *m.Name) - i = encodeVarintApplication(dAtA, i, uint64(len(*m.Name))) + if len(m.Name) > 0 { + i -= len(m.Name) + copy(dAtA[i:], m.Name) + i = encodeVarintApplication(dAtA, i, uint64(len(m.Name))) i-- dAtA[i] = 0xa } @@ -5336,23 +5325,23 @@ func (m *ApplicationRollbackRequest) MarshalToSizedBuffer(dAtA []byte) (int, err i -= len(m.XXX_unrecognized) copy(dAtA[i:], m.XXX_unrecognized) } - if m.Project != nil { - i -= len(*m.Project) - copy(dAtA[i:], *m.Project) - i = encodeVarintApplication(dAtA, i, uint64(len(*m.Project))) + if len(m.Project) > 0 { + i -= len(m.Project) + copy(dAtA[i:], m.Project) + i = encodeVarintApplication(dAtA, i, uint64(len(m.Project))) i-- dAtA[i] = 0x3a } - if m.AppNamespace != nil { - i -= len(*m.AppNamespace) - copy(dAtA[i:], *m.AppNamespace) - i = encodeVarintApplication(dAtA, i, uint64(len(*m.AppNamespace))) + if len(m.AppNamespace) > 0 { + i -= len(m.AppNamespace) + copy(dAtA[i:], m.AppNamespace) + i = encodeVarintApplication(dAtA, i, uint64(len(m.AppNamespace))) i-- dAtA[i] = 0x32 } - if m.Prune != nil { + if m.Prune { i-- - if *m.Prune { + if m.Prune { dAtA[i] = 1 } else { dAtA[i] = 0 @@ -5360,9 +5349,9 @@ func (m *ApplicationRollbackRequest) MarshalToSizedBuffer(dAtA []byte) (int, err i-- dAtA[i] = 0x20 } - if m.DryRun != nil { + if m.DryRun { i-- - if *m.DryRun { + if m.DryRun { dAtA[i] = 1 } else { dAtA[i] = 0 @@ -5370,19 +5359,15 @@ func (m *ApplicationRollbackRequest) MarshalToSizedBuffer(dAtA []byte) (int, err i-- dAtA[i] = 0x18 } - if m.Id == nil { - return 0, github_com_gogo_protobuf_proto.NewRequiredNotSetError("id") - } else { - i = encodeVarintApplication(dAtA, i, uint64(*m.Id)) + if m.Id != 0 { + i = encodeVarintApplication(dAtA, i, uint64(m.Id)) i-- dAtA[i] = 0x10 } - if m.Name == nil { - return 0, github_com_gogo_protobuf_proto.NewRequiredNotSetError("name") - } else { - i -= len(*m.Name) - copy(dAtA[i:], *m.Name) - i = encodeVarintApplication(dAtA, i, uint64(len(*m.Name))) + if len(m.Name) > 0 { + i -= len(m.Name) + copy(dAtA[i:], m.Name) + i = encodeVarintApplication(dAtA, i, uint64(len(m.Name))) i-- dAtA[i] = 0xa } @@ -5413,67 +5398,59 @@ func (m *ApplicationResourceRequest) MarshalToSizedBuffer(dAtA []byte) (int, err i -= len(m.XXX_unrecognized) copy(dAtA[i:], m.XXX_unrecognized) } - if m.Project != nil { - i -= len(*m.Project) - copy(dAtA[i:], *m.Project) - i = encodeVarintApplication(dAtA, i, uint64(len(*m.Project))) + if len(m.Project) > 0 { + i -= len(m.Project) + copy(dAtA[i:], m.Project) + i = encodeVarintApplication(dAtA, i, uint64(len(m.Project))) i-- dAtA[i] = 0x42 } - if m.AppNamespace != nil { - i -= len(*m.AppNamespace) - copy(dAtA[i:], *m.AppNamespace) - i = encodeVarintApplication(dAtA, i, uint64(len(*m.AppNamespace))) + if len(m.AppNamespace) > 0 { + i -= len(m.AppNamespace) + copy(dAtA[i:], m.AppNamespace) + i = encodeVarintApplication(dAtA, i, uint64(len(m.AppNamespace))) i-- dAtA[i] = 0x3a } - if m.Kind == nil { - return 0, github_com_gogo_protobuf_proto.NewRequiredNotSetError("kind") - } else { - i -= len(*m.Kind) - copy(dAtA[i:], *m.Kind) - i = encodeVarintApplication(dAtA, i, uint64(len(*m.Kind))) + if len(m.Kind) > 0 { + i -= len(m.Kind) + copy(dAtA[i:], m.Kind) + i = encodeVarintApplication(dAtA, i, uint64(len(m.Kind))) i-- dAtA[i] = 0x32 } - if m.Group != nil { - i -= len(*m.Group) - copy(dAtA[i:], *m.Group) - i = encodeVarintApplication(dAtA, i, uint64(len(*m.Group))) + if len(m.Group) > 0 { + i -= len(m.Group) + copy(dAtA[i:], m.Group) + i = encodeVarintApplication(dAtA, i, uint64(len(m.Group))) i-- dAtA[i] = 0x2a } - if m.Version == nil { - return 0, github_com_gogo_protobuf_proto.NewRequiredNotSetError("version") - } else { - i -= len(*m.Version) - copy(dAtA[i:], *m.Version) - i = encodeVarintApplication(dAtA, i, uint64(len(*m.Version))) + if len(m.Version) > 0 { + i -= len(m.Version) + copy(dAtA[i:], m.Version) + i = encodeVarintApplication(dAtA, i, uint64(len(m.Version))) i-- dAtA[i] = 0x22 } - if m.ResourceName == nil { - return 0, github_com_gogo_protobuf_proto.NewRequiredNotSetError("resourceName") - } else { - i -= len(*m.ResourceName) - copy(dAtA[i:], *m.ResourceName) - i = encodeVarintApplication(dAtA, i, uint64(len(*m.ResourceName))) + if len(m.ResourceName) > 0 { + i -= len(m.ResourceName) + copy(dAtA[i:], m.ResourceName) + i = encodeVarintApplication(dAtA, i, uint64(len(m.ResourceName))) i-- dAtA[i] = 0x1a } - if m.Namespace != nil { - i -= len(*m.Namespace) - copy(dAtA[i:], *m.Namespace) - i = encodeVarintApplication(dAtA, i, uint64(len(*m.Namespace))) + if len(m.Namespace) > 0 { + i -= len(m.Namespace) + copy(dAtA[i:], m.Namespace) + i = encodeVarintApplication(dAtA, i, uint64(len(m.Namespace))) i-- dAtA[i] = 0x12 } - if m.Name == nil { - return 0, github_com_gogo_protobuf_proto.NewRequiredNotSetError("name") - } else { - i -= len(*m.Name) - copy(dAtA[i:], *m.Name) - i = encodeVarintApplication(dAtA, i, uint64(len(*m.Name))) + if len(m.Name) > 0 { + i -= len(m.Name) + copy(dAtA[i:], m.Name) + i = encodeVarintApplication(dAtA, i, uint64(len(m.Name))) i-- dAtA[i] = 0xa } @@ -5504,85 +5481,73 @@ func (m *ApplicationResourcePatchRequest) MarshalToSizedBuffer(dAtA []byte) (int i -= len(m.XXX_unrecognized) copy(dAtA[i:], m.XXX_unrecognized) } - if m.Project != nil { - i -= len(*m.Project) - copy(dAtA[i:], *m.Project) - i = encodeVarintApplication(dAtA, i, uint64(len(*m.Project))) + if len(m.Project) > 0 { + i -= len(m.Project) + copy(dAtA[i:], m.Project) + i = encodeVarintApplication(dAtA, i, uint64(len(m.Project))) i-- dAtA[i] = 0x52 } - if m.AppNamespace != nil { - i -= len(*m.AppNamespace) - copy(dAtA[i:], *m.AppNamespace) - i = encodeVarintApplication(dAtA, i, uint64(len(*m.AppNamespace))) + if len(m.AppNamespace) > 0 { + i -= len(m.AppNamespace) + copy(dAtA[i:], m.AppNamespace) + i = encodeVarintApplication(dAtA, i, uint64(len(m.AppNamespace))) i-- dAtA[i] = 0x4a } - if m.PatchType == nil { - return 0, github_com_gogo_protobuf_proto.NewRequiredNotSetError("patchType") - } else { - i -= len(*m.PatchType) - copy(dAtA[i:], *m.PatchType) - i = encodeVarintApplication(dAtA, i, uint64(len(*m.PatchType))) + if len(m.PatchType) > 0 { + i -= len(m.PatchType) + copy(dAtA[i:], m.PatchType) + i = encodeVarintApplication(dAtA, i, uint64(len(m.PatchType))) i-- dAtA[i] = 0x42 } - if m.Patch == nil { - return 0, github_com_gogo_protobuf_proto.NewRequiredNotSetError("patch") - } else { - i -= len(*m.Patch) - copy(dAtA[i:], *m.Patch) - i = encodeVarintApplication(dAtA, i, uint64(len(*m.Patch))) + if len(m.Patch) > 0 { + i -= len(m.Patch) + copy(dAtA[i:], m.Patch) + i = encodeVarintApplication(dAtA, i, uint64(len(m.Patch))) i-- dAtA[i] = 0x3a } - if m.Kind == nil { - return 0, github_com_gogo_protobuf_proto.NewRequiredNotSetError("kind") - } else { - i -= len(*m.Kind) - copy(dAtA[i:], *m.Kind) - i = encodeVarintApplication(dAtA, i, uint64(len(*m.Kind))) + if len(m.Kind) > 0 { + i -= len(m.Kind) + copy(dAtA[i:], m.Kind) + i = encodeVarintApplication(dAtA, i, uint64(len(m.Kind))) i-- dAtA[i] = 0x32 } - if m.Group != nil { - i -= len(*m.Group) - copy(dAtA[i:], *m.Group) - i = encodeVarintApplication(dAtA, i, uint64(len(*m.Group))) + if len(m.Group) > 0 { + i -= len(m.Group) + copy(dAtA[i:], m.Group) + i = encodeVarintApplication(dAtA, i, uint64(len(m.Group))) i-- dAtA[i] = 0x2a } - if m.Version == nil { - return 0, github_com_gogo_protobuf_proto.NewRequiredNotSetError("version") - } else { - i -= len(*m.Version) - copy(dAtA[i:], *m.Version) - i = encodeVarintApplication(dAtA, i, uint64(len(*m.Version))) + if len(m.Version) > 0 { + i -= len(m.Version) + copy(dAtA[i:], m.Version) + i = encodeVarintApplication(dAtA, i, uint64(len(m.Version))) i-- dAtA[i] = 0x22 } - if m.ResourceName == nil { - return 0, github_com_gogo_protobuf_proto.NewRequiredNotSetError("resourceName") - } else { - i -= len(*m.ResourceName) - copy(dAtA[i:], *m.ResourceName) - i = encodeVarintApplication(dAtA, i, uint64(len(*m.ResourceName))) + if len(m.ResourceName) > 0 { + i -= len(m.ResourceName) + copy(dAtA[i:], m.ResourceName) + i = encodeVarintApplication(dAtA, i, uint64(len(m.ResourceName))) i-- dAtA[i] = 0x1a } - if m.Namespace != nil { - i -= len(*m.Namespace) - copy(dAtA[i:], *m.Namespace) - i = encodeVarintApplication(dAtA, i, uint64(len(*m.Namespace))) + if len(m.Namespace) > 0 { + i -= len(m.Namespace) + copy(dAtA[i:], m.Namespace) + i = encodeVarintApplication(dAtA, i, uint64(len(m.Namespace))) i-- dAtA[i] = 0x12 } - if m.Name == nil { - return 0, github_com_gogo_protobuf_proto.NewRequiredNotSetError("name") - } else { - i -= len(*m.Name) - copy(dAtA[i:], *m.Name) - i = encodeVarintApplication(dAtA, i, uint64(len(*m.Name))) + if len(m.Name) > 0 { + i -= len(m.Name) + copy(dAtA[i:], m.Name) + i = encodeVarintApplication(dAtA, i, uint64(len(m.Name))) i-- dAtA[i] = 0xa } @@ -5613,23 +5578,23 @@ func (m *ApplicationResourceDeleteRequest) MarshalToSizedBuffer(dAtA []byte) (in i -= len(m.XXX_unrecognized) copy(dAtA[i:], m.XXX_unrecognized) } - if m.Project != nil { - i -= len(*m.Project) - copy(dAtA[i:], *m.Project) - i = encodeVarintApplication(dAtA, i, uint64(len(*m.Project))) + if len(m.Project) > 0 { + i -= len(m.Project) + copy(dAtA[i:], m.Project) + i = encodeVarintApplication(dAtA, i, uint64(len(m.Project))) i-- dAtA[i] = 0x52 } - if m.AppNamespace != nil { - i -= len(*m.AppNamespace) - copy(dAtA[i:], *m.AppNamespace) - i = encodeVarintApplication(dAtA, i, uint64(len(*m.AppNamespace))) + if len(m.AppNamespace) > 0 { + i -= len(m.AppNamespace) + copy(dAtA[i:], m.AppNamespace) + i = encodeVarintApplication(dAtA, i, uint64(len(m.AppNamespace))) i-- dAtA[i] = 0x4a } - if m.Orphan != nil { + if m.Orphan { i-- - if *m.Orphan { + if m.Orphan { dAtA[i] = 1 } else { dAtA[i] = 0 @@ -5637,9 +5602,9 @@ func (m *ApplicationResourceDeleteRequest) MarshalToSizedBuffer(dAtA []byte) (in i-- dAtA[i] = 0x40 } - if m.Force != nil { + if m.Force { i-- - if *m.Force { + if m.Force { dAtA[i] = 1 } else { dAtA[i] = 0 @@ -5647,53 +5612,45 @@ func (m *ApplicationResourceDeleteRequest) MarshalToSizedBuffer(dAtA []byte) (in i-- dAtA[i] = 0x38 } - if m.Kind == nil { - return 0, github_com_gogo_protobuf_proto.NewRequiredNotSetError("kind") - } else { - i -= len(*m.Kind) - copy(dAtA[i:], *m.Kind) - i = encodeVarintApplication(dAtA, i, uint64(len(*m.Kind))) + if len(m.Kind) > 0 { + i -= len(m.Kind) + copy(dAtA[i:], m.Kind) + i = encodeVarintApplication(dAtA, i, uint64(len(m.Kind))) i-- dAtA[i] = 0x32 } - if m.Group != nil { - i -= len(*m.Group) - copy(dAtA[i:], *m.Group) - i = encodeVarintApplication(dAtA, i, uint64(len(*m.Group))) + if len(m.Group) > 0 { + i -= len(m.Group) + copy(dAtA[i:], m.Group) + i = encodeVarintApplication(dAtA, i, uint64(len(m.Group))) i-- dAtA[i] = 0x2a } - if m.Version == nil { - return 0, github_com_gogo_protobuf_proto.NewRequiredNotSetError("version") - } else { - i -= len(*m.Version) - copy(dAtA[i:], *m.Version) - i = encodeVarintApplication(dAtA, i, uint64(len(*m.Version))) + if len(m.Version) > 0 { + i -= len(m.Version) + copy(dAtA[i:], m.Version) + i = encodeVarintApplication(dAtA, i, uint64(len(m.Version))) i-- dAtA[i] = 0x22 } - if m.ResourceName == nil { - return 0, github_com_gogo_protobuf_proto.NewRequiredNotSetError("resourceName") - } else { - i -= len(*m.ResourceName) - copy(dAtA[i:], *m.ResourceName) - i = encodeVarintApplication(dAtA, i, uint64(len(*m.ResourceName))) + if len(m.ResourceName) > 0 { + i -= len(m.ResourceName) + copy(dAtA[i:], m.ResourceName) + i = encodeVarintApplication(dAtA, i, uint64(len(m.ResourceName))) i-- dAtA[i] = 0x1a } - if m.Namespace != nil { - i -= len(*m.Namespace) - copy(dAtA[i:], *m.Namespace) - i = encodeVarintApplication(dAtA, i, uint64(len(*m.Namespace))) + if len(m.Namespace) > 0 { + i -= len(m.Namespace) + copy(dAtA[i:], m.Namespace) + i = encodeVarintApplication(dAtA, i, uint64(len(m.Namespace))) i-- dAtA[i] = 0x12 } - if m.Name == nil { - return 0, github_com_gogo_protobuf_proto.NewRequiredNotSetError("name") - } else { - i -= len(*m.Name) - copy(dAtA[i:], *m.Name) - i = encodeVarintApplication(dAtA, i, uint64(len(*m.Name))) + if len(m.Name) > 0 { + i -= len(m.Name) + copy(dAtA[i:], m.Name) + i = encodeVarintApplication(dAtA, i, uint64(len(m.Name))) i-- dAtA[i] = 0xa } @@ -5724,76 +5681,66 @@ func (m *ResourceActionRunRequest) MarshalToSizedBuffer(dAtA []byte) (int, error i -= len(m.XXX_unrecognized) copy(dAtA[i:], m.XXX_unrecognized) } - if m.Project != nil { - i -= len(*m.Project) - copy(dAtA[i:], *m.Project) - i = encodeVarintApplication(dAtA, i, uint64(len(*m.Project))) + if len(m.Project) > 0 { + i -= len(m.Project) + copy(dAtA[i:], m.Project) + i = encodeVarintApplication(dAtA, i, uint64(len(m.Project))) i-- dAtA[i] = 0x4a } - if m.AppNamespace != nil { - i -= len(*m.AppNamespace) - copy(dAtA[i:], *m.AppNamespace) - i = encodeVarintApplication(dAtA, i, uint64(len(*m.AppNamespace))) + if len(m.AppNamespace) > 0 { + i -= len(m.AppNamespace) + copy(dAtA[i:], m.AppNamespace) + i = encodeVarintApplication(dAtA, i, uint64(len(m.AppNamespace))) i-- dAtA[i] = 0x42 } - if m.Action == nil { - return 0, github_com_gogo_protobuf_proto.NewRequiredNotSetError("action") - } else { - i -= len(*m.Action) - copy(dAtA[i:], *m.Action) - i = encodeVarintApplication(dAtA, i, uint64(len(*m.Action))) + if len(m.Action) > 0 { + i -= len(m.Action) + copy(dAtA[i:], m.Action) + i = encodeVarintApplication(dAtA, i, uint64(len(m.Action))) i-- dAtA[i] = 0x3a } - if m.Kind == nil { - return 0, github_com_gogo_protobuf_proto.NewRequiredNotSetError("kind") - } else { - i -= len(*m.Kind) - copy(dAtA[i:], *m.Kind) - i = encodeVarintApplication(dAtA, i, uint64(len(*m.Kind))) + if len(m.Kind) > 0 { + i -= len(m.Kind) + copy(dAtA[i:], m.Kind) + i = encodeVarintApplication(dAtA, i, uint64(len(m.Kind))) i-- dAtA[i] = 0x32 } - if m.Group != nil { - i -= len(*m.Group) - copy(dAtA[i:], *m.Group) - i = encodeVarintApplication(dAtA, i, uint64(len(*m.Group))) + if len(m.Group) > 0 { + i -= len(m.Group) + copy(dAtA[i:], m.Group) + i = encodeVarintApplication(dAtA, i, uint64(len(m.Group))) i-- dAtA[i] = 0x2a } - if m.Version == nil { - return 0, github_com_gogo_protobuf_proto.NewRequiredNotSetError("version") - } else { - i -= len(*m.Version) - copy(dAtA[i:], *m.Version) - i = encodeVarintApplication(dAtA, i, uint64(len(*m.Version))) + if len(m.Version) > 0 { + i -= len(m.Version) + copy(dAtA[i:], m.Version) + i = encodeVarintApplication(dAtA, i, uint64(len(m.Version))) i-- dAtA[i] = 0x22 } - if m.ResourceName == nil { - return 0, github_com_gogo_protobuf_proto.NewRequiredNotSetError("resourceName") - } else { - i -= len(*m.ResourceName) - copy(dAtA[i:], *m.ResourceName) - i = encodeVarintApplication(dAtA, i, uint64(len(*m.ResourceName))) + if len(m.ResourceName) > 0 { + i -= len(m.ResourceName) + copy(dAtA[i:], m.ResourceName) + i = encodeVarintApplication(dAtA, i, uint64(len(m.ResourceName))) i-- dAtA[i] = 0x1a } - if m.Namespace != nil { - i -= len(*m.Namespace) - copy(dAtA[i:], *m.Namespace) - i = encodeVarintApplication(dAtA, i, uint64(len(*m.Namespace))) + if len(m.Namespace) > 0 { + i -= len(m.Namespace) + copy(dAtA[i:], m.Namespace) + i = encodeVarintApplication(dAtA, i, uint64(len(m.Namespace))) i-- dAtA[i] = 0x12 } - if m.Name == nil { - return 0, github_com_gogo_protobuf_proto.NewRequiredNotSetError("name") - } else { - i -= len(*m.Name) - copy(dAtA[i:], *m.Name) - i = encodeVarintApplication(dAtA, i, uint64(len(*m.Name))) + if len(m.Name) > 0 { + i -= len(m.Name) + copy(dAtA[i:], m.Name) + i = encodeVarintApplication(dAtA, i, uint64(len(m.Name))) i-- dAtA[i] = 0xa } @@ -5865,12 +5812,10 @@ func (m *ApplicationResourceResponse) MarshalToSizedBuffer(dAtA []byte) (int, er i -= len(m.XXX_unrecognized) copy(dAtA[i:], m.XXX_unrecognized) } - if m.Manifest == nil { - return 0, github_com_gogo_protobuf_proto.NewRequiredNotSetError("manifest") - } else { - i -= len(*m.Manifest) - copy(dAtA[i:], *m.Manifest) - i = encodeVarintApplication(dAtA, i, uint64(len(*m.Manifest))) + if len(m.Manifest) > 0 { + i -= len(m.Manifest) + copy(dAtA[i:], m.Manifest) + i = encodeVarintApplication(dAtA, i, uint64(len(m.Manifest))) i-- dAtA[i] = 0xa } @@ -5901,25 +5846,25 @@ func (m *ApplicationPodLogsQuery) MarshalToSizedBuffer(dAtA []byte) (int, error) i -= len(m.XXX_unrecognized) copy(dAtA[i:], m.XXX_unrecognized) } - if m.Project != nil { - i -= len(*m.Project) - copy(dAtA[i:], *m.Project) - i = encodeVarintApplication(dAtA, i, uint64(len(*m.Project))) + if len(m.Project) > 0 { + i -= len(m.Project) + copy(dAtA[i:], m.Project) + i = encodeVarintApplication(dAtA, i, uint64(len(m.Project))) i-- dAtA[i] = 0x1 i-- dAtA[i] = 0x82 } - if m.AppNamespace != nil { - i -= len(*m.AppNamespace) - copy(dAtA[i:], *m.AppNamespace) - i = encodeVarintApplication(dAtA, i, uint64(len(*m.AppNamespace))) + if len(m.AppNamespace) > 0 { + i -= len(m.AppNamespace) + copy(dAtA[i:], m.AppNamespace) + i = encodeVarintApplication(dAtA, i, uint64(len(m.AppNamespace))) i-- dAtA[i] = 0x7a } - if m.Previous != nil { + if m.Previous { i-- - if *m.Previous { + if m.Previous { dAtA[i] = 1 } else { dAtA[i] = 0 @@ -5927,44 +5872,44 @@ func (m *ApplicationPodLogsQuery) MarshalToSizedBuffer(dAtA []byte) (int, error) i-- dAtA[i] = 0x70 } - if m.ResourceName != nil { - i -= len(*m.ResourceName) - copy(dAtA[i:], *m.ResourceName) - i = encodeVarintApplication(dAtA, i, uint64(len(*m.ResourceName))) + if len(m.ResourceName) > 0 { + i -= len(m.ResourceName) + copy(dAtA[i:], m.ResourceName) + i = encodeVarintApplication(dAtA, i, uint64(len(m.ResourceName))) i-- dAtA[i] = 0x6a } - if m.Group != nil { - i -= len(*m.Group) - copy(dAtA[i:], *m.Group) - i = encodeVarintApplication(dAtA, i, uint64(len(*m.Group))) + if len(m.Group) > 0 { + i -= len(m.Group) + copy(dAtA[i:], m.Group) + i = encodeVarintApplication(dAtA, i, uint64(len(m.Group))) i-- dAtA[i] = 0x62 } - if m.Kind != nil { - i -= len(*m.Kind) - copy(dAtA[i:], *m.Kind) - i = encodeVarintApplication(dAtA, i, uint64(len(*m.Kind))) + if len(m.Kind) > 0 { + i -= len(m.Kind) + copy(dAtA[i:], m.Kind) + i = encodeVarintApplication(dAtA, i, uint64(len(m.Kind))) i-- dAtA[i] = 0x5a } - if m.Filter != nil { - i -= len(*m.Filter) - copy(dAtA[i:], *m.Filter) - i = encodeVarintApplication(dAtA, i, uint64(len(*m.Filter))) + if len(m.Filter) > 0 { + i -= len(m.Filter) + copy(dAtA[i:], m.Filter) + i = encodeVarintApplication(dAtA, i, uint64(len(m.Filter))) i-- dAtA[i] = 0x52 } - if m.UntilTime != nil { - i -= len(*m.UntilTime) - copy(dAtA[i:], *m.UntilTime) - i = encodeVarintApplication(dAtA, i, uint64(len(*m.UntilTime))) + if len(m.UntilTime) > 0 { + i -= len(m.UntilTime) + copy(dAtA[i:], m.UntilTime) + i = encodeVarintApplication(dAtA, i, uint64(len(m.UntilTime))) i-- dAtA[i] = 0x4a } - if m.Follow != nil { + if m.Follow { i-- - if *m.Follow { + if m.Follow { dAtA[i] = 1 } else { dAtA[i] = 0 @@ -5972,8 +5917,8 @@ func (m *ApplicationPodLogsQuery) MarshalToSizedBuffer(dAtA []byte) (int, error) i-- dAtA[i] = 0x40 } - if m.TailLines != nil { - i = encodeVarintApplication(dAtA, i, uint64(*m.TailLines)) + if m.TailLines != 0 { + i = encodeVarintApplication(dAtA, i, uint64(m.TailLines)) i-- dAtA[i] = 0x38 } @@ -5989,38 +5934,36 @@ func (m *ApplicationPodLogsQuery) MarshalToSizedBuffer(dAtA []byte) (int, error) i-- dAtA[i] = 0x32 } - if m.SinceSeconds != nil { - i = encodeVarintApplication(dAtA, i, uint64(*m.SinceSeconds)) + if m.SinceSeconds != 0 { + i = encodeVarintApplication(dAtA, i, uint64(m.SinceSeconds)) i-- dAtA[i] = 0x28 } - if m.Container != nil { - i -= len(*m.Container) - copy(dAtA[i:], *m.Container) - i = encodeVarintApplication(dAtA, i, uint64(len(*m.Container))) + if len(m.Container) > 0 { + i -= len(m.Container) + copy(dAtA[i:], m.Container) + i = encodeVarintApplication(dAtA, i, uint64(len(m.Container))) i-- dAtA[i] = 0x22 } - if m.PodName != nil { - i -= len(*m.PodName) - copy(dAtA[i:], *m.PodName) - i = encodeVarintApplication(dAtA, i, uint64(len(*m.PodName))) + if len(m.PodName) > 0 { + i -= len(m.PodName) + copy(dAtA[i:], m.PodName) + i = encodeVarintApplication(dAtA, i, uint64(len(m.PodName))) i-- dAtA[i] = 0x1a } - if m.Namespace != nil { - i -= len(*m.Namespace) - copy(dAtA[i:], *m.Namespace) - i = encodeVarintApplication(dAtA, i, uint64(len(*m.Namespace))) + if len(m.Namespace) > 0 { + i -= len(m.Namespace) + copy(dAtA[i:], m.Namespace) + i = encodeVarintApplication(dAtA, i, uint64(len(m.Namespace))) i-- dAtA[i] = 0x12 } - if m.Name == nil { - return 0, github_com_gogo_protobuf_proto.NewRequiredNotSetError("name") - } else { - i -= len(*m.Name) - copy(dAtA[i:], *m.Name) - i = encodeVarintApplication(dAtA, i, uint64(len(*m.Name))) + if len(m.Name) > 0 { + i -= len(m.Name) + copy(dAtA[i:], m.Name) + i = encodeVarintApplication(dAtA, i, uint64(len(m.Name))) i-- dAtA[i] = 0xa } @@ -6051,29 +5994,23 @@ func (m *LogEntry) MarshalToSizedBuffer(dAtA []byte) (int, error) { i -= len(m.XXX_unrecognized) copy(dAtA[i:], m.XXX_unrecognized) } - if m.PodName == nil { - return 0, github_com_gogo_protobuf_proto.NewRequiredNotSetError("podName") - } else { - i -= len(*m.PodName) - copy(dAtA[i:], *m.PodName) - i = encodeVarintApplication(dAtA, i, uint64(len(*m.PodName))) + if len(m.PodName) > 0 { + i -= len(m.PodName) + copy(dAtA[i:], m.PodName) + i = encodeVarintApplication(dAtA, i, uint64(len(m.PodName))) i-- dAtA[i] = 0x2a } - if m.TimeStampStr == nil { - return 0, github_com_gogo_protobuf_proto.NewRequiredNotSetError("timeStampStr") - } else { - i -= len(*m.TimeStampStr) - copy(dAtA[i:], *m.TimeStampStr) - i = encodeVarintApplication(dAtA, i, uint64(len(*m.TimeStampStr))) + if len(m.TimeStampStr) > 0 { + i -= len(m.TimeStampStr) + copy(dAtA[i:], m.TimeStampStr) + i = encodeVarintApplication(dAtA, i, uint64(len(m.TimeStampStr))) i-- dAtA[i] = 0x22 } - if m.Last == nil { - return 0, github_com_gogo_protobuf_proto.NewRequiredNotSetError("last") - } else { + if m.Last { i-- - if *m.Last { + if m.Last { dAtA[i] = 1 } else { dAtA[i] = 0 @@ -6081,9 +6018,7 @@ func (m *LogEntry) MarshalToSizedBuffer(dAtA []byte) (int, error) { i-- dAtA[i] = 0x18 } - if m.TimeStamp == nil { - return 0, github_com_gogo_protobuf_proto.NewRequiredNotSetError("timeStamp") - } else { + if m.TimeStamp != nil { { size, err := m.TimeStamp.MarshalToSizedBuffer(dAtA[:i]) if err != nil { @@ -6095,12 +6030,10 @@ func (m *LogEntry) MarshalToSizedBuffer(dAtA []byte) (int, error) { i-- dAtA[i] = 0x12 } - if m.Content == nil { - return 0, github_com_gogo_protobuf_proto.NewRequiredNotSetError("content") - } else { - i -= len(*m.Content) - copy(dAtA[i:], *m.Content) - i = encodeVarintApplication(dAtA, i, uint64(len(*m.Content))) + if len(m.Content) > 0 { + i -= len(m.Content) + copy(dAtA[i:], m.Content) + i = encodeVarintApplication(dAtA, i, uint64(len(m.Content))) i-- dAtA[i] = 0xa } @@ -6131,26 +6064,24 @@ func (m *OperationTerminateRequest) MarshalToSizedBuffer(dAtA []byte) (int, erro i -= len(m.XXX_unrecognized) copy(dAtA[i:], m.XXX_unrecognized) } - if m.Project != nil { - i -= len(*m.Project) - copy(dAtA[i:], *m.Project) - i = encodeVarintApplication(dAtA, i, uint64(len(*m.Project))) + if len(m.Project) > 0 { + i -= len(m.Project) + copy(dAtA[i:], m.Project) + i = encodeVarintApplication(dAtA, i, uint64(len(m.Project))) i-- dAtA[i] = 0x1a } - if m.AppNamespace != nil { - i -= len(*m.AppNamespace) - copy(dAtA[i:], *m.AppNamespace) - i = encodeVarintApplication(dAtA, i, uint64(len(*m.AppNamespace))) + if len(m.AppNamespace) > 0 { + i -= len(m.AppNamespace) + copy(dAtA[i:], m.AppNamespace) + i = encodeVarintApplication(dAtA, i, uint64(len(m.AppNamespace))) i-- dAtA[i] = 0x12 } - if m.Name == nil { - return 0, github_com_gogo_protobuf_proto.NewRequiredNotSetError("name") - } else { - i -= len(*m.Name) - copy(dAtA[i:], *m.Name) - i = encodeVarintApplication(dAtA, i, uint64(len(*m.Name))) + if len(m.Name) > 0 { + i -= len(m.Name) + copy(dAtA[i:], m.Name) + i = encodeVarintApplication(dAtA, i, uint64(len(m.Name))) i-- dAtA[i] = 0xa } @@ -6181,26 +6112,24 @@ func (m *ApplicationSyncWindowsQuery) MarshalToSizedBuffer(dAtA []byte) (int, er i -= len(m.XXX_unrecognized) copy(dAtA[i:], m.XXX_unrecognized) } - if m.Project != nil { - i -= len(*m.Project) - copy(dAtA[i:], *m.Project) - i = encodeVarintApplication(dAtA, i, uint64(len(*m.Project))) + if len(m.Project) > 0 { + i -= len(m.Project) + copy(dAtA[i:], m.Project) + i = encodeVarintApplication(dAtA, i, uint64(len(m.Project))) i-- dAtA[i] = 0x1a } - if m.AppNamespace != nil { - i -= len(*m.AppNamespace) - copy(dAtA[i:], *m.AppNamespace) - i = encodeVarintApplication(dAtA, i, uint64(len(*m.AppNamespace))) + if len(m.AppNamespace) > 0 { + i -= len(m.AppNamespace) + copy(dAtA[i:], m.AppNamespace) + i = encodeVarintApplication(dAtA, i, uint64(len(m.AppNamespace))) i-- dAtA[i] = 0x12 } - if m.Name == nil { - return 0, github_com_gogo_protobuf_proto.NewRequiredNotSetError("name") - } else { - i -= len(*m.Name) - copy(dAtA[i:], *m.Name) - i = encodeVarintApplication(dAtA, i, uint64(len(*m.Name))) + if len(m.Name) > 0 { + i -= len(m.Name) + copy(dAtA[i:], m.Name) + i = encodeVarintApplication(dAtA, i, uint64(len(m.Name))) i-- dAtA[i] = 0xa } @@ -6231,11 +6160,9 @@ func (m *ApplicationSyncWindowsResponse) MarshalToSizedBuffer(dAtA []byte) (int, i -= len(m.XXX_unrecognized) copy(dAtA[i:], m.XXX_unrecognized) } - if m.CanSync == nil { - return 0, github_com_gogo_protobuf_proto.NewRequiredNotSetError("canSync") - } else { + if m.CanSync { i-- - if *m.CanSync { + if m.CanSync { dAtA[i] = 1 } else { dAtA[i] = 0 @@ -6298,11 +6225,9 @@ func (m *ApplicationSyncWindow) MarshalToSizedBuffer(dAtA []byte) (int, error) { i -= len(m.XXX_unrecognized) copy(dAtA[i:], m.XXX_unrecognized) } - if m.ManualSync == nil { - return 0, github_com_gogo_protobuf_proto.NewRequiredNotSetError("manualSync") - } else { + if m.ManualSync { i-- - if *m.ManualSync { + if m.ManualSync { dAtA[i] = 1 } else { dAtA[i] = 0 @@ -6310,30 +6235,24 @@ func (m *ApplicationSyncWindow) MarshalToSizedBuffer(dAtA []byte) (int, error) { i-- dAtA[i] = 0x20 } - if m.Duration == nil { - return 0, github_com_gogo_protobuf_proto.NewRequiredNotSetError("duration") - } else { - i -= len(*m.Duration) - copy(dAtA[i:], *m.Duration) - i = encodeVarintApplication(dAtA, i, uint64(len(*m.Duration))) + if len(m.Duration) > 0 { + i -= len(m.Duration) + copy(dAtA[i:], m.Duration) + i = encodeVarintApplication(dAtA, i, uint64(len(m.Duration))) i-- dAtA[i] = 0x1a } - if m.Schedule == nil { - return 0, github_com_gogo_protobuf_proto.NewRequiredNotSetError("schedule") - } else { - i -= len(*m.Schedule) - copy(dAtA[i:], *m.Schedule) - i = encodeVarintApplication(dAtA, i, uint64(len(*m.Schedule))) + if len(m.Schedule) > 0 { + i -= len(m.Schedule) + copy(dAtA[i:], m.Schedule) + i = encodeVarintApplication(dAtA, i, uint64(len(m.Schedule))) i-- dAtA[i] = 0x12 } - if m.Kind == nil { - return 0, github_com_gogo_protobuf_proto.NewRequiredNotSetError("kind") - } else { - i -= len(*m.Kind) - copy(dAtA[i:], *m.Kind) - i = encodeVarintApplication(dAtA, i, uint64(len(*m.Kind))) + if len(m.Kind) > 0 { + i -= len(m.Kind) + copy(dAtA[i:], m.Kind) + i = encodeVarintApplication(dAtA, i, uint64(len(m.Kind))) i-- dAtA[i] = 0xa } @@ -6391,61 +6310,59 @@ func (m *ResourcesQuery) MarshalToSizedBuffer(dAtA []byte) (int, error) { i -= len(m.XXX_unrecognized) copy(dAtA[i:], m.XXX_unrecognized) } - if m.Project != nil { - i -= len(*m.Project) - copy(dAtA[i:], *m.Project) - i = encodeVarintApplication(dAtA, i, uint64(len(*m.Project))) + if len(m.Project) > 0 { + i -= len(m.Project) + copy(dAtA[i:], m.Project) + i = encodeVarintApplication(dAtA, i, uint64(len(m.Project))) i-- dAtA[i] = 0x42 } - if m.AppNamespace != nil { - i -= len(*m.AppNamespace) - copy(dAtA[i:], *m.AppNamespace) - i = encodeVarintApplication(dAtA, i, uint64(len(*m.AppNamespace))) + if len(m.AppNamespace) > 0 { + i -= len(m.AppNamespace) + copy(dAtA[i:], m.AppNamespace) + i = encodeVarintApplication(dAtA, i, uint64(len(m.AppNamespace))) i-- dAtA[i] = 0x3a } - if m.Kind != nil { - i -= len(*m.Kind) - copy(dAtA[i:], *m.Kind) - i = encodeVarintApplication(dAtA, i, uint64(len(*m.Kind))) + if len(m.Kind) > 0 { + i -= len(m.Kind) + copy(dAtA[i:], m.Kind) + i = encodeVarintApplication(dAtA, i, uint64(len(m.Kind))) i-- dAtA[i] = 0x32 } - if m.Group != nil { - i -= len(*m.Group) - copy(dAtA[i:], *m.Group) - i = encodeVarintApplication(dAtA, i, uint64(len(*m.Group))) + if len(m.Group) > 0 { + i -= len(m.Group) + copy(dAtA[i:], m.Group) + i = encodeVarintApplication(dAtA, i, uint64(len(m.Group))) i-- dAtA[i] = 0x2a } - if m.Version != nil { - i -= len(*m.Version) - copy(dAtA[i:], *m.Version) - i = encodeVarintApplication(dAtA, i, uint64(len(*m.Version))) + if len(m.Version) > 0 { + i -= len(m.Version) + copy(dAtA[i:], m.Version) + i = encodeVarintApplication(dAtA, i, uint64(len(m.Version))) i-- dAtA[i] = 0x22 } - if m.Name != nil { - i -= len(*m.Name) - copy(dAtA[i:], *m.Name) - i = encodeVarintApplication(dAtA, i, uint64(len(*m.Name))) + if len(m.Name) > 0 { + i -= len(m.Name) + copy(dAtA[i:], m.Name) + i = encodeVarintApplication(dAtA, i, uint64(len(m.Name))) i-- dAtA[i] = 0x1a } - if m.Namespace != nil { - i -= len(*m.Namespace) - copy(dAtA[i:], *m.Namespace) - i = encodeVarintApplication(dAtA, i, uint64(len(*m.Namespace))) + if len(m.Namespace) > 0 { + i -= len(m.Namespace) + copy(dAtA[i:], m.Namespace) + i = encodeVarintApplication(dAtA, i, uint64(len(m.Namespace))) i-- dAtA[i] = 0x12 } - if m.ApplicationName == nil { - return 0, github_com_gogo_protobuf_proto.NewRequiredNotSetError("applicationName") - } else { - i -= len(*m.ApplicationName) - copy(dAtA[i:], *m.ApplicationName) - i = encodeVarintApplication(dAtA, i, uint64(len(*m.ApplicationName))) + if len(m.ApplicationName) > 0 { + i -= len(m.ApplicationName) + copy(dAtA[i:], m.ApplicationName) + i = encodeVarintApplication(dAtA, i, uint64(len(m.ApplicationName))) i-- dAtA[i] = 0xa } @@ -6517,35 +6434,31 @@ func (m *LinkInfo) MarshalToSizedBuffer(dAtA []byte) (int, error) { i -= len(m.XXX_unrecognized) copy(dAtA[i:], m.XXX_unrecognized) } - if m.IconClass != nil { - i -= len(*m.IconClass) - copy(dAtA[i:], *m.IconClass) - i = encodeVarintApplication(dAtA, i, uint64(len(*m.IconClass))) + if len(m.IconClass) > 0 { + i -= len(m.IconClass) + copy(dAtA[i:], m.IconClass) + i = encodeVarintApplication(dAtA, i, uint64(len(m.IconClass))) i-- dAtA[i] = 0x22 } - if m.Description != nil { - i -= len(*m.Description) - copy(dAtA[i:], *m.Description) - i = encodeVarintApplication(dAtA, i, uint64(len(*m.Description))) + if len(m.Description) > 0 { + i -= len(m.Description) + copy(dAtA[i:], m.Description) + i = encodeVarintApplication(dAtA, i, uint64(len(m.Description))) i-- dAtA[i] = 0x1a } - if m.Url == nil { - return 0, github_com_gogo_protobuf_proto.NewRequiredNotSetError("url") - } else { - i -= len(*m.Url) - copy(dAtA[i:], *m.Url) - i = encodeVarintApplication(dAtA, i, uint64(len(*m.Url))) + if len(m.Url) > 0 { + i -= len(m.Url) + copy(dAtA[i:], m.Url) + i = encodeVarintApplication(dAtA, i, uint64(len(m.Url))) i-- dAtA[i] = 0x12 } - if m.Title == nil { - return 0, github_com_gogo_protobuf_proto.NewRequiredNotSetError("title") - } else { - i -= len(*m.Title) - copy(dAtA[i:], *m.Title) - i = encodeVarintApplication(dAtA, i, uint64(len(*m.Title))) + if len(m.Title) > 0 { + i -= len(m.Title) + copy(dAtA[i:], m.Title) + i = encodeVarintApplication(dAtA, i, uint64(len(m.Title))) i-- dAtA[i] = 0xa } @@ -6617,26 +6530,24 @@ func (m *ListAppLinksRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { i -= len(m.XXX_unrecognized) copy(dAtA[i:], m.XXX_unrecognized) } - if m.Project != nil { - i -= len(*m.Project) - copy(dAtA[i:], *m.Project) - i = encodeVarintApplication(dAtA, i, uint64(len(*m.Project))) + if len(m.Project) > 0 { + i -= len(m.Project) + copy(dAtA[i:], m.Project) + i = encodeVarintApplication(dAtA, i, uint64(len(m.Project))) i-- dAtA[i] = 0x22 } - if m.Namespace != nil { - i -= len(*m.Namespace) - copy(dAtA[i:], *m.Namespace) - i = encodeVarintApplication(dAtA, i, uint64(len(*m.Namespace))) + if len(m.Namespace) > 0 { + i -= len(m.Namespace) + copy(dAtA[i:], m.Namespace) + i = encodeVarintApplication(dAtA, i, uint64(len(m.Namespace))) i-- dAtA[i] = 0x1a } - if m.Name == nil { - return 0, github_com_gogo_protobuf_proto.NewRequiredNotSetError("name") - } else { - i -= len(*m.Name) - copy(dAtA[i:], *m.Name) - i = encodeVarintApplication(dAtA, i, uint64(len(*m.Name))) + if len(m.Name) > 0 { + i -= len(m.Name) + copy(dAtA[i:], m.Name) + i = encodeVarintApplication(dAtA, i, uint64(len(m.Name))) i-- dAtA[i] = 0xa } @@ -6660,12 +6571,12 @@ func (m *ApplicationQuery) Size() (n int) { } var l int _ = l - if m.Name != nil { - l = len(*m.Name) + l = len(m.Name) + if l > 0 { n += 1 + l + sovApplication(uint64(l)) } - if m.Refresh != nil { - l = len(*m.Refresh) + l = len(m.Refresh) + if l > 0 { n += 1 + l + sovApplication(uint64(l)) } if len(m.Projects) > 0 { @@ -6674,20 +6585,20 @@ func (m *ApplicationQuery) Size() (n int) { n += 1 + l + sovApplication(uint64(l)) } } - if m.ResourceVersion != nil { - l = len(*m.ResourceVersion) + l = len(m.ResourceVersion) + if l > 0 { n += 1 + l + sovApplication(uint64(l)) } - if m.Selector != nil { - l = len(*m.Selector) + l = len(m.Selector) + if l > 0 { n += 1 + l + sovApplication(uint64(l)) } - if m.Repo != nil { - l = len(*m.Repo) + l = len(m.Repo) + if l > 0 { n += 1 + l + sovApplication(uint64(l)) } - if m.AppNamespace != nil { - l = len(*m.AppNamespace) + l = len(m.AppNamespace) + if l > 0 { n += 1 + l + sovApplication(uint64(l)) } if len(m.Project) > 0 { @@ -6708,12 +6619,12 @@ func (m *NodeQuery) Size() (n int) { } var l int _ = l - if m.Name != nil { - l = len(*m.Name) + l = len(m.Name) + if l > 0 { n += 1 + l + sovApplication(uint64(l)) } - if m.AppNamespace != nil { - l = len(*m.AppNamespace) + l = len(m.AppNamespace) + if l > 0 { n += 1 + l + sovApplication(uint64(l)) } if m.XXX_unrecognized != nil { @@ -6728,27 +6639,27 @@ func (m *RevisionMetadataQuery) Size() (n int) { } var l int _ = l - if m.Name != nil { - l = len(*m.Name) + l = len(m.Name) + if l > 0 { n += 1 + l + sovApplication(uint64(l)) } - if m.Revision != nil { - l = len(*m.Revision) + l = len(m.Revision) + if l > 0 { n += 1 + l + sovApplication(uint64(l)) } - if m.AppNamespace != nil { - l = len(*m.AppNamespace) + l = len(m.AppNamespace) + if l > 0 { n += 1 + l + sovApplication(uint64(l)) } - if m.Project != nil { - l = len(*m.Project) + l = len(m.Project) + if l > 0 { n += 1 + l + sovApplication(uint64(l)) } - if m.SourceIndex != nil { - n += 1 + sovApplication(uint64(*m.SourceIndex)) + if m.SourceIndex != 0 { + n += 1 + sovApplication(uint64(m.SourceIndex)) } - if m.VersionId != nil { - n += 1 + sovApplication(uint64(*m.VersionId)) + if m.VersionId != 0 { + n += 1 + sovApplication(uint64(m.VersionId)) } if m.XXX_unrecognized != nil { n += len(m.XXX_unrecognized) @@ -6762,28 +6673,28 @@ func (m *ApplicationResourceEventsQuery) Size() (n int) { } var l int _ = l - if m.Name != nil { - l = len(*m.Name) + l = len(m.Name) + if l > 0 { n += 1 + l + sovApplication(uint64(l)) } - if m.ResourceNamespace != nil { - l = len(*m.ResourceNamespace) + l = len(m.ResourceNamespace) + if l > 0 { n += 1 + l + sovApplication(uint64(l)) } - if m.ResourceName != nil { - l = len(*m.ResourceName) + l = len(m.ResourceName) + if l > 0 { n += 1 + l + sovApplication(uint64(l)) } - if m.ResourceUID != nil { - l = len(*m.ResourceUID) + l = len(m.ResourceUID) + if l > 0 { n += 1 + l + sovApplication(uint64(l)) } - if m.AppNamespace != nil { - l = len(*m.AppNamespace) + l = len(m.AppNamespace) + if l > 0 { n += 1 + l + sovApplication(uint64(l)) } - if m.Project != nil { - l = len(*m.Project) + l = len(m.Project) + if l > 0 { n += 1 + l + sovApplication(uint64(l)) } if m.XXX_unrecognized != nil { @@ -6798,26 +6709,28 @@ func (m *ApplicationManifestQuery) Size() (n int) { } var l int _ = l - if m.Name != nil { - l = len(*m.Name) + l = len(m.Name) + if l > 0 { n += 1 + l + sovApplication(uint64(l)) } - if m.Revision != nil { - l = len(*m.Revision) + l = len(m.Revision) + if l > 0 { n += 1 + l + sovApplication(uint64(l)) } - if m.AppNamespace != nil { - l = len(*m.AppNamespace) + l = len(m.AppNamespace) + if l > 0 { n += 1 + l + sovApplication(uint64(l)) } - if m.Project != nil { - l = len(*m.Project) + l = len(m.Project) + if l > 0 { n += 1 + l + sovApplication(uint64(l)) } if len(m.SourcePositions) > 0 { + l = 0 for _, e := range m.SourcePositions { - n += 1 + sovApplication(uint64(e)) + l += sovApplication(uint64(e)) } + n += 1 + sovApplication(uint64(l)) + l } if len(m.Revisions) > 0 { for _, s := range m.Revisions { @@ -6837,8 +6750,8 @@ func (m *FileChunk) Size() (n int) { } var l int _ = l - if m.Chunk != nil { - l = len(m.Chunk) + l = len(m.Chunk) + if l > 0 { n += 1 + l + sovApplication(uint64(l)) } if m.XXX_unrecognized != nil { @@ -6853,20 +6766,20 @@ func (m *ApplicationManifestQueryWithFiles) Size() (n int) { } var l int _ = l - if m.Name != nil { - l = len(*m.Name) + l = len(m.Name) + if l > 0 { n += 1 + l + sovApplication(uint64(l)) } - if m.Checksum != nil { - l = len(*m.Checksum) + l = len(m.Checksum) + if l > 0 { n += 1 + l + sovApplication(uint64(l)) } - if m.AppNamespace != nil { - l = len(*m.AppNamespace) + l = len(m.AppNamespace) + if l > 0 { n += 1 + l + sovApplication(uint64(l)) } - if m.Project != nil { - l = len(*m.Project) + l = len(m.Project) + if l > 0 { n += 1 + l + sovApplication(uint64(l)) } if m.XXX_unrecognized != nil { @@ -6936,10 +6849,10 @@ func (m *ApplicationCreateRequest) Size() (n int) { l = m.Application.Size() n += 1 + l + sovApplication(uint64(l)) } - if m.Upsert != nil { + if m.Upsert { n += 2 } - if m.Validate != nil { + if m.Validate { n += 2 } if m.XXX_unrecognized != nil { @@ -6958,11 +6871,11 @@ func (m *ApplicationUpdateRequest) Size() (n int) { l = m.Application.Size() n += 1 + l + sovApplication(uint64(l)) } - if m.Validate != nil { + if m.Validate { n += 2 } - if m.Project != nil { - l = len(*m.Project) + l = len(m.Project) + if l > 0 { n += 1 + l + sovApplication(uint64(l)) } if m.XXX_unrecognized != nil { @@ -6977,23 +6890,23 @@ func (m *ApplicationDeleteRequest) Size() (n int) { } var l int _ = l - if m.Name != nil { - l = len(*m.Name) + l = len(m.Name) + if l > 0 { n += 1 + l + sovApplication(uint64(l)) } - if m.Cascade != nil { + if m.Cascade { n += 2 } - if m.PropagationPolicy != nil { - l = len(*m.PropagationPolicy) + l = len(m.PropagationPolicy) + if l > 0 { n += 1 + l + sovApplication(uint64(l)) } - if m.AppNamespace != nil { - l = len(*m.AppNamespace) + l = len(m.AppNamespace) + if l > 0 { n += 1 + l + sovApplication(uint64(l)) } - if m.Project != nil { - l = len(*m.Project) + l = len(m.Project) + if l > 0 { n += 1 + l + sovApplication(uint64(l)) } if m.XXX_unrecognized != nil { @@ -7026,18 +6939,18 @@ func (m *ApplicationSyncRequest) Size() (n int) { } var l int _ = l - if m.Name != nil { - l = len(*m.Name) + l = len(m.Name) + if l > 0 { n += 1 + l + sovApplication(uint64(l)) } - if m.Revision != nil { - l = len(*m.Revision) + l = len(m.Revision) + if l > 0 { n += 1 + l + sovApplication(uint64(l)) } - if m.DryRun != nil { + if m.DryRun { n += 2 } - if m.Prune != nil { + if m.Prune { n += 2 } if m.Strategy != nil { @@ -7070,18 +6983,20 @@ func (m *ApplicationSyncRequest) Size() (n int) { l = m.SyncOptions.Size() n += 1 + l + sovApplication(uint64(l)) } - if m.AppNamespace != nil { - l = len(*m.AppNamespace) + l = len(m.AppNamespace) + if l > 0 { n += 1 + l + sovApplication(uint64(l)) } - if m.Project != nil { - l = len(*m.Project) + l = len(m.Project) + if l > 0 { n += 1 + l + sovApplication(uint64(l)) } if len(m.SourcePositions) > 0 { + l = 0 for _, e := range m.SourcePositions { - n += 1 + sovApplication(uint64(e)) + l += sovApplication(uint64(e)) } + n += 1 + sovApplication(uint64(l)) + l } if len(m.Revisions) > 0 { for _, s := range m.Revisions { @@ -7101,23 +7016,23 @@ func (m *ApplicationUpdateSpecRequest) Size() (n int) { } var l int _ = l - if m.Name != nil { - l = len(*m.Name) + l = len(m.Name) + if l > 0 { n += 1 + l + sovApplication(uint64(l)) } if m.Spec != nil { l = m.Spec.Size() n += 1 + l + sovApplication(uint64(l)) } - if m.Validate != nil { + if m.Validate { n += 2 } - if m.AppNamespace != nil { - l = len(*m.AppNamespace) + l = len(m.AppNamespace) + if l > 0 { n += 1 + l + sovApplication(uint64(l)) } - if m.Project != nil { - l = len(*m.Project) + l = len(m.Project) + if l > 0 { n += 1 + l + sovApplication(uint64(l)) } if m.XXX_unrecognized != nil { @@ -7132,24 +7047,24 @@ func (m *ApplicationPatchRequest) Size() (n int) { } var l int _ = l - if m.Name != nil { - l = len(*m.Name) + l = len(m.Name) + if l > 0 { n += 1 + l + sovApplication(uint64(l)) } - if m.Patch != nil { - l = len(*m.Patch) + l = len(m.Patch) + if l > 0 { n += 1 + l + sovApplication(uint64(l)) } - if m.PatchType != nil { - l = len(*m.PatchType) + l = len(m.PatchType) + if l > 0 { n += 1 + l + sovApplication(uint64(l)) } - if m.AppNamespace != nil { - l = len(*m.AppNamespace) + l = len(m.AppNamespace) + if l > 0 { n += 1 + l + sovApplication(uint64(l)) } - if m.Project != nil { - l = len(*m.Project) + l = len(m.Project) + if l > 0 { n += 1 + l + sovApplication(uint64(l)) } if m.XXX_unrecognized != nil { @@ -7164,25 +7079,25 @@ func (m *ApplicationRollbackRequest) Size() (n int) { } var l int _ = l - if m.Name != nil { - l = len(*m.Name) + l = len(m.Name) + if l > 0 { n += 1 + l + sovApplication(uint64(l)) } - if m.Id != nil { - n += 1 + sovApplication(uint64(*m.Id)) + if m.Id != 0 { + n += 1 + sovApplication(uint64(m.Id)) } - if m.DryRun != nil { + if m.DryRun { n += 2 } - if m.Prune != nil { + if m.Prune { n += 2 } - if m.AppNamespace != nil { - l = len(*m.AppNamespace) + l = len(m.AppNamespace) + if l > 0 { n += 1 + l + sovApplication(uint64(l)) } - if m.Project != nil { - l = len(*m.Project) + l = len(m.Project) + if l > 0 { n += 1 + l + sovApplication(uint64(l)) } if m.XXX_unrecognized != nil { @@ -7197,36 +7112,36 @@ func (m *ApplicationResourceRequest) Size() (n int) { } var l int _ = l - if m.Name != nil { - l = len(*m.Name) + l = len(m.Name) + if l > 0 { n += 1 + l + sovApplication(uint64(l)) } - if m.Namespace != nil { - l = len(*m.Namespace) + l = len(m.Namespace) + if l > 0 { n += 1 + l + sovApplication(uint64(l)) } - if m.ResourceName != nil { - l = len(*m.ResourceName) + l = len(m.ResourceName) + if l > 0 { n += 1 + l + sovApplication(uint64(l)) } - if m.Version != nil { - l = len(*m.Version) + l = len(m.Version) + if l > 0 { n += 1 + l + sovApplication(uint64(l)) } - if m.Group != nil { - l = len(*m.Group) + l = len(m.Group) + if l > 0 { n += 1 + l + sovApplication(uint64(l)) } - if m.Kind != nil { - l = len(*m.Kind) + l = len(m.Kind) + if l > 0 { n += 1 + l + sovApplication(uint64(l)) } - if m.AppNamespace != nil { - l = len(*m.AppNamespace) + l = len(m.AppNamespace) + if l > 0 { n += 1 + l + sovApplication(uint64(l)) } - if m.Project != nil { - l = len(*m.Project) + l = len(m.Project) + if l > 0 { n += 1 + l + sovApplication(uint64(l)) } if m.XXX_unrecognized != nil { @@ -7241,44 +7156,44 @@ func (m *ApplicationResourcePatchRequest) Size() (n int) { } var l int _ = l - if m.Name != nil { - l = len(*m.Name) + l = len(m.Name) + if l > 0 { n += 1 + l + sovApplication(uint64(l)) } - if m.Namespace != nil { - l = len(*m.Namespace) + l = len(m.Namespace) + if l > 0 { n += 1 + l + sovApplication(uint64(l)) } - if m.ResourceName != nil { - l = len(*m.ResourceName) + l = len(m.ResourceName) + if l > 0 { n += 1 + l + sovApplication(uint64(l)) } - if m.Version != nil { - l = len(*m.Version) + l = len(m.Version) + if l > 0 { n += 1 + l + sovApplication(uint64(l)) } - if m.Group != nil { - l = len(*m.Group) + l = len(m.Group) + if l > 0 { n += 1 + l + sovApplication(uint64(l)) } - if m.Kind != nil { - l = len(*m.Kind) + l = len(m.Kind) + if l > 0 { n += 1 + l + sovApplication(uint64(l)) } - if m.Patch != nil { - l = len(*m.Patch) + l = len(m.Patch) + if l > 0 { n += 1 + l + sovApplication(uint64(l)) } - if m.PatchType != nil { - l = len(*m.PatchType) + l = len(m.PatchType) + if l > 0 { n += 1 + l + sovApplication(uint64(l)) } - if m.AppNamespace != nil { - l = len(*m.AppNamespace) + l = len(m.AppNamespace) + if l > 0 { n += 1 + l + sovApplication(uint64(l)) } - if m.Project != nil { - l = len(*m.Project) + l = len(m.Project) + if l > 0 { n += 1 + l + sovApplication(uint64(l)) } if m.XXX_unrecognized != nil { @@ -7293,42 +7208,42 @@ func (m *ApplicationResourceDeleteRequest) Size() (n int) { } var l int _ = l - if m.Name != nil { - l = len(*m.Name) + l = len(m.Name) + if l > 0 { n += 1 + l + sovApplication(uint64(l)) } - if m.Namespace != nil { - l = len(*m.Namespace) + l = len(m.Namespace) + if l > 0 { n += 1 + l + sovApplication(uint64(l)) } - if m.ResourceName != nil { - l = len(*m.ResourceName) + l = len(m.ResourceName) + if l > 0 { n += 1 + l + sovApplication(uint64(l)) } - if m.Version != nil { - l = len(*m.Version) + l = len(m.Version) + if l > 0 { n += 1 + l + sovApplication(uint64(l)) } - if m.Group != nil { - l = len(*m.Group) + l = len(m.Group) + if l > 0 { n += 1 + l + sovApplication(uint64(l)) } - if m.Kind != nil { - l = len(*m.Kind) + l = len(m.Kind) + if l > 0 { n += 1 + l + sovApplication(uint64(l)) } - if m.Force != nil { + if m.Force { n += 2 } - if m.Orphan != nil { + if m.Orphan { n += 2 } - if m.AppNamespace != nil { - l = len(*m.AppNamespace) + l = len(m.AppNamespace) + if l > 0 { n += 1 + l + sovApplication(uint64(l)) } - if m.Project != nil { - l = len(*m.Project) + l = len(m.Project) + if l > 0 { n += 1 + l + sovApplication(uint64(l)) } if m.XXX_unrecognized != nil { @@ -7343,40 +7258,40 @@ func (m *ResourceActionRunRequest) Size() (n int) { } var l int _ = l - if m.Name != nil { - l = len(*m.Name) + l = len(m.Name) + if l > 0 { n += 1 + l + sovApplication(uint64(l)) } - if m.Namespace != nil { - l = len(*m.Namespace) + l = len(m.Namespace) + if l > 0 { n += 1 + l + sovApplication(uint64(l)) } - if m.ResourceName != nil { - l = len(*m.ResourceName) + l = len(m.ResourceName) + if l > 0 { n += 1 + l + sovApplication(uint64(l)) } - if m.Version != nil { - l = len(*m.Version) + l = len(m.Version) + if l > 0 { n += 1 + l + sovApplication(uint64(l)) } - if m.Group != nil { - l = len(*m.Group) + l = len(m.Group) + if l > 0 { n += 1 + l + sovApplication(uint64(l)) } - if m.Kind != nil { - l = len(*m.Kind) + l = len(m.Kind) + if l > 0 { n += 1 + l + sovApplication(uint64(l)) } - if m.Action != nil { - l = len(*m.Action) + l = len(m.Action) + if l > 0 { n += 1 + l + sovApplication(uint64(l)) } - if m.AppNamespace != nil { - l = len(*m.AppNamespace) + l = len(m.AppNamespace) + if l > 0 { n += 1 + l + sovApplication(uint64(l)) } - if m.Project != nil { - l = len(*m.Project) + l = len(m.Project) + if l > 0 { n += 1 + l + sovApplication(uint64(l)) } if m.XXX_unrecognized != nil { @@ -7409,8 +7324,8 @@ func (m *ApplicationResourceResponse) Size() (n int) { } var l int _ = l - if m.Manifest != nil { - l = len(*m.Manifest) + l = len(m.Manifest) + if l > 0 { n += 1 + l + sovApplication(uint64(l)) } if m.XXX_unrecognized != nil { @@ -7425,64 +7340,64 @@ func (m *ApplicationPodLogsQuery) Size() (n int) { } var l int _ = l - if m.Name != nil { - l = len(*m.Name) + l = len(m.Name) + if l > 0 { n += 1 + l + sovApplication(uint64(l)) } - if m.Namespace != nil { - l = len(*m.Namespace) + l = len(m.Namespace) + if l > 0 { n += 1 + l + sovApplication(uint64(l)) } - if m.PodName != nil { - l = len(*m.PodName) + l = len(m.PodName) + if l > 0 { n += 1 + l + sovApplication(uint64(l)) } - if m.Container != nil { - l = len(*m.Container) + l = len(m.Container) + if l > 0 { n += 1 + l + sovApplication(uint64(l)) } - if m.SinceSeconds != nil { - n += 1 + sovApplication(uint64(*m.SinceSeconds)) + if m.SinceSeconds != 0 { + n += 1 + sovApplication(uint64(m.SinceSeconds)) } if m.SinceTime != nil { l = m.SinceTime.Size() n += 1 + l + sovApplication(uint64(l)) } - if m.TailLines != nil { - n += 1 + sovApplication(uint64(*m.TailLines)) + if m.TailLines != 0 { + n += 1 + sovApplication(uint64(m.TailLines)) } - if m.Follow != nil { + if m.Follow { n += 2 } - if m.UntilTime != nil { - l = len(*m.UntilTime) + l = len(m.UntilTime) + if l > 0 { n += 1 + l + sovApplication(uint64(l)) } - if m.Filter != nil { - l = len(*m.Filter) + l = len(m.Filter) + if l > 0 { n += 1 + l + sovApplication(uint64(l)) } - if m.Kind != nil { - l = len(*m.Kind) + l = len(m.Kind) + if l > 0 { n += 1 + l + sovApplication(uint64(l)) } - if m.Group != nil { - l = len(*m.Group) + l = len(m.Group) + if l > 0 { n += 1 + l + sovApplication(uint64(l)) } - if m.ResourceName != nil { - l = len(*m.ResourceName) + l = len(m.ResourceName) + if l > 0 { n += 1 + l + sovApplication(uint64(l)) } - if m.Previous != nil { + if m.Previous { n += 2 } - if m.AppNamespace != nil { - l = len(*m.AppNamespace) + l = len(m.AppNamespace) + if l > 0 { n += 1 + l + sovApplication(uint64(l)) } - if m.Project != nil { - l = len(*m.Project) + l = len(m.Project) + if l > 0 { n += 2 + l + sovApplication(uint64(l)) } if m.XXX_unrecognized != nil { @@ -7497,23 +7412,23 @@ func (m *LogEntry) Size() (n int) { } var l int _ = l - if m.Content != nil { - l = len(*m.Content) + l = len(m.Content) + if l > 0 { n += 1 + l + sovApplication(uint64(l)) } if m.TimeStamp != nil { l = m.TimeStamp.Size() n += 1 + l + sovApplication(uint64(l)) } - if m.Last != nil { + if m.Last { n += 2 } - if m.TimeStampStr != nil { - l = len(*m.TimeStampStr) + l = len(m.TimeStampStr) + if l > 0 { n += 1 + l + sovApplication(uint64(l)) } - if m.PodName != nil { - l = len(*m.PodName) + l = len(m.PodName) + if l > 0 { n += 1 + l + sovApplication(uint64(l)) } if m.XXX_unrecognized != nil { @@ -7528,16 +7443,16 @@ func (m *OperationTerminateRequest) Size() (n int) { } var l int _ = l - if m.Name != nil { - l = len(*m.Name) + l = len(m.Name) + if l > 0 { n += 1 + l + sovApplication(uint64(l)) } - if m.AppNamespace != nil { - l = len(*m.AppNamespace) + l = len(m.AppNamespace) + if l > 0 { n += 1 + l + sovApplication(uint64(l)) } - if m.Project != nil { - l = len(*m.Project) + l = len(m.Project) + if l > 0 { n += 1 + l + sovApplication(uint64(l)) } if m.XXX_unrecognized != nil { @@ -7552,16 +7467,16 @@ func (m *ApplicationSyncWindowsQuery) Size() (n int) { } var l int _ = l - if m.Name != nil { - l = len(*m.Name) + l = len(m.Name) + if l > 0 { n += 1 + l + sovApplication(uint64(l)) } - if m.AppNamespace != nil { - l = len(*m.AppNamespace) + l = len(m.AppNamespace) + if l > 0 { n += 1 + l + sovApplication(uint64(l)) } - if m.Project != nil { - l = len(*m.Project) + l = len(m.Project) + if l > 0 { n += 1 + l + sovApplication(uint64(l)) } if m.XXX_unrecognized != nil { @@ -7588,7 +7503,7 @@ func (m *ApplicationSyncWindowsResponse) Size() (n int) { n += 1 + l + sovApplication(uint64(l)) } } - if m.CanSync != nil { + if m.CanSync { n += 2 } if m.XXX_unrecognized != nil { @@ -7603,19 +7518,19 @@ func (m *ApplicationSyncWindow) Size() (n int) { } var l int _ = l - if m.Kind != nil { - l = len(*m.Kind) + l = len(m.Kind) + if l > 0 { n += 1 + l + sovApplication(uint64(l)) } - if m.Schedule != nil { - l = len(*m.Schedule) + l = len(m.Schedule) + if l > 0 { n += 1 + l + sovApplication(uint64(l)) } - if m.Duration != nil { - l = len(*m.Duration) + l = len(m.Duration) + if l > 0 { n += 1 + l + sovApplication(uint64(l)) } - if m.ManualSync != nil { + if m.ManualSync { n += 2 } if m.XXX_unrecognized != nil { @@ -7642,36 +7557,36 @@ func (m *ResourcesQuery) Size() (n int) { } var l int _ = l - if m.ApplicationName != nil { - l = len(*m.ApplicationName) + l = len(m.ApplicationName) + if l > 0 { n += 1 + l + sovApplication(uint64(l)) } - if m.Namespace != nil { - l = len(*m.Namespace) + l = len(m.Namespace) + if l > 0 { n += 1 + l + sovApplication(uint64(l)) } - if m.Name != nil { - l = len(*m.Name) + l = len(m.Name) + if l > 0 { n += 1 + l + sovApplication(uint64(l)) } - if m.Version != nil { - l = len(*m.Version) + l = len(m.Version) + if l > 0 { n += 1 + l + sovApplication(uint64(l)) } - if m.Group != nil { - l = len(*m.Group) + l = len(m.Group) + if l > 0 { n += 1 + l + sovApplication(uint64(l)) } - if m.Kind != nil { - l = len(*m.Kind) + l = len(m.Kind) + if l > 0 { n += 1 + l + sovApplication(uint64(l)) } - if m.AppNamespace != nil { - l = len(*m.AppNamespace) + l = len(m.AppNamespace) + if l > 0 { n += 1 + l + sovApplication(uint64(l)) } - if m.Project != nil { - l = len(*m.Project) + l = len(m.Project) + if l > 0 { n += 1 + l + sovApplication(uint64(l)) } if m.XXX_unrecognized != nil { @@ -7704,20 +7619,20 @@ func (m *LinkInfo) Size() (n int) { } var l int _ = l - if m.Title != nil { - l = len(*m.Title) + l = len(m.Title) + if l > 0 { n += 1 + l + sovApplication(uint64(l)) } - if m.Url != nil { - l = len(*m.Url) + l = len(m.Url) + if l > 0 { n += 1 + l + sovApplication(uint64(l)) } - if m.Description != nil { - l = len(*m.Description) + l = len(m.Description) + if l > 0 { n += 1 + l + sovApplication(uint64(l)) } - if m.IconClass != nil { - l = len(*m.IconClass) + l = len(m.IconClass) + if l > 0 { n += 1 + l + sovApplication(uint64(l)) } if m.XXX_unrecognized != nil { @@ -7750,16 +7665,16 @@ func (m *ListAppLinksRequest) Size() (n int) { } var l int _ = l - if m.Name != nil { - l = len(*m.Name) + l = len(m.Name) + if l > 0 { n += 1 + l + sovApplication(uint64(l)) } - if m.Namespace != nil { - l = len(*m.Namespace) + l = len(m.Namespace) + if l > 0 { n += 1 + l + sovApplication(uint64(l)) } - if m.Project != nil { - l = len(*m.Project) + l = len(m.Project) + if l > 0 { n += 1 + l + sovApplication(uint64(l)) } if m.XXX_unrecognized != nil { @@ -7833,8 +7748,7 @@ func (m *ApplicationQuery) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - s := string(dAtA[iNdEx:postIndex]) - m.Name = &s + m.Name = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 2: if wireType != 2 { @@ -7866,8 +7780,7 @@ func (m *ApplicationQuery) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - s := string(dAtA[iNdEx:postIndex]) - m.Refresh = &s + m.Refresh = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 3: if wireType != 2 { @@ -7931,8 +7844,7 @@ func (m *ApplicationQuery) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - s := string(dAtA[iNdEx:postIndex]) - m.ResourceVersion = &s + m.ResourceVersion = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 5: if wireType != 2 { @@ -7964,8 +7876,7 @@ func (m *ApplicationQuery) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - s := string(dAtA[iNdEx:postIndex]) - m.Selector = &s + m.Selector = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 6: if wireType != 2 { @@ -7997,8 +7908,7 @@ func (m *ApplicationQuery) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - s := string(dAtA[iNdEx:postIndex]) - m.Repo = &s + m.Repo = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 7: if wireType != 2 { @@ -8030,8 +7940,7 @@ func (m *ApplicationQuery) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - s := string(dAtA[iNdEx:postIndex]) - m.AppNamespace = &s + m.AppNamespace = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 8: if wireType != 2 { @@ -8146,8 +8055,7 @@ func (m *NodeQuery) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - s := string(dAtA[iNdEx:postIndex]) - m.Name = &s + m.Name = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 2: if wireType != 2 { @@ -8179,8 +8087,7 @@ func (m *NodeQuery) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - s := string(dAtA[iNdEx:postIndex]) - m.AppNamespace = &s + m.AppNamespace = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -8205,7 +8112,6 @@ func (m *NodeQuery) Unmarshal(dAtA []byte) error { return nil } func (m *RevisionMetadataQuery) Unmarshal(dAtA []byte) error { - var hasFields [1]uint64 l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -8264,10 +8170,8 @@ func (m *RevisionMetadataQuery) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - s := string(dAtA[iNdEx:postIndex]) - m.Name = &s + m.Name = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - hasFields[0] |= uint64(0x00000001) case 2: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field Revision", wireType) @@ -8298,10 +8202,8 @@ func (m *RevisionMetadataQuery) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - s := string(dAtA[iNdEx:postIndex]) - m.Revision = &s + m.Revision = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - hasFields[0] |= uint64(0x00000002) case 3: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field AppNamespace", wireType) @@ -8332,8 +8234,7 @@ func (m *RevisionMetadataQuery) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - s := string(dAtA[iNdEx:postIndex]) - m.AppNamespace = &s + m.AppNamespace = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 4: if wireType != 2 { @@ -8365,14 +8266,13 @@ func (m *RevisionMetadataQuery) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - s := string(dAtA[iNdEx:postIndex]) - m.Project = &s + m.Project = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 5: if wireType != 0 { return fmt.Errorf("proto: wrong wireType = %d for field SourceIndex", wireType) } - var v int32 + m.SourceIndex = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowApplication @@ -8382,17 +8282,16 @@ func (m *RevisionMetadataQuery) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= int32(b&0x7F) << shift + m.SourceIndex |= int32(b&0x7F) << shift if b < 0x80 { break } } - m.SourceIndex = &v case 6: if wireType != 0 { return fmt.Errorf("proto: wrong wireType = %d for field VersionId", wireType) } - var v int32 + m.VersionId = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowApplication @@ -8402,12 +8301,11 @@ func (m *RevisionMetadataQuery) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= int32(b&0x7F) << shift + m.VersionId |= int32(b&0x7F) << shift if b < 0x80 { break } } - m.VersionId = &v default: iNdEx = preIndex skippy, err := skipApplication(dAtA[iNdEx:]) @@ -8424,12 +8322,6 @@ func (m *RevisionMetadataQuery) Unmarshal(dAtA []byte) error { iNdEx += skippy } } - if hasFields[0]&uint64(0x00000001) == 0 { - return github_com_gogo_protobuf_proto.NewRequiredNotSetError("name") - } - if hasFields[0]&uint64(0x00000002) == 0 { - return github_com_gogo_protobuf_proto.NewRequiredNotSetError("revision") - } if iNdEx > l { return io.ErrUnexpectedEOF @@ -8437,7 +8329,6 @@ func (m *RevisionMetadataQuery) Unmarshal(dAtA []byte) error { return nil } func (m *ApplicationResourceEventsQuery) Unmarshal(dAtA []byte) error { - var hasFields [1]uint64 l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -8496,10 +8387,8 @@ func (m *ApplicationResourceEventsQuery) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - s := string(dAtA[iNdEx:postIndex]) - m.Name = &s + m.Name = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - hasFields[0] |= uint64(0x00000001) case 2: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field ResourceNamespace", wireType) @@ -8530,8 +8419,7 @@ func (m *ApplicationResourceEventsQuery) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - s := string(dAtA[iNdEx:postIndex]) - m.ResourceNamespace = &s + m.ResourceNamespace = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 3: if wireType != 2 { @@ -8563,8 +8451,7 @@ func (m *ApplicationResourceEventsQuery) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - s := string(dAtA[iNdEx:postIndex]) - m.ResourceName = &s + m.ResourceName = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 4: if wireType != 2 { @@ -8596,8 +8483,7 @@ func (m *ApplicationResourceEventsQuery) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - s := string(dAtA[iNdEx:postIndex]) - m.ResourceUID = &s + m.ResourceUID = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 5: if wireType != 2 { @@ -8629,8 +8515,7 @@ func (m *ApplicationResourceEventsQuery) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - s := string(dAtA[iNdEx:postIndex]) - m.AppNamespace = &s + m.AppNamespace = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 6: if wireType != 2 { @@ -8662,8 +8547,7 @@ func (m *ApplicationResourceEventsQuery) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - s := string(dAtA[iNdEx:postIndex]) - m.Project = &s + m.Project = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -8681,9 +8565,6 @@ func (m *ApplicationResourceEventsQuery) Unmarshal(dAtA []byte) error { iNdEx += skippy } } - if hasFields[0]&uint64(0x00000001) == 0 { - return github_com_gogo_protobuf_proto.NewRequiredNotSetError("name") - } if iNdEx > l { return io.ErrUnexpectedEOF @@ -8691,7 +8572,6 @@ func (m *ApplicationResourceEventsQuery) Unmarshal(dAtA []byte) error { return nil } func (m *ApplicationManifestQuery) Unmarshal(dAtA []byte) error { - var hasFields [1]uint64 l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -8750,10 +8630,8 @@ func (m *ApplicationManifestQuery) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - s := string(dAtA[iNdEx:postIndex]) - m.Name = &s + m.Name = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - hasFields[0] |= uint64(0x00000001) case 2: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field Revision", wireType) @@ -8784,8 +8662,7 @@ func (m *ApplicationManifestQuery) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - s := string(dAtA[iNdEx:postIndex]) - m.Revision = &s + m.Revision = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 3: if wireType != 2 { @@ -8817,8 +8694,7 @@ func (m *ApplicationManifestQuery) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - s := string(dAtA[iNdEx:postIndex]) - m.AppNamespace = &s + m.AppNamespace = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 4: if wireType != 2 { @@ -8850,8 +8726,7 @@ func (m *ApplicationManifestQuery) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - s := string(dAtA[iNdEx:postIndex]) - m.Project = &s + m.Project = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 5: if wireType == 0 { @@ -8977,9 +8852,6 @@ func (m *ApplicationManifestQuery) Unmarshal(dAtA []byte) error { iNdEx += skippy } } - if hasFields[0]&uint64(0x00000001) == 0 { - return github_com_gogo_protobuf_proto.NewRequiredNotSetError("name") - } if iNdEx > l { return io.ErrUnexpectedEOF @@ -8987,7 +8859,6 @@ func (m *ApplicationManifestQuery) Unmarshal(dAtA []byte) error { return nil } func (m *FileChunk) Unmarshal(dAtA []byte) error { - var hasFields [1]uint64 l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -9050,7 +8921,6 @@ func (m *FileChunk) Unmarshal(dAtA []byte) error { m.Chunk = []byte{} } iNdEx = postIndex - hasFields[0] |= uint64(0x00000001) default: iNdEx = preIndex skippy, err := skipApplication(dAtA[iNdEx:]) @@ -9067,9 +8937,6 @@ func (m *FileChunk) Unmarshal(dAtA []byte) error { iNdEx += skippy } } - if hasFields[0]&uint64(0x00000001) == 0 { - return github_com_gogo_protobuf_proto.NewRequiredNotSetError("chunk") - } if iNdEx > l { return io.ErrUnexpectedEOF @@ -9077,7 +8944,6 @@ func (m *FileChunk) Unmarshal(dAtA []byte) error { return nil } func (m *ApplicationManifestQueryWithFiles) Unmarshal(dAtA []byte) error { - var hasFields [1]uint64 l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -9136,10 +9002,8 @@ func (m *ApplicationManifestQueryWithFiles) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - s := string(dAtA[iNdEx:postIndex]) - m.Name = &s + m.Name = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - hasFields[0] |= uint64(0x00000001) case 2: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field Checksum", wireType) @@ -9170,10 +9034,8 @@ func (m *ApplicationManifestQueryWithFiles) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - s := string(dAtA[iNdEx:postIndex]) - m.Checksum = &s + m.Checksum = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - hasFields[0] |= uint64(0x00000002) case 3: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field AppNamespace", wireType) @@ -9204,8 +9066,7 @@ func (m *ApplicationManifestQueryWithFiles) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - s := string(dAtA[iNdEx:postIndex]) - m.AppNamespace = &s + m.AppNamespace = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 4: if wireType != 2 { @@ -9237,8 +9098,7 @@ func (m *ApplicationManifestQueryWithFiles) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - s := string(dAtA[iNdEx:postIndex]) - m.Project = &s + m.Project = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -9256,12 +9116,6 @@ func (m *ApplicationManifestQueryWithFiles) Unmarshal(dAtA []byte) error { iNdEx += skippy } } - if hasFields[0]&uint64(0x00000001) == 0 { - return github_com_gogo_protobuf_proto.NewRequiredNotSetError("name") - } - if hasFields[0]&uint64(0x00000002) == 0 { - return github_com_gogo_protobuf_proto.NewRequiredNotSetError("checksum") - } if iNdEx > l { return io.ErrUnexpectedEOF @@ -9441,7 +9295,6 @@ func (m *ApplicationResponse) Unmarshal(dAtA []byte) error { return nil } func (m *ApplicationCreateRequest) Unmarshal(dAtA []byte) error { - var hasFields [1]uint64 l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -9506,7 +9359,6 @@ func (m *ApplicationCreateRequest) Unmarshal(dAtA []byte) error { return err } iNdEx = postIndex - hasFields[0] |= uint64(0x00000001) case 2: if wireType != 0 { return fmt.Errorf("proto: wrong wireType = %d for field Upsert", wireType) @@ -9526,8 +9378,7 @@ func (m *ApplicationCreateRequest) Unmarshal(dAtA []byte) error { break } } - b := bool(v != 0) - m.Upsert = &b + m.Upsert = bool(v != 0) case 3: if wireType != 0 { return fmt.Errorf("proto: wrong wireType = %d for field Validate", wireType) @@ -9547,8 +9398,7 @@ func (m *ApplicationCreateRequest) Unmarshal(dAtA []byte) error { break } } - b := bool(v != 0) - m.Validate = &b + m.Validate = bool(v != 0) default: iNdEx = preIndex skippy, err := skipApplication(dAtA[iNdEx:]) @@ -9565,9 +9415,6 @@ func (m *ApplicationCreateRequest) Unmarshal(dAtA []byte) error { iNdEx += skippy } } - if hasFields[0]&uint64(0x00000001) == 0 { - return github_com_gogo_protobuf_proto.NewRequiredNotSetError("application") - } if iNdEx > l { return io.ErrUnexpectedEOF @@ -9575,7 +9422,6 @@ func (m *ApplicationCreateRequest) Unmarshal(dAtA []byte) error { return nil } func (m *ApplicationUpdateRequest) Unmarshal(dAtA []byte) error { - var hasFields [1]uint64 l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -9640,7 +9486,6 @@ func (m *ApplicationUpdateRequest) Unmarshal(dAtA []byte) error { return err } iNdEx = postIndex - hasFields[0] |= uint64(0x00000001) case 2: if wireType != 0 { return fmt.Errorf("proto: wrong wireType = %d for field Validate", wireType) @@ -9660,8 +9505,7 @@ func (m *ApplicationUpdateRequest) Unmarshal(dAtA []byte) error { break } } - b := bool(v != 0) - m.Validate = &b + m.Validate = bool(v != 0) case 3: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field Project", wireType) @@ -9692,8 +9536,7 @@ func (m *ApplicationUpdateRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - s := string(dAtA[iNdEx:postIndex]) - m.Project = &s + m.Project = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -9711,9 +9554,6 @@ func (m *ApplicationUpdateRequest) Unmarshal(dAtA []byte) error { iNdEx += skippy } } - if hasFields[0]&uint64(0x00000001) == 0 { - return github_com_gogo_protobuf_proto.NewRequiredNotSetError("application") - } if iNdEx > l { return io.ErrUnexpectedEOF @@ -9721,7 +9561,6 @@ func (m *ApplicationUpdateRequest) Unmarshal(dAtA []byte) error { return nil } func (m *ApplicationDeleteRequest) Unmarshal(dAtA []byte) error { - var hasFields [1]uint64 l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -9780,10 +9619,8 @@ func (m *ApplicationDeleteRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - s := string(dAtA[iNdEx:postIndex]) - m.Name = &s + m.Name = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - hasFields[0] |= uint64(0x00000001) case 2: if wireType != 0 { return fmt.Errorf("proto: wrong wireType = %d for field Cascade", wireType) @@ -9803,8 +9640,7 @@ func (m *ApplicationDeleteRequest) Unmarshal(dAtA []byte) error { break } } - b := bool(v != 0) - m.Cascade = &b + m.Cascade = bool(v != 0) case 3: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field PropagationPolicy", wireType) @@ -9835,8 +9671,7 @@ func (m *ApplicationDeleteRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - s := string(dAtA[iNdEx:postIndex]) - m.PropagationPolicy = &s + m.PropagationPolicy = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 4: if wireType != 2 { @@ -9868,8 +9703,7 @@ func (m *ApplicationDeleteRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - s := string(dAtA[iNdEx:postIndex]) - m.AppNamespace = &s + m.AppNamespace = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 5: if wireType != 2 { @@ -9901,8 +9735,7 @@ func (m *ApplicationDeleteRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - s := string(dAtA[iNdEx:postIndex]) - m.Project = &s + m.Project = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -9920,9 +9753,6 @@ func (m *ApplicationDeleteRequest) Unmarshal(dAtA []byte) error { iNdEx += skippy } } - if hasFields[0]&uint64(0x00000001) == 0 { - return github_com_gogo_protobuf_proto.NewRequiredNotSetError("name") - } if iNdEx > l { return io.ErrUnexpectedEOF @@ -10013,7 +9843,6 @@ func (m *SyncOptions) Unmarshal(dAtA []byte) error { return nil } func (m *ApplicationSyncRequest) Unmarshal(dAtA []byte) error { - var hasFields [1]uint64 l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -10072,10 +9901,8 @@ func (m *ApplicationSyncRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - s := string(dAtA[iNdEx:postIndex]) - m.Name = &s + m.Name = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - hasFields[0] |= uint64(0x00000001) case 2: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field Revision", wireType) @@ -10106,8 +9933,7 @@ func (m *ApplicationSyncRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - s := string(dAtA[iNdEx:postIndex]) - m.Revision = &s + m.Revision = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 3: if wireType != 0 { @@ -10128,8 +9954,7 @@ func (m *ApplicationSyncRequest) Unmarshal(dAtA []byte) error { break } } - b := bool(v != 0) - m.DryRun = &b + m.DryRun = bool(v != 0) case 4: if wireType != 0 { return fmt.Errorf("proto: wrong wireType = %d for field Prune", wireType) @@ -10149,8 +9974,7 @@ func (m *ApplicationSyncRequest) Unmarshal(dAtA []byte) error { break } } - b := bool(v != 0) - m.Prune = &b + m.Prune = bool(v != 0) case 5: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field Strategy", wireType) @@ -10389,8 +10213,7 @@ func (m *ApplicationSyncRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - s := string(dAtA[iNdEx:postIndex]) - m.AppNamespace = &s + m.AppNamespace = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 13: if wireType != 2 { @@ -10422,8 +10245,7 @@ func (m *ApplicationSyncRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - s := string(dAtA[iNdEx:postIndex]) - m.Project = &s + m.Project = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 14: if wireType == 0 { @@ -10549,9 +10371,6 @@ func (m *ApplicationSyncRequest) Unmarshal(dAtA []byte) error { iNdEx += skippy } } - if hasFields[0]&uint64(0x00000001) == 0 { - return github_com_gogo_protobuf_proto.NewRequiredNotSetError("name") - } if iNdEx > l { return io.ErrUnexpectedEOF @@ -10559,7 +10378,6 @@ func (m *ApplicationSyncRequest) Unmarshal(dAtA []byte) error { return nil } func (m *ApplicationUpdateSpecRequest) Unmarshal(dAtA []byte) error { - var hasFields [1]uint64 l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -10618,10 +10436,8 @@ func (m *ApplicationUpdateSpecRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - s := string(dAtA[iNdEx:postIndex]) - m.Name = &s + m.Name = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - hasFields[0] |= uint64(0x00000001) case 2: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) @@ -10658,7 +10474,6 @@ func (m *ApplicationUpdateSpecRequest) Unmarshal(dAtA []byte) error { return err } iNdEx = postIndex - hasFields[0] |= uint64(0x00000002) case 3: if wireType != 0 { return fmt.Errorf("proto: wrong wireType = %d for field Validate", wireType) @@ -10678,8 +10493,7 @@ func (m *ApplicationUpdateSpecRequest) Unmarshal(dAtA []byte) error { break } } - b := bool(v != 0) - m.Validate = &b + m.Validate = bool(v != 0) case 4: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field AppNamespace", wireType) @@ -10710,8 +10524,7 @@ func (m *ApplicationUpdateSpecRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - s := string(dAtA[iNdEx:postIndex]) - m.AppNamespace = &s + m.AppNamespace = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 5: if wireType != 2 { @@ -10743,8 +10556,7 @@ func (m *ApplicationUpdateSpecRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - s := string(dAtA[iNdEx:postIndex]) - m.Project = &s + m.Project = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -10762,12 +10574,6 @@ func (m *ApplicationUpdateSpecRequest) Unmarshal(dAtA []byte) error { iNdEx += skippy } } - if hasFields[0]&uint64(0x00000001) == 0 { - return github_com_gogo_protobuf_proto.NewRequiredNotSetError("name") - } - if hasFields[0]&uint64(0x00000002) == 0 { - return github_com_gogo_protobuf_proto.NewRequiredNotSetError("spec") - } if iNdEx > l { return io.ErrUnexpectedEOF @@ -10775,7 +10581,6 @@ func (m *ApplicationUpdateSpecRequest) Unmarshal(dAtA []byte) error { return nil } func (m *ApplicationPatchRequest) Unmarshal(dAtA []byte) error { - var hasFields [1]uint64 l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -10834,10 +10639,8 @@ func (m *ApplicationPatchRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - s := string(dAtA[iNdEx:postIndex]) - m.Name = &s + m.Name = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - hasFields[0] |= uint64(0x00000001) case 2: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field Patch", wireType) @@ -10868,10 +10671,8 @@ func (m *ApplicationPatchRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - s := string(dAtA[iNdEx:postIndex]) - m.Patch = &s + m.Patch = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - hasFields[0] |= uint64(0x00000002) case 3: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field PatchType", wireType) @@ -10902,10 +10703,8 @@ func (m *ApplicationPatchRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - s := string(dAtA[iNdEx:postIndex]) - m.PatchType = &s + m.PatchType = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - hasFields[0] |= uint64(0x00000004) case 5: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field AppNamespace", wireType) @@ -10936,8 +10735,7 @@ func (m *ApplicationPatchRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - s := string(dAtA[iNdEx:postIndex]) - m.AppNamespace = &s + m.AppNamespace = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 6: if wireType != 2 { @@ -10969,8 +10767,7 @@ func (m *ApplicationPatchRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - s := string(dAtA[iNdEx:postIndex]) - m.Project = &s + m.Project = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -10988,15 +10785,6 @@ func (m *ApplicationPatchRequest) Unmarshal(dAtA []byte) error { iNdEx += skippy } } - if hasFields[0]&uint64(0x00000001) == 0 { - return github_com_gogo_protobuf_proto.NewRequiredNotSetError("name") - } - if hasFields[0]&uint64(0x00000002) == 0 { - return github_com_gogo_protobuf_proto.NewRequiredNotSetError("patch") - } - if hasFields[0]&uint64(0x00000004) == 0 { - return github_com_gogo_protobuf_proto.NewRequiredNotSetError("patchType") - } if iNdEx > l { return io.ErrUnexpectedEOF @@ -11004,7 +10792,6 @@ func (m *ApplicationPatchRequest) Unmarshal(dAtA []byte) error { return nil } func (m *ApplicationRollbackRequest) Unmarshal(dAtA []byte) error { - var hasFields [1]uint64 l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -11063,15 +10850,13 @@ func (m *ApplicationRollbackRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - s := string(dAtA[iNdEx:postIndex]) - m.Name = &s + m.Name = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - hasFields[0] |= uint64(0x00000001) case 2: if wireType != 0 { return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType) } - var v int64 + m.Id = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowApplication @@ -11081,13 +10866,11 @@ func (m *ApplicationRollbackRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= int64(b&0x7F) << shift + m.Id |= int64(b&0x7F) << shift if b < 0x80 { break } } - m.Id = &v - hasFields[0] |= uint64(0x00000002) case 3: if wireType != 0 { return fmt.Errorf("proto: wrong wireType = %d for field DryRun", wireType) @@ -11107,8 +10890,7 @@ func (m *ApplicationRollbackRequest) Unmarshal(dAtA []byte) error { break } } - b := bool(v != 0) - m.DryRun = &b + m.DryRun = bool(v != 0) case 4: if wireType != 0 { return fmt.Errorf("proto: wrong wireType = %d for field Prune", wireType) @@ -11128,8 +10910,7 @@ func (m *ApplicationRollbackRequest) Unmarshal(dAtA []byte) error { break } } - b := bool(v != 0) - m.Prune = &b + m.Prune = bool(v != 0) case 6: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field AppNamespace", wireType) @@ -11160,8 +10941,7 @@ func (m *ApplicationRollbackRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - s := string(dAtA[iNdEx:postIndex]) - m.AppNamespace = &s + m.AppNamespace = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 7: if wireType != 2 { @@ -11193,8 +10973,7 @@ func (m *ApplicationRollbackRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - s := string(dAtA[iNdEx:postIndex]) - m.Project = &s + m.Project = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -11212,12 +10991,6 @@ func (m *ApplicationRollbackRequest) Unmarshal(dAtA []byte) error { iNdEx += skippy } } - if hasFields[0]&uint64(0x00000001) == 0 { - return github_com_gogo_protobuf_proto.NewRequiredNotSetError("name") - } - if hasFields[0]&uint64(0x00000002) == 0 { - return github_com_gogo_protobuf_proto.NewRequiredNotSetError("id") - } if iNdEx > l { return io.ErrUnexpectedEOF @@ -11225,7 +10998,6 @@ func (m *ApplicationRollbackRequest) Unmarshal(dAtA []byte) error { return nil } func (m *ApplicationResourceRequest) Unmarshal(dAtA []byte) error { - var hasFields [1]uint64 l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -11284,10 +11056,8 @@ func (m *ApplicationResourceRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - s := string(dAtA[iNdEx:postIndex]) - m.Name = &s + m.Name = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - hasFields[0] |= uint64(0x00000001) case 2: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType) @@ -11318,8 +11088,7 @@ func (m *ApplicationResourceRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - s := string(dAtA[iNdEx:postIndex]) - m.Namespace = &s + m.Namespace = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 3: if wireType != 2 { @@ -11351,10 +11120,8 @@ func (m *ApplicationResourceRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - s := string(dAtA[iNdEx:postIndex]) - m.ResourceName = &s + m.ResourceName = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - hasFields[0] |= uint64(0x00000002) case 4: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field Version", wireType) @@ -11385,10 +11152,8 @@ func (m *ApplicationResourceRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - s := string(dAtA[iNdEx:postIndex]) - m.Version = &s + m.Version = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - hasFields[0] |= uint64(0x00000004) case 5: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field Group", wireType) @@ -11419,8 +11184,7 @@ func (m *ApplicationResourceRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - s := string(dAtA[iNdEx:postIndex]) - m.Group = &s + m.Group = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 6: if wireType != 2 { @@ -11452,10 +11216,8 @@ func (m *ApplicationResourceRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - s := string(dAtA[iNdEx:postIndex]) - m.Kind = &s + m.Kind = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - hasFields[0] |= uint64(0x00000008) case 7: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field AppNamespace", wireType) @@ -11486,8 +11248,7 @@ func (m *ApplicationResourceRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - s := string(dAtA[iNdEx:postIndex]) - m.AppNamespace = &s + m.AppNamespace = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 8: if wireType != 2 { @@ -11519,8 +11280,7 @@ func (m *ApplicationResourceRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - s := string(dAtA[iNdEx:postIndex]) - m.Project = &s + m.Project = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -11538,18 +11298,6 @@ func (m *ApplicationResourceRequest) Unmarshal(dAtA []byte) error { iNdEx += skippy } } - if hasFields[0]&uint64(0x00000001) == 0 { - return github_com_gogo_protobuf_proto.NewRequiredNotSetError("name") - } - if hasFields[0]&uint64(0x00000002) == 0 { - return github_com_gogo_protobuf_proto.NewRequiredNotSetError("resourceName") - } - if hasFields[0]&uint64(0x00000004) == 0 { - return github_com_gogo_protobuf_proto.NewRequiredNotSetError("version") - } - if hasFields[0]&uint64(0x00000008) == 0 { - return github_com_gogo_protobuf_proto.NewRequiredNotSetError("kind") - } if iNdEx > l { return io.ErrUnexpectedEOF @@ -11557,7 +11305,6 @@ func (m *ApplicationResourceRequest) Unmarshal(dAtA []byte) error { return nil } func (m *ApplicationResourcePatchRequest) Unmarshal(dAtA []byte) error { - var hasFields [1]uint64 l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -11616,10 +11363,8 @@ func (m *ApplicationResourcePatchRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - s := string(dAtA[iNdEx:postIndex]) - m.Name = &s + m.Name = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - hasFields[0] |= uint64(0x00000001) case 2: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType) @@ -11650,8 +11395,7 @@ func (m *ApplicationResourcePatchRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - s := string(dAtA[iNdEx:postIndex]) - m.Namespace = &s + m.Namespace = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 3: if wireType != 2 { @@ -11683,10 +11427,8 @@ func (m *ApplicationResourcePatchRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - s := string(dAtA[iNdEx:postIndex]) - m.ResourceName = &s + m.ResourceName = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - hasFields[0] |= uint64(0x00000002) case 4: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field Version", wireType) @@ -11717,10 +11459,8 @@ func (m *ApplicationResourcePatchRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - s := string(dAtA[iNdEx:postIndex]) - m.Version = &s + m.Version = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - hasFields[0] |= uint64(0x00000004) case 5: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field Group", wireType) @@ -11751,8 +11491,7 @@ func (m *ApplicationResourcePatchRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - s := string(dAtA[iNdEx:postIndex]) - m.Group = &s + m.Group = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 6: if wireType != 2 { @@ -11784,10 +11523,8 @@ func (m *ApplicationResourcePatchRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - s := string(dAtA[iNdEx:postIndex]) - m.Kind = &s + m.Kind = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - hasFields[0] |= uint64(0x00000008) case 7: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field Patch", wireType) @@ -11818,10 +11555,8 @@ func (m *ApplicationResourcePatchRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - s := string(dAtA[iNdEx:postIndex]) - m.Patch = &s + m.Patch = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - hasFields[0] |= uint64(0x00000010) case 8: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field PatchType", wireType) @@ -11852,10 +11587,8 @@ func (m *ApplicationResourcePatchRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - s := string(dAtA[iNdEx:postIndex]) - m.PatchType = &s + m.PatchType = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - hasFields[0] |= uint64(0x00000020) case 9: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field AppNamespace", wireType) @@ -11886,8 +11619,7 @@ func (m *ApplicationResourcePatchRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - s := string(dAtA[iNdEx:postIndex]) - m.AppNamespace = &s + m.AppNamespace = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 10: if wireType != 2 { @@ -11919,8 +11651,7 @@ func (m *ApplicationResourcePatchRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - s := string(dAtA[iNdEx:postIndex]) - m.Project = &s + m.Project = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -11938,24 +11669,6 @@ func (m *ApplicationResourcePatchRequest) Unmarshal(dAtA []byte) error { iNdEx += skippy } } - if hasFields[0]&uint64(0x00000001) == 0 { - return github_com_gogo_protobuf_proto.NewRequiredNotSetError("name") - } - if hasFields[0]&uint64(0x00000002) == 0 { - return github_com_gogo_protobuf_proto.NewRequiredNotSetError("resourceName") - } - if hasFields[0]&uint64(0x00000004) == 0 { - return github_com_gogo_protobuf_proto.NewRequiredNotSetError("version") - } - if hasFields[0]&uint64(0x00000008) == 0 { - return github_com_gogo_protobuf_proto.NewRequiredNotSetError("kind") - } - if hasFields[0]&uint64(0x00000010) == 0 { - return github_com_gogo_protobuf_proto.NewRequiredNotSetError("patch") - } - if hasFields[0]&uint64(0x00000020) == 0 { - return github_com_gogo_protobuf_proto.NewRequiredNotSetError("patchType") - } if iNdEx > l { return io.ErrUnexpectedEOF @@ -11963,7 +11676,6 @@ func (m *ApplicationResourcePatchRequest) Unmarshal(dAtA []byte) error { return nil } func (m *ApplicationResourceDeleteRequest) Unmarshal(dAtA []byte) error { - var hasFields [1]uint64 l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -12022,10 +11734,8 @@ func (m *ApplicationResourceDeleteRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - s := string(dAtA[iNdEx:postIndex]) - m.Name = &s + m.Name = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - hasFields[0] |= uint64(0x00000001) case 2: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType) @@ -12056,8 +11766,7 @@ func (m *ApplicationResourceDeleteRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - s := string(dAtA[iNdEx:postIndex]) - m.Namespace = &s + m.Namespace = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 3: if wireType != 2 { @@ -12089,10 +11798,8 @@ func (m *ApplicationResourceDeleteRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - s := string(dAtA[iNdEx:postIndex]) - m.ResourceName = &s + m.ResourceName = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - hasFields[0] |= uint64(0x00000002) case 4: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field Version", wireType) @@ -12123,10 +11830,8 @@ func (m *ApplicationResourceDeleteRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - s := string(dAtA[iNdEx:postIndex]) - m.Version = &s + m.Version = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - hasFields[0] |= uint64(0x00000004) case 5: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field Group", wireType) @@ -12157,8 +11862,7 @@ func (m *ApplicationResourceDeleteRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - s := string(dAtA[iNdEx:postIndex]) - m.Group = &s + m.Group = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 6: if wireType != 2 { @@ -12190,10 +11894,8 @@ func (m *ApplicationResourceDeleteRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - s := string(dAtA[iNdEx:postIndex]) - m.Kind = &s + m.Kind = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - hasFields[0] |= uint64(0x00000008) case 7: if wireType != 0 { return fmt.Errorf("proto: wrong wireType = %d for field Force", wireType) @@ -12213,8 +11915,7 @@ func (m *ApplicationResourceDeleteRequest) Unmarshal(dAtA []byte) error { break } } - b := bool(v != 0) - m.Force = &b + m.Force = bool(v != 0) case 8: if wireType != 0 { return fmt.Errorf("proto: wrong wireType = %d for field Orphan", wireType) @@ -12234,8 +11935,7 @@ func (m *ApplicationResourceDeleteRequest) Unmarshal(dAtA []byte) error { break } } - b := bool(v != 0) - m.Orphan = &b + m.Orphan = bool(v != 0) case 9: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field AppNamespace", wireType) @@ -12266,8 +11966,7 @@ func (m *ApplicationResourceDeleteRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - s := string(dAtA[iNdEx:postIndex]) - m.AppNamespace = &s + m.AppNamespace = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 10: if wireType != 2 { @@ -12299,8 +11998,7 @@ func (m *ApplicationResourceDeleteRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - s := string(dAtA[iNdEx:postIndex]) - m.Project = &s + m.Project = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -12318,18 +12016,6 @@ func (m *ApplicationResourceDeleteRequest) Unmarshal(dAtA []byte) error { iNdEx += skippy } } - if hasFields[0]&uint64(0x00000001) == 0 { - return github_com_gogo_protobuf_proto.NewRequiredNotSetError("name") - } - if hasFields[0]&uint64(0x00000002) == 0 { - return github_com_gogo_protobuf_proto.NewRequiredNotSetError("resourceName") - } - if hasFields[0]&uint64(0x00000004) == 0 { - return github_com_gogo_protobuf_proto.NewRequiredNotSetError("version") - } - if hasFields[0]&uint64(0x00000008) == 0 { - return github_com_gogo_protobuf_proto.NewRequiredNotSetError("kind") - } if iNdEx > l { return io.ErrUnexpectedEOF @@ -12337,7 +12023,6 @@ func (m *ApplicationResourceDeleteRequest) Unmarshal(dAtA []byte) error { return nil } func (m *ResourceActionRunRequest) Unmarshal(dAtA []byte) error { - var hasFields [1]uint64 l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -12396,10 +12081,8 @@ func (m *ResourceActionRunRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - s := string(dAtA[iNdEx:postIndex]) - m.Name = &s + m.Name = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - hasFields[0] |= uint64(0x00000001) case 2: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType) @@ -12430,8 +12113,7 @@ func (m *ResourceActionRunRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - s := string(dAtA[iNdEx:postIndex]) - m.Namespace = &s + m.Namespace = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 3: if wireType != 2 { @@ -12463,10 +12145,8 @@ func (m *ResourceActionRunRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - s := string(dAtA[iNdEx:postIndex]) - m.ResourceName = &s + m.ResourceName = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - hasFields[0] |= uint64(0x00000002) case 4: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field Version", wireType) @@ -12497,10 +12177,8 @@ func (m *ResourceActionRunRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - s := string(dAtA[iNdEx:postIndex]) - m.Version = &s + m.Version = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - hasFields[0] |= uint64(0x00000004) case 5: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field Group", wireType) @@ -12531,8 +12209,7 @@ func (m *ResourceActionRunRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - s := string(dAtA[iNdEx:postIndex]) - m.Group = &s + m.Group = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 6: if wireType != 2 { @@ -12564,10 +12241,8 @@ func (m *ResourceActionRunRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - s := string(dAtA[iNdEx:postIndex]) - m.Kind = &s + m.Kind = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - hasFields[0] |= uint64(0x00000008) case 7: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field Action", wireType) @@ -12598,10 +12273,8 @@ func (m *ResourceActionRunRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - s := string(dAtA[iNdEx:postIndex]) - m.Action = &s + m.Action = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - hasFields[0] |= uint64(0x00000010) case 8: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field AppNamespace", wireType) @@ -12632,8 +12305,7 @@ func (m *ResourceActionRunRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - s := string(dAtA[iNdEx:postIndex]) - m.AppNamespace = &s + m.AppNamespace = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 9: if wireType != 2 { @@ -12665,8 +12337,7 @@ func (m *ResourceActionRunRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - s := string(dAtA[iNdEx:postIndex]) - m.Project = &s + m.Project = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -12684,21 +12355,6 @@ func (m *ResourceActionRunRequest) Unmarshal(dAtA []byte) error { iNdEx += skippy } } - if hasFields[0]&uint64(0x00000001) == 0 { - return github_com_gogo_protobuf_proto.NewRequiredNotSetError("name") - } - if hasFields[0]&uint64(0x00000002) == 0 { - return github_com_gogo_protobuf_proto.NewRequiredNotSetError("resourceName") - } - if hasFields[0]&uint64(0x00000004) == 0 { - return github_com_gogo_protobuf_proto.NewRequiredNotSetError("version") - } - if hasFields[0]&uint64(0x00000008) == 0 { - return github_com_gogo_protobuf_proto.NewRequiredNotSetError("kind") - } - if hasFields[0]&uint64(0x00000010) == 0 { - return github_com_gogo_protobuf_proto.NewRequiredNotSetError("action") - } if iNdEx > l { return io.ErrUnexpectedEOF @@ -12791,7 +12447,6 @@ func (m *ResourceActionsListResponse) Unmarshal(dAtA []byte) error { return nil } func (m *ApplicationResourceResponse) Unmarshal(dAtA []byte) error { - var hasFields [1]uint64 l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -12850,10 +12505,8 @@ func (m *ApplicationResourceResponse) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - s := string(dAtA[iNdEx:postIndex]) - m.Manifest = &s + m.Manifest = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - hasFields[0] |= uint64(0x00000001) default: iNdEx = preIndex skippy, err := skipApplication(dAtA[iNdEx:]) @@ -12870,9 +12523,6 @@ func (m *ApplicationResourceResponse) Unmarshal(dAtA []byte) error { iNdEx += skippy } } - if hasFields[0]&uint64(0x00000001) == 0 { - return github_com_gogo_protobuf_proto.NewRequiredNotSetError("manifest") - } if iNdEx > l { return io.ErrUnexpectedEOF @@ -12880,7 +12530,6 @@ func (m *ApplicationResourceResponse) Unmarshal(dAtA []byte) error { return nil } func (m *ApplicationPodLogsQuery) Unmarshal(dAtA []byte) error { - var hasFields [1]uint64 l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -12939,10 +12588,8 @@ func (m *ApplicationPodLogsQuery) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - s := string(dAtA[iNdEx:postIndex]) - m.Name = &s + m.Name = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - hasFields[0] |= uint64(0x00000001) case 2: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType) @@ -12973,8 +12620,7 @@ func (m *ApplicationPodLogsQuery) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - s := string(dAtA[iNdEx:postIndex]) - m.Namespace = &s + m.Namespace = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 3: if wireType != 2 { @@ -13006,8 +12652,7 @@ func (m *ApplicationPodLogsQuery) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - s := string(dAtA[iNdEx:postIndex]) - m.PodName = &s + m.PodName = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 4: if wireType != 2 { @@ -13039,14 +12684,13 @@ func (m *ApplicationPodLogsQuery) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - s := string(dAtA[iNdEx:postIndex]) - m.Container = &s + m.Container = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 5: if wireType != 0 { return fmt.Errorf("proto: wrong wireType = %d for field SinceSeconds", wireType) } - var v int64 + m.SinceSeconds = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowApplication @@ -13056,12 +12700,11 @@ func (m *ApplicationPodLogsQuery) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= int64(b&0x7F) << shift + m.SinceSeconds |= int64(b&0x7F) << shift if b < 0x80 { break } } - m.SinceSeconds = &v case 6: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field SinceTime", wireType) @@ -13102,7 +12745,7 @@ func (m *ApplicationPodLogsQuery) Unmarshal(dAtA []byte) error { if wireType != 0 { return fmt.Errorf("proto: wrong wireType = %d for field TailLines", wireType) } - var v int64 + m.TailLines = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowApplication @@ -13112,12 +12755,11 @@ func (m *ApplicationPodLogsQuery) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= int64(b&0x7F) << shift + m.TailLines |= int64(b&0x7F) << shift if b < 0x80 { break } } - m.TailLines = &v case 8: if wireType != 0 { return fmt.Errorf("proto: wrong wireType = %d for field Follow", wireType) @@ -13137,8 +12779,7 @@ func (m *ApplicationPodLogsQuery) Unmarshal(dAtA []byte) error { break } } - b := bool(v != 0) - m.Follow = &b + m.Follow = bool(v != 0) case 9: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field UntilTime", wireType) @@ -13169,8 +12810,7 @@ func (m *ApplicationPodLogsQuery) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - s := string(dAtA[iNdEx:postIndex]) - m.UntilTime = &s + m.UntilTime = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 10: if wireType != 2 { @@ -13202,8 +12842,7 @@ func (m *ApplicationPodLogsQuery) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - s := string(dAtA[iNdEx:postIndex]) - m.Filter = &s + m.Filter = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 11: if wireType != 2 { @@ -13235,8 +12874,7 @@ func (m *ApplicationPodLogsQuery) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - s := string(dAtA[iNdEx:postIndex]) - m.Kind = &s + m.Kind = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 12: if wireType != 2 { @@ -13268,8 +12906,7 @@ func (m *ApplicationPodLogsQuery) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - s := string(dAtA[iNdEx:postIndex]) - m.Group = &s + m.Group = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 13: if wireType != 2 { @@ -13301,8 +12938,7 @@ func (m *ApplicationPodLogsQuery) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - s := string(dAtA[iNdEx:postIndex]) - m.ResourceName = &s + m.ResourceName = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 14: if wireType != 0 { @@ -13323,8 +12959,7 @@ func (m *ApplicationPodLogsQuery) Unmarshal(dAtA []byte) error { break } } - b := bool(v != 0) - m.Previous = &b + m.Previous = bool(v != 0) case 15: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field AppNamespace", wireType) @@ -13355,8 +12990,7 @@ func (m *ApplicationPodLogsQuery) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - s := string(dAtA[iNdEx:postIndex]) - m.AppNamespace = &s + m.AppNamespace = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 16: if wireType != 2 { @@ -13388,8 +13022,7 @@ func (m *ApplicationPodLogsQuery) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - s := string(dAtA[iNdEx:postIndex]) - m.Project = &s + m.Project = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -13407,9 +13040,6 @@ func (m *ApplicationPodLogsQuery) Unmarshal(dAtA []byte) error { iNdEx += skippy } } - if hasFields[0]&uint64(0x00000001) == 0 { - return github_com_gogo_protobuf_proto.NewRequiredNotSetError("name") - } if iNdEx > l { return io.ErrUnexpectedEOF @@ -13417,7 +13047,6 @@ func (m *ApplicationPodLogsQuery) Unmarshal(dAtA []byte) error { return nil } func (m *LogEntry) Unmarshal(dAtA []byte) error { - var hasFields [1]uint64 l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -13476,10 +13105,8 @@ func (m *LogEntry) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - s := string(dAtA[iNdEx:postIndex]) - m.Content = &s + m.Content = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - hasFields[0] |= uint64(0x00000001) case 2: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field TimeStamp", wireType) @@ -13516,7 +13143,6 @@ func (m *LogEntry) Unmarshal(dAtA []byte) error { return err } iNdEx = postIndex - hasFields[0] |= uint64(0x00000002) case 3: if wireType != 0 { return fmt.Errorf("proto: wrong wireType = %d for field Last", wireType) @@ -13536,9 +13162,7 @@ func (m *LogEntry) Unmarshal(dAtA []byte) error { break } } - b := bool(v != 0) - m.Last = &b - hasFields[0] |= uint64(0x00000004) + m.Last = bool(v != 0) case 4: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field TimeStampStr", wireType) @@ -13569,10 +13193,8 @@ func (m *LogEntry) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - s := string(dAtA[iNdEx:postIndex]) - m.TimeStampStr = &s + m.TimeStampStr = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - hasFields[0] |= uint64(0x00000008) case 5: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field PodName", wireType) @@ -13603,10 +13225,8 @@ func (m *LogEntry) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - s := string(dAtA[iNdEx:postIndex]) - m.PodName = &s + m.PodName = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - hasFields[0] |= uint64(0x00000010) default: iNdEx = preIndex skippy, err := skipApplication(dAtA[iNdEx:]) @@ -13623,21 +13243,6 @@ func (m *LogEntry) Unmarshal(dAtA []byte) error { iNdEx += skippy } } - if hasFields[0]&uint64(0x00000001) == 0 { - return github_com_gogo_protobuf_proto.NewRequiredNotSetError("content") - } - if hasFields[0]&uint64(0x00000002) == 0 { - return github_com_gogo_protobuf_proto.NewRequiredNotSetError("timeStamp") - } - if hasFields[0]&uint64(0x00000004) == 0 { - return github_com_gogo_protobuf_proto.NewRequiredNotSetError("last") - } - if hasFields[0]&uint64(0x00000008) == 0 { - return github_com_gogo_protobuf_proto.NewRequiredNotSetError("timeStampStr") - } - if hasFields[0]&uint64(0x00000010) == 0 { - return github_com_gogo_protobuf_proto.NewRequiredNotSetError("podName") - } if iNdEx > l { return io.ErrUnexpectedEOF @@ -13645,7 +13250,6 @@ func (m *LogEntry) Unmarshal(dAtA []byte) error { return nil } func (m *OperationTerminateRequest) Unmarshal(dAtA []byte) error { - var hasFields [1]uint64 l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -13704,10 +13308,8 @@ func (m *OperationTerminateRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - s := string(dAtA[iNdEx:postIndex]) - m.Name = &s + m.Name = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - hasFields[0] |= uint64(0x00000001) case 2: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field AppNamespace", wireType) @@ -13738,8 +13340,7 @@ func (m *OperationTerminateRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - s := string(dAtA[iNdEx:postIndex]) - m.AppNamespace = &s + m.AppNamespace = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 3: if wireType != 2 { @@ -13771,8 +13372,7 @@ func (m *OperationTerminateRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - s := string(dAtA[iNdEx:postIndex]) - m.Project = &s + m.Project = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -13790,9 +13390,6 @@ func (m *OperationTerminateRequest) Unmarshal(dAtA []byte) error { iNdEx += skippy } } - if hasFields[0]&uint64(0x00000001) == 0 { - return github_com_gogo_protobuf_proto.NewRequiredNotSetError("name") - } if iNdEx > l { return io.ErrUnexpectedEOF @@ -13800,7 +13397,6 @@ func (m *OperationTerminateRequest) Unmarshal(dAtA []byte) error { return nil } func (m *ApplicationSyncWindowsQuery) Unmarshal(dAtA []byte) error { - var hasFields [1]uint64 l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -13859,10 +13455,8 @@ func (m *ApplicationSyncWindowsQuery) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - s := string(dAtA[iNdEx:postIndex]) - m.Name = &s + m.Name = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - hasFields[0] |= uint64(0x00000001) case 2: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field AppNamespace", wireType) @@ -13893,8 +13487,7 @@ func (m *ApplicationSyncWindowsQuery) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - s := string(dAtA[iNdEx:postIndex]) - m.AppNamespace = &s + m.AppNamespace = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 3: if wireType != 2 { @@ -13926,8 +13519,7 @@ func (m *ApplicationSyncWindowsQuery) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - s := string(dAtA[iNdEx:postIndex]) - m.Project = &s + m.Project = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -13945,9 +13537,6 @@ func (m *ApplicationSyncWindowsQuery) Unmarshal(dAtA []byte) error { iNdEx += skippy } } - if hasFields[0]&uint64(0x00000001) == 0 { - return github_com_gogo_protobuf_proto.NewRequiredNotSetError("name") - } if iNdEx > l { return io.ErrUnexpectedEOF @@ -13955,7 +13544,6 @@ func (m *ApplicationSyncWindowsQuery) Unmarshal(dAtA []byte) error { return nil } func (m *ApplicationSyncWindowsResponse) Unmarshal(dAtA []byte) error { - var hasFields [1]uint64 l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -14071,9 +13659,7 @@ func (m *ApplicationSyncWindowsResponse) Unmarshal(dAtA []byte) error { break } } - b := bool(v != 0) - m.CanSync = &b - hasFields[0] |= uint64(0x00000001) + m.CanSync = bool(v != 0) default: iNdEx = preIndex skippy, err := skipApplication(dAtA[iNdEx:]) @@ -14090,9 +13676,6 @@ func (m *ApplicationSyncWindowsResponse) Unmarshal(dAtA []byte) error { iNdEx += skippy } } - if hasFields[0]&uint64(0x00000001) == 0 { - return github_com_gogo_protobuf_proto.NewRequiredNotSetError("canSync") - } if iNdEx > l { return io.ErrUnexpectedEOF @@ -14100,7 +13683,6 @@ func (m *ApplicationSyncWindowsResponse) Unmarshal(dAtA []byte) error { return nil } func (m *ApplicationSyncWindow) Unmarshal(dAtA []byte) error { - var hasFields [1]uint64 l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -14159,10 +13741,8 @@ func (m *ApplicationSyncWindow) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - s := string(dAtA[iNdEx:postIndex]) - m.Kind = &s + m.Kind = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - hasFields[0] |= uint64(0x00000001) case 2: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field Schedule", wireType) @@ -14193,10 +13773,8 @@ func (m *ApplicationSyncWindow) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - s := string(dAtA[iNdEx:postIndex]) - m.Schedule = &s + m.Schedule = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - hasFields[0] |= uint64(0x00000002) case 3: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field Duration", wireType) @@ -14227,10 +13805,8 @@ func (m *ApplicationSyncWindow) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - s := string(dAtA[iNdEx:postIndex]) - m.Duration = &s + m.Duration = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - hasFields[0] |= uint64(0x00000004) case 4: if wireType != 0 { return fmt.Errorf("proto: wrong wireType = %d for field ManualSync", wireType) @@ -14250,9 +13826,7 @@ func (m *ApplicationSyncWindow) Unmarshal(dAtA []byte) error { break } } - b := bool(v != 0) - m.ManualSync = &b - hasFields[0] |= uint64(0x00000008) + m.ManualSync = bool(v != 0) default: iNdEx = preIndex skippy, err := skipApplication(dAtA[iNdEx:]) @@ -14269,18 +13843,6 @@ func (m *ApplicationSyncWindow) Unmarshal(dAtA []byte) error { iNdEx += skippy } } - if hasFields[0]&uint64(0x00000001) == 0 { - return github_com_gogo_protobuf_proto.NewRequiredNotSetError("kind") - } - if hasFields[0]&uint64(0x00000002) == 0 { - return github_com_gogo_protobuf_proto.NewRequiredNotSetError("schedule") - } - if hasFields[0]&uint64(0x00000004) == 0 { - return github_com_gogo_protobuf_proto.NewRequiredNotSetError("duration") - } - if hasFields[0]&uint64(0x00000008) == 0 { - return github_com_gogo_protobuf_proto.NewRequiredNotSetError("manualSync") - } if iNdEx > l { return io.ErrUnexpectedEOF @@ -14339,7 +13901,6 @@ func (m *OperationTerminateResponse) Unmarshal(dAtA []byte) error { return nil } func (m *ResourcesQuery) Unmarshal(dAtA []byte) error { - var hasFields [1]uint64 l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -14398,10 +13959,8 @@ func (m *ResourcesQuery) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - s := string(dAtA[iNdEx:postIndex]) - m.ApplicationName = &s + m.ApplicationName = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - hasFields[0] |= uint64(0x00000001) case 2: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType) @@ -14432,8 +13991,7 @@ func (m *ResourcesQuery) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - s := string(dAtA[iNdEx:postIndex]) - m.Namespace = &s + m.Namespace = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 3: if wireType != 2 { @@ -14465,8 +14023,7 @@ func (m *ResourcesQuery) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - s := string(dAtA[iNdEx:postIndex]) - m.Name = &s + m.Name = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 4: if wireType != 2 { @@ -14498,8 +14055,7 @@ func (m *ResourcesQuery) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - s := string(dAtA[iNdEx:postIndex]) - m.Version = &s + m.Version = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 5: if wireType != 2 { @@ -14531,8 +14087,7 @@ func (m *ResourcesQuery) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - s := string(dAtA[iNdEx:postIndex]) - m.Group = &s + m.Group = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 6: if wireType != 2 { @@ -14564,8 +14119,7 @@ func (m *ResourcesQuery) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - s := string(dAtA[iNdEx:postIndex]) - m.Kind = &s + m.Kind = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 7: if wireType != 2 { @@ -14597,8 +14151,7 @@ func (m *ResourcesQuery) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - s := string(dAtA[iNdEx:postIndex]) - m.AppNamespace = &s + m.AppNamespace = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 8: if wireType != 2 { @@ -14630,8 +14183,7 @@ func (m *ResourcesQuery) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - s := string(dAtA[iNdEx:postIndex]) - m.Project = &s + m.Project = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -14649,9 +14201,6 @@ func (m *ResourcesQuery) Unmarshal(dAtA []byte) error { iNdEx += skippy } } - if hasFields[0]&uint64(0x00000001) == 0 { - return github_com_gogo_protobuf_proto.NewRequiredNotSetError("applicationName") - } if iNdEx > l { return io.ErrUnexpectedEOF @@ -14744,7 +14293,6 @@ func (m *ManagedResourcesResponse) Unmarshal(dAtA []byte) error { return nil } func (m *LinkInfo) Unmarshal(dAtA []byte) error { - var hasFields [1]uint64 l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -14803,10 +14351,8 @@ func (m *LinkInfo) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - s := string(dAtA[iNdEx:postIndex]) - m.Title = &s + m.Title = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - hasFields[0] |= uint64(0x00000001) case 2: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field Url", wireType) @@ -14837,10 +14383,8 @@ func (m *LinkInfo) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - s := string(dAtA[iNdEx:postIndex]) - m.Url = &s + m.Url = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - hasFields[0] |= uint64(0x00000002) case 3: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field Description", wireType) @@ -14871,8 +14415,7 @@ func (m *LinkInfo) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - s := string(dAtA[iNdEx:postIndex]) - m.Description = &s + m.Description = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 4: if wireType != 2 { @@ -14904,8 +14447,7 @@ func (m *LinkInfo) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - s := string(dAtA[iNdEx:postIndex]) - m.IconClass = &s + m.IconClass = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -14923,12 +14465,6 @@ func (m *LinkInfo) Unmarshal(dAtA []byte) error { iNdEx += skippy } } - if hasFields[0]&uint64(0x00000001) == 0 { - return github_com_gogo_protobuf_proto.NewRequiredNotSetError("title") - } - if hasFields[0]&uint64(0x00000002) == 0 { - return github_com_gogo_protobuf_proto.NewRequiredNotSetError("url") - } if iNdEx > l { return io.ErrUnexpectedEOF @@ -15021,7 +14557,6 @@ func (m *LinksResponse) Unmarshal(dAtA []byte) error { return nil } func (m *ListAppLinksRequest) Unmarshal(dAtA []byte) error { - var hasFields [1]uint64 l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -15080,10 +14615,8 @@ func (m *ListAppLinksRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - s := string(dAtA[iNdEx:postIndex]) - m.Name = &s + m.Name = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - hasFields[0] |= uint64(0x00000001) case 3: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType) @@ -15114,8 +14647,7 @@ func (m *ListAppLinksRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - s := string(dAtA[iNdEx:postIndex]) - m.Namespace = &s + m.Namespace = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 4: if wireType != 2 { @@ -15147,8 +14679,7 @@ func (m *ListAppLinksRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - s := string(dAtA[iNdEx:postIndex]) - m.Project = &s + m.Project = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -15166,9 +14697,6 @@ func (m *ListAppLinksRequest) Unmarshal(dAtA []byte) error { iNdEx += skippy } } - if hasFields[0]&uint64(0x00000001) == 0 { - return github_com_gogo_protobuf_proto.NewRequiredNotSetError("name") - } if iNdEx > l { return io.ErrUnexpectedEOF diff --git a/pkg/apiclient/application/application.pb.gw.go b/pkg/apiclient/application/application.pb.gw.go index ed6064cadb9a2..4ce4fac8ab953 100644 --- a/pkg/apiclient/application/application.pb.gw.go +++ b/pkg/apiclient/application/application.pb.gw.go @@ -89,7 +89,7 @@ func request_ApplicationService_ListResourceEvents_0(ctx context.Context, marsha return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "name") } - protoReq.Name, err = runtime.StringP(val) + protoReq.Name, err = runtime.String(val) if err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "name", err) @@ -123,7 +123,7 @@ func local_request_ApplicationService_ListResourceEvents_0(ctx context.Context, return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "name") } - protoReq.Name, err = runtime.StringP(val) + protoReq.Name, err = runtime.String(val) if err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "name", err) @@ -241,7 +241,7 @@ func request_ApplicationService_Get_0(ctx context.Context, marshaler runtime.Mar return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "name") } - protoReq.Name, err = runtime.StringP(val) + protoReq.Name, err = runtime.String(val) if err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "name", err) @@ -275,7 +275,7 @@ func local_request_ApplicationService_Get_0(ctx context.Context, marshaler runti return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "name") } - protoReq.Name, err = runtime.StringP(val) + protoReq.Name, err = runtime.String(val) if err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "name", err) @@ -313,7 +313,7 @@ func request_ApplicationService_GetApplicationSyncWindows_0(ctx context.Context, return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "name") } - protoReq.Name, err = runtime.StringP(val) + protoReq.Name, err = runtime.String(val) if err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "name", err) @@ -347,7 +347,7 @@ func local_request_ApplicationService_GetApplicationSyncWindows_0(ctx context.Co return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "name") } - protoReq.Name, err = runtime.StringP(val) + protoReq.Name, err = runtime.String(val) if err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "name", err) @@ -385,7 +385,7 @@ func request_ApplicationService_RevisionMetadata_0(ctx context.Context, marshale return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "name") } - protoReq.Name, err = runtime.StringP(val) + protoReq.Name, err = runtime.String(val) if err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "name", err) @@ -396,7 +396,7 @@ func request_ApplicationService_RevisionMetadata_0(ctx context.Context, marshale return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "revision") } - protoReq.Revision, err = runtime.StringP(val) + protoReq.Revision, err = runtime.String(val) if err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "revision", err) @@ -430,7 +430,7 @@ func local_request_ApplicationService_RevisionMetadata_0(ctx context.Context, ma return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "name") } - protoReq.Name, err = runtime.StringP(val) + protoReq.Name, err = runtime.String(val) if err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "name", err) @@ -441,7 +441,7 @@ func local_request_ApplicationService_RevisionMetadata_0(ctx context.Context, ma return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "revision") } - protoReq.Revision, err = runtime.StringP(val) + protoReq.Revision, err = runtime.String(val) if err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "revision", err) @@ -479,7 +479,7 @@ func request_ApplicationService_RevisionChartDetails_0(ctx context.Context, mars return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "name") } - protoReq.Name, err = runtime.StringP(val) + protoReq.Name, err = runtime.String(val) if err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "name", err) @@ -490,7 +490,7 @@ func request_ApplicationService_RevisionChartDetails_0(ctx context.Context, mars return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "revision") } - protoReq.Revision, err = runtime.StringP(val) + protoReq.Revision, err = runtime.String(val) if err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "revision", err) @@ -524,7 +524,7 @@ func local_request_ApplicationService_RevisionChartDetails_0(ctx context.Context return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "name") } - protoReq.Name, err = runtime.StringP(val) + protoReq.Name, err = runtime.String(val) if err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "name", err) @@ -535,7 +535,7 @@ func local_request_ApplicationService_RevisionChartDetails_0(ctx context.Context return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "revision") } - protoReq.Revision, err = runtime.StringP(val) + protoReq.Revision, err = runtime.String(val) if err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "revision", err) @@ -573,7 +573,7 @@ func request_ApplicationService_GetManifests_0(ctx context.Context, marshaler ru return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "name") } - protoReq.Name, err = runtime.StringP(val) + protoReq.Name, err = runtime.String(val) if err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "name", err) @@ -607,7 +607,7 @@ func local_request_ApplicationService_GetManifests_0(ctx context.Context, marsha return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "name") } - protoReq.Name, err = runtime.StringP(val) + protoReq.Name, err = runtime.String(val) if err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "name", err) @@ -697,7 +697,7 @@ func request_ApplicationService_Update_0(ctx context.Context, marshaler runtime. return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "application.metadata.name") } - protoReq.GetApplication().GetMetadata().Name, err = runtime.StringP(val) + err = runtime.PopulateFieldFromPath(&protoReq, "application.metadata.name", val) if err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "application.metadata.name", err) @@ -739,7 +739,7 @@ func local_request_ApplicationService_Update_0(ctx context.Context, marshaler ru return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "application.metadata.name") } - protoReq.GetApplication().GetMetadata().Name, err = runtime.StringP(val) + err = runtime.PopulateFieldFromPath(&protoReq, "application.metadata.name", val) if err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "application.metadata.name", err) @@ -785,7 +785,7 @@ func request_ApplicationService_UpdateSpec_0(ctx context.Context, marshaler runt return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "name") } - protoReq.Name, err = runtime.StringP(val) + protoReq.Name, err = runtime.String(val) if err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "name", err) @@ -827,7 +827,7 @@ func local_request_ApplicationService_UpdateSpec_0(ctx context.Context, marshale return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "name") } - protoReq.Name, err = runtime.StringP(val) + protoReq.Name, err = runtime.String(val) if err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "name", err) @@ -869,7 +869,7 @@ func request_ApplicationService_Patch_0(ctx context.Context, marshaler runtime.M return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "name") } - protoReq.Name, err = runtime.StringP(val) + protoReq.Name, err = runtime.String(val) if err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "name", err) @@ -904,7 +904,7 @@ func local_request_ApplicationService_Patch_0(ctx context.Context, marshaler run return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "name") } - protoReq.Name, err = runtime.StringP(val) + protoReq.Name, err = runtime.String(val) if err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "name", err) @@ -935,7 +935,7 @@ func request_ApplicationService_Delete_0(ctx context.Context, marshaler runtime. return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "name") } - protoReq.Name, err = runtime.StringP(val) + protoReq.Name, err = runtime.String(val) if err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "name", err) @@ -969,7 +969,7 @@ func local_request_ApplicationService_Delete_0(ctx context.Context, marshaler ru return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "name") } - protoReq.Name, err = runtime.StringP(val) + protoReq.Name, err = runtime.String(val) if err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "name", err) @@ -1011,7 +1011,7 @@ func request_ApplicationService_Sync_0(ctx context.Context, marshaler runtime.Ma return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "name") } - protoReq.Name, err = runtime.StringP(val) + protoReq.Name, err = runtime.String(val) if err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "name", err) @@ -1046,7 +1046,7 @@ func local_request_ApplicationService_Sync_0(ctx context.Context, marshaler runt return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "name") } - protoReq.Name, err = runtime.StringP(val) + protoReq.Name, err = runtime.String(val) if err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "name", err) @@ -1077,7 +1077,7 @@ func request_ApplicationService_ManagedResources_0(ctx context.Context, marshale return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "applicationName") } - protoReq.ApplicationName, err = runtime.StringP(val) + protoReq.ApplicationName, err = runtime.String(val) if err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "applicationName", err) @@ -1111,7 +1111,7 @@ func local_request_ApplicationService_ManagedResources_0(ctx context.Context, ma return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "applicationName") } - protoReq.ApplicationName, err = runtime.StringP(val) + protoReq.ApplicationName, err = runtime.String(val) if err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "applicationName", err) @@ -1149,7 +1149,7 @@ func request_ApplicationService_ResourceTree_0(ctx context.Context, marshaler ru return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "applicationName") } - protoReq.ApplicationName, err = runtime.StringP(val) + protoReq.ApplicationName, err = runtime.String(val) if err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "applicationName", err) @@ -1183,7 +1183,7 @@ func local_request_ApplicationService_ResourceTree_0(ctx context.Context, marsha return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "applicationName") } - protoReq.ApplicationName, err = runtime.StringP(val) + protoReq.ApplicationName, err = runtime.String(val) if err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "applicationName", err) @@ -1221,7 +1221,7 @@ func request_ApplicationService_WatchResourceTree_0(ctx context.Context, marshal return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "applicationName") } - protoReq.ApplicationName, err = runtime.StringP(val) + protoReq.ApplicationName, err = runtime.String(val) if err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "applicationName", err) @@ -1271,7 +1271,7 @@ func request_ApplicationService_Rollback_0(ctx context.Context, marshaler runtim return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "name") } - protoReq.Name, err = runtime.StringP(val) + protoReq.Name, err = runtime.String(val) if err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "name", err) @@ -1306,7 +1306,7 @@ func local_request_ApplicationService_Rollback_0(ctx context.Context, marshaler return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "name") } - protoReq.Name, err = runtime.StringP(val) + protoReq.Name, err = runtime.String(val) if err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "name", err) @@ -1337,7 +1337,7 @@ func request_ApplicationService_TerminateOperation_0(ctx context.Context, marsha return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "name") } - protoReq.Name, err = runtime.StringP(val) + protoReq.Name, err = runtime.String(val) if err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "name", err) @@ -1371,7 +1371,7 @@ func local_request_ApplicationService_TerminateOperation_0(ctx context.Context, return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "name") } - protoReq.Name, err = runtime.StringP(val) + protoReq.Name, err = runtime.String(val) if err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "name", err) @@ -1409,7 +1409,7 @@ func request_ApplicationService_GetResource_0(ctx context.Context, marshaler run return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "name") } - protoReq.Name, err = runtime.StringP(val) + protoReq.Name, err = runtime.String(val) if err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "name", err) @@ -1443,7 +1443,7 @@ func local_request_ApplicationService_GetResource_0(ctx context.Context, marshal return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "name") } - protoReq.Name, err = runtime.StringP(val) + protoReq.Name, err = runtime.String(val) if err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "name", err) @@ -1489,7 +1489,7 @@ func request_ApplicationService_PatchResource_0(ctx context.Context, marshaler r return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "name") } - protoReq.Name, err = runtime.StringP(val) + protoReq.Name, err = runtime.String(val) if err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "name", err) @@ -1531,7 +1531,7 @@ func local_request_ApplicationService_PatchResource_0(ctx context.Context, marsh return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "name") } - protoReq.Name, err = runtime.StringP(val) + protoReq.Name, err = runtime.String(val) if err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "name", err) @@ -1569,7 +1569,7 @@ func request_ApplicationService_ListResourceActions_0(ctx context.Context, marsh return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "name") } - protoReq.Name, err = runtime.StringP(val) + protoReq.Name, err = runtime.String(val) if err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "name", err) @@ -1603,7 +1603,7 @@ func local_request_ApplicationService_ListResourceActions_0(ctx context.Context, return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "name") } - protoReq.Name, err = runtime.StringP(val) + protoReq.Name, err = runtime.String(val) if err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "name", err) @@ -1649,7 +1649,7 @@ func request_ApplicationService_RunResourceAction_0(ctx context.Context, marshal return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "name") } - protoReq.Name, err = runtime.StringP(val) + protoReq.Name, err = runtime.String(val) if err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "name", err) @@ -1691,7 +1691,7 @@ func local_request_ApplicationService_RunResourceAction_0(ctx context.Context, m return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "name") } - protoReq.Name, err = runtime.StringP(val) + protoReq.Name, err = runtime.String(val) if err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "name", err) @@ -1729,7 +1729,7 @@ func request_ApplicationService_DeleteResource_0(ctx context.Context, marshaler return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "name") } - protoReq.Name, err = runtime.StringP(val) + protoReq.Name, err = runtime.String(val) if err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "name", err) @@ -1763,7 +1763,7 @@ func local_request_ApplicationService_DeleteResource_0(ctx context.Context, mars return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "name") } - protoReq.Name, err = runtime.StringP(val) + protoReq.Name, err = runtime.String(val) if err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "name", err) @@ -1801,7 +1801,7 @@ func request_ApplicationService_PodLogs_0(ctx context.Context, marshaler runtime return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "name") } - protoReq.Name, err = runtime.StringP(val) + protoReq.Name, err = runtime.String(val) if err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "name", err) @@ -1812,7 +1812,7 @@ func request_ApplicationService_PodLogs_0(ctx context.Context, marshaler runtime return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "podName") } - protoReq.PodName, err = runtime.StringP(val) + protoReq.PodName, err = runtime.String(val) if err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "podName", err) @@ -1858,7 +1858,7 @@ func request_ApplicationService_PodLogs_1(ctx context.Context, marshaler runtime return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "name") } - protoReq.Name, err = runtime.StringP(val) + protoReq.Name, err = runtime.String(val) if err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "name", err) @@ -1904,7 +1904,7 @@ func request_ApplicationService_ListLinks_0(ctx context.Context, marshaler runti return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "name") } - protoReq.Name, err = runtime.StringP(val) + protoReq.Name, err = runtime.String(val) if err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "name", err) @@ -1938,7 +1938,7 @@ func local_request_ApplicationService_ListLinks_0(ctx context.Context, marshaler return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "name") } - protoReq.Name, err = runtime.StringP(val) + protoReq.Name, err = runtime.String(val) if err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "name", err) @@ -1976,7 +1976,7 @@ func request_ApplicationService_ListResourceLinks_0(ctx context.Context, marshal return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "name") } - protoReq.Name, err = runtime.StringP(val) + protoReq.Name, err = runtime.String(val) if err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "name", err) @@ -2010,7 +2010,7 @@ func local_request_ApplicationService_ListResourceLinks_0(ctx context.Context, m return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "name") } - protoReq.Name, err = runtime.StringP(val) + protoReq.Name, err = runtime.String(val) if err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "name", err) diff --git a/server/application/application.go b/server/application/application.go index b919bcdd66ac7..03ffaab46c81e 100644 --- a/server/application/application.go +++ b/server/application/application.go @@ -273,8 +273,8 @@ func (s *Server) List(ctx context.Context, q *application.ApplicationQuery) (*ap filteredApps := apps // Filter applications by name - if q.Name != nil { - filteredApps = argoutil.FilterByNameP(filteredApps, *q.Name) + if q.Name != "" { + filteredApps = argoutil.FilterByNameP(filteredApps, q.Name) } // Filter applications by projects @@ -324,8 +324,8 @@ func (s *Server) Create(ctx context.Context, q *application.ApplicationCreateReq defer s.projectLock.RUnlock(a.Spec.GetProject()) validate := true - if q.Validate != nil { - validate = *q.Validate + if q.Validate { + validate = q.Validate } proj, err := s.getAppProject(ctx, a, log.WithField("application", a.Name)) @@ -376,7 +376,7 @@ func (s *Server) Create(ctx context.Context, q *application.ApplicationCreateReq if equalSpecs { return existing, nil } - if q.Upsert == nil || !*q.Upsert { + if !q.Upsert { return nil, status.Errorf(codes.InvalidArgument, "existing application spec is different, use upsert flag to force update") } if err := s.enf.EnforceErr(ctx.Value("claims"), rbacpolicy.ResourceApplications, rbacpolicy.ActionUpdate, a.RBACName(s.ns)); err != nil { @@ -433,7 +433,7 @@ func (s *Server) queryRepoServer(ctx context.Context, proj *appv1.AppProject, ac // GetManifests returns application manifests func (s *Server) GetManifests(ctx context.Context, q *application.ApplicationManifestQuery) (*apiclient.ManifestResponse, error) { - if q.Name == nil || *q.Name == "" { + if q.Name == "" { return nil, fmt.Errorf("invalid request: application name is missing") } a, proj, err := s.getApplicationEnforceRBACInformer(ctx, rbacpolicy.ActionGet, q.GetProject(), q.GetAppNamespace(), q.GetName()) @@ -574,7 +574,7 @@ func (s *Server) GetManifestsWithFiles(stream application.ApplicationService_Get return fmt.Errorf("error getting query: %w", err) } - if query.Name == nil || *query.Name == "" { + if query.Name == "" { return fmt.Errorf("invalid request: application name is missing") } @@ -652,7 +652,7 @@ func (s *Server) GetManifestsWithFiles(stream application.ApplicationService_Get return fmt.Errorf("error opening stream: %w", err) } - err = manifeststream.SendRepoStream(repoStreamClient, stream, req, *query.Checksum) + err = manifeststream.SendRepoStream(repoStreamClient, stream, req, query.Checksum) if err != nil { return fmt.Errorf("error sending repo stream: %w", err) } @@ -715,12 +715,12 @@ func (s *Server) Get(ctx context.Context, q *application.ApplicationQuery) (*app s.inferResourcesStatusHealth(a) - if q.Refresh == nil { + if q.Refresh == "" { return a, nil } refreshType := appv1.RefreshTypeNormal - if *q.Refresh == string(appv1.RefreshTypeHard) { + if q.Refresh == string(appv1.RefreshTypeHard) { refreshType = appv1.RefreshTypeHard } appIf := s.appclientset.ArgoprojV1alpha1().Applications(appNs) @@ -961,10 +961,8 @@ func (s *Server) Update(ctx context.Context, q *application.ApplicationUpdateReq return nil, err } - validate := true - if q.Validate != nil { - validate = *q.Validate - } + validate := q.Validate + return s.validateAndUpdateApp(ctx, q.Application, false, validate, rbacpolicy.ActionUpdate, q.GetProject()) } @@ -979,10 +977,7 @@ func (s *Server) UpdateSpec(ctx context.Context, q *application.ApplicationUpdat } a.Spec = *q.GetSpec() - validate := true - if q.Validate != nil { - validate = *q.Validate - } + validate := q.Validate a, err = s.validateAndUpdateApp(ctx, a, false, validate, rbacpolicy.ActionUpdate, q.GetProject()) if err != nil { return nil, fmt.Errorf("error validating and updating app: %w", err) @@ -1076,16 +1071,16 @@ func (s *Server) Delete(ctx context.Context, q *application.ApplicationDeleteReq return nil, err } - if q.Cascade != nil && !*q.Cascade && q.GetPropagationPolicy() != "" { + if !q.Cascade && q.GetPropagationPolicy() != "" { return nil, status.Error(codes.InvalidArgument, "cannot set propagation policy when cascading is disabled") } patchFinalizer := false - if q.Cascade == nil || *q.Cascade { + if q.Cascade { // validate the propgation policy policyFinalizer := getPropagationPolicyFinalizer(q.GetPropagationPolicy()) if policyFinalizer == "" { - return nil, status.Errorf(codes.InvalidArgument, "invalid propagation policy: %s", *q.PropagationPolicy) + return nil, status.Errorf(codes.InvalidArgument, "invalid propagation policy: %s", q.PropagationPolicy) } if !a.IsFinalizerPresent(policyFinalizer) { a.SetCascadedDeletion(policyFinalizer) @@ -1151,8 +1146,8 @@ func (s *Server) Watch(q *application.ApplicationQuery, ws application.Applicati appName := q.GetName() appNs := s.appNamespaceOrDefault(q.GetAppNamespace()) logCtx := log.NewEntry(log.New()) - if q.Name != nil { - logCtx = logCtx.WithField("application", *q.Name) + if q.Name != "" { + logCtx = logCtx.WithField("application", q.Name) } projects := map[string]bool{} for _, project := range getProjectsFromApplicationQuery(*q) { @@ -1297,9 +1292,9 @@ func (s *Server) getCachedAppState(ctx context.Context, a *appv1.Application, ge return errors.New(argoutil.FormatAppConditions(conditions)) } _, err = s.Get(ctx, &application.ApplicationQuery{ - Name: ptr.To(a.GetName()), - AppNamespace: ptr.To(a.GetNamespace()), - Refresh: ptr.To(string(appv1.RefreshTypeNormal)), + Name: a.GetName(), + AppNamespace: a.GetNamespace(), + Refresh: string(appv1.RefreshTypeNormal), }) if err != nil { return fmt.Errorf("error getting application by query: %w", err) @@ -1370,7 +1365,7 @@ func (s *Server) GetResource(ctx context.Context, q *application.ApplicationReso return nil, fmt.Errorf("error marshaling object: %w", err) } manifest := string(data) - return &application.ApplicationResourceResponse{Manifest: &manifest}, nil + return &application.ApplicationResourceResponse{Manifest: manifest}, nil } func replaceSecretValues(obj *unstructured.Unstructured) (*unstructured.Unstructured, error) { @@ -1423,7 +1418,7 @@ func (s *Server) PatchResource(ctx context.Context, q *application.ApplicationRe s.logAppEvent(a, ctx, argo.EventReasonResourceUpdated, fmt.Sprintf("patched resource %s/%s '%s'", q.GetGroup(), q.GetKind(), q.GetResourceName())) m := string(data) return &application.ApplicationResourceResponse{ - Manifest: &m, + Manifest: m, }, nil } @@ -1495,10 +1490,7 @@ func (s *Server) RevisionMetadata(ctx context.Context, q *application.RevisionMe return nil, err } - var versionId int64 = 0 - if q.VersionId != nil { - versionId = int64(*q.VersionId) - } + versionId := int64(q.VersionId) var source *v1alpha1.ApplicationSource @@ -1531,7 +1523,7 @@ func (s *Server) RevisionMetadata(ctx context.Context, q *application.RevisionMe // we have to use the history because sources can be added/removed if emptyHistory { if isRevisionMultiSource { - source = &a.Spec.Sources[*q.SourceIndex] + source = &a.Spec.Sources[q.SourceIndex] } else { s := a.Spec.GetSource() source = &s @@ -1551,7 +1543,7 @@ func (s *Server) RevisionMetadata(ctx context.Context, q *application.RevisionMe // https://golang.org/ref/spec#For_statements h := h if isRevisionMultiSource { - source = &h.Sources[*q.SourceIndex] + source = &h.Sources[q.SourceIndex] } else { source = &h.Source } @@ -1592,8 +1584,8 @@ func (s *Server) RevisionChartDetails(ctx context.Context, q *application.Revisi // as this is only used for the UI and not internally, we can use the historical data // using the specific revisionId for _, h := range a.Status.History { - if h.ID == int64(*q.VersionId) { - source = &h.Sources[*q.SourceIndex] + if h.ID == int64(q.VersionId) { + source = &h.Sources[q.SourceIndex] } } if source == nil { @@ -1654,9 +1646,9 @@ func (s *Server) ManagedResources(ctx context.Context, q *application.ResourcesQ } func (s *Server) PodLogs(q *application.ApplicationPodLogsQuery, ws application.ApplicationService_PodLogsServer) error { - if q.PodName != nil { + if q.PodName != "" { podKind := "Pod" - q.Kind = &podKind + q.Kind = podKind q.ResourceName = q.PodName } @@ -1680,7 +1672,7 @@ func (s *Server) PodLogs(q *application.ApplicationPodLogsQuery, ws application. literal := "" inverse := false if q.GetFilter() != "" { - literal = *q.Filter + literal = q.Filter if literal[0] == '!' { literal = literal[1:] inverse = true @@ -1777,7 +1769,7 @@ func (s *Server) PodLogs(q *application.ApplicationPodLogsQuery, ws application. done <- entry.err return } else { - if q.Filter != nil { + if q.Filter != "" { lineContainsFilter := strings.Contains(entry.line, literal) if (inverse && lineContainsFilter) || (!inverse && !lineContainsFilter) { continue @@ -1786,21 +1778,21 @@ func (s *Server) PodLogs(q *application.ApplicationPodLogsQuery, ws application. ts := metav1.NewTime(entry.timeStamp) if untilTime != nil && entry.timeStamp.After(untilTime.Time) { done <- ws.Send(&application.LogEntry{ - Last: ptr.To(true), - PodName: &entry.podName, - Content: &entry.line, - TimeStampStr: ptr.To(entry.timeStamp.Format(time.RFC3339Nano)), + Last: true, + PodName: entry.podName, + Content: entry.line, + TimeStampStr: entry.timeStamp.Format(time.RFC3339Nano), TimeStamp: &ts, }) return } else { sentCount++ if err := ws.Send(&application.LogEntry{ - PodName: &entry.podName, - Content: &entry.line, - TimeStampStr: ptr.To(entry.timeStamp.Format(time.RFC3339Nano)), + PodName: entry.podName, + Content: entry.line, + TimeStampStr: entry.timeStamp.Format(time.RFC3339Nano), TimeStamp: &ts, - Last: ptr.To(false), + Last: false, }); err != nil { done <- err break @@ -1811,10 +1803,10 @@ func (s *Server) PodLogs(q *application.ApplicationPodLogsQuery, ws application. now := time.Now() nowTS := metav1.NewTime(now) done <- ws.Send(&application.LogEntry{ - Last: ptr.To(true), - PodName: ptr.To(""), - Content: ptr.To(""), - TimeStampStr: ptr.To(now.Format(time.RFC3339Nano)), + Last: true, + PodName: "", + Content: "", + TimeStampStr: now.Format(time.RFC3339Nano), TimeStamp: &nowTS, }) }() @@ -2288,7 +2280,7 @@ func (s *Server) TerminateOperation(ctx context.Context, termOpReq *application. if !apierr.IsConflict(err) { return nil, fmt.Errorf("error updating application: %w", err) } - log.Warnf("failed to set operation for app %q due to update conflict. retrying again...", *termOpReq.Name) + log.Warnf("failed to set operation for app %q due to update conflict. retrying again...", termOpReq.Name) time.Sleep(100 * time.Millisecond) a, err = s.appclientset.ArgoprojV1alpha1().Applications(appNs).Get(ctx, appName, metav1.GetOptions{}) if err != nil { @@ -2613,7 +2605,7 @@ func (s *Server) GetApplicationSyncWindows(ctx context.Context, q *application.A res := &application.ApplicationSyncWindowsResponse{ ActiveWindows: convertSyncWindows(windows.Active()), AssignedWindows: convertSyncWindows(windows), - CanSync: &sync, + CanSync: sync, } return res, nil @@ -2640,10 +2632,10 @@ func convertSyncWindows(w *appv1.SyncWindows) []*application.ApplicationSyncWind var windows []*application.ApplicationSyncWindow for _, w := range *w { nw := &application.ApplicationSyncWindow{ - Kind: &w.Kind, - Schedule: &w.Schedule, - Duration: &w.Duration, - ManualSync: &w.ManualSync, + Kind: w.Kind, + Schedule: w.Schedule, + Duration: w.Duration, + ManualSync: w.ManualSync, } windows = append(windows, nw) } diff --git a/server/application/application.proto b/server/application/application.proto index 945c0c417c65c..7398b36698e60 100644 --- a/server/application/application.proto +++ b/server/application/application.proto @@ -1,4 +1,4 @@ -syntax = "proto2"; +syntax = "proto3"; option go_package = "github.com/argoproj/argo-cd/v2/pkg/apiclient/application"; // Application Service @@ -20,72 +20,72 @@ import "github.com/argoproj/argo-cd/v2/reposerver/repository/repository.proto"; // Otherwise you will receive a 404. message ApplicationQuery { // the application's name - optional string name = 1; + string name = 1; // forces application reconciliation if set to 'hard' - optional string refresh = 2; + string refresh = 2; // the project names to restrict returned list applications repeated string projects = 3; // when specified with a watch call, shows changes that occur after that particular version of a resource. - optional string resourceVersion = 4; + string resourceVersion = 4; // the selector to restrict returned list to applications only with matched labels - optional string selector = 5; + string selector = 5; // the repoURL to restrict returned list applications - optional string repo = 6; + string repo = 6; // the application's namespace - optional string appNamespace = 7; + string appNamespace = 7; // the project names to restrict returned list applications (legacy name for backwards-compatibility) repeated string project = 8; } message NodeQuery { // the application's name - optional string name = 1; - optional string appNamespace = 2; + string name = 1; + string appNamespace = 2; } message RevisionMetadataQuery{ // the application's name - required string name = 1; + string name = 1; // the revision of the app - required string revision = 2; + string revision = 2; // the application's namespace - optional string appNamespace = 3; - optional string project = 4; + string appNamespace = 3; + string project = 4; // source index (for multi source apps) - optional int32 sourceIndex = 5; + int32 sourceIndex = 5; // versionId from historical data (for multi source apps) - optional int32 versionId = 6; + int32 versionId = 6; } // ApplicationEventsQuery is a query for application resource events message ApplicationResourceEventsQuery { - required string name = 1; - optional string resourceNamespace = 2; - optional string resourceName = 3; - optional string resourceUID = 4; - optional string appNamespace = 5; - optional string project = 6; + string name = 1; + string resourceNamespace = 2; + string resourceName = 3; + string resourceUID = 4; + string appNamespace = 5; + string project = 6; } // ManifestQuery is a query for manifest resources message ApplicationManifestQuery { - required string name = 1; - optional string revision = 2; - optional string appNamespace = 3; - optional string project = 4; + string name = 1; + string revision = 2; + string appNamespace = 3; + string project = 4; repeated int64 sourcePositions = 5; repeated string revisions = 6; } message FileChunk { - required bytes chunk = 1; + bytes chunk = 1; } message ApplicationManifestQueryWithFiles { - required string name = 1; - required string checksum = 2; - optional string appNamespace = 3; - optional string project = 4; + string name = 1; + string checksum = 2; + string appNamespace = 3; + string project = 4; } message ApplicationManifestQueryWithFilesWrapper { @@ -98,23 +98,23 @@ message ApplicationManifestQueryWithFilesWrapper { message ApplicationResponse {} message ApplicationCreateRequest { - required github.com.argoproj.argo_cd.v2.pkg.apis.application.v1alpha1.Application application = 1; - optional bool upsert = 2; - optional bool validate = 3; + github.com.argoproj.argo_cd.v2.pkg.apis.application.v1alpha1.Application application = 1; + bool upsert = 2; + bool validate = 3; } message ApplicationUpdateRequest { - required github.com.argoproj.argo_cd.v2.pkg.apis.application.v1alpha1.Application application = 1; - optional bool validate = 2; - optional string project = 3; + github.com.argoproj.argo_cd.v2.pkg.apis.application.v1alpha1.Application application = 1; + bool validate = 2; + string project = 3; } message ApplicationDeleteRequest { - required string name = 1; - optional bool cascade = 2; - optional string propagationPolicy = 3; - optional string appNamespace = 4; - optional string project = 5; + string name = 1; + bool cascade = 2; + string propagationPolicy = 3; + string appNamespace = 4; + string project = 5; } message SyncOptions { @@ -123,96 +123,96 @@ message SyncOptions { // ApplicationSyncRequest is a request to apply the config state to live state message ApplicationSyncRequest { - required string name = 1; - optional string revision = 2; - optional bool dryRun = 3; - optional bool prune = 4; - optional github.com.argoproj.argo_cd.v2.pkg.apis.application.v1alpha1.SyncStrategy strategy = 5; + string name = 1; + string revision = 2; + bool dryRun = 3; + bool prune = 4; + github.com.argoproj.argo_cd.v2.pkg.apis.application.v1alpha1.SyncStrategy strategy = 5; repeated github.com.argoproj.argo_cd.v2.pkg.apis.application.v1alpha1.SyncOperationResource resources = 7; repeated string manifests = 8; repeated github.com.argoproj.argo_cd.v2.pkg.apis.application.v1alpha1.Info infos = 9; - optional github.com.argoproj.argo_cd.v2.pkg.apis.application.v1alpha1.RetryStrategy retryStrategy = 10; - optional SyncOptions syncOptions = 11; - optional string appNamespace = 12; - optional string project = 13; + github.com.argoproj.argo_cd.v2.pkg.apis.application.v1alpha1.RetryStrategy retryStrategy = 10; + SyncOptions syncOptions = 11; + string appNamespace = 12; + string project = 13; repeated int64 sourcePositions = 14; repeated string revisions = 15; } // ApplicationUpdateSpecRequest is a request to update application spec message ApplicationUpdateSpecRequest { - required string name = 1; - required github.com.argoproj.argo_cd.v2.pkg.apis.application.v1alpha1.ApplicationSpec spec = 2; - optional bool validate = 3; - optional string appNamespace = 4; - optional string project = 5; + string name = 1; + github.com.argoproj.argo_cd.v2.pkg.apis.application.v1alpha1.ApplicationSpec spec = 2; + bool validate = 3; + string appNamespace = 4; + string project = 5; } // ApplicationPatchRequest is a request to patch an application message ApplicationPatchRequest { - required string name = 1; - required string patch = 2; - required string patchType = 3; - optional string appNamespace = 5; - optional string project = 6; + string name = 1; + string patch = 2; + string patchType = 3; + string appNamespace = 5; + string project = 6; } message ApplicationRollbackRequest { - required string name = 1; - required int64 id = 2; - optional bool dryRun = 3; - optional bool prune = 4; - optional string appNamespace = 6; - optional string project = 7; + string name = 1; + int64 id = 2; + bool dryRun = 3; + bool prune = 4; + string appNamespace = 6; + string project = 7; } message ApplicationResourceRequest { - required string name = 1; - optional string namespace = 2; - required string resourceName = 3; - required string version = 4; - optional string group = 5; - required string kind = 6; - optional string appNamespace = 7; - optional string project = 8; + string name = 1; + string namespace = 2; + string resourceName = 3; + string version = 4; + string group = 5; + string kind = 6; + string appNamespace = 7; + string project = 8; } message ApplicationResourcePatchRequest { - required string name = 1; - optional string namespace = 2; - required string resourceName = 3; - required string version = 4; - optional string group = 5; - required string kind = 6; - required string patch = 7; - required string patchType = 8; - optional string appNamespace = 9; - optional string project = 10; + string name = 1; + string namespace = 2; + string resourceName = 3; + string version = 4; + string group = 5; + string kind = 6; + string patch = 7; + string patchType = 8; + string appNamespace = 9; + string project = 10; } message ApplicationResourceDeleteRequest { - required string name = 1; - optional string namespace = 2; - required string resourceName = 3; - required string version = 4; - optional string group = 5; - required string kind = 6; - optional bool force = 7; - optional bool orphan = 8; - optional string appNamespace = 9; - optional string project = 10; + string name = 1; + string namespace = 2; + string resourceName = 3; + string version = 4; + string group = 5; + string kind = 6; + bool force = 7; + bool orphan = 8; + string appNamespace = 9; + string project = 10; } message ResourceActionRunRequest { - required string name = 1; - optional string namespace = 2; - required string resourceName = 3; - required string version = 4; - optional string group = 5; - required string kind = 6; - required string action = 7; - optional string appNamespace = 8; - optional string project = 9; + string name = 1; + string namespace = 2; + string resourceName = 3; + string version = 4; + string group = 5; + string kind = 6; + string action = 7; + string appNamespace = 8; + string project = 9; } message ResourceActionsListResponse { @@ -220,60 +220,60 @@ message ResourceActionsListResponse { } message ApplicationResourceResponse { - required string manifest = 1; + string manifest = 1; } message ApplicationPodLogsQuery { - required string name = 1; - optional string namespace = 2; - optional string podName = 3; - optional string container = 4; - optional int64 sinceSeconds = 5; - optional k8s.io.apimachinery.pkg.apis.meta.v1.Time sinceTime = 6; - optional int64 tailLines = 7; - optional bool follow = 8; - optional string untilTime = 9; - optional string filter = 10; - optional string kind = 11; - optional string group = 12; - optional string resourceName = 13 ; - optional bool previous = 14; - optional string appNamespace = 15; - optional string project = 16; + string name = 1; + string namespace = 2; + string podName = 3; + string container = 4; + int64 sinceSeconds = 5; + k8s.io.apimachinery.pkg.apis.meta.v1.Time sinceTime = 6; + int64 tailLines = 7; + bool follow = 8; + string untilTime = 9; + string filter = 10; + string kind = 11; + string group = 12; + string resourceName = 13 ; + bool previous = 14; + string appNamespace = 15; + string project = 16; } message LogEntry { - required string content = 1; + string content = 1; // deprecated in favor of timeStampStr since meta.v1.Time don't support nano time - required k8s.io.apimachinery.pkg.apis.meta.v1.Time timeStamp = 2; - required bool last = 3; - required string timeStampStr = 4; - required string podName = 5; + k8s.io.apimachinery.pkg.apis.meta.v1.Time timeStamp = 2; + bool last = 3; + string timeStampStr = 4; + string podName = 5; } message OperationTerminateRequest { - required string name = 1; - optional string appNamespace = 2; - optional string project = 3; + string name = 1; + string appNamespace = 2; + string project = 3; } message ApplicationSyncWindowsQuery { - required string name = 1; - optional string appNamespace = 2; - optional string project = 3; + string name = 1; + string appNamespace = 2; + string project = 3; } message ApplicationSyncWindowsResponse { repeated ApplicationSyncWindow activeWindows = 1; repeated ApplicationSyncWindow assignedWindows = 2; - required bool canSync = 3; + bool canSync = 3; } message ApplicationSyncWindow { - required string kind = 1; - required string schedule = 2; - required string duration = 3; - required bool manualSync = 4; + string kind = 1; + string schedule = 2; + string duration = 3; + bool manualSync = 4; } message OperationTerminateResponse { @@ -281,15 +281,15 @@ message OperationTerminateResponse { message ResourcesQuery { - required string applicationName = 1; + string applicationName = 1; - optional string namespace = 2; - optional string name = 3; - optional string version = 4; - optional string group = 5; - optional string kind = 6; - optional string appNamespace = 7; - optional string project = 8; + string namespace = 2; + string name = 3; + string version = 4; + string group = 5; + string kind = 6; + string appNamespace = 7; + string project = 8; } message ManagedResourcesResponse { @@ -297,10 +297,10 @@ message ManagedResourcesResponse { } message LinkInfo { - required string title = 1; - required string url = 2; - optional string description = 3; - optional string iconClass = 4; + string title = 1; + string url = 2; + string description = 3; + string iconClass = 4; } message LinksResponse { @@ -308,9 +308,9 @@ message LinksResponse { } message ListAppLinksRequest { - required string name = 1; - optional string namespace = 3; - optional string project = 4; + string name = 1; + string namespace = 3; + string project = 4; } diff --git a/server/deeplinks/deeplinks.go b/server/deeplinks/deeplinks.go index 13d332072ce40..54178e25ccbe8 100644 --- a/server/deeplinks/deeplinks.go +++ b/server/deeplinks/deeplinks.go @@ -7,13 +7,11 @@ import ( "github.com/Masterminds/sprig/v3" "github.com/antonmedv/expr" - "github.com/argoproj/gitops-engine/pkg/utils/kube" - "k8s.io/apimachinery/pkg/apis/meta/v1/unstructured" - "k8s.io/utils/ptr" - "github.com/argoproj/argo-cd/v2/pkg/apiclient/application" "github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1" "github.com/argoproj/argo-cd/v2/util/settings" + "github.com/argoproj/gitops-engine/pkg/utils/kube" + "k8s.io/apimachinery/pkg/apis/meta/v1/unstructured" ) var sprigFuncMap = sprig.GenericFuncMap() // a singleton for better performance @@ -105,10 +103,10 @@ func EvaluateDeepLinksResponse(obj map[string]interface{}, name string, links [] case bool: if resOut { finalLinks = append(finalLinks, &application.LinkInfo{ - Title: ptr.To(link.Title), - Url: ptr.To(finalURL.String()), - Description: link.Description, - IconClass: link.IconClass, + Title: link.Title, + Url: finalURL.String(), + Description: *link.Description, + IconClass: *link.IconClass, }) } default: @@ -117,10 +115,10 @@ func EvaluateDeepLinksResponse(obj map[string]interface{}, name string, links [] } } else { finalLinks = append(finalLinks, &application.LinkInfo{ - Title: ptr.To(link.Title), - Url: ptr.To(finalURL.String()), - Description: link.Description, - IconClass: link.IconClass, + Title: link.Title, + Url: finalURL.String(), + Description: *link.Description, + IconClass: *link.IconClass, }) } } diff --git a/util/manifeststream/stream.go b/util/manifeststream/stream.go index 9243b735fc53c..612e49c44e232 100644 --- a/util/manifeststream/stream.go +++ b/util/manifeststream/stream.go @@ -51,9 +51,9 @@ func SendApplicationManifestQueryWithFiles(ctx context.Context, stream Applicati err = stream.Send(&applicationpkg.ApplicationManifestQueryWithFilesWrapper{ Part: &applicationpkg.ApplicationManifestQueryWithFilesWrapper_Query{ Query: &applicationpkg.ApplicationManifestQueryWithFiles{ - Name: &appName, - Checksum: &checksum, - AppNamespace: &appNs, + Name: appName, + Checksum: checksum, + AppNamespace: appNs, }, }, })