mirror of
https://github.com/kevin-DL/services.git
synced 2026-01-11 19:04:35 +00:00
lowercase env var
This commit is contained in:
@@ -356,7 +356,7 @@ type Func struct {
|
||||
// eg. ACTIVE, DEPLOY_IN_PROGRESS, OFFLINE etc
|
||||
Status string `protobuf:"bytes,7,opt,name=status,proto3" json:"status,omitempty"`
|
||||
// associated env vars
|
||||
Env_Vars map[string]string `protobuf:"bytes,8,rep,name=env_Vars,json=envVars,proto3" json:"env_Vars,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
|
||||
EnvVars map[string]string `protobuf:"bytes,8,rep,name=env_vars,json=envVars,proto3" json:"env_vars,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
|
||||
}
|
||||
|
||||
func (x *Func) Reset() {
|
||||
@@ -440,9 +440,9 @@ func (x *Func) GetStatus() string {
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *Func) GetEnv_Vars() map[string]string {
|
||||
func (x *Func) GetEnvVars() map[string]string {
|
||||
if x != nil {
|
||||
return x.Env_Vars
|
||||
return x.EnvVars
|
||||
}
|
||||
return nil
|
||||
}
|
||||
@@ -915,7 +915,7 @@ var file_proto_function_proto_rawDesc = []byte{
|
||||
0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x72, 0x75, 0x6e, 0x74, 0x69, 0x6d, 0x65,
|
||||
0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09,
|
||||
0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x36, 0x0a, 0x08, 0x65, 0x6e, 0x76, 0x5f,
|
||||
0x56, 0x61, 0x72, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x66, 0x75, 0x6e,
|
||||
0x76, 0x61, 0x72, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x66, 0x75, 0x6e,
|
||||
0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x46, 0x75, 0x6e, 0x63, 0x2e, 0x45, 0x6e, 0x76, 0x56, 0x61,
|
||||
0x72, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x07, 0x65, 0x6e, 0x76, 0x56, 0x61, 0x72, 0x73,
|
||||
0x1a, 0x3a, 0x0a, 0x0c, 0x45, 0x6e, 0x76, 0x56, 0x61, 0x72, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79,
|
||||
@@ -1026,7 +1026,7 @@ var file_proto_function_proto_depIdxs = []int32{
|
||||
16, // 0: function.CallRequest.request:type_name -> google.protobuf.Struct
|
||||
16, // 1: function.CallResponse.response:type_name -> google.protobuf.Struct
|
||||
13, // 2: function.DeployRequest.env_vars:type_name -> function.DeployRequest.EnvVarsEntry
|
||||
14, // 3: function.Func.env_Vars:type_name -> function.Func.EnvVarsEntry
|
||||
14, // 3: function.Func.env_vars:type_name -> function.Func.EnvVarsEntry
|
||||
5, // 4: function.ListResponse.functions:type_name -> function.Func
|
||||
5, // 5: function.DescribeResponse.function:type_name -> function.Func
|
||||
15, // 6: function.UpdateRequest.env_vars:type_name -> function.UpdateRequest.EnvVarsEntry
|
||||
|
||||
@@ -89,7 +89,7 @@ message Func {
|
||||
// eg. ACTIVE, DEPLOY_IN_PROGRESS, OFFLINE etc
|
||||
string status = 7;
|
||||
// associated env vars
|
||||
map<string,string> env_Vars = 8;
|
||||
map<string,string> env_vars = 8;
|
||||
}
|
||||
|
||||
message ListResponse {
|
||||
|
||||
Reference in New Issue
Block a user