Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterDeploySecretApiServer(s grpc.ServiceRegistrar, srv DeploySecretApiServer)
- type DeploySecretApiClient
- type DeploySecretApiServer
- type ListSecretItemRequest
- func (*ListSecretItemRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListSecretItemRequest) GetAccessToken() string
- func (x *ListSecretItemRequest) GetDeployPlanId() string
- func (x *ListSecretItemRequest) GetHostId() string
- func (*ListSecretItemRequest) ProtoMessage()
- func (x *ListSecretItemRequest) ProtoReflect() protoreflect.Message
- func (x *ListSecretItemRequest) Reset()
- func (x *ListSecretItemRequest) String() string
- type ListSecretItemResponse
- func (*ListSecretItemResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListSecretItemResponse) GetCode() ListSecretItemResponse_CODE
- func (x *ListSecretItemResponse) GetErrMsg() string
- func (x *ListSecretItemResponse) GetItemList() []*SecretItemInfo
- func (*ListSecretItemResponse) ProtoMessage()
- func (x *ListSecretItemResponse) ProtoReflect() protoreflect.Message
- func (x *ListSecretItemResponse) Reset()
- func (x *ListSecretItemResponse) String() string
- type ListSecretItemResponse_CODE
- func (ListSecretItemResponse_CODE) Descriptor() protoreflect.EnumDescriptor
- func (x ListSecretItemResponse_CODE) Enum() *ListSecretItemResponse_CODE
- func (ListSecretItemResponse_CODE) EnumDescriptor() ([]byte, []int)deprecated
- func (x ListSecretItemResponse_CODE) Number() protoreflect.EnumNumber
- func (x ListSecretItemResponse_CODE) String() string
- func (ListSecretItemResponse_CODE) Type() protoreflect.EnumType
- type RemoveSecretItemRequest
- func (*RemoveSecretItemRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveSecretItemRequest) GetAccessToken() string
- func (x *RemoveSecretItemRequest) GetDeployPlanId() string
- func (x *RemoveSecretItemRequest) GetHostId() string
- func (x *RemoveSecretItemRequest) GetKey() string
- func (*RemoveSecretItemRequest) ProtoMessage()
- func (x *RemoveSecretItemRequest) ProtoReflect() protoreflect.Message
- func (x *RemoveSecretItemRequest) Reset()
- func (x *RemoveSecretItemRequest) String() string
- type RemoveSecretItemResponse
- func (*RemoveSecretItemResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveSecretItemResponse) GetCode() RemoveSecretItemResponse_CODE
- func (x *RemoveSecretItemResponse) GetErrMsg() string
- func (*RemoveSecretItemResponse) ProtoMessage()
- func (x *RemoveSecretItemResponse) ProtoReflect() protoreflect.Message
- func (x *RemoveSecretItemResponse) Reset()
- func (x *RemoveSecretItemResponse) String() string
- type RemoveSecretItemResponse_CODE
- func (RemoveSecretItemResponse_CODE) Descriptor() protoreflect.EnumDescriptor
- func (x RemoveSecretItemResponse_CODE) Enum() *RemoveSecretItemResponse_CODE
- func (RemoveSecretItemResponse_CODE) EnumDescriptor() ([]byte, []int)deprecated
- func (x RemoveSecretItemResponse_CODE) Number() protoreflect.EnumNumber
- func (x RemoveSecretItemResponse_CODE) String() string
- func (RemoveSecretItemResponse_CODE) Type() protoreflect.EnumType
- type SecretItemInfo
- func (*SecretItemInfo) Descriptor() ([]byte, []int)deprecated
- func (x *SecretItemInfo) GetInherit() bool
- func (x *SecretItemInfo) GetKey() string
- func (x *SecretItemInfo) GetValue() string
- func (*SecretItemInfo) ProtoMessage()
- func (x *SecretItemInfo) ProtoReflect() protoreflect.Message
- func (x *SecretItemInfo) Reset()
- func (x *SecretItemInfo) String() string
- type SetSecretItemRequest
- func (*SetSecretItemRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SetSecretItemRequest) GetAccessToken() string
- func (x *SetSecretItemRequest) GetDeployPlanId() string
- func (x *SetSecretItemRequest) GetHostId() string
- func (x *SetSecretItemRequest) GetKey() string
- func (x *SetSecretItemRequest) GetValue() string
- func (*SetSecretItemRequest) ProtoMessage()
- func (x *SetSecretItemRequest) ProtoReflect() protoreflect.Message
- func (x *SetSecretItemRequest) Reset()
- func (x *SetSecretItemRequest) String() string
- type SetSecretItemResponse
- func (*SetSecretItemResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SetSecretItemResponse) GetCode() SetSecretItemResponse_CODE
- func (x *SetSecretItemResponse) GetErrMsg() string
- func (*SetSecretItemResponse) ProtoMessage()
- func (x *SetSecretItemResponse) ProtoReflect() protoreflect.Message
- func (x *SetSecretItemResponse) Reset()
- func (x *SetSecretItemResponse) String() string
- type SetSecretItemResponse_CODE
- func (SetSecretItemResponse_CODE) Descriptor() protoreflect.EnumDescriptor
- func (x SetSecretItemResponse_CODE) Enum() *SetSecretItemResponse_CODE
- func (SetSecretItemResponse_CODE) EnumDescriptor() ([]byte, []int)deprecated
- func (x SetSecretItemResponse_CODE) Number() protoreflect.EnumNumber
- func (x SetSecretItemResponse_CODE) String() string
- func (SetSecretItemResponse_CODE) Type() protoreflect.EnumType
- type UnimplementedDeploySecretApiServer
- func (UnimplementedDeploySecretApiServer) ListSecretItem(context.Context, *ListSecretItemRequest) (*ListSecretItemResponse, error)
- func (UnimplementedDeploySecretApiServer) RemoveSecretItem(context.Context, *RemoveSecretItemRequest) (*RemoveSecretItemResponse, error)
- func (UnimplementedDeploySecretApiServer) SetSecretItem(context.Context, *SetSecretItemRequest) (*SetSecretItemResponse, error)
- type UnsafeDeploySecretApiServer
Constants ¶
const ( DeploySecretApi_SetSecretItem_FullMethodName = "/gitops_deploy_secret_api.DeploySecretApi/setSecretItem" DeploySecretApi_ListSecretItem_FullMethodName = "/gitops_deploy_secret_api.DeploySecretApi/listSecretItem" DeploySecretApi_RemoveSecretItem_FullMethodName = "/gitops_deploy_secret_api.DeploySecretApi/removeSecretItem" )
Variables ¶
var ( SetSecretItemResponse_CODE_name = map[int32]string{ 0: "CODE_OK", 1: "CODE_WRONG_ACCESS_TOKEN", 2: "CODE_NO_PERMISSION", 3: "CODE_NO_PLAN", 4: "CODE_NO_HOST", } SetSecretItemResponse_CODE_value = map[string]int32{ "CODE_OK": 0, "CODE_WRONG_ACCESS_TOKEN": 1, "CODE_NO_PERMISSION": 2, "CODE_NO_PLAN": 3, "CODE_NO_HOST": 4, } )
Enum value maps for SetSecretItemResponse_CODE.
var ( ListSecretItemResponse_CODE_name = map[int32]string{ 0: "CODE_OK", 1: "CODE_WRONG_ACCESS_TOKEN", 2: "CODE_NO_PERMISSION", 3: "CODE_NO_PLAN", 4: "CODE_NO_HOST", } ListSecretItemResponse_CODE_value = map[string]int32{ "CODE_OK": 0, "CODE_WRONG_ACCESS_TOKEN": 1, "CODE_NO_PERMISSION": 2, "CODE_NO_PLAN": 3, "CODE_NO_HOST": 4, } )
Enum value maps for ListSecretItemResponse_CODE.
var ( RemoveSecretItemResponse_CODE_name = map[int32]string{ 0: "CODE_OK", 1: "CODE_WRONG_ACCESS_TOKEN", 2: "CODE_NO_PERMISSION", 3: "CODE_NO_PLAN", 4: "CODE_NO_HOST", } RemoveSecretItemResponse_CODE_value = map[string]int32{ "CODE_OK": 0, "CODE_WRONG_ACCESS_TOKEN": 1, "CODE_NO_PERMISSION": 2, "CODE_NO_PLAN": 3, "CODE_NO_HOST": 4, } )
Enum value maps for RemoveSecretItemResponse_CODE.
var DeploySecretApi_ServiceDesc = grpc.ServiceDesc{ ServiceName: "gitops_deploy_secret_api.DeploySecretApi", HandlerType: (*DeploySecretApiServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "setSecretItem", Handler: _DeploySecretApi_SetSecretItem_Handler, }, { MethodName: "listSecretItem", Handler: _DeploySecretApi_ListSecretItem_Handler, }, { MethodName: "removeSecretItem", Handler: _DeploySecretApi_RemoveSecretItem_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "proto/deploy_secret_api.proto", }
DeploySecretApi_ServiceDesc is the grpc.ServiceDesc for DeploySecretApi service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_proto_deploy_secret_api_proto protoreflect.FileDescriptor
Functions ¶
func RegisterDeploySecretApiServer ¶
func RegisterDeploySecretApiServer(s grpc.ServiceRegistrar, srv DeploySecretApiServer)
Types ¶
type DeploySecretApiClient ¶
type DeploySecretApiClient interface { // 设置secret item SetSecretItem(ctx context.Context, in *SetSecretItemRequest, opts ...grpc.CallOption) (*SetSecretItemResponse, error) // 列出secret item ListSecretItem(ctx context.Context, in *ListSecretItemRequest, opts ...grpc.CallOption) (*ListSecretItemResponse, error) // 删除secret item RemoveSecretItem(ctx context.Context, in *RemoveSecretItemRequest, opts ...grpc.CallOption) (*RemoveSecretItemResponse, error) }
DeploySecretApiClient is the client API for DeploySecretApi service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewDeploySecretApiClient ¶
func NewDeploySecretApiClient(cc grpc.ClientConnInterface) DeploySecretApiClient
type DeploySecretApiServer ¶
type DeploySecretApiServer interface { // 设置secret item SetSecretItem(context.Context, *SetSecretItemRequest) (*SetSecretItemResponse, error) // 列出secret item ListSecretItem(context.Context, *ListSecretItemRequest) (*ListSecretItemResponse, error) // 删除secret item RemoveSecretItem(context.Context, *RemoveSecretItemRequest) (*RemoveSecretItemResponse, error) // contains filtered or unexported methods }
DeploySecretApiServer is the server API for DeploySecretApi service. All implementations must embed UnimplementedDeploySecretApiServer for forward compatibility
type ListSecretItemRequest ¶
type ListSecretItemRequest struct { AccessToken string `protobuf:"bytes,1,opt,name=accessToken,proto3" json:"accessToken,omitempty"` DeployPlanId string `protobuf:"bytes,2,opt,name=deployPlanId,proto3" json:"deployPlanId,omitempty"` HostId string `protobuf:"bytes,3,opt,name=hostId,proto3" json:"hostId,omitempty"` // contains filtered or unexported fields }
func (*ListSecretItemRequest) Descriptor
deprecated
func (*ListSecretItemRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListSecretItemRequest.ProtoReflect.Descriptor instead.
func (*ListSecretItemRequest) GetAccessToken ¶
func (x *ListSecretItemRequest) GetAccessToken() string
func (*ListSecretItemRequest) GetDeployPlanId ¶
func (x *ListSecretItemRequest) GetDeployPlanId() string
func (*ListSecretItemRequest) GetHostId ¶
func (x *ListSecretItemRequest) GetHostId() string
func (*ListSecretItemRequest) ProtoMessage ¶
func (*ListSecretItemRequest) ProtoMessage()
func (*ListSecretItemRequest) ProtoReflect ¶
func (x *ListSecretItemRequest) ProtoReflect() protoreflect.Message
func (*ListSecretItemRequest) Reset ¶
func (x *ListSecretItemRequest) Reset()
func (*ListSecretItemRequest) String ¶
func (x *ListSecretItemRequest) String() string
type ListSecretItemResponse ¶
type ListSecretItemResponse struct { Code ListSecretItemResponse_CODE `protobuf:"varint,1,opt,name=code,proto3,enum=gitops_deploy_secret_api.ListSecretItemResponse_CODE" json:"code,omitempty"` ErrMsg string `protobuf:"bytes,2,opt,name=errMsg,proto3" json:"errMsg,omitempty"` ItemList []*SecretItemInfo `protobuf:"bytes,3,rep,name=itemList,proto3" json:"itemList,omitempty"` // contains filtered or unexported fields }
func (*ListSecretItemResponse) Descriptor
deprecated
func (*ListSecretItemResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListSecretItemResponse.ProtoReflect.Descriptor instead.
func (*ListSecretItemResponse) GetCode ¶
func (x *ListSecretItemResponse) GetCode() ListSecretItemResponse_CODE
func (*ListSecretItemResponse) GetErrMsg ¶
func (x *ListSecretItemResponse) GetErrMsg() string
func (*ListSecretItemResponse) GetItemList ¶
func (x *ListSecretItemResponse) GetItemList() []*SecretItemInfo
func (*ListSecretItemResponse) ProtoMessage ¶
func (*ListSecretItemResponse) ProtoMessage()
func (*ListSecretItemResponse) ProtoReflect ¶
func (x *ListSecretItemResponse) ProtoReflect() protoreflect.Message
func (*ListSecretItemResponse) Reset ¶
func (x *ListSecretItemResponse) Reset()
func (*ListSecretItemResponse) String ¶
func (x *ListSecretItemResponse) String() string
type ListSecretItemResponse_CODE ¶
type ListSecretItemResponse_CODE int32
const ( ListSecretItemResponse_CODE_OK ListSecretItemResponse_CODE = 0 ListSecretItemResponse_CODE_WRONG_ACCESS_TOKEN ListSecretItemResponse_CODE = 1 ListSecretItemResponse_CODE_NO_PERMISSION ListSecretItemResponse_CODE = 2 ListSecretItemResponse_CODE_NO_PLAN ListSecretItemResponse_CODE = 3 ListSecretItemResponse_CODE_NO_HOST ListSecretItemResponse_CODE = 4 )
func (ListSecretItemResponse_CODE) Descriptor ¶
func (ListSecretItemResponse_CODE) Descriptor() protoreflect.EnumDescriptor
func (ListSecretItemResponse_CODE) Enum ¶
func (x ListSecretItemResponse_CODE) Enum() *ListSecretItemResponse_CODE
func (ListSecretItemResponse_CODE) EnumDescriptor
deprecated
func (ListSecretItemResponse_CODE) EnumDescriptor() ([]byte, []int)
Deprecated: Use ListSecretItemResponse_CODE.Descriptor instead.
func (ListSecretItemResponse_CODE) Number ¶
func (x ListSecretItemResponse_CODE) Number() protoreflect.EnumNumber
func (ListSecretItemResponse_CODE) String ¶
func (x ListSecretItemResponse_CODE) String() string
func (ListSecretItemResponse_CODE) Type ¶
func (ListSecretItemResponse_CODE) Type() protoreflect.EnumType
type RemoveSecretItemRequest ¶
type RemoveSecretItemRequest struct { AccessToken string `protobuf:"bytes,1,opt,name=accessToken,proto3" json:"accessToken,omitempty"` DeployPlanId string `protobuf:"bytes,2,opt,name=deployPlanId,proto3" json:"deployPlanId,omitempty"` HostId string `protobuf:"bytes,3,opt,name=hostId,proto3" json:"hostId,omitempty"` Key string `protobuf:"bytes,4,opt,name=key,proto3" json:"key,omitempty"` // contains filtered or unexported fields }
func (*RemoveSecretItemRequest) Descriptor
deprecated
func (*RemoveSecretItemRequest) Descriptor() ([]byte, []int)
Deprecated: Use RemoveSecretItemRequest.ProtoReflect.Descriptor instead.
func (*RemoveSecretItemRequest) GetAccessToken ¶
func (x *RemoveSecretItemRequest) GetAccessToken() string
func (*RemoveSecretItemRequest) GetDeployPlanId ¶
func (x *RemoveSecretItemRequest) GetDeployPlanId() string
func (*RemoveSecretItemRequest) GetHostId ¶
func (x *RemoveSecretItemRequest) GetHostId() string
func (*RemoveSecretItemRequest) GetKey ¶
func (x *RemoveSecretItemRequest) GetKey() string
func (*RemoveSecretItemRequest) ProtoMessage ¶
func (*RemoveSecretItemRequest) ProtoMessage()
func (*RemoveSecretItemRequest) ProtoReflect ¶
func (x *RemoveSecretItemRequest) ProtoReflect() protoreflect.Message
func (*RemoveSecretItemRequest) Reset ¶
func (x *RemoveSecretItemRequest) Reset()
func (*RemoveSecretItemRequest) String ¶
func (x *RemoveSecretItemRequest) String() string
type RemoveSecretItemResponse ¶
type RemoveSecretItemResponse struct { Code RemoveSecretItemResponse_CODE `protobuf:"varint,1,opt,name=code,proto3,enum=gitops_deploy_secret_api.RemoveSecretItemResponse_CODE" json:"code,omitempty"` ErrMsg string `protobuf:"bytes,2,opt,name=errMsg,proto3" json:"errMsg,omitempty"` // contains filtered or unexported fields }
func (*RemoveSecretItemResponse) Descriptor
deprecated
func (*RemoveSecretItemResponse) Descriptor() ([]byte, []int)
Deprecated: Use RemoveSecretItemResponse.ProtoReflect.Descriptor instead.
func (*RemoveSecretItemResponse) GetCode ¶
func (x *RemoveSecretItemResponse) GetCode() RemoveSecretItemResponse_CODE
func (*RemoveSecretItemResponse) GetErrMsg ¶
func (x *RemoveSecretItemResponse) GetErrMsg() string
func (*RemoveSecretItemResponse) ProtoMessage ¶
func (*RemoveSecretItemResponse) ProtoMessage()
func (*RemoveSecretItemResponse) ProtoReflect ¶
func (x *RemoveSecretItemResponse) ProtoReflect() protoreflect.Message
func (*RemoveSecretItemResponse) Reset ¶
func (x *RemoveSecretItemResponse) Reset()
func (*RemoveSecretItemResponse) String ¶
func (x *RemoveSecretItemResponse) String() string
type RemoveSecretItemResponse_CODE ¶
type RemoveSecretItemResponse_CODE int32
const ( RemoveSecretItemResponse_CODE_OK RemoveSecretItemResponse_CODE = 0 RemoveSecretItemResponse_CODE_WRONG_ACCESS_TOKEN RemoveSecretItemResponse_CODE = 1 RemoveSecretItemResponse_CODE_NO_PERMISSION RemoveSecretItemResponse_CODE = 2 RemoveSecretItemResponse_CODE_NO_PLAN RemoveSecretItemResponse_CODE = 3 RemoveSecretItemResponse_CODE_NO_HOST RemoveSecretItemResponse_CODE = 4 )
func (RemoveSecretItemResponse_CODE) Descriptor ¶
func (RemoveSecretItemResponse_CODE) Descriptor() protoreflect.EnumDescriptor
func (RemoveSecretItemResponse_CODE) Enum ¶
func (x RemoveSecretItemResponse_CODE) Enum() *RemoveSecretItemResponse_CODE
func (RemoveSecretItemResponse_CODE) EnumDescriptor
deprecated
func (RemoveSecretItemResponse_CODE) EnumDescriptor() ([]byte, []int)
Deprecated: Use RemoveSecretItemResponse_CODE.Descriptor instead.
func (RemoveSecretItemResponse_CODE) Number ¶
func (x RemoveSecretItemResponse_CODE) Number() protoreflect.EnumNumber
func (RemoveSecretItemResponse_CODE) String ¶
func (x RemoveSecretItemResponse_CODE) String() string
func (RemoveSecretItemResponse_CODE) Type ¶
func (RemoveSecretItemResponse_CODE) Type() protoreflect.EnumType
type SecretItemInfo ¶
type SecretItemInfo struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` Inherit bool `protobuf:"varint,3,opt,name=inherit,proto3" json:"inherit,omitempty"` //继承的配置项 // contains filtered or unexported fields }
func (*SecretItemInfo) Descriptor
deprecated
func (*SecretItemInfo) Descriptor() ([]byte, []int)
Deprecated: Use SecretItemInfo.ProtoReflect.Descriptor instead.
func (*SecretItemInfo) GetInherit ¶
func (x *SecretItemInfo) GetInherit() bool
func (*SecretItemInfo) GetKey ¶
func (x *SecretItemInfo) GetKey() string
func (*SecretItemInfo) GetValue ¶
func (x *SecretItemInfo) GetValue() string
func (*SecretItemInfo) ProtoMessage ¶
func (*SecretItemInfo) ProtoMessage()
func (*SecretItemInfo) ProtoReflect ¶
func (x *SecretItemInfo) ProtoReflect() protoreflect.Message
func (*SecretItemInfo) Reset ¶
func (x *SecretItemInfo) Reset()
func (*SecretItemInfo) String ¶
func (x *SecretItemInfo) String() string
type SetSecretItemRequest ¶
type SetSecretItemRequest struct { AccessToken string `protobuf:"bytes,1,opt,name=accessToken,proto3" json:"accessToken,omitempty"` DeployPlanId string `protobuf:"bytes,2,opt,name=deployPlanId,proto3" json:"deployPlanId,omitempty"` HostId string `protobuf:"bytes,3,opt,name=hostId,proto3" json:"hostId,omitempty"` Key string `protobuf:"bytes,4,opt,name=key,proto3" json:"key,omitempty"` Value string `protobuf:"bytes,5,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*SetSecretItemRequest) Descriptor
deprecated
func (*SetSecretItemRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetSecretItemRequest.ProtoReflect.Descriptor instead.
func (*SetSecretItemRequest) GetAccessToken ¶
func (x *SetSecretItemRequest) GetAccessToken() string
func (*SetSecretItemRequest) GetDeployPlanId ¶
func (x *SetSecretItemRequest) GetDeployPlanId() string
func (*SetSecretItemRequest) GetHostId ¶
func (x *SetSecretItemRequest) GetHostId() string
func (*SetSecretItemRequest) GetKey ¶
func (x *SetSecretItemRequest) GetKey() string
func (*SetSecretItemRequest) GetValue ¶
func (x *SetSecretItemRequest) GetValue() string
func (*SetSecretItemRequest) ProtoMessage ¶
func (*SetSecretItemRequest) ProtoMessage()
func (*SetSecretItemRequest) ProtoReflect ¶
func (x *SetSecretItemRequest) ProtoReflect() protoreflect.Message
func (*SetSecretItemRequest) Reset ¶
func (x *SetSecretItemRequest) Reset()
func (*SetSecretItemRequest) String ¶
func (x *SetSecretItemRequest) String() string
type SetSecretItemResponse ¶
type SetSecretItemResponse struct { Code SetSecretItemResponse_CODE `protobuf:"varint,1,opt,name=code,proto3,enum=gitops_deploy_secret_api.SetSecretItemResponse_CODE" json:"code,omitempty"` ErrMsg string `protobuf:"bytes,2,opt,name=errMsg,proto3" json:"errMsg,omitempty"` // contains filtered or unexported fields }
func (*SetSecretItemResponse) Descriptor
deprecated
func (*SetSecretItemResponse) Descriptor() ([]byte, []int)
Deprecated: Use SetSecretItemResponse.ProtoReflect.Descriptor instead.
func (*SetSecretItemResponse) GetCode ¶
func (x *SetSecretItemResponse) GetCode() SetSecretItemResponse_CODE
func (*SetSecretItemResponse) GetErrMsg ¶
func (x *SetSecretItemResponse) GetErrMsg() string
func (*SetSecretItemResponse) ProtoMessage ¶
func (*SetSecretItemResponse) ProtoMessage()
func (*SetSecretItemResponse) ProtoReflect ¶
func (x *SetSecretItemResponse) ProtoReflect() protoreflect.Message
func (*SetSecretItemResponse) Reset ¶
func (x *SetSecretItemResponse) Reset()
func (*SetSecretItemResponse) String ¶
func (x *SetSecretItemResponse) String() string
type SetSecretItemResponse_CODE ¶
type SetSecretItemResponse_CODE int32
const ( SetSecretItemResponse_CODE_OK SetSecretItemResponse_CODE = 0 SetSecretItemResponse_CODE_WRONG_ACCESS_TOKEN SetSecretItemResponse_CODE = 1 SetSecretItemResponse_CODE_NO_PERMISSION SetSecretItemResponse_CODE = 2 SetSecretItemResponse_CODE_NO_PLAN SetSecretItemResponse_CODE = 3 SetSecretItemResponse_CODE_NO_HOST SetSecretItemResponse_CODE = 4 )
func (SetSecretItemResponse_CODE) Descriptor ¶
func (SetSecretItemResponse_CODE) Descriptor() protoreflect.EnumDescriptor
func (SetSecretItemResponse_CODE) Enum ¶
func (x SetSecretItemResponse_CODE) Enum() *SetSecretItemResponse_CODE
func (SetSecretItemResponse_CODE) EnumDescriptor
deprecated
func (SetSecretItemResponse_CODE) EnumDescriptor() ([]byte, []int)
Deprecated: Use SetSecretItemResponse_CODE.Descriptor instead.
func (SetSecretItemResponse_CODE) Number ¶
func (x SetSecretItemResponse_CODE) Number() protoreflect.EnumNumber
func (SetSecretItemResponse_CODE) String ¶
func (x SetSecretItemResponse_CODE) String() string
func (SetSecretItemResponse_CODE) Type ¶
func (SetSecretItemResponse_CODE) Type() protoreflect.EnumType
type UnimplementedDeploySecretApiServer ¶
type UnimplementedDeploySecretApiServer struct { }
UnimplementedDeploySecretApiServer must be embedded to have forward compatible implementations.
func (UnimplementedDeploySecretApiServer) ListSecretItem ¶
func (UnimplementedDeploySecretApiServer) ListSecretItem(context.Context, *ListSecretItemRequest) (*ListSecretItemResponse, error)
func (UnimplementedDeploySecretApiServer) RemoveSecretItem ¶
func (UnimplementedDeploySecretApiServer) RemoveSecretItem(context.Context, *RemoveSecretItemRequest) (*RemoveSecretItemResponse, error)
func (UnimplementedDeploySecretApiServer) SetSecretItem ¶
func (UnimplementedDeploySecretApiServer) SetSecretItem(context.Context, *SetSecretItemRequest) (*SetSecretItemResponse, error)
type UnsafeDeploySecretApiServer ¶
type UnsafeDeploySecretApiServer interface {
// contains filtered or unexported methods
}
UnsafeDeploySecretApiServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to DeploySecretApiServer will result in compilation errors.
Source Files
¶
- deploy_secret_api.pb.go
- deploy_secret_api_grpc.pb.go