mirror of
				https://github.com/onepanelio/onepanel.git
				synced 2025-10-31 08:46:20 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			1095 lines
		
	
	
		
			42 KiB
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			1095 lines
		
	
	
		
			42 KiB
		
	
	
	
		
			Go
		
	
	
	
	
	
| // Code generated by protoc-gen-go. DO NOT EDIT.
 | |
| // source: secret.proto
 | |
| 
 | |
| package api
 | |
| 
 | |
| import (
 | |
| 	context "context"
 | |
| 	fmt "fmt"
 | |
| 	proto "github.com/golang/protobuf/proto"
 | |
| 	empty "github.com/golang/protobuf/ptypes/empty"
 | |
| 	_ "google.golang.org/genproto/googleapis/api/annotations"
 | |
| 	grpc "google.golang.org/grpc"
 | |
| 	codes "google.golang.org/grpc/codes"
 | |
| 	status "google.golang.org/grpc/status"
 | |
| 	math "math"
 | |
| )
 | |
| 
 | |
| // Reference imports to suppress errors if they are not otherwise used.
 | |
| var _ = proto.Marshal
 | |
| var _ = fmt.Errorf
 | |
| var _ = math.Inf
 | |
| 
 | |
| // This is a compile-time assertion to ensure that this generated file
 | |
| // is compatible with the proto package it is being compiled against.
 | |
| // A compilation error at this line likely means your copy of the
 | |
| // proto package needs to be updated.
 | |
| const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
 | |
| 
 | |
| type AddSecretKeyValueRequest struct {
 | |
| 	Namespace            string   `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
 | |
| 	Secret               *Secret  `protobuf:"bytes,2,opt,name=secret,proto3" json:"secret,omitempty"`
 | |
| 	XXX_NoUnkeyedLiteral struct{} `json:"-"`
 | |
| 	XXX_unrecognized     []byte   `json:"-"`
 | |
| 	XXX_sizecache        int32    `json:"-"`
 | |
| }
 | |
| 
 | |
| func (m *AddSecretKeyValueRequest) Reset()         { *m = AddSecretKeyValueRequest{} }
 | |
| func (m *AddSecretKeyValueRequest) String() string { return proto.CompactTextString(m) }
 | |
| func (*AddSecretKeyValueRequest) ProtoMessage()    {}
 | |
| func (*AddSecretKeyValueRequest) Descriptor() ([]byte, []int) {
 | |
| 	return fileDescriptor_6acf428160d7a216, []int{0}
 | |
| }
 | |
| 
 | |
| func (m *AddSecretKeyValueRequest) XXX_Unmarshal(b []byte) error {
 | |
| 	return xxx_messageInfo_AddSecretKeyValueRequest.Unmarshal(m, b)
 | |
| }
 | |
| func (m *AddSecretKeyValueRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
 | |
| 	return xxx_messageInfo_AddSecretKeyValueRequest.Marshal(b, m, deterministic)
 | |
| }
 | |
| func (m *AddSecretKeyValueRequest) XXX_Merge(src proto.Message) {
 | |
| 	xxx_messageInfo_AddSecretKeyValueRequest.Merge(m, src)
 | |
| }
 | |
| func (m *AddSecretKeyValueRequest) XXX_Size() int {
 | |
| 	return xxx_messageInfo_AddSecretKeyValueRequest.Size(m)
 | |
| }
 | |
| func (m *AddSecretKeyValueRequest) XXX_DiscardUnknown() {
 | |
| 	xxx_messageInfo_AddSecretKeyValueRequest.DiscardUnknown(m)
 | |
| }
 | |
| 
 | |
| var xxx_messageInfo_AddSecretKeyValueRequest proto.InternalMessageInfo
 | |
| 
 | |
| func (m *AddSecretKeyValueRequest) GetNamespace() string {
 | |
| 	if m != nil {
 | |
| 		return m.Namespace
 | |
| 	}
 | |
| 	return ""
 | |
| }
 | |
| 
 | |
| func (m *AddSecretKeyValueRequest) GetSecret() *Secret {
 | |
| 	if m != nil {
 | |
| 		return m.Secret
 | |
| 	}
 | |
| 	return nil
 | |
| }
 | |
| 
 | |
| type AddSecretKeyValueResponse struct {
 | |
| 	Inserted             bool     `protobuf:"varint,1,opt,name=inserted,proto3" json:"inserted,omitempty"`
 | |
| 	XXX_NoUnkeyedLiteral struct{} `json:"-"`
 | |
| 	XXX_unrecognized     []byte   `json:"-"`
 | |
| 	XXX_sizecache        int32    `json:"-"`
 | |
| }
 | |
| 
 | |
| func (m *AddSecretKeyValueResponse) Reset()         { *m = AddSecretKeyValueResponse{} }
 | |
| func (m *AddSecretKeyValueResponse) String() string { return proto.CompactTextString(m) }
 | |
| func (*AddSecretKeyValueResponse) ProtoMessage()    {}
 | |
| func (*AddSecretKeyValueResponse) Descriptor() ([]byte, []int) {
 | |
| 	return fileDescriptor_6acf428160d7a216, []int{1}
 | |
| }
 | |
| 
 | |
| func (m *AddSecretKeyValueResponse) XXX_Unmarshal(b []byte) error {
 | |
| 	return xxx_messageInfo_AddSecretKeyValueResponse.Unmarshal(m, b)
 | |
| }
 | |
| func (m *AddSecretKeyValueResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
 | |
| 	return xxx_messageInfo_AddSecretKeyValueResponse.Marshal(b, m, deterministic)
 | |
| }
 | |
| func (m *AddSecretKeyValueResponse) XXX_Merge(src proto.Message) {
 | |
| 	xxx_messageInfo_AddSecretKeyValueResponse.Merge(m, src)
 | |
| }
 | |
| func (m *AddSecretKeyValueResponse) XXX_Size() int {
 | |
| 	return xxx_messageInfo_AddSecretKeyValueResponse.Size(m)
 | |
| }
 | |
| func (m *AddSecretKeyValueResponse) XXX_DiscardUnknown() {
 | |
| 	xxx_messageInfo_AddSecretKeyValueResponse.DiscardUnknown(m)
 | |
| }
 | |
| 
 | |
| var xxx_messageInfo_AddSecretKeyValueResponse proto.InternalMessageInfo
 | |
| 
 | |
| func (m *AddSecretKeyValueResponse) GetInserted() bool {
 | |
| 	if m != nil {
 | |
| 		return m.Inserted
 | |
| 	}
 | |
| 	return false
 | |
| }
 | |
| 
 | |
| type SecretExistsRequest struct {
 | |
| 	Namespace            string   `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
 | |
| 	Name                 string   `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
 | |
| 	XXX_NoUnkeyedLiteral struct{} `json:"-"`
 | |
| 	XXX_unrecognized     []byte   `json:"-"`
 | |
| 	XXX_sizecache        int32    `json:"-"`
 | |
| }
 | |
| 
 | |
| func (m *SecretExistsRequest) Reset()         { *m = SecretExistsRequest{} }
 | |
| func (m *SecretExistsRequest) String() string { return proto.CompactTextString(m) }
 | |
| func (*SecretExistsRequest) ProtoMessage()    {}
 | |
| func (*SecretExistsRequest) Descriptor() ([]byte, []int) {
 | |
| 	return fileDescriptor_6acf428160d7a216, []int{2}
 | |
| }
 | |
| 
 | |
| func (m *SecretExistsRequest) XXX_Unmarshal(b []byte) error {
 | |
| 	return xxx_messageInfo_SecretExistsRequest.Unmarshal(m, b)
 | |
| }
 | |
| func (m *SecretExistsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
 | |
| 	return xxx_messageInfo_SecretExistsRequest.Marshal(b, m, deterministic)
 | |
| }
 | |
| func (m *SecretExistsRequest) XXX_Merge(src proto.Message) {
 | |
| 	xxx_messageInfo_SecretExistsRequest.Merge(m, src)
 | |
| }
 | |
| func (m *SecretExistsRequest) XXX_Size() int {
 | |
| 	return xxx_messageInfo_SecretExistsRequest.Size(m)
 | |
| }
 | |
| func (m *SecretExistsRequest) XXX_DiscardUnknown() {
 | |
| 	xxx_messageInfo_SecretExistsRequest.DiscardUnknown(m)
 | |
| }
 | |
| 
 | |
| var xxx_messageInfo_SecretExistsRequest proto.InternalMessageInfo
 | |
| 
 | |
| func (m *SecretExistsRequest) GetNamespace() string {
 | |
| 	if m != nil {
 | |
| 		return m.Namespace
 | |
| 	}
 | |
| 	return ""
 | |
| }
 | |
| 
 | |
| func (m *SecretExistsRequest) GetName() string {
 | |
| 	if m != nil {
 | |
| 		return m.Name
 | |
| 	}
 | |
| 	return ""
 | |
| }
 | |
| 
 | |
| type SecretExistsResponse struct {
 | |
| 	Exists               bool     `protobuf:"varint,1,opt,name=exists,proto3" json:"exists,omitempty"`
 | |
| 	XXX_NoUnkeyedLiteral struct{} `json:"-"`
 | |
| 	XXX_unrecognized     []byte   `json:"-"`
 | |
| 	XXX_sizecache        int32    `json:"-"`
 | |
| }
 | |
| 
 | |
| func (m *SecretExistsResponse) Reset()         { *m = SecretExistsResponse{} }
 | |
| func (m *SecretExistsResponse) String() string { return proto.CompactTextString(m) }
 | |
| func (*SecretExistsResponse) ProtoMessage()    {}
 | |
| func (*SecretExistsResponse) Descriptor() ([]byte, []int) {
 | |
| 	return fileDescriptor_6acf428160d7a216, []int{3}
 | |
| }
 | |
| 
 | |
| func (m *SecretExistsResponse) XXX_Unmarshal(b []byte) error {
 | |
| 	return xxx_messageInfo_SecretExistsResponse.Unmarshal(m, b)
 | |
| }
 | |
| func (m *SecretExistsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
 | |
| 	return xxx_messageInfo_SecretExistsResponse.Marshal(b, m, deterministic)
 | |
| }
 | |
| func (m *SecretExistsResponse) XXX_Merge(src proto.Message) {
 | |
| 	xxx_messageInfo_SecretExistsResponse.Merge(m, src)
 | |
| }
 | |
| func (m *SecretExistsResponse) XXX_Size() int {
 | |
| 	return xxx_messageInfo_SecretExistsResponse.Size(m)
 | |
| }
 | |
| func (m *SecretExistsResponse) XXX_DiscardUnknown() {
 | |
| 	xxx_messageInfo_SecretExistsResponse.DiscardUnknown(m)
 | |
| }
 | |
| 
 | |
| var xxx_messageInfo_SecretExistsResponse proto.InternalMessageInfo
 | |
| 
 | |
| func (m *SecretExistsResponse) GetExists() bool {
 | |
| 	if m != nil {
 | |
| 		return m.Exists
 | |
| 	}
 | |
| 	return false
 | |
| }
 | |
| 
 | |
| type UpdateSecretKeyValueRequest struct {
 | |
| 	Namespace            string   `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
 | |
| 	Secret               *Secret  `protobuf:"bytes,2,opt,name=secret,proto3" json:"secret,omitempty"`
 | |
| 	XXX_NoUnkeyedLiteral struct{} `json:"-"`
 | |
| 	XXX_unrecognized     []byte   `json:"-"`
 | |
| 	XXX_sizecache        int32    `json:"-"`
 | |
| }
 | |
| 
 | |
| func (m *UpdateSecretKeyValueRequest) Reset()         { *m = UpdateSecretKeyValueRequest{} }
 | |
| func (m *UpdateSecretKeyValueRequest) String() string { return proto.CompactTextString(m) }
 | |
| func (*UpdateSecretKeyValueRequest) ProtoMessage()    {}
 | |
| func (*UpdateSecretKeyValueRequest) Descriptor() ([]byte, []int) {
 | |
| 	return fileDescriptor_6acf428160d7a216, []int{4}
 | |
| }
 | |
| 
 | |
| func (m *UpdateSecretKeyValueRequest) XXX_Unmarshal(b []byte) error {
 | |
| 	return xxx_messageInfo_UpdateSecretKeyValueRequest.Unmarshal(m, b)
 | |
| }
 | |
| func (m *UpdateSecretKeyValueRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
 | |
| 	return xxx_messageInfo_UpdateSecretKeyValueRequest.Marshal(b, m, deterministic)
 | |
| }
 | |
| func (m *UpdateSecretKeyValueRequest) XXX_Merge(src proto.Message) {
 | |
| 	xxx_messageInfo_UpdateSecretKeyValueRequest.Merge(m, src)
 | |
| }
 | |
| func (m *UpdateSecretKeyValueRequest) XXX_Size() int {
 | |
| 	return xxx_messageInfo_UpdateSecretKeyValueRequest.Size(m)
 | |
| }
 | |
| func (m *UpdateSecretKeyValueRequest) XXX_DiscardUnknown() {
 | |
| 	xxx_messageInfo_UpdateSecretKeyValueRequest.DiscardUnknown(m)
 | |
| }
 | |
| 
 | |
| var xxx_messageInfo_UpdateSecretKeyValueRequest proto.InternalMessageInfo
 | |
| 
 | |
| func (m *UpdateSecretKeyValueRequest) GetNamespace() string {
 | |
| 	if m != nil {
 | |
| 		return m.Namespace
 | |
| 	}
 | |
| 	return ""
 | |
| }
 | |
| 
 | |
| func (m *UpdateSecretKeyValueRequest) GetSecret() *Secret {
 | |
| 	if m != nil {
 | |
| 		return m.Secret
 | |
| 	}
 | |
| 	return nil
 | |
| }
 | |
| 
 | |
| type UpdateSecretKeyValueResponse struct {
 | |
| 	Updated              bool     `protobuf:"varint,1,opt,name=updated,proto3" json:"updated,omitempty"`
 | |
| 	XXX_NoUnkeyedLiteral struct{} `json:"-"`
 | |
| 	XXX_unrecognized     []byte   `json:"-"`
 | |
| 	XXX_sizecache        int32    `json:"-"`
 | |
| }
 | |
| 
 | |
| func (m *UpdateSecretKeyValueResponse) Reset()         { *m = UpdateSecretKeyValueResponse{} }
 | |
| func (m *UpdateSecretKeyValueResponse) String() string { return proto.CompactTextString(m) }
 | |
| func (*UpdateSecretKeyValueResponse) ProtoMessage()    {}
 | |
| func (*UpdateSecretKeyValueResponse) Descriptor() ([]byte, []int) {
 | |
| 	return fileDescriptor_6acf428160d7a216, []int{5}
 | |
| }
 | |
| 
 | |
| func (m *UpdateSecretKeyValueResponse) XXX_Unmarshal(b []byte) error {
 | |
| 	return xxx_messageInfo_UpdateSecretKeyValueResponse.Unmarshal(m, b)
 | |
| }
 | |
| func (m *UpdateSecretKeyValueResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
 | |
| 	return xxx_messageInfo_UpdateSecretKeyValueResponse.Marshal(b, m, deterministic)
 | |
| }
 | |
| func (m *UpdateSecretKeyValueResponse) XXX_Merge(src proto.Message) {
 | |
| 	xxx_messageInfo_UpdateSecretKeyValueResponse.Merge(m, src)
 | |
| }
 | |
| func (m *UpdateSecretKeyValueResponse) XXX_Size() int {
 | |
| 	return xxx_messageInfo_UpdateSecretKeyValueResponse.Size(m)
 | |
| }
 | |
| func (m *UpdateSecretKeyValueResponse) XXX_DiscardUnknown() {
 | |
| 	xxx_messageInfo_UpdateSecretKeyValueResponse.DiscardUnknown(m)
 | |
| }
 | |
| 
 | |
| var xxx_messageInfo_UpdateSecretKeyValueResponse proto.InternalMessageInfo
 | |
| 
 | |
| func (m *UpdateSecretKeyValueResponse) GetUpdated() bool {
 | |
| 	if m != nil {
 | |
| 		return m.Updated
 | |
| 	}
 | |
| 	return false
 | |
| }
 | |
| 
 | |
| type DeleteSecretRequest struct {
 | |
| 	Namespace            string   `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
 | |
| 	Name                 string   `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
 | |
| 	XXX_NoUnkeyedLiteral struct{} `json:"-"`
 | |
| 	XXX_unrecognized     []byte   `json:"-"`
 | |
| 	XXX_sizecache        int32    `json:"-"`
 | |
| }
 | |
| 
 | |
| func (m *DeleteSecretRequest) Reset()         { *m = DeleteSecretRequest{} }
 | |
| func (m *DeleteSecretRequest) String() string { return proto.CompactTextString(m) }
 | |
| func (*DeleteSecretRequest) ProtoMessage()    {}
 | |
| func (*DeleteSecretRequest) Descriptor() ([]byte, []int) {
 | |
| 	return fileDescriptor_6acf428160d7a216, []int{6}
 | |
| }
 | |
| 
 | |
| func (m *DeleteSecretRequest) XXX_Unmarshal(b []byte) error {
 | |
| 	return xxx_messageInfo_DeleteSecretRequest.Unmarshal(m, b)
 | |
| }
 | |
| func (m *DeleteSecretRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
 | |
| 	return xxx_messageInfo_DeleteSecretRequest.Marshal(b, m, deterministic)
 | |
| }
 | |
| func (m *DeleteSecretRequest) XXX_Merge(src proto.Message) {
 | |
| 	xxx_messageInfo_DeleteSecretRequest.Merge(m, src)
 | |
| }
 | |
| func (m *DeleteSecretRequest) XXX_Size() int {
 | |
| 	return xxx_messageInfo_DeleteSecretRequest.Size(m)
 | |
| }
 | |
| func (m *DeleteSecretRequest) XXX_DiscardUnknown() {
 | |
| 	xxx_messageInfo_DeleteSecretRequest.DiscardUnknown(m)
 | |
| }
 | |
| 
 | |
| var xxx_messageInfo_DeleteSecretRequest proto.InternalMessageInfo
 | |
| 
 | |
| func (m *DeleteSecretRequest) GetNamespace() string {
 | |
| 	if m != nil {
 | |
| 		return m.Namespace
 | |
| 	}
 | |
| 	return ""
 | |
| }
 | |
| 
 | |
| func (m *DeleteSecretRequest) GetName() string {
 | |
| 	if m != nil {
 | |
| 		return m.Name
 | |
| 	}
 | |
| 	return ""
 | |
| }
 | |
| 
 | |
| type DeleteSecretKeyRequest struct {
 | |
| 	Namespace            string   `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
 | |
| 	SecretName           string   `protobuf:"bytes,2,opt,name=secretName,proto3" json:"secretName,omitempty"`
 | |
| 	Key                  string   `protobuf:"bytes,3,opt,name=key,proto3" json:"key,omitempty"`
 | |
| 	XXX_NoUnkeyedLiteral struct{} `json:"-"`
 | |
| 	XXX_unrecognized     []byte   `json:"-"`
 | |
| 	XXX_sizecache        int32    `json:"-"`
 | |
| }
 | |
| 
 | |
| func (m *DeleteSecretKeyRequest) Reset()         { *m = DeleteSecretKeyRequest{} }
 | |
| func (m *DeleteSecretKeyRequest) String() string { return proto.CompactTextString(m) }
 | |
| func (*DeleteSecretKeyRequest) ProtoMessage()    {}
 | |
| func (*DeleteSecretKeyRequest) Descriptor() ([]byte, []int) {
 | |
| 	return fileDescriptor_6acf428160d7a216, []int{7}
 | |
| }
 | |
| 
 | |
| func (m *DeleteSecretKeyRequest) XXX_Unmarshal(b []byte) error {
 | |
| 	return xxx_messageInfo_DeleteSecretKeyRequest.Unmarshal(m, b)
 | |
| }
 | |
| func (m *DeleteSecretKeyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
 | |
| 	return xxx_messageInfo_DeleteSecretKeyRequest.Marshal(b, m, deterministic)
 | |
| }
 | |
| func (m *DeleteSecretKeyRequest) XXX_Merge(src proto.Message) {
 | |
| 	xxx_messageInfo_DeleteSecretKeyRequest.Merge(m, src)
 | |
| }
 | |
| func (m *DeleteSecretKeyRequest) XXX_Size() int {
 | |
| 	return xxx_messageInfo_DeleteSecretKeyRequest.Size(m)
 | |
| }
 | |
| func (m *DeleteSecretKeyRequest) XXX_DiscardUnknown() {
 | |
| 	xxx_messageInfo_DeleteSecretKeyRequest.DiscardUnknown(m)
 | |
| }
 | |
| 
 | |
| var xxx_messageInfo_DeleteSecretKeyRequest proto.InternalMessageInfo
 | |
| 
 | |
| func (m *DeleteSecretKeyRequest) GetNamespace() string {
 | |
| 	if m != nil {
 | |
| 		return m.Namespace
 | |
| 	}
 | |
| 	return ""
 | |
| }
 | |
| 
 | |
| func (m *DeleteSecretKeyRequest) GetSecretName() string {
 | |
| 	if m != nil {
 | |
| 		return m.SecretName
 | |
| 	}
 | |
| 	return ""
 | |
| }
 | |
| 
 | |
| func (m *DeleteSecretKeyRequest) GetKey() string {
 | |
| 	if m != nil {
 | |
| 		return m.Key
 | |
| 	}
 | |
| 	return ""
 | |
| }
 | |
| 
 | |
| type DeleteSecretKeyResponse struct {
 | |
| 	Deleted              bool     `protobuf:"varint,1,opt,name=deleted,proto3" json:"deleted,omitempty"`
 | |
| 	XXX_NoUnkeyedLiteral struct{} `json:"-"`
 | |
| 	XXX_unrecognized     []byte   `json:"-"`
 | |
| 	XXX_sizecache        int32    `json:"-"`
 | |
| }
 | |
| 
 | |
| func (m *DeleteSecretKeyResponse) Reset()         { *m = DeleteSecretKeyResponse{} }
 | |
| func (m *DeleteSecretKeyResponse) String() string { return proto.CompactTextString(m) }
 | |
| func (*DeleteSecretKeyResponse) ProtoMessage()    {}
 | |
| func (*DeleteSecretKeyResponse) Descriptor() ([]byte, []int) {
 | |
| 	return fileDescriptor_6acf428160d7a216, []int{8}
 | |
| }
 | |
| 
 | |
| func (m *DeleteSecretKeyResponse) XXX_Unmarshal(b []byte) error {
 | |
| 	return xxx_messageInfo_DeleteSecretKeyResponse.Unmarshal(m, b)
 | |
| }
 | |
| func (m *DeleteSecretKeyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
 | |
| 	return xxx_messageInfo_DeleteSecretKeyResponse.Marshal(b, m, deterministic)
 | |
| }
 | |
| func (m *DeleteSecretKeyResponse) XXX_Merge(src proto.Message) {
 | |
| 	xxx_messageInfo_DeleteSecretKeyResponse.Merge(m, src)
 | |
| }
 | |
| func (m *DeleteSecretKeyResponse) XXX_Size() int {
 | |
| 	return xxx_messageInfo_DeleteSecretKeyResponse.Size(m)
 | |
| }
 | |
| func (m *DeleteSecretKeyResponse) XXX_DiscardUnknown() {
 | |
| 	xxx_messageInfo_DeleteSecretKeyResponse.DiscardUnknown(m)
 | |
| }
 | |
| 
 | |
| var xxx_messageInfo_DeleteSecretKeyResponse proto.InternalMessageInfo
 | |
| 
 | |
| func (m *DeleteSecretKeyResponse) GetDeleted() bool {
 | |
| 	if m != nil {
 | |
| 		return m.Deleted
 | |
| 	}
 | |
| 	return false
 | |
| }
 | |
| 
 | |
| type DeleteSecretResponse struct {
 | |
| 	Deleted              bool     `protobuf:"varint,1,opt,name=deleted,proto3" json:"deleted,omitempty"`
 | |
| 	XXX_NoUnkeyedLiteral struct{} `json:"-"`
 | |
| 	XXX_unrecognized     []byte   `json:"-"`
 | |
| 	XXX_sizecache        int32    `json:"-"`
 | |
| }
 | |
| 
 | |
| func (m *DeleteSecretResponse) Reset()         { *m = DeleteSecretResponse{} }
 | |
| func (m *DeleteSecretResponse) String() string { return proto.CompactTextString(m) }
 | |
| func (*DeleteSecretResponse) ProtoMessage()    {}
 | |
| func (*DeleteSecretResponse) Descriptor() ([]byte, []int) {
 | |
| 	return fileDescriptor_6acf428160d7a216, []int{9}
 | |
| }
 | |
| 
 | |
| func (m *DeleteSecretResponse) XXX_Unmarshal(b []byte) error {
 | |
| 	return xxx_messageInfo_DeleteSecretResponse.Unmarshal(m, b)
 | |
| }
 | |
| func (m *DeleteSecretResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
 | |
| 	return xxx_messageInfo_DeleteSecretResponse.Marshal(b, m, deterministic)
 | |
| }
 | |
| func (m *DeleteSecretResponse) XXX_Merge(src proto.Message) {
 | |
| 	xxx_messageInfo_DeleteSecretResponse.Merge(m, src)
 | |
| }
 | |
| func (m *DeleteSecretResponse) XXX_Size() int {
 | |
| 	return xxx_messageInfo_DeleteSecretResponse.Size(m)
 | |
| }
 | |
| func (m *DeleteSecretResponse) XXX_DiscardUnknown() {
 | |
| 	xxx_messageInfo_DeleteSecretResponse.DiscardUnknown(m)
 | |
| }
 | |
| 
 | |
| var xxx_messageInfo_DeleteSecretResponse proto.InternalMessageInfo
 | |
| 
 | |
| func (m *DeleteSecretResponse) GetDeleted() bool {
 | |
| 	if m != nil {
 | |
| 		return m.Deleted
 | |
| 	}
 | |
| 	return false
 | |
| }
 | |
| 
 | |
| type ListSecretsRequest struct {
 | |
| 	Namespace            string   `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
 | |
| 	XXX_NoUnkeyedLiteral struct{} `json:"-"`
 | |
| 	XXX_unrecognized     []byte   `json:"-"`
 | |
| 	XXX_sizecache        int32    `json:"-"`
 | |
| }
 | |
| 
 | |
| func (m *ListSecretsRequest) Reset()         { *m = ListSecretsRequest{} }
 | |
| func (m *ListSecretsRequest) String() string { return proto.CompactTextString(m) }
 | |
| func (*ListSecretsRequest) ProtoMessage()    {}
 | |
| func (*ListSecretsRequest) Descriptor() ([]byte, []int) {
 | |
| 	return fileDescriptor_6acf428160d7a216, []int{10}
 | |
| }
 | |
| 
 | |
| func (m *ListSecretsRequest) XXX_Unmarshal(b []byte) error {
 | |
| 	return xxx_messageInfo_ListSecretsRequest.Unmarshal(m, b)
 | |
| }
 | |
| func (m *ListSecretsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
 | |
| 	return xxx_messageInfo_ListSecretsRequest.Marshal(b, m, deterministic)
 | |
| }
 | |
| func (m *ListSecretsRequest) XXX_Merge(src proto.Message) {
 | |
| 	xxx_messageInfo_ListSecretsRequest.Merge(m, src)
 | |
| }
 | |
| func (m *ListSecretsRequest) XXX_Size() int {
 | |
| 	return xxx_messageInfo_ListSecretsRequest.Size(m)
 | |
| }
 | |
| func (m *ListSecretsRequest) XXX_DiscardUnknown() {
 | |
| 	xxx_messageInfo_ListSecretsRequest.DiscardUnknown(m)
 | |
| }
 | |
| 
 | |
| var xxx_messageInfo_ListSecretsRequest proto.InternalMessageInfo
 | |
| 
 | |
| func (m *ListSecretsRequest) GetNamespace() string {
 | |
| 	if m != nil {
 | |
| 		return m.Namespace
 | |
| 	}
 | |
| 	return ""
 | |
| }
 | |
| 
 | |
| type ListSecretsResponse struct {
 | |
| 	Count                int32     `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"`
 | |
| 	Secrets              []*Secret `protobuf:"bytes,2,rep,name=secrets,proto3" json:"secrets,omitempty"`
 | |
| 	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
 | |
| 	XXX_unrecognized     []byte    `json:"-"`
 | |
| 	XXX_sizecache        int32     `json:"-"`
 | |
| }
 | |
| 
 | |
| func (m *ListSecretsResponse) Reset()         { *m = ListSecretsResponse{} }
 | |
| func (m *ListSecretsResponse) String() string { return proto.CompactTextString(m) }
 | |
| func (*ListSecretsResponse) ProtoMessage()    {}
 | |
| func (*ListSecretsResponse) Descriptor() ([]byte, []int) {
 | |
| 	return fileDescriptor_6acf428160d7a216, []int{11}
 | |
| }
 | |
| 
 | |
| func (m *ListSecretsResponse) XXX_Unmarshal(b []byte) error {
 | |
| 	return xxx_messageInfo_ListSecretsResponse.Unmarshal(m, b)
 | |
| }
 | |
| func (m *ListSecretsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
 | |
| 	return xxx_messageInfo_ListSecretsResponse.Marshal(b, m, deterministic)
 | |
| }
 | |
| func (m *ListSecretsResponse) XXX_Merge(src proto.Message) {
 | |
| 	xxx_messageInfo_ListSecretsResponse.Merge(m, src)
 | |
| }
 | |
| func (m *ListSecretsResponse) XXX_Size() int {
 | |
| 	return xxx_messageInfo_ListSecretsResponse.Size(m)
 | |
| }
 | |
| func (m *ListSecretsResponse) XXX_DiscardUnknown() {
 | |
| 	xxx_messageInfo_ListSecretsResponse.DiscardUnknown(m)
 | |
| }
 | |
| 
 | |
| var xxx_messageInfo_ListSecretsResponse proto.InternalMessageInfo
 | |
| 
 | |
| func (m *ListSecretsResponse) GetCount() int32 {
 | |
| 	if m != nil {
 | |
| 		return m.Count
 | |
| 	}
 | |
| 	return 0
 | |
| }
 | |
| 
 | |
| func (m *ListSecretsResponse) GetSecrets() []*Secret {
 | |
| 	if m != nil {
 | |
| 		return m.Secrets
 | |
| 	}
 | |
| 	return nil
 | |
| }
 | |
| 
 | |
| type CreateSecretRequest struct {
 | |
| 	Namespace            string   `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
 | |
| 	Secret               *Secret  `protobuf:"bytes,2,opt,name=secret,proto3" json:"secret,omitempty"`
 | |
| 	XXX_NoUnkeyedLiteral struct{} `json:"-"`
 | |
| 	XXX_unrecognized     []byte   `json:"-"`
 | |
| 	XXX_sizecache        int32    `json:"-"`
 | |
| }
 | |
| 
 | |
| func (m *CreateSecretRequest) Reset()         { *m = CreateSecretRequest{} }
 | |
| func (m *CreateSecretRequest) String() string { return proto.CompactTextString(m) }
 | |
| func (*CreateSecretRequest) ProtoMessage()    {}
 | |
| func (*CreateSecretRequest) Descriptor() ([]byte, []int) {
 | |
| 	return fileDescriptor_6acf428160d7a216, []int{12}
 | |
| }
 | |
| 
 | |
| func (m *CreateSecretRequest) XXX_Unmarshal(b []byte) error {
 | |
| 	return xxx_messageInfo_CreateSecretRequest.Unmarshal(m, b)
 | |
| }
 | |
| func (m *CreateSecretRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
 | |
| 	return xxx_messageInfo_CreateSecretRequest.Marshal(b, m, deterministic)
 | |
| }
 | |
| func (m *CreateSecretRequest) XXX_Merge(src proto.Message) {
 | |
| 	xxx_messageInfo_CreateSecretRequest.Merge(m, src)
 | |
| }
 | |
| func (m *CreateSecretRequest) XXX_Size() int {
 | |
| 	return xxx_messageInfo_CreateSecretRequest.Size(m)
 | |
| }
 | |
| func (m *CreateSecretRequest) XXX_DiscardUnknown() {
 | |
| 	xxx_messageInfo_CreateSecretRequest.DiscardUnknown(m)
 | |
| }
 | |
| 
 | |
| var xxx_messageInfo_CreateSecretRequest proto.InternalMessageInfo
 | |
| 
 | |
| func (m *CreateSecretRequest) GetNamespace() string {
 | |
| 	if m != nil {
 | |
| 		return m.Namespace
 | |
| 	}
 | |
| 	return ""
 | |
| }
 | |
| 
 | |
| func (m *CreateSecretRequest) GetSecret() *Secret {
 | |
| 	if m != nil {
 | |
| 		return m.Secret
 | |
| 	}
 | |
| 	return nil
 | |
| }
 | |
| 
 | |
| type GetSecretRequest struct {
 | |
| 	Namespace            string   `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
 | |
| 	Name                 string   `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
 | |
| 	XXX_NoUnkeyedLiteral struct{} `json:"-"`
 | |
| 	XXX_unrecognized     []byte   `json:"-"`
 | |
| 	XXX_sizecache        int32    `json:"-"`
 | |
| }
 | |
| 
 | |
| func (m *GetSecretRequest) Reset()         { *m = GetSecretRequest{} }
 | |
| func (m *GetSecretRequest) String() string { return proto.CompactTextString(m) }
 | |
| func (*GetSecretRequest) ProtoMessage()    {}
 | |
| func (*GetSecretRequest) Descriptor() ([]byte, []int) {
 | |
| 	return fileDescriptor_6acf428160d7a216, []int{13}
 | |
| }
 | |
| 
 | |
| func (m *GetSecretRequest) XXX_Unmarshal(b []byte) error {
 | |
| 	return xxx_messageInfo_GetSecretRequest.Unmarshal(m, b)
 | |
| }
 | |
| func (m *GetSecretRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
 | |
| 	return xxx_messageInfo_GetSecretRequest.Marshal(b, m, deterministic)
 | |
| }
 | |
| func (m *GetSecretRequest) XXX_Merge(src proto.Message) {
 | |
| 	xxx_messageInfo_GetSecretRequest.Merge(m, src)
 | |
| }
 | |
| func (m *GetSecretRequest) XXX_Size() int {
 | |
| 	return xxx_messageInfo_GetSecretRequest.Size(m)
 | |
| }
 | |
| func (m *GetSecretRequest) XXX_DiscardUnknown() {
 | |
| 	xxx_messageInfo_GetSecretRequest.DiscardUnknown(m)
 | |
| }
 | |
| 
 | |
| var xxx_messageInfo_GetSecretRequest proto.InternalMessageInfo
 | |
| 
 | |
| func (m *GetSecretRequest) GetNamespace() string {
 | |
| 	if m != nil {
 | |
| 		return m.Namespace
 | |
| 	}
 | |
| 	return ""
 | |
| }
 | |
| 
 | |
| func (m *GetSecretRequest) GetName() string {
 | |
| 	if m != nil {
 | |
| 		return m.Name
 | |
| 	}
 | |
| 	return ""
 | |
| }
 | |
| 
 | |
| type Secret struct {
 | |
| 	Name                 string            `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
 | |
| 	Data                 map[string]string `protobuf:"bytes,2,rep,name=data,proto3" json:"data,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
 | |
| 	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
 | |
| 	XXX_unrecognized     []byte            `json:"-"`
 | |
| 	XXX_sizecache        int32             `json:"-"`
 | |
| }
 | |
| 
 | |
| func (m *Secret) Reset()         { *m = Secret{} }
 | |
| func (m *Secret) String() string { return proto.CompactTextString(m) }
 | |
| func (*Secret) ProtoMessage()    {}
 | |
| func (*Secret) Descriptor() ([]byte, []int) {
 | |
| 	return fileDescriptor_6acf428160d7a216, []int{14}
 | |
| }
 | |
| 
 | |
| func (m *Secret) XXX_Unmarshal(b []byte) error {
 | |
| 	return xxx_messageInfo_Secret.Unmarshal(m, b)
 | |
| }
 | |
| func (m *Secret) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
 | |
| 	return xxx_messageInfo_Secret.Marshal(b, m, deterministic)
 | |
| }
 | |
| func (m *Secret) XXX_Merge(src proto.Message) {
 | |
| 	xxx_messageInfo_Secret.Merge(m, src)
 | |
| }
 | |
| func (m *Secret) XXX_Size() int {
 | |
| 	return xxx_messageInfo_Secret.Size(m)
 | |
| }
 | |
| func (m *Secret) XXX_DiscardUnknown() {
 | |
| 	xxx_messageInfo_Secret.DiscardUnknown(m)
 | |
| }
 | |
| 
 | |
| var xxx_messageInfo_Secret proto.InternalMessageInfo
 | |
| 
 | |
| func (m *Secret) GetName() string {
 | |
| 	if m != nil {
 | |
| 		return m.Name
 | |
| 	}
 | |
| 	return ""
 | |
| }
 | |
| 
 | |
| func (m *Secret) GetData() map[string]string {
 | |
| 	if m != nil {
 | |
| 		return m.Data
 | |
| 	}
 | |
| 	return nil
 | |
| }
 | |
| 
 | |
| func init() {
 | |
| 	proto.RegisterType((*AddSecretKeyValueRequest)(nil), "api.AddSecretKeyValueRequest")
 | |
| 	proto.RegisterType((*AddSecretKeyValueResponse)(nil), "api.AddSecretKeyValueResponse")
 | |
| 	proto.RegisterType((*SecretExistsRequest)(nil), "api.SecretExistsRequest")
 | |
| 	proto.RegisterType((*SecretExistsResponse)(nil), "api.SecretExistsResponse")
 | |
| 	proto.RegisterType((*UpdateSecretKeyValueRequest)(nil), "api.UpdateSecretKeyValueRequest")
 | |
| 	proto.RegisterType((*UpdateSecretKeyValueResponse)(nil), "api.UpdateSecretKeyValueResponse")
 | |
| 	proto.RegisterType((*DeleteSecretRequest)(nil), "api.DeleteSecretRequest")
 | |
| 	proto.RegisterType((*DeleteSecretKeyRequest)(nil), "api.DeleteSecretKeyRequest")
 | |
| 	proto.RegisterType((*DeleteSecretKeyResponse)(nil), "api.DeleteSecretKeyResponse")
 | |
| 	proto.RegisterType((*DeleteSecretResponse)(nil), "api.DeleteSecretResponse")
 | |
| 	proto.RegisterType((*ListSecretsRequest)(nil), "api.ListSecretsRequest")
 | |
| 	proto.RegisterType((*ListSecretsResponse)(nil), "api.ListSecretsResponse")
 | |
| 	proto.RegisterType((*CreateSecretRequest)(nil), "api.CreateSecretRequest")
 | |
| 	proto.RegisterType((*GetSecretRequest)(nil), "api.GetSecretRequest")
 | |
| 	proto.RegisterType((*Secret)(nil), "api.Secret")
 | |
| 	proto.RegisterMapType((map[string]string)(nil), "api.Secret.DataEntry")
 | |
| }
 | |
| 
 | |
| func init() { proto.RegisterFile("secret.proto", fileDescriptor_6acf428160d7a216) }
 | |
| 
 | |
| var fileDescriptor_6acf428160d7a216 = []byte{
 | |
| 	// 713 bytes of a gzipped FileDescriptorProto
 | |
| 	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x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, 0xf9, 0x50, 0x79, 0xa7, 0x25, 0x79, 0x9d, 0xb7, 0x7e, 0x06, 0x00, 0x00, 0xff,
 | |
| 	0xff, 0x9d, 0x7b, 0x21, 0x46, 0xdb, 0x08, 0x00, 0x00,
 | |
| }
 | |
| 
 | |
| // Reference imports to suppress errors if they are not otherwise used.
 | |
| var _ context.Context
 | |
| var _ grpc.ClientConn
 | |
| 
 | |
| // This is a compile-time assertion to ensure that this generated file
 | |
| // is compatible with the grpc package it is being compiled against.
 | |
| const _ = grpc.SupportPackageIsVersion4
 | |
| 
 | |
| // SecretServiceClient is the client API for SecretService service.
 | |
| //
 | |
| // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
 | |
| type SecretServiceClient interface {
 | |
| 	CreateSecret(ctx context.Context, in *CreateSecretRequest, opts ...grpc.CallOption) (*empty.Empty, error)
 | |
| 	SecretExists(ctx context.Context, in *SecretExistsRequest, opts ...grpc.CallOption) (*SecretExistsResponse, error)
 | |
| 	GetSecret(ctx context.Context, in *GetSecretRequest, opts ...grpc.CallOption) (*Secret, error)
 | |
| 	ListSecrets(ctx context.Context, in *ListSecretsRequest, opts ...grpc.CallOption) (*ListSecretsResponse, error)
 | |
| 	DeleteSecret(ctx context.Context, in *DeleteSecretRequest, opts ...grpc.CallOption) (*DeleteSecretResponse, error)
 | |
| 	DeleteSecretKey(ctx context.Context, in *DeleteSecretKeyRequest, opts ...grpc.CallOption) (*DeleteSecretKeyResponse, error)
 | |
| 	AddSecretKeyValue(ctx context.Context, in *AddSecretKeyValueRequest, opts ...grpc.CallOption) (*AddSecretKeyValueResponse, error)
 | |
| 	UpdateSecretKeyValue(ctx context.Context, in *UpdateSecretKeyValueRequest, opts ...grpc.CallOption) (*UpdateSecretKeyValueResponse, error)
 | |
| }
 | |
| 
 | |
| type secretServiceClient struct {
 | |
| 	cc *grpc.ClientConn
 | |
| }
 | |
| 
 | |
| func NewSecretServiceClient(cc *grpc.ClientConn) SecretServiceClient {
 | |
| 	return &secretServiceClient{cc}
 | |
| }
 | |
| 
 | |
| func (c *secretServiceClient) CreateSecret(ctx context.Context, in *CreateSecretRequest, opts ...grpc.CallOption) (*empty.Empty, error) {
 | |
| 	out := new(empty.Empty)
 | |
| 	err := c.cc.Invoke(ctx, "/api.SecretService/CreateSecret", in, out, opts...)
 | |
| 	if err != nil {
 | |
| 		return nil, err
 | |
| 	}
 | |
| 	return out, nil
 | |
| }
 | |
| 
 | |
| func (c *secretServiceClient) SecretExists(ctx context.Context, in *SecretExistsRequest, opts ...grpc.CallOption) (*SecretExistsResponse, error) {
 | |
| 	out := new(SecretExistsResponse)
 | |
| 	err := c.cc.Invoke(ctx, "/api.SecretService/SecretExists", in, out, opts...)
 | |
| 	if err != nil {
 | |
| 		return nil, err
 | |
| 	}
 | |
| 	return out, nil
 | |
| }
 | |
| 
 | |
| func (c *secretServiceClient) GetSecret(ctx context.Context, in *GetSecretRequest, opts ...grpc.CallOption) (*Secret, error) {
 | |
| 	out := new(Secret)
 | |
| 	err := c.cc.Invoke(ctx, "/api.SecretService/GetSecret", in, out, opts...)
 | |
| 	if err != nil {
 | |
| 		return nil, err
 | |
| 	}
 | |
| 	return out, nil
 | |
| }
 | |
| 
 | |
| func (c *secretServiceClient) ListSecrets(ctx context.Context, in *ListSecretsRequest, opts ...grpc.CallOption) (*ListSecretsResponse, error) {
 | |
| 	out := new(ListSecretsResponse)
 | |
| 	err := c.cc.Invoke(ctx, "/api.SecretService/ListSecrets", in, out, opts...)
 | |
| 	if err != nil {
 | |
| 		return nil, err
 | |
| 	}
 | |
| 	return out, nil
 | |
| }
 | |
| 
 | |
| func (c *secretServiceClient) DeleteSecret(ctx context.Context, in *DeleteSecretRequest, opts ...grpc.CallOption) (*DeleteSecretResponse, error) {
 | |
| 	out := new(DeleteSecretResponse)
 | |
| 	err := c.cc.Invoke(ctx, "/api.SecretService/DeleteSecret", in, out, opts...)
 | |
| 	if err != nil {
 | |
| 		return nil, err
 | |
| 	}
 | |
| 	return out, nil
 | |
| }
 | |
| 
 | |
| func (c *secretServiceClient) DeleteSecretKey(ctx context.Context, in *DeleteSecretKeyRequest, opts ...grpc.CallOption) (*DeleteSecretKeyResponse, error) {
 | |
| 	out := new(DeleteSecretKeyResponse)
 | |
| 	err := c.cc.Invoke(ctx, "/api.SecretService/DeleteSecretKey", in, out, opts...)
 | |
| 	if err != nil {
 | |
| 		return nil, err
 | |
| 	}
 | |
| 	return out, nil
 | |
| }
 | |
| 
 | |
| func (c *secretServiceClient) AddSecretKeyValue(ctx context.Context, in *AddSecretKeyValueRequest, opts ...grpc.CallOption) (*AddSecretKeyValueResponse, error) {
 | |
| 	out := new(AddSecretKeyValueResponse)
 | |
| 	err := c.cc.Invoke(ctx, "/api.SecretService/AddSecretKeyValue", in, out, opts...)
 | |
| 	if err != nil {
 | |
| 		return nil, err
 | |
| 	}
 | |
| 	return out, nil
 | |
| }
 | |
| 
 | |
| func (c *secretServiceClient) UpdateSecretKeyValue(ctx context.Context, in *UpdateSecretKeyValueRequest, opts ...grpc.CallOption) (*UpdateSecretKeyValueResponse, error) {
 | |
| 	out := new(UpdateSecretKeyValueResponse)
 | |
| 	err := c.cc.Invoke(ctx, "/api.SecretService/UpdateSecretKeyValue", in, out, opts...)
 | |
| 	if err != nil {
 | |
| 		return nil, err
 | |
| 	}
 | |
| 	return out, nil
 | |
| }
 | |
| 
 | |
| // SecretServiceServer is the server API for SecretService service.
 | |
| type SecretServiceServer interface {
 | |
| 	CreateSecret(context.Context, *CreateSecretRequest) (*empty.Empty, error)
 | |
| 	SecretExists(context.Context, *SecretExistsRequest) (*SecretExistsResponse, error)
 | |
| 	GetSecret(context.Context, *GetSecretRequest) (*Secret, error)
 | |
| 	ListSecrets(context.Context, *ListSecretsRequest) (*ListSecretsResponse, error)
 | |
| 	DeleteSecret(context.Context, *DeleteSecretRequest) (*DeleteSecretResponse, error)
 | |
| 	DeleteSecretKey(context.Context, *DeleteSecretKeyRequest) (*DeleteSecretKeyResponse, error)
 | |
| 	AddSecretKeyValue(context.Context, *AddSecretKeyValueRequest) (*AddSecretKeyValueResponse, error)
 | |
| 	UpdateSecretKeyValue(context.Context, *UpdateSecretKeyValueRequest) (*UpdateSecretKeyValueResponse, error)
 | |
| }
 | |
| 
 | |
| // UnimplementedSecretServiceServer can be embedded to have forward compatible implementations.
 | |
| type UnimplementedSecretServiceServer struct {
 | |
| }
 | |
| 
 | |
| func (*UnimplementedSecretServiceServer) CreateSecret(ctx context.Context, req *CreateSecretRequest) (*empty.Empty, error) {
 | |
| 	return nil, status.Errorf(codes.Unimplemented, "method CreateSecret not implemented")
 | |
| }
 | |
| func (*UnimplementedSecretServiceServer) SecretExists(ctx context.Context, req *SecretExistsRequest) (*SecretExistsResponse, error) {
 | |
| 	return nil, status.Errorf(codes.Unimplemented, "method SecretExists not implemented")
 | |
| }
 | |
| func (*UnimplementedSecretServiceServer) GetSecret(ctx context.Context, req *GetSecretRequest) (*Secret, error) {
 | |
| 	return nil, status.Errorf(codes.Unimplemented, "method GetSecret not implemented")
 | |
| }
 | |
| func (*UnimplementedSecretServiceServer) ListSecrets(ctx context.Context, req *ListSecretsRequest) (*ListSecretsResponse, error) {
 | |
| 	return nil, status.Errorf(codes.Unimplemented, "method ListSecrets not implemented")
 | |
| }
 | |
| func (*UnimplementedSecretServiceServer) DeleteSecret(ctx context.Context, req *DeleteSecretRequest) (*DeleteSecretResponse, error) {
 | |
| 	return nil, status.Errorf(codes.Unimplemented, "method DeleteSecret not implemented")
 | |
| }
 | |
| func (*UnimplementedSecretServiceServer) DeleteSecretKey(ctx context.Context, req *DeleteSecretKeyRequest) (*DeleteSecretKeyResponse, error) {
 | |
| 	return nil, status.Errorf(codes.Unimplemented, "method DeleteSecretKey not implemented")
 | |
| }
 | |
| func (*UnimplementedSecretServiceServer) AddSecretKeyValue(ctx context.Context, req *AddSecretKeyValueRequest) (*AddSecretKeyValueResponse, error) {
 | |
| 	return nil, status.Errorf(codes.Unimplemented, "method AddSecretKeyValue not implemented")
 | |
| }
 | |
| func (*UnimplementedSecretServiceServer) UpdateSecretKeyValue(ctx context.Context, req *UpdateSecretKeyValueRequest) (*UpdateSecretKeyValueResponse, error) {
 | |
| 	return nil, status.Errorf(codes.Unimplemented, "method UpdateSecretKeyValue not implemented")
 | |
| }
 | |
| 
 | |
| func RegisterSecretServiceServer(s *grpc.Server, srv SecretServiceServer) {
 | |
| 	s.RegisterService(&_SecretService_serviceDesc, srv)
 | |
| }
 | |
| 
 | |
| func _SecretService_CreateSecret_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
 | |
| 	in := new(CreateSecretRequest)
 | |
| 	if err := dec(in); err != nil {
 | |
| 		return nil, err
 | |
| 	}
 | |
| 	if interceptor == nil {
 | |
| 		return srv.(SecretServiceServer).CreateSecret(ctx, in)
 | |
| 	}
 | |
| 	info := &grpc.UnaryServerInfo{
 | |
| 		Server:     srv,
 | |
| 		FullMethod: "/api.SecretService/CreateSecret",
 | |
| 	}
 | |
| 	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
 | |
| 		return srv.(SecretServiceServer).CreateSecret(ctx, req.(*CreateSecretRequest))
 | |
| 	}
 | |
| 	return interceptor(ctx, in, info, handler)
 | |
| }
 | |
| 
 | |
| func _SecretService_SecretExists_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
 | |
| 	in := new(SecretExistsRequest)
 | |
| 	if err := dec(in); err != nil {
 | |
| 		return nil, err
 | |
| 	}
 | |
| 	if interceptor == nil {
 | |
| 		return srv.(SecretServiceServer).SecretExists(ctx, in)
 | |
| 	}
 | |
| 	info := &grpc.UnaryServerInfo{
 | |
| 		Server:     srv,
 | |
| 		FullMethod: "/api.SecretService/SecretExists",
 | |
| 	}
 | |
| 	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
 | |
| 		return srv.(SecretServiceServer).SecretExists(ctx, req.(*SecretExistsRequest))
 | |
| 	}
 | |
| 	return interceptor(ctx, in, info, handler)
 | |
| }
 | |
| 
 | |
| func _SecretService_GetSecret_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
 | |
| 	in := new(GetSecretRequest)
 | |
| 	if err := dec(in); err != nil {
 | |
| 		return nil, err
 | |
| 	}
 | |
| 	if interceptor == nil {
 | |
| 		return srv.(SecretServiceServer).GetSecret(ctx, in)
 | |
| 	}
 | |
| 	info := &grpc.UnaryServerInfo{
 | |
| 		Server:     srv,
 | |
| 		FullMethod: "/api.SecretService/GetSecret",
 | |
| 	}
 | |
| 	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
 | |
| 		return srv.(SecretServiceServer).GetSecret(ctx, req.(*GetSecretRequest))
 | |
| 	}
 | |
| 	return interceptor(ctx, in, info, handler)
 | |
| }
 | |
| 
 | |
| func _SecretService_ListSecrets_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
 | |
| 	in := new(ListSecretsRequest)
 | |
| 	if err := dec(in); err != nil {
 | |
| 		return nil, err
 | |
| 	}
 | |
| 	if interceptor == nil {
 | |
| 		return srv.(SecretServiceServer).ListSecrets(ctx, in)
 | |
| 	}
 | |
| 	info := &grpc.UnaryServerInfo{
 | |
| 		Server:     srv,
 | |
| 		FullMethod: "/api.SecretService/ListSecrets",
 | |
| 	}
 | |
| 	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
 | |
| 		return srv.(SecretServiceServer).ListSecrets(ctx, req.(*ListSecretsRequest))
 | |
| 	}
 | |
| 	return interceptor(ctx, in, info, handler)
 | |
| }
 | |
| 
 | |
| func _SecretService_DeleteSecret_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
 | |
| 	in := new(DeleteSecretRequest)
 | |
| 	if err := dec(in); err != nil {
 | |
| 		return nil, err
 | |
| 	}
 | |
| 	if interceptor == nil {
 | |
| 		return srv.(SecretServiceServer).DeleteSecret(ctx, in)
 | |
| 	}
 | |
| 	info := &grpc.UnaryServerInfo{
 | |
| 		Server:     srv,
 | |
| 		FullMethod: "/api.SecretService/DeleteSecret",
 | |
| 	}
 | |
| 	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
 | |
| 		return srv.(SecretServiceServer).DeleteSecret(ctx, req.(*DeleteSecretRequest))
 | |
| 	}
 | |
| 	return interceptor(ctx, in, info, handler)
 | |
| }
 | |
| 
 | |
| func _SecretService_DeleteSecretKey_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
 | |
| 	in := new(DeleteSecretKeyRequest)
 | |
| 	if err := dec(in); err != nil {
 | |
| 		return nil, err
 | |
| 	}
 | |
| 	if interceptor == nil {
 | |
| 		return srv.(SecretServiceServer).DeleteSecretKey(ctx, in)
 | |
| 	}
 | |
| 	info := &grpc.UnaryServerInfo{
 | |
| 		Server:     srv,
 | |
| 		FullMethod: "/api.SecretService/DeleteSecretKey",
 | |
| 	}
 | |
| 	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
 | |
| 		return srv.(SecretServiceServer).DeleteSecretKey(ctx, req.(*DeleteSecretKeyRequest))
 | |
| 	}
 | |
| 	return interceptor(ctx, in, info, handler)
 | |
| }
 | |
| 
 | |
| func _SecretService_AddSecretKeyValue_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
 | |
| 	in := new(AddSecretKeyValueRequest)
 | |
| 	if err := dec(in); err != nil {
 | |
| 		return nil, err
 | |
| 	}
 | |
| 	if interceptor == nil {
 | |
| 		return srv.(SecretServiceServer).AddSecretKeyValue(ctx, in)
 | |
| 	}
 | |
| 	info := &grpc.UnaryServerInfo{
 | |
| 		Server:     srv,
 | |
| 		FullMethod: "/api.SecretService/AddSecretKeyValue",
 | |
| 	}
 | |
| 	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
 | |
| 		return srv.(SecretServiceServer).AddSecretKeyValue(ctx, req.(*AddSecretKeyValueRequest))
 | |
| 	}
 | |
| 	return interceptor(ctx, in, info, handler)
 | |
| }
 | |
| 
 | |
| func _SecretService_UpdateSecretKeyValue_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
 | |
| 	in := new(UpdateSecretKeyValueRequest)
 | |
| 	if err := dec(in); err != nil {
 | |
| 		return nil, err
 | |
| 	}
 | |
| 	if interceptor == nil {
 | |
| 		return srv.(SecretServiceServer).UpdateSecretKeyValue(ctx, in)
 | |
| 	}
 | |
| 	info := &grpc.UnaryServerInfo{
 | |
| 		Server:     srv,
 | |
| 		FullMethod: "/api.SecretService/UpdateSecretKeyValue",
 | |
| 	}
 | |
| 	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
 | |
| 		return srv.(SecretServiceServer).UpdateSecretKeyValue(ctx, req.(*UpdateSecretKeyValueRequest))
 | |
| 	}
 | |
| 	return interceptor(ctx, in, info, handler)
 | |
| }
 | |
| 
 | |
| var _SecretService_serviceDesc = grpc.ServiceDesc{
 | |
| 	ServiceName: "api.SecretService",
 | |
| 	HandlerType: (*SecretServiceServer)(nil),
 | |
| 	Methods: []grpc.MethodDesc{
 | |
| 		{
 | |
| 			MethodName: "CreateSecret",
 | |
| 			Handler:    _SecretService_CreateSecret_Handler,
 | |
| 		},
 | |
| 		{
 | |
| 			MethodName: "SecretExists",
 | |
| 			Handler:    _SecretService_SecretExists_Handler,
 | |
| 		},
 | |
| 		{
 | |
| 			MethodName: "GetSecret",
 | |
| 			Handler:    _SecretService_GetSecret_Handler,
 | |
| 		},
 | |
| 		{
 | |
| 			MethodName: "ListSecrets",
 | |
| 			Handler:    _SecretService_ListSecrets_Handler,
 | |
| 		},
 | |
| 		{
 | |
| 			MethodName: "DeleteSecret",
 | |
| 			Handler:    _SecretService_DeleteSecret_Handler,
 | |
| 		},
 | |
| 		{
 | |
| 			MethodName: "DeleteSecretKey",
 | |
| 			Handler:    _SecretService_DeleteSecretKey_Handler,
 | |
| 		},
 | |
| 		{
 | |
| 			MethodName: "AddSecretKeyValue",
 | |
| 			Handler:    _SecretService_AddSecretKeyValue_Handler,
 | |
| 		},
 | |
| 		{
 | |
| 			MethodName: "UpdateSecretKeyValue",
 | |
| 			Handler:    _SecretService_UpdateSecretKeyValue_Handler,
 | |
| 		},
 | |
| 	},
 | |
| 	Streams:  []grpc.StreamDesc{},
 | |
| 	Metadata: "secret.proto",
 | |
| }
 | 
