// SPDX-License-Identifier: MIT // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.36.12 // protoc (unknown) // source: ermite/ci_settings.proto package ermite import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" reflect "reflect" sync "sync" unsafe "unsafe" ) const ( // Verify that this generated code is sufficiently up-to-date. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) // Verify that runtime/protoimpl is sufficiently up-to-date. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) ) // SettingsScope says where a secret or a variable lives, like the scopes of // GitHub Actions. A job sees the ones of its instance, its repository and its // environment, and the narrowest scope wins: environment over repository over // instance. type SettingsScope struct { state protoimpl.MessageState `protogen:"open.v1"` // Where is the scope. It is required: a request without it is // invalid_argument. // // Types that are valid to be assigned to Where: // // *SettingsScope_Instance // *SettingsScope_Repo // *SettingsScope_Environment Where isSettingsScope_Where `protobuf_oneof:"where"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *SettingsScope) Reset() { *x = SettingsScope{} mi := &file_ermite_ci_settings_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *SettingsScope) String() string { return protoimpl.X.MessageStringOf(x) } func (*SettingsScope) ProtoMessage() {} func (x *SettingsScope) ProtoReflect() protoreflect.Message { mi := &file_ermite_ci_settings_proto_msgTypes[0] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use SettingsScope.ProtoReflect.Descriptor instead. func (*SettingsScope) Descriptor() ([]byte, []int) { return file_ermite_ci_settings_proto_rawDescGZIP(), []int{0} } func (x *SettingsScope) GetWhere() isSettingsScope_Where { if x != nil { return x.Where } return nil } func (x *SettingsScope) GetInstance() bool { if x != nil { if x, ok := x.Where.(*SettingsScope_Instance); ok { return x.Instance } } return false } func (x *SettingsScope) GetRepo() string { if x != nil { if x, ok := x.Where.(*SettingsScope_Repo); ok { return x.Repo } } return "" } func (x *SettingsScope) GetEnvironment() *EnvironmentRef { if x != nil { if x, ok := x.Where.(*SettingsScope_Environment); ok { return x.Environment } } return nil } type isSettingsScope_Where interface { isSettingsScope_Where() } type SettingsScope_Instance struct { // Instance is the whole server. It must be true when set. It needs a token // that is not restricted to repositories, or the root token. Instance bool `protobuf:"varint,1,opt,name=instance,proto3,oneof"` } type SettingsScope_Repo struct { // Repo is the name of a repository. Repo string `protobuf:"bytes,2,opt,name=repo,proto3,oneof"` } type SettingsScope_Environment struct { // Environment is an environment of a repository. Environment *EnvironmentRef `protobuf:"bytes,3,opt,name=environment,proto3,oneof"` } func (*SettingsScope_Instance) isSettingsScope_Where() {} func (*SettingsScope_Repo) isSettingsScope_Where() {} func (*SettingsScope_Environment) isSettingsScope_Where() {} // EnvironmentRef names an environment of a repository. type EnvironmentRef struct { state protoimpl.MessageState `protogen:"open.v1"` // Repo is the repository name. Repo string `protobuf:"bytes,1,opt,name=repo,proto3" json:"repo,omitempty"` // Name is the environment name, see Environment.name. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *EnvironmentRef) Reset() { *x = EnvironmentRef{} mi := &file_ermite_ci_settings_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *EnvironmentRef) String() string { return protoimpl.X.MessageStringOf(x) } func (*EnvironmentRef) ProtoMessage() {} func (x *EnvironmentRef) ProtoReflect() protoreflect.Message { mi := &file_ermite_ci_settings_proto_msgTypes[1] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use EnvironmentRef.ProtoReflect.Descriptor instead. func (*EnvironmentRef) Descriptor() ([]byte, []int) { return file_ermite_ci_settings_proto_rawDescGZIP(), []int{1} } func (x *EnvironmentRef) GetRepo() string { if x != nil { return x.Repo } return "" } func (x *EnvironmentRef) GetName() string { if x != nil { return x.Name } return "" } // Secret describes a stored secret. It never contains the value: a value can // be set but not read back. type Secret struct { state protoimpl.MessageState `protogen:"open.v1"` // Name is the name of the secret, in upper case as the server stores it. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // UpdatedAt is when the value was last set. UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *Secret) Reset() { *x = Secret{} mi := &file_ermite_ci_settings_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *Secret) String() string { return protoimpl.X.MessageStringOf(x) } func (*Secret) ProtoMessage() {} func (x *Secret) ProtoReflect() protoreflect.Message { mi := &file_ermite_ci_settings_proto_msgTypes[2] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use Secret.ProtoReflect.Descriptor instead. func (*Secret) Descriptor() ([]byte, []int) { return file_ermite_ci_settings_proto_rawDescGZIP(), []int{2} } func (x *Secret) GetName() string { if x != nil { return x.Name } return "" } func (x *Secret) GetUpdatedAt() *timestamppb.Timestamp { if x != nil { return x.UpdatedAt } return nil } // Variable is a configuration variable. Unlike a secret its value can be read // back and it may appear in logs. type Variable struct { state protoimpl.MessageState `protogen:"open.v1"` // Name is the name of the variable, in upper case as the server stores it. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Value is the value, at most 48 KiB. Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // UpdatedAt is when the value was last set. UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *Variable) Reset() { *x = Variable{} mi := &file_ermite_ci_settings_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *Variable) String() string { return protoimpl.X.MessageStringOf(x) } func (*Variable) ProtoMessage() {} func (x *Variable) ProtoReflect() protoreflect.Message { mi := &file_ermite_ci_settings_proto_msgTypes[3] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use Variable.ProtoReflect.Descriptor instead. func (*Variable) Descriptor() ([]byte, []int) { return file_ermite_ci_settings_proto_rawDescGZIP(), []int{3} } func (x *Variable) GetName() string { if x != nil { return x.Name } return "" } func (x *Variable) GetValue() string { if x != nil { return x.Value } return "" } func (x *Variable) GetUpdatedAt() *timestamppb.Timestamp { if x != nil { return x.UpdatedAt } return nil } // Environment is a named deployment target of a repository, to which secrets // and variables can be attached. A workflow job that names an environment // creates it on first use, as on GitHub. type Environment struct { state protoimpl.MessageState `protogen:"open.v1"` // Repo is the repository name. Repo string `protobuf:"bytes,1,opt,name=repo,proto3" json:"repo,omitempty"` // Name is the name of the environment, 1 to 255 characters without control // characters, unique in the repository without regard to case. The server // keeps the case it was given. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // CreatedAt is when the environment was created. CreatedAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *Environment) Reset() { *x = Environment{} mi := &file_ermite_ci_settings_proto_msgTypes[4] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *Environment) String() string { return protoimpl.X.MessageStringOf(x) } func (*Environment) ProtoMessage() {} func (x *Environment) ProtoReflect() protoreflect.Message { mi := &file_ermite_ci_settings_proto_msgTypes[4] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use Environment.ProtoReflect.Descriptor instead. func (*Environment) Descriptor() ([]byte, []int) { return file_ermite_ci_settings_proto_rawDescGZIP(), []int{4} } func (x *Environment) GetRepo() string { if x != nil { return x.Repo } return "" } func (x *Environment) GetName() string { if x != nil { return x.Name } return "" } func (x *Environment) GetCreatedAt() *timestamppb.Timestamp { if x != nil { return x.CreatedAt } return nil } // SetSecretRequest names a secret and gives its value. type SetSecretRequest struct { state protoimpl.MessageState `protogen:"open.v1"` // Scope is where the secret lives. Scope *SettingsScope `protobuf:"bytes,1,opt,name=scope,proto3" json:"scope,omitempty"` // Name is the name of the secret. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // Value is the value in plain text, 1 byte to 48 KiB. It may contain // several lines. Value string `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *SetSecretRequest) Reset() { *x = SetSecretRequest{} mi := &file_ermite_ci_settings_proto_msgTypes[5] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *SetSecretRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*SetSecretRequest) ProtoMessage() {} func (x *SetSecretRequest) ProtoReflect() protoreflect.Message { mi := &file_ermite_ci_settings_proto_msgTypes[5] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use SetSecretRequest.ProtoReflect.Descriptor instead. func (*SetSecretRequest) Descriptor() ([]byte, []int) { return file_ermite_ci_settings_proto_rawDescGZIP(), []int{5} } func (x *SetSecretRequest) GetScope() *SettingsScope { if x != nil { return x.Scope } return nil } func (x *SetSecretRequest) GetName() string { if x != nil { return x.Name } return "" } func (x *SetSecretRequest) GetValue() string { if x != nil { return x.Value } return "" } // SetSecretResponse describes the stored secret. type SetSecretResponse struct { state protoimpl.MessageState `protogen:"open.v1"` // Secret is the secret, without its value. Secret *Secret `protobuf:"bytes,1,opt,name=secret,proto3" json:"secret,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *SetSecretResponse) Reset() { *x = SetSecretResponse{} mi := &file_ermite_ci_settings_proto_msgTypes[6] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *SetSecretResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*SetSecretResponse) ProtoMessage() {} func (x *SetSecretResponse) ProtoReflect() protoreflect.Message { mi := &file_ermite_ci_settings_proto_msgTypes[6] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use SetSecretResponse.ProtoReflect.Descriptor instead. func (*SetSecretResponse) Descriptor() ([]byte, []int) { return file_ermite_ci_settings_proto_rawDescGZIP(), []int{6} } func (x *SetSecretResponse) GetSecret() *Secret { if x != nil { return x.Secret } return nil } // ListSecretsRequest selects a page of the secrets of a scope. type ListSecretsRequest struct { state protoimpl.MessageState `protogen:"open.v1"` // Scope is the scope to list. Scope *SettingsScope `protobuf:"bytes,1,opt,name=scope,proto3" json:"scope,omitempty"` // PageSize is the maximum number of secrets to return. 0 means the server // default; values above the server maximum are lowered to it. PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // PageToken is the next_page_token of a previous response. Empty for the // first page. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *ListSecretsRequest) Reset() { *x = ListSecretsRequest{} mi := &file_ermite_ci_settings_proto_msgTypes[7] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *ListSecretsRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*ListSecretsRequest) ProtoMessage() {} func (x *ListSecretsRequest) ProtoReflect() protoreflect.Message { mi := &file_ermite_ci_settings_proto_msgTypes[7] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use ListSecretsRequest.ProtoReflect.Descriptor instead. func (*ListSecretsRequest) Descriptor() ([]byte, []int) { return file_ermite_ci_settings_proto_rawDescGZIP(), []int{7} } func (x *ListSecretsRequest) GetScope() *SettingsScope { if x != nil { return x.Scope } return nil } func (x *ListSecretsRequest) GetPageSize() int32 { if x != nil { return x.PageSize } return 0 } func (x *ListSecretsRequest) GetPageToken() string { if x != nil { return x.PageToken } return "" } // ListSecretsResponse is one page of secrets. type ListSecretsResponse struct { state protoimpl.MessageState `protogen:"open.v1"` // Secrets are the secrets of this page, ordered by name, without values. Secrets []*Secret `protobuf:"bytes,1,rep,name=secrets,proto3" json:"secrets,omitempty"` // NextPageToken is passed as page_token to get the next page. Empty when // there is no next page. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *ListSecretsResponse) Reset() { *x = ListSecretsResponse{} mi := &file_ermite_ci_settings_proto_msgTypes[8] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *ListSecretsResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*ListSecretsResponse) ProtoMessage() {} func (x *ListSecretsResponse) ProtoReflect() protoreflect.Message { mi := &file_ermite_ci_settings_proto_msgTypes[8] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use ListSecretsResponse.ProtoReflect.Descriptor instead. func (*ListSecretsResponse) Descriptor() ([]byte, []int) { return file_ermite_ci_settings_proto_rawDescGZIP(), []int{8} } func (x *ListSecretsResponse) GetSecrets() []*Secret { if x != nil { return x.Secrets } return nil } func (x *ListSecretsResponse) GetNextPageToken() string { if x != nil { return x.NextPageToken } return "" } // DeleteSecretRequest names the secret to delete. type DeleteSecretRequest struct { state protoimpl.MessageState `protogen:"open.v1"` // Scope is where the secret lives. Scope *SettingsScope `protobuf:"bytes,1,opt,name=scope,proto3" json:"scope,omitempty"` // Name is the name of the secret, without regard to case. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *DeleteSecretRequest) Reset() { *x = DeleteSecretRequest{} mi := &file_ermite_ci_settings_proto_msgTypes[9] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *DeleteSecretRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*DeleteSecretRequest) ProtoMessage() {} func (x *DeleteSecretRequest) ProtoReflect() protoreflect.Message { mi := &file_ermite_ci_settings_proto_msgTypes[9] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use DeleteSecretRequest.ProtoReflect.Descriptor instead. func (*DeleteSecretRequest) Descriptor() ([]byte, []int) { return file_ermite_ci_settings_proto_rawDescGZIP(), []int{9} } func (x *DeleteSecretRequest) GetScope() *SettingsScope { if x != nil { return x.Scope } return nil } func (x *DeleteSecretRequest) GetName() string { if x != nil { return x.Name } return "" } // DeleteSecretResponse is empty. type DeleteSecretResponse struct { state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *DeleteSecretResponse) Reset() { *x = DeleteSecretResponse{} mi := &file_ermite_ci_settings_proto_msgTypes[10] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *DeleteSecretResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*DeleteSecretResponse) ProtoMessage() {} func (x *DeleteSecretResponse) ProtoReflect() protoreflect.Message { mi := &file_ermite_ci_settings_proto_msgTypes[10] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use DeleteSecretResponse.ProtoReflect.Descriptor instead. func (*DeleteSecretResponse) Descriptor() ([]byte, []int) { return file_ermite_ci_settings_proto_rawDescGZIP(), []int{10} } // SetVariableRequest names a variable and gives its value. type SetVariableRequest struct { state protoimpl.MessageState `protogen:"open.v1"` // Scope is where the variable lives. Scope *SettingsScope `protobuf:"bytes,1,opt,name=scope,proto3" json:"scope,omitempty"` // Name is the name of the variable. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // Value is the value, at most 48 KiB. Value string `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *SetVariableRequest) Reset() { *x = SetVariableRequest{} mi := &file_ermite_ci_settings_proto_msgTypes[11] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *SetVariableRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*SetVariableRequest) ProtoMessage() {} func (x *SetVariableRequest) ProtoReflect() protoreflect.Message { mi := &file_ermite_ci_settings_proto_msgTypes[11] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use SetVariableRequest.ProtoReflect.Descriptor instead. func (*SetVariableRequest) Descriptor() ([]byte, []int) { return file_ermite_ci_settings_proto_rawDescGZIP(), []int{11} } func (x *SetVariableRequest) GetScope() *SettingsScope { if x != nil { return x.Scope } return nil } func (x *SetVariableRequest) GetName() string { if x != nil { return x.Name } return "" } func (x *SetVariableRequest) GetValue() string { if x != nil { return x.Value } return "" } // SetVariableResponse holds the stored variable. type SetVariableResponse struct { state protoimpl.MessageState `protogen:"open.v1"` // Variable is the variable as stored. Variable *Variable `protobuf:"bytes,1,opt,name=variable,proto3" json:"variable,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *SetVariableResponse) Reset() { *x = SetVariableResponse{} mi := &file_ermite_ci_settings_proto_msgTypes[12] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *SetVariableResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*SetVariableResponse) ProtoMessage() {} func (x *SetVariableResponse) ProtoReflect() protoreflect.Message { mi := &file_ermite_ci_settings_proto_msgTypes[12] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use SetVariableResponse.ProtoReflect.Descriptor instead. func (*SetVariableResponse) Descriptor() ([]byte, []int) { return file_ermite_ci_settings_proto_rawDescGZIP(), []int{12} } func (x *SetVariableResponse) GetVariable() *Variable { if x != nil { return x.Variable } return nil } // GetVariableRequest names a variable. type GetVariableRequest struct { state protoimpl.MessageState `protogen:"open.v1"` // Scope is where the variable lives. Scope *SettingsScope `protobuf:"bytes,1,opt,name=scope,proto3" json:"scope,omitempty"` // Name is the name of the variable, without regard to case. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *GetVariableRequest) Reset() { *x = GetVariableRequest{} mi := &file_ermite_ci_settings_proto_msgTypes[13] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *GetVariableRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*GetVariableRequest) ProtoMessage() {} func (x *GetVariableRequest) ProtoReflect() protoreflect.Message { mi := &file_ermite_ci_settings_proto_msgTypes[13] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use GetVariableRequest.ProtoReflect.Descriptor instead. func (*GetVariableRequest) Descriptor() ([]byte, []int) { return file_ermite_ci_settings_proto_rawDescGZIP(), []int{13} } func (x *GetVariableRequest) GetScope() *SettingsScope { if x != nil { return x.Scope } return nil } func (x *GetVariableRequest) GetName() string { if x != nil { return x.Name } return "" } // GetVariableResponse holds a variable. type GetVariableResponse struct { state protoimpl.MessageState `protogen:"open.v1"` // Variable is the variable. Variable *Variable `protobuf:"bytes,1,opt,name=variable,proto3" json:"variable,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *GetVariableResponse) Reset() { *x = GetVariableResponse{} mi := &file_ermite_ci_settings_proto_msgTypes[14] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *GetVariableResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*GetVariableResponse) ProtoMessage() {} func (x *GetVariableResponse) ProtoReflect() protoreflect.Message { mi := &file_ermite_ci_settings_proto_msgTypes[14] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use GetVariableResponse.ProtoReflect.Descriptor instead. func (*GetVariableResponse) Descriptor() ([]byte, []int) { return file_ermite_ci_settings_proto_rawDescGZIP(), []int{14} } func (x *GetVariableResponse) GetVariable() *Variable { if x != nil { return x.Variable } return nil } // ListVariablesRequest selects a page of the variables of a scope. type ListVariablesRequest struct { state protoimpl.MessageState `protogen:"open.v1"` // Scope is the scope to list. Scope *SettingsScope `protobuf:"bytes,1,opt,name=scope,proto3" json:"scope,omitempty"` // PageSize is the maximum number of variables to return. 0 means the server // default; values above the server maximum are lowered to it. PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // PageToken is the next_page_token of a previous response. Empty for the // first page. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *ListVariablesRequest) Reset() { *x = ListVariablesRequest{} mi := &file_ermite_ci_settings_proto_msgTypes[15] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *ListVariablesRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*ListVariablesRequest) ProtoMessage() {} func (x *ListVariablesRequest) ProtoReflect() protoreflect.Message { mi := &file_ermite_ci_settings_proto_msgTypes[15] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use ListVariablesRequest.ProtoReflect.Descriptor instead. func (*ListVariablesRequest) Descriptor() ([]byte, []int) { return file_ermite_ci_settings_proto_rawDescGZIP(), []int{15} } func (x *ListVariablesRequest) GetScope() *SettingsScope { if x != nil { return x.Scope } return nil } func (x *ListVariablesRequest) GetPageSize() int32 { if x != nil { return x.PageSize } return 0 } func (x *ListVariablesRequest) GetPageToken() string { if x != nil { return x.PageToken } return "" } // ListVariablesResponse is one page of variables. type ListVariablesResponse struct { state protoimpl.MessageState `protogen:"open.v1"` // Variables are the variables of this page, ordered by name. Variables []*Variable `protobuf:"bytes,1,rep,name=variables,proto3" json:"variables,omitempty"` // NextPageToken is passed as page_token to get the next page. Empty when // there is no next page. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *ListVariablesResponse) Reset() { *x = ListVariablesResponse{} mi := &file_ermite_ci_settings_proto_msgTypes[16] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *ListVariablesResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*ListVariablesResponse) ProtoMessage() {} func (x *ListVariablesResponse) ProtoReflect() protoreflect.Message { mi := &file_ermite_ci_settings_proto_msgTypes[16] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use ListVariablesResponse.ProtoReflect.Descriptor instead. func (*ListVariablesResponse) Descriptor() ([]byte, []int) { return file_ermite_ci_settings_proto_rawDescGZIP(), []int{16} } func (x *ListVariablesResponse) GetVariables() []*Variable { if x != nil { return x.Variables } return nil } func (x *ListVariablesResponse) GetNextPageToken() string { if x != nil { return x.NextPageToken } return "" } // DeleteVariableRequest names the variable to delete. type DeleteVariableRequest struct { state protoimpl.MessageState `protogen:"open.v1"` // Scope is where the variable lives. Scope *SettingsScope `protobuf:"bytes,1,opt,name=scope,proto3" json:"scope,omitempty"` // Name is the name of the variable, without regard to case. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *DeleteVariableRequest) Reset() { *x = DeleteVariableRequest{} mi := &file_ermite_ci_settings_proto_msgTypes[17] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *DeleteVariableRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*DeleteVariableRequest) ProtoMessage() {} func (x *DeleteVariableRequest) ProtoReflect() protoreflect.Message { mi := &file_ermite_ci_settings_proto_msgTypes[17] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use DeleteVariableRequest.ProtoReflect.Descriptor instead. func (*DeleteVariableRequest) Descriptor() ([]byte, []int) { return file_ermite_ci_settings_proto_rawDescGZIP(), []int{17} } func (x *DeleteVariableRequest) GetScope() *SettingsScope { if x != nil { return x.Scope } return nil } func (x *DeleteVariableRequest) GetName() string { if x != nil { return x.Name } return "" } // DeleteVariableResponse is empty. type DeleteVariableResponse struct { state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *DeleteVariableResponse) Reset() { *x = DeleteVariableResponse{} mi := &file_ermite_ci_settings_proto_msgTypes[18] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *DeleteVariableResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*DeleteVariableResponse) ProtoMessage() {} func (x *DeleteVariableResponse) ProtoReflect() protoreflect.Message { mi := &file_ermite_ci_settings_proto_msgTypes[18] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use DeleteVariableResponse.ProtoReflect.Descriptor instead. func (*DeleteVariableResponse) Descriptor() ([]byte, []int) { return file_ermite_ci_settings_proto_rawDescGZIP(), []int{18} } // CreateEnvironmentRequest names the environment to create. type CreateEnvironmentRequest struct { state protoimpl.MessageState `protogen:"open.v1"` // Repo is the repository name. Repo string `protobuf:"bytes,1,opt,name=repo,proto3" json:"repo,omitempty"` // Name is the name of the environment, see Environment.name. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *CreateEnvironmentRequest) Reset() { *x = CreateEnvironmentRequest{} mi := &file_ermite_ci_settings_proto_msgTypes[19] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *CreateEnvironmentRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*CreateEnvironmentRequest) ProtoMessage() {} func (x *CreateEnvironmentRequest) ProtoReflect() protoreflect.Message { mi := &file_ermite_ci_settings_proto_msgTypes[19] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use CreateEnvironmentRequest.ProtoReflect.Descriptor instead. func (*CreateEnvironmentRequest) Descriptor() ([]byte, []int) { return file_ermite_ci_settings_proto_rawDescGZIP(), []int{19} } func (x *CreateEnvironmentRequest) GetRepo() string { if x != nil { return x.Repo } return "" } func (x *CreateEnvironmentRequest) GetName() string { if x != nil { return x.Name } return "" } // CreateEnvironmentResponse holds the environment. type CreateEnvironmentResponse struct { state protoimpl.MessageState `protogen:"open.v1"` // Environment is the environment, new or existing. Environment *Environment `protobuf:"bytes,1,opt,name=environment,proto3" json:"environment,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *CreateEnvironmentResponse) Reset() { *x = CreateEnvironmentResponse{} mi := &file_ermite_ci_settings_proto_msgTypes[20] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *CreateEnvironmentResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*CreateEnvironmentResponse) ProtoMessage() {} func (x *CreateEnvironmentResponse) ProtoReflect() protoreflect.Message { mi := &file_ermite_ci_settings_proto_msgTypes[20] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use CreateEnvironmentResponse.ProtoReflect.Descriptor instead. func (*CreateEnvironmentResponse) Descriptor() ([]byte, []int) { return file_ermite_ci_settings_proto_rawDescGZIP(), []int{20} } func (x *CreateEnvironmentResponse) GetEnvironment() *Environment { if x != nil { return x.Environment } return nil } // ListEnvironmentsRequest selects a page of the environments of a repository. type ListEnvironmentsRequest struct { state protoimpl.MessageState `protogen:"open.v1"` // Repo is the repository name. Repo string `protobuf:"bytes,1,opt,name=repo,proto3" json:"repo,omitempty"` // PageSize is the maximum number of environments to return. 0 means the // server default; values above the server maximum are lowered to it. PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // PageToken is the next_page_token of a previous response. Empty for the // first page. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *ListEnvironmentsRequest) Reset() { *x = ListEnvironmentsRequest{} mi := &file_ermite_ci_settings_proto_msgTypes[21] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *ListEnvironmentsRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*ListEnvironmentsRequest) ProtoMessage() {} func (x *ListEnvironmentsRequest) ProtoReflect() protoreflect.Message { mi := &file_ermite_ci_settings_proto_msgTypes[21] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use ListEnvironmentsRequest.ProtoReflect.Descriptor instead. func (*ListEnvironmentsRequest) Descriptor() ([]byte, []int) { return file_ermite_ci_settings_proto_rawDescGZIP(), []int{21} } func (x *ListEnvironmentsRequest) GetRepo() string { if x != nil { return x.Repo } return "" } func (x *ListEnvironmentsRequest) GetPageSize() int32 { if x != nil { return x.PageSize } return 0 } func (x *ListEnvironmentsRequest) GetPageToken() string { if x != nil { return x.PageToken } return "" } // ListEnvironmentsResponse is one page of environments. type ListEnvironmentsResponse struct { state protoimpl.MessageState `protogen:"open.v1"` // Environments are the environments of this page, ordered by name. Environments []*Environment `protobuf:"bytes,1,rep,name=environments,proto3" json:"environments,omitempty"` // NextPageToken is passed as page_token to get the next page. Empty when // there is no next page. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *ListEnvironmentsResponse) Reset() { *x = ListEnvironmentsResponse{} mi := &file_ermite_ci_settings_proto_msgTypes[22] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *ListEnvironmentsResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*ListEnvironmentsResponse) ProtoMessage() {} func (x *ListEnvironmentsResponse) ProtoReflect() protoreflect.Message { mi := &file_ermite_ci_settings_proto_msgTypes[22] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use ListEnvironmentsResponse.ProtoReflect.Descriptor instead. func (*ListEnvironmentsResponse) Descriptor() ([]byte, []int) { return file_ermite_ci_settings_proto_rawDescGZIP(), []int{22} } func (x *ListEnvironmentsResponse) GetEnvironments() []*Environment { if x != nil { return x.Environments } return nil } func (x *ListEnvironmentsResponse) GetNextPageToken() string { if x != nil { return x.NextPageToken } return "" } // DeleteEnvironmentRequest names the environment to delete. type DeleteEnvironmentRequest struct { state protoimpl.MessageState `protogen:"open.v1"` // Repo is the repository name. Repo string `protobuf:"bytes,1,opt,name=repo,proto3" json:"repo,omitempty"` // Name is the name of the environment, without regard to case. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *DeleteEnvironmentRequest) Reset() { *x = DeleteEnvironmentRequest{} mi := &file_ermite_ci_settings_proto_msgTypes[23] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *DeleteEnvironmentRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*DeleteEnvironmentRequest) ProtoMessage() {} func (x *DeleteEnvironmentRequest) ProtoReflect() protoreflect.Message { mi := &file_ermite_ci_settings_proto_msgTypes[23] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use DeleteEnvironmentRequest.ProtoReflect.Descriptor instead. func (*DeleteEnvironmentRequest) Descriptor() ([]byte, []int) { return file_ermite_ci_settings_proto_rawDescGZIP(), []int{23} } func (x *DeleteEnvironmentRequest) GetRepo() string { if x != nil { return x.Repo } return "" } func (x *DeleteEnvironmentRequest) GetName() string { if x != nil { return x.Name } return "" } // DeleteEnvironmentResponse is empty. type DeleteEnvironmentResponse struct { state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *DeleteEnvironmentResponse) Reset() { *x = DeleteEnvironmentResponse{} mi := &file_ermite_ci_settings_proto_msgTypes[24] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *DeleteEnvironmentResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*DeleteEnvironmentResponse) ProtoMessage() {} func (x *DeleteEnvironmentResponse) ProtoReflect() protoreflect.Message { mi := &file_ermite_ci_settings_proto_msgTypes[24] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use DeleteEnvironmentResponse.ProtoReflect.Descriptor instead. func (*DeleteEnvironmentResponse) Descriptor() ([]byte, []int) { return file_ermite_ci_settings_proto_rawDescGZIP(), []int{24} } var File_ermite_ci_settings_proto protoreflect.FileDescriptor const file_ermite_ci_settings_proto_rawDesc = "" + "\n" + "\x18ermite/ci_settings.proto\x12\x06ermite\x1a\x1fgoogle/protobuf/timestamp.proto\"\x88\x01\n" + "\rSettingsScope\x12\x1c\n" + "\binstance\x18\x01 \x01(\bH\x00R\binstance\x12\x14\n" + "\x04repo\x18\x02 \x01(\tH\x00R\x04repo\x12:\n" + "\venvironment\x18\x03 \x01(\v2\x16.ermite.EnvironmentRefH\x00R\venvironmentB\a\n" + "\x05where\"8\n" + "\x0eEnvironmentRef\x12\x12\n" + "\x04repo\x18\x01 \x01(\tR\x04repo\x12\x12\n" + "\x04name\x18\x02 \x01(\tR\x04name\"W\n" + "\x06Secret\x12\x12\n" + "\x04name\x18\x01 \x01(\tR\x04name\x129\n" + "\n" + "updated_at\x18\x02 \x01(\v2\x1a.google.protobuf.TimestampR\tupdatedAt\"o\n" + "\bVariable\x12\x12\n" + "\x04name\x18\x01 \x01(\tR\x04name\x12\x14\n" + "\x05value\x18\x02 \x01(\tR\x05value\x129\n" + "\n" + "updated_at\x18\x03 \x01(\v2\x1a.google.protobuf.TimestampR\tupdatedAt\"p\n" + "\vEnvironment\x12\x12\n" + "\x04repo\x18\x01 \x01(\tR\x04repo\x12\x12\n" + "\x04name\x18\x02 \x01(\tR\x04name\x129\n" + "\n" + "created_at\x18\x03 \x01(\v2\x1a.google.protobuf.TimestampR\tcreatedAt\"i\n" + "\x10SetSecretRequest\x12+\n" + "\x05scope\x18\x01 \x01(\v2\x15.ermite.SettingsScopeR\x05scope\x12\x12\n" + "\x04name\x18\x02 \x01(\tR\x04name\x12\x14\n" + "\x05value\x18\x03 \x01(\tR\x05value\";\n" + "\x11SetSecretResponse\x12&\n" + "\x06secret\x18\x01 \x01(\v2\x0e.ermite.SecretR\x06secret\"}\n" + "\x12ListSecretsRequest\x12+\n" + "\x05scope\x18\x01 \x01(\v2\x15.ermite.SettingsScopeR\x05scope\x12\x1b\n" + "\tpage_size\x18\x02 \x01(\x05R\bpageSize\x12\x1d\n" + "\n" + "page_token\x18\x03 \x01(\tR\tpageToken\"g\n" + "\x13ListSecretsResponse\x12(\n" + "\asecrets\x18\x01 \x03(\v2\x0e.ermite.SecretR\asecrets\x12&\n" + "\x0fnext_page_token\x18\x02 \x01(\tR\rnextPageToken\"V\n" + "\x13DeleteSecretRequest\x12+\n" + "\x05scope\x18\x01 \x01(\v2\x15.ermite.SettingsScopeR\x05scope\x12\x12\n" + "\x04name\x18\x02 \x01(\tR\x04name\"\x16\n" + "\x14DeleteSecretResponse\"k\n" + "\x12SetVariableRequest\x12+\n" + "\x05scope\x18\x01 \x01(\v2\x15.ermite.SettingsScopeR\x05scope\x12\x12\n" + "\x04name\x18\x02 \x01(\tR\x04name\x12\x14\n" + "\x05value\x18\x03 \x01(\tR\x05value\"C\n" + "\x13SetVariableResponse\x12,\n" + "\bvariable\x18\x01 \x01(\v2\x10.ermite.VariableR\bvariable\"U\n" + "\x12GetVariableRequest\x12+\n" + "\x05scope\x18\x01 \x01(\v2\x15.ermite.SettingsScopeR\x05scope\x12\x12\n" + "\x04name\x18\x02 \x01(\tR\x04name\"C\n" + "\x13GetVariableResponse\x12,\n" + "\bvariable\x18\x01 \x01(\v2\x10.ermite.VariableR\bvariable\"\x7f\n" + "\x14ListVariablesRequest\x12+\n" + "\x05scope\x18\x01 \x01(\v2\x15.ermite.SettingsScopeR\x05scope\x12\x1b\n" + "\tpage_size\x18\x02 \x01(\x05R\bpageSize\x12\x1d\n" + "\n" + "page_token\x18\x03 \x01(\tR\tpageToken\"o\n" + "\x15ListVariablesResponse\x12.\n" + "\tvariables\x18\x01 \x03(\v2\x10.ermite.VariableR\tvariables\x12&\n" + "\x0fnext_page_token\x18\x02 \x01(\tR\rnextPageToken\"X\n" + "\x15DeleteVariableRequest\x12+\n" + "\x05scope\x18\x01 \x01(\v2\x15.ermite.SettingsScopeR\x05scope\x12\x12\n" + "\x04name\x18\x02 \x01(\tR\x04name\"\x18\n" + "\x16DeleteVariableResponse\"B\n" + "\x18CreateEnvironmentRequest\x12\x12\n" + "\x04repo\x18\x01 \x01(\tR\x04repo\x12\x12\n" + "\x04name\x18\x02 \x01(\tR\x04name\"R\n" + "\x19CreateEnvironmentResponse\x125\n" + "\venvironment\x18\x01 \x01(\v2\x13.ermite.EnvironmentR\venvironment\"i\n" + "\x17ListEnvironmentsRequest\x12\x12\n" + "\x04repo\x18\x01 \x01(\tR\x04repo\x12\x1b\n" + "\tpage_size\x18\x02 \x01(\x05R\bpageSize\x12\x1d\n" + "\n" + "page_token\x18\x03 \x01(\tR\tpageToken\"{\n" + "\x18ListEnvironmentsResponse\x127\n" + "\fenvironments\x18\x01 \x03(\v2\x13.ermite.EnvironmentR\fenvironments\x12&\n" + "\x0fnext_page_token\x18\x02 \x01(\tR\rnextPageToken\"B\n" + "\x18DeleteEnvironmentRequest\x12\x12\n" + "\x04repo\x18\x01 \x01(\tR\x04repo\x12\x12\n" + "\x04name\x18\x02 \x01(\tR\x04name\"\x1b\n" + "\x19DeleteEnvironmentResponse2\xe4\x01\n" + "\rSecretService\x12@\n" + "\tSetSecret\x12\x18.ermite.SetSecretRequest\x1a\x19.ermite.SetSecretResponse\x12F\n" + "\vListSecrets\x12\x1a.ermite.ListSecretsRequest\x1a\x1b.ermite.ListSecretsResponse\x12I\n" + "\fDeleteSecret\x12\x1b.ermite.DeleteSecretRequest\x1a\x1c.ermite.DeleteSecretResponse2\xc0\x02\n" + "\x0fVariableService\x12F\n" + "\vSetVariable\x12\x1a.ermite.SetVariableRequest\x1a\x1b.ermite.SetVariableResponse\x12F\n" + "\vGetVariable\x12\x1a.ermite.GetVariableRequest\x1a\x1b.ermite.GetVariableResponse\x12L\n" + "\rListVariables\x12\x1c.ermite.ListVariablesRequest\x1a\x1d.ermite.ListVariablesResponse\x12O\n" + "\x0eDeleteVariable\x12\x1d.ermite.DeleteVariableRequest\x1a\x1e.ermite.DeleteVariableResponse2\x9f\x02\n" + "\x12EnvironmentService\x12X\n" + "\x11CreateEnvironment\x12 .ermite.CreateEnvironmentRequest\x1a!.ermite.CreateEnvironmentResponse\x12U\n" + "\x10ListEnvironments\x12\x1f.ermite.ListEnvironmentsRequest\x1a .ermite.ListEnvironmentsResponse\x12X\n" + "\x11DeleteEnvironment\x12 .ermite.DeleteEnvironmentRequest\x1a!.ermite.DeleteEnvironmentResponseBv\n" + "\n" + "com.ermiteB\x0fCiSettingsProtoP\x01Z\x1fbnema.dev/ermite-api/gen/ermite\xa2\x02\x03EXX\xaa\x02\x06Ermite\xca\x02\x06Ermite\xe2\x02\x12Ermite\\GPBMetadata\xea\x02\x06Ermiteb\x06proto3" var ( file_ermite_ci_settings_proto_rawDescOnce sync.Once file_ermite_ci_settings_proto_rawDescData []byte ) func file_ermite_ci_settings_proto_rawDescGZIP() []byte { file_ermite_ci_settings_proto_rawDescOnce.Do(func() { file_ermite_ci_settings_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_ermite_ci_settings_proto_rawDesc), len(file_ermite_ci_settings_proto_rawDesc))) }) return file_ermite_ci_settings_proto_rawDescData } var file_ermite_ci_settings_proto_msgTypes = make([]protoimpl.MessageInfo, 25) var file_ermite_ci_settings_proto_goTypes = []any{ (*SettingsScope)(nil), // 0: ermite.SettingsScope (*EnvironmentRef)(nil), // 1: ermite.EnvironmentRef (*Secret)(nil), // 2: ermite.Secret (*Variable)(nil), // 3: ermite.Variable (*Environment)(nil), // 4: ermite.Environment (*SetSecretRequest)(nil), // 5: ermite.SetSecretRequest (*SetSecretResponse)(nil), // 6: ermite.SetSecretResponse (*ListSecretsRequest)(nil), // 7: ermite.ListSecretsRequest (*ListSecretsResponse)(nil), // 8: ermite.ListSecretsResponse (*DeleteSecretRequest)(nil), // 9: ermite.DeleteSecretRequest (*DeleteSecretResponse)(nil), // 10: ermite.DeleteSecretResponse (*SetVariableRequest)(nil), // 11: ermite.SetVariableRequest (*SetVariableResponse)(nil), // 12: ermite.SetVariableResponse (*GetVariableRequest)(nil), // 13: ermite.GetVariableRequest (*GetVariableResponse)(nil), // 14: ermite.GetVariableResponse (*ListVariablesRequest)(nil), // 15: ermite.ListVariablesRequest (*ListVariablesResponse)(nil), // 16: ermite.ListVariablesResponse (*DeleteVariableRequest)(nil), // 17: ermite.DeleteVariableRequest (*DeleteVariableResponse)(nil), // 18: ermite.DeleteVariableResponse (*CreateEnvironmentRequest)(nil), // 19: ermite.CreateEnvironmentRequest (*CreateEnvironmentResponse)(nil), // 20: ermite.CreateEnvironmentResponse (*ListEnvironmentsRequest)(nil), // 21: ermite.ListEnvironmentsRequest (*ListEnvironmentsResponse)(nil), // 22: ermite.ListEnvironmentsResponse (*DeleteEnvironmentRequest)(nil), // 23: ermite.DeleteEnvironmentRequest (*DeleteEnvironmentResponse)(nil), // 24: ermite.DeleteEnvironmentResponse (*timestamppb.Timestamp)(nil), // 25: google.protobuf.Timestamp } var file_ermite_ci_settings_proto_depIdxs = []int32{ 1, // 0: ermite.SettingsScope.environment:type_name -> ermite.EnvironmentRef 25, // 1: ermite.Secret.updated_at:type_name -> google.protobuf.Timestamp 25, // 2: ermite.Variable.updated_at:type_name -> google.protobuf.Timestamp 25, // 3: ermite.Environment.created_at:type_name -> google.protobuf.Timestamp 0, // 4: ermite.SetSecretRequest.scope:type_name -> ermite.SettingsScope 2, // 5: ermite.SetSecretResponse.secret:type_name -> ermite.Secret 0, // 6: ermite.ListSecretsRequest.scope:type_name -> ermite.SettingsScope 2, // 7: ermite.ListSecretsResponse.secrets:type_name -> ermite.Secret 0, // 8: ermite.DeleteSecretRequest.scope:type_name -> ermite.SettingsScope 0, // 9: ermite.SetVariableRequest.scope:type_name -> ermite.SettingsScope 3, // 10: ermite.SetVariableResponse.variable:type_name -> ermite.Variable 0, // 11: ermite.GetVariableRequest.scope:type_name -> ermite.SettingsScope 3, // 12: ermite.GetVariableResponse.variable:type_name -> ermite.Variable 0, // 13: ermite.ListVariablesRequest.scope:type_name -> ermite.SettingsScope 3, // 14: ermite.ListVariablesResponse.variables:type_name -> ermite.Variable 0, // 15: ermite.DeleteVariableRequest.scope:type_name -> ermite.SettingsScope 4, // 16: ermite.CreateEnvironmentResponse.environment:type_name -> ermite.Environment 4, // 17: ermite.ListEnvironmentsResponse.environments:type_name -> ermite.Environment 5, // 18: ermite.SecretService.SetSecret:input_type -> ermite.SetSecretRequest 7, // 19: ermite.SecretService.ListSecrets:input_type -> ermite.ListSecretsRequest 9, // 20: ermite.SecretService.DeleteSecret:input_type -> ermite.DeleteSecretRequest 11, // 21: ermite.VariableService.SetVariable:input_type -> ermite.SetVariableRequest 13, // 22: ermite.VariableService.GetVariable:input_type -> ermite.GetVariableRequest 15, // 23: ermite.VariableService.ListVariables:input_type -> ermite.ListVariablesRequest 17, // 24: ermite.VariableService.DeleteVariable:input_type -> ermite.DeleteVariableRequest 19, // 25: ermite.EnvironmentService.CreateEnvironment:input_type -> ermite.CreateEnvironmentRequest 21, // 26: ermite.EnvironmentService.ListEnvironments:input_type -> ermite.ListEnvironmentsRequest 23, // 27: ermite.EnvironmentService.DeleteEnvironment:input_type -> ermite.DeleteEnvironmentRequest 6, // 28: ermite.SecretService.SetSecret:output_type -> ermite.SetSecretResponse 8, // 29: ermite.SecretService.ListSecrets:output_type -> ermite.ListSecretsResponse 10, // 30: ermite.SecretService.DeleteSecret:output_type -> ermite.DeleteSecretResponse 12, // 31: ermite.VariableService.SetVariable:output_type -> ermite.SetVariableResponse 14, // 32: ermite.VariableService.GetVariable:output_type -> ermite.GetVariableResponse 16, // 33: ermite.VariableService.ListVariables:output_type -> ermite.ListVariablesResponse 18, // 34: ermite.VariableService.DeleteVariable:output_type -> ermite.DeleteVariableResponse 20, // 35: ermite.EnvironmentService.CreateEnvironment:output_type -> ermite.CreateEnvironmentResponse 22, // 36: ermite.EnvironmentService.ListEnvironments:output_type -> ermite.ListEnvironmentsResponse 24, // 37: ermite.EnvironmentService.DeleteEnvironment:output_type -> ermite.DeleteEnvironmentResponse 28, // [28:38] is the sub-list for method output_type 18, // [18:28] is the sub-list for method input_type 18, // [18:18] is the sub-list for extension type_name 18, // [18:18] is the sub-list for extension extendee 0, // [0:18] is the sub-list for field type_name } func init() { file_ermite_ci_settings_proto_init() } func file_ermite_ci_settings_proto_init() { if File_ermite_ci_settings_proto != nil { return } file_ermite_ci_settings_proto_msgTypes[0].OneofWrappers = []any{ (*SettingsScope_Instance)(nil), (*SettingsScope_Repo)(nil), (*SettingsScope_Environment)(nil), } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: unsafe.Slice(unsafe.StringData(file_ermite_ci_settings_proto_rawDesc), len(file_ermite_ci_settings_proto_rawDesc)), NumEnums: 0, NumMessages: 25, NumExtensions: 0, NumServices: 3, }, GoTypes: file_ermite_ci_settings_proto_goTypes, DependencyIndexes: file_ermite_ci_settings_proto_depIdxs, MessageInfos: file_ermite_ci_settings_proto_msgTypes, }.Build() File_ermite_ci_settings_proto = out.File file_ermite_ci_settings_proto_goTypes = nil file_ermite_ci_settings_proto_depIdxs = nil }