get.porter.sh/porter@v1.3.0/pkg/secrets/plugins/proto/secrets_protocol.pb.go (about)

     1  // Code generated by protoc-gen-go. DO NOT EDIT.
     2  // versions:
     3  // 	protoc-gen-go v1.28.0
     4  // 	protoc        v3.19.4
     5  // source: pkg/secrets/plugins/proto/secrets_protocol.proto
     6  
     7  package proto
     8  
     9  import (
    10  	reflect "reflect"
    11  	sync "sync"
    12  
    13  	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
    14  	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
    15  )
    16  
    17  const (
    18  	// Verify that this generated code is sufficiently up-to-date.
    19  	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
    20  	// Verify that runtime/protoimpl is sufficiently up-to-date.
    21  	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
    22  )
    23  
    24  type ResolveRequest struct {
    25  	state         protoimpl.MessageState
    26  	sizeCache     protoimpl.SizeCache
    27  	unknownFields protoimpl.UnknownFields
    28  
    29  	KeyName  string `protobuf:"bytes,1,opt,name=KeyName,proto3" json:"KeyName,omitempty"`
    30  	KeyValue string `protobuf:"bytes,2,opt,name=KeyValue,proto3" json:"KeyValue,omitempty"`
    31  }
    32  
    33  func (x *ResolveRequest) Reset() {
    34  	*x = ResolveRequest{}
    35  	if protoimpl.UnsafeEnabled {
    36  		mi := &file_pkg_secrets_plugins_proto_secrets_protocol_proto_msgTypes[0]
    37  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    38  		ms.StoreMessageInfo(mi)
    39  	}
    40  }
    41  
    42  func (x *ResolveRequest) String() string {
    43  	return protoimpl.X.MessageStringOf(x)
    44  }
    45  
    46  func (*ResolveRequest) ProtoMessage() {}
    47  
    48  func (x *ResolveRequest) ProtoReflect() protoreflect.Message {
    49  	mi := &file_pkg_secrets_plugins_proto_secrets_protocol_proto_msgTypes[0]
    50  	if protoimpl.UnsafeEnabled && x != nil {
    51  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    52  		if ms.LoadMessageInfo() == nil {
    53  			ms.StoreMessageInfo(mi)
    54  		}
    55  		return ms
    56  	}
    57  	return mi.MessageOf(x)
    58  }
    59  
    60  // Deprecated: Use ResolveRequest.ProtoReflect.Descriptor instead.
    61  func (*ResolveRequest) Descriptor() ([]byte, []int) {
    62  	return file_pkg_secrets_plugins_proto_secrets_protocol_proto_rawDescGZIP(), []int{0}
    63  }
    64  
    65  func (x *ResolveRequest) GetKeyName() string {
    66  	if x != nil {
    67  		return x.KeyName
    68  	}
    69  	return ""
    70  }
    71  
    72  func (x *ResolveRequest) GetKeyValue() string {
    73  	if x != nil {
    74  		return x.KeyValue
    75  	}
    76  	return ""
    77  }
    78  
    79  type CreateRequest struct {
    80  	state         protoimpl.MessageState
    81  	sizeCache     protoimpl.SizeCache
    82  	unknownFields protoimpl.UnknownFields
    83  
    84  	KeyName  string `protobuf:"bytes,1,opt,name=KeyName,proto3" json:"KeyName,omitempty"`
    85  	KeyValue string `protobuf:"bytes,2,opt,name=KeyValue,proto3" json:"KeyValue,omitempty"`
    86  	Value    string `protobuf:"bytes,3,opt,name=Value,proto3" json:"Value,omitempty"`
    87  }
    88  
    89  func (x *CreateRequest) Reset() {
    90  	*x = CreateRequest{}
    91  	if protoimpl.UnsafeEnabled {
    92  		mi := &file_pkg_secrets_plugins_proto_secrets_protocol_proto_msgTypes[1]
    93  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    94  		ms.StoreMessageInfo(mi)
    95  	}
    96  }
    97  
    98  func (x *CreateRequest) String() string {
    99  	return protoimpl.X.MessageStringOf(x)
   100  }
   101  
   102  func (*CreateRequest) ProtoMessage() {}
   103  
   104  func (x *CreateRequest) ProtoReflect() protoreflect.Message {
   105  	mi := &file_pkg_secrets_plugins_proto_secrets_protocol_proto_msgTypes[1]
   106  	if protoimpl.UnsafeEnabled && x != nil {
   107  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   108  		if ms.LoadMessageInfo() == nil {
   109  			ms.StoreMessageInfo(mi)
   110  		}
   111  		return ms
   112  	}
   113  	return mi.MessageOf(x)
   114  }
   115  
   116  // Deprecated: Use CreateRequest.ProtoReflect.Descriptor instead.
   117  func (*CreateRequest) Descriptor() ([]byte, []int) {
   118  	return file_pkg_secrets_plugins_proto_secrets_protocol_proto_rawDescGZIP(), []int{1}
   119  }
   120  
   121  func (x *CreateRequest) GetKeyName() string {
   122  	if x != nil {
   123  		return x.KeyName
   124  	}
   125  	return ""
   126  }
   127  
   128  func (x *CreateRequest) GetKeyValue() string {
   129  	if x != nil {
   130  		return x.KeyValue
   131  	}
   132  	return ""
   133  }
   134  
   135  func (x *CreateRequest) GetValue() string {
   136  	if x != nil {
   137  		return x.Value
   138  	}
   139  	return ""
   140  }
   141  
   142  type ResolveResponse struct {
   143  	state         protoimpl.MessageState
   144  	sizeCache     protoimpl.SizeCache
   145  	unknownFields protoimpl.UnknownFields
   146  
   147  	Value string `protobuf:"bytes,1,opt,name=Value,proto3" json:"Value,omitempty"`
   148  }
   149  
   150  func (x *ResolveResponse) Reset() {
   151  	*x = ResolveResponse{}
   152  	if protoimpl.UnsafeEnabled {
   153  		mi := &file_pkg_secrets_plugins_proto_secrets_protocol_proto_msgTypes[2]
   154  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   155  		ms.StoreMessageInfo(mi)
   156  	}
   157  }
   158  
   159  func (x *ResolveResponse) String() string {
   160  	return protoimpl.X.MessageStringOf(x)
   161  }
   162  
   163  func (*ResolveResponse) ProtoMessage() {}
   164  
   165  func (x *ResolveResponse) ProtoReflect() protoreflect.Message {
   166  	mi := &file_pkg_secrets_plugins_proto_secrets_protocol_proto_msgTypes[2]
   167  	if protoimpl.UnsafeEnabled && x != nil {
   168  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   169  		if ms.LoadMessageInfo() == nil {
   170  			ms.StoreMessageInfo(mi)
   171  		}
   172  		return ms
   173  	}
   174  	return mi.MessageOf(x)
   175  }
   176  
   177  // Deprecated: Use ResolveResponse.ProtoReflect.Descriptor instead.
   178  func (*ResolveResponse) Descriptor() ([]byte, []int) {
   179  	return file_pkg_secrets_plugins_proto_secrets_protocol_proto_rawDescGZIP(), []int{2}
   180  }
   181  
   182  func (x *ResolveResponse) GetValue() string {
   183  	if x != nil {
   184  		return x.Value
   185  	}
   186  	return ""
   187  }
   188  
   189  type CreateResponse struct {
   190  	state         protoimpl.MessageState
   191  	sizeCache     protoimpl.SizeCache
   192  	unknownFields protoimpl.UnknownFields
   193  }
   194  
   195  func (x *CreateResponse) Reset() {
   196  	*x = CreateResponse{}
   197  	if protoimpl.UnsafeEnabled {
   198  		mi := &file_pkg_secrets_plugins_proto_secrets_protocol_proto_msgTypes[3]
   199  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   200  		ms.StoreMessageInfo(mi)
   201  	}
   202  }
   203  
   204  func (x *CreateResponse) String() string {
   205  	return protoimpl.X.MessageStringOf(x)
   206  }
   207  
   208  func (*CreateResponse) ProtoMessage() {}
   209  
   210  func (x *CreateResponse) ProtoReflect() protoreflect.Message {
   211  	mi := &file_pkg_secrets_plugins_proto_secrets_protocol_proto_msgTypes[3]
   212  	if protoimpl.UnsafeEnabled && x != nil {
   213  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   214  		if ms.LoadMessageInfo() == nil {
   215  			ms.StoreMessageInfo(mi)
   216  		}
   217  		return ms
   218  	}
   219  	return mi.MessageOf(x)
   220  }
   221  
   222  // Deprecated: Use CreateResponse.ProtoReflect.Descriptor instead.
   223  func (*CreateResponse) Descriptor() ([]byte, []int) {
   224  	return file_pkg_secrets_plugins_proto_secrets_protocol_proto_rawDescGZIP(), []int{3}
   225  }
   226  
   227  var File_pkg_secrets_plugins_proto_secrets_protocol_proto protoreflect.FileDescriptor
   228  
   229  var file_pkg_secrets_plugins_proto_secrets_protocol_proto_rawDesc = []byte{
   230  	0x0a, 0x30, 0x70, 0x6b, 0x67, 0x2f, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x73, 0x2f, 0x70, 0x6c,
   231  	0x75, 0x67, 0x69, 0x6e, 0x73, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x73, 0x65, 0x63, 0x72,
   232  	0x65, 0x74, 0x73, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x70, 0x72, 0x6f,
   233  	0x74, 0x6f, 0x12, 0x07, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x73, 0x22, 0x46, 0x0a, 0x0e, 0x52,
   234  	0x65, 0x73, 0x6f, 0x6c, 0x76, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x18, 0x0a,
   235  	0x07, 0x4b, 0x65, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07,
   236  	0x4b, 0x65, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x4b, 0x65, 0x79, 0x56, 0x61,
   237  	0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x4b, 0x65, 0x79, 0x56, 0x61,
   238  	0x6c, 0x75, 0x65, 0x22, 0x5b, 0x0a, 0x0d, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71,
   239  	0x75, 0x65, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x4b, 0x65, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x18,
   240  	0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x4b, 0x65, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1a,
   241  	0x0a, 0x08, 0x4b, 0x65, 0x79, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
   242  	0x52, 0x08, 0x4b, 0x65, 0x79, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x56, 0x61,
   243  	0x6c, 0x75, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x56, 0x61, 0x6c, 0x75, 0x65,
   244  	0x22, 0x27, 0x0a, 0x0f, 0x52, 0x65, 0x73, 0x6f, 0x6c, 0x76, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f,
   245  	0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01,
   246  	0x28, 0x09, 0x52, 0x05, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x10, 0x0a, 0x0e, 0x43, 0x72, 0x65,
   247  	0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x32, 0x8a, 0x01, 0x0a, 0x0f,
   248  	0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x12,
   249  	0x3c, 0x0a, 0x07, 0x52, 0x65, 0x73, 0x6f, 0x6c, 0x76, 0x65, 0x12, 0x17, 0x2e, 0x70, 0x6c, 0x75,
   250  	0x67, 0x69, 0x6e, 0x73, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x6c, 0x76, 0x65, 0x52, 0x65, 0x71, 0x75,
   251  	0x65, 0x73, 0x74, 0x1a, 0x18, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x73, 0x2e, 0x52, 0x65,
   252  	0x73, 0x6f, 0x6c, 0x76, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x39, 0x0a,
   253  	0x06, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x12, 0x16, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e,
   254  	0x73, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,
   255  	0x17, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x73, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65,
   256  	0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x30, 0x5a, 0x2e, 0x67, 0x65, 0x74, 0x2e,
   257  	0x70, 0x6f, 0x72, 0x74, 0x65, 0x72, 0x2e, 0x73, 0x68, 0x2f, 0x70, 0x6f, 0x72, 0x74, 0x65, 0x72,
   258  	0x2f, 0x70, 0x6b, 0x67, 0x2f, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x73, 0x2f, 0x70, 0x6c, 0x75,
   259  	0x67, 0x69, 0x6e, 0x73, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74,
   260  	0x6f, 0x33,
   261  }
   262  
   263  var (
   264  	file_pkg_secrets_plugins_proto_secrets_protocol_proto_rawDescOnce sync.Once
   265  	file_pkg_secrets_plugins_proto_secrets_protocol_proto_rawDescData = file_pkg_secrets_plugins_proto_secrets_protocol_proto_rawDesc
   266  )
   267  
   268  func file_pkg_secrets_plugins_proto_secrets_protocol_proto_rawDescGZIP() []byte {
   269  	file_pkg_secrets_plugins_proto_secrets_protocol_proto_rawDescOnce.Do(func() {
   270  		file_pkg_secrets_plugins_proto_secrets_protocol_proto_rawDescData = protoimpl.X.CompressGZIP(file_pkg_secrets_plugins_proto_secrets_protocol_proto_rawDescData)
   271  	})
   272  	return file_pkg_secrets_plugins_proto_secrets_protocol_proto_rawDescData
   273  }
   274  
   275  var file_pkg_secrets_plugins_proto_secrets_protocol_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
   276  var file_pkg_secrets_plugins_proto_secrets_protocol_proto_goTypes = []interface{}{
   277  	(*ResolveRequest)(nil),  // 0: plugins.ResolveRequest
   278  	(*CreateRequest)(nil),   // 1: plugins.CreateRequest
   279  	(*ResolveResponse)(nil), // 2: plugins.ResolveResponse
   280  	(*CreateResponse)(nil),  // 3: plugins.CreateResponse
   281  }
   282  var file_pkg_secrets_plugins_proto_secrets_protocol_proto_depIdxs = []int32{
   283  	0, // 0: plugins.SecretsProtocol.Resolve:input_type -> plugins.ResolveRequest
   284  	1, // 1: plugins.SecretsProtocol.Create:input_type -> plugins.CreateRequest
   285  	2, // 2: plugins.SecretsProtocol.Resolve:output_type -> plugins.ResolveResponse
   286  	3, // 3: plugins.SecretsProtocol.Create:output_type -> plugins.CreateResponse
   287  	2, // [2:4] is the sub-list for method output_type
   288  	0, // [0:2] is the sub-list for method input_type
   289  	0, // [0:0] is the sub-list for extension type_name
   290  	0, // [0:0] is the sub-list for extension extendee
   291  	0, // [0:0] is the sub-list for field type_name
   292  }
   293  
   294  func init() { file_pkg_secrets_plugins_proto_secrets_protocol_proto_init() }
   295  func file_pkg_secrets_plugins_proto_secrets_protocol_proto_init() {
   296  	if File_pkg_secrets_plugins_proto_secrets_protocol_proto != nil {
   297  		return
   298  	}
   299  	if !protoimpl.UnsafeEnabled {
   300  		file_pkg_secrets_plugins_proto_secrets_protocol_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   301  			switch v := v.(*ResolveRequest); i {
   302  			case 0:
   303  				return &v.state
   304  			case 1:
   305  				return &v.sizeCache
   306  			case 2:
   307  				return &v.unknownFields
   308  			default:
   309  				return nil
   310  			}
   311  		}
   312  		file_pkg_secrets_plugins_proto_secrets_protocol_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
   313  			switch v := v.(*CreateRequest); i {
   314  			case 0:
   315  				return &v.state
   316  			case 1:
   317  				return &v.sizeCache
   318  			case 2:
   319  				return &v.unknownFields
   320  			default:
   321  				return nil
   322  			}
   323  		}
   324  		file_pkg_secrets_plugins_proto_secrets_protocol_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
   325  			switch v := v.(*ResolveResponse); i {
   326  			case 0:
   327  				return &v.state
   328  			case 1:
   329  				return &v.sizeCache
   330  			case 2:
   331  				return &v.unknownFields
   332  			default:
   333  				return nil
   334  			}
   335  		}
   336  		file_pkg_secrets_plugins_proto_secrets_protocol_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
   337  			switch v := v.(*CreateResponse); i {
   338  			case 0:
   339  				return &v.state
   340  			case 1:
   341  				return &v.sizeCache
   342  			case 2:
   343  				return &v.unknownFields
   344  			default:
   345  				return nil
   346  			}
   347  		}
   348  	}
   349  	type x struct{}
   350  	out := protoimpl.TypeBuilder{
   351  		File: protoimpl.DescBuilder{
   352  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   353  			RawDescriptor: file_pkg_secrets_plugins_proto_secrets_protocol_proto_rawDesc,
   354  			NumEnums:      0,
   355  			NumMessages:   4,
   356  			NumExtensions: 0,
   357  			NumServices:   1,
   358  		},
   359  		GoTypes:           file_pkg_secrets_plugins_proto_secrets_protocol_proto_goTypes,
   360  		DependencyIndexes: file_pkg_secrets_plugins_proto_secrets_protocol_proto_depIdxs,
   361  		MessageInfos:      file_pkg_secrets_plugins_proto_secrets_protocol_proto_msgTypes,
   362  	}.Build()
   363  	File_pkg_secrets_plugins_proto_secrets_protocol_proto = out.File
   364  	file_pkg_secrets_plugins_proto_secrets_protocol_proto_rawDesc = nil
   365  	file_pkg_secrets_plugins_proto_secrets_protocol_proto_goTypes = nil
   366  	file_pkg_secrets_plugins_proto_secrets_protocol_proto_depIdxs = nil
   367  }