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

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