Documentation ¶
Overview ¶
Package mservicesafebox is a generated protocol buffer package.
It is generated from these files:
MServiceSafebox.proto
It has these top-level messages:
TreeNode DataKey KeyNode AddSharedSecretRequest AddSharedSecretResponse ClearSharedSecretsRequest ClearSharedSecretsResponse CreateDataKeyRequest CreateDataKeyResponse DeleteDataKeyRequest DeleteDataKeyResponse GetDataKeyRequest GetDataKeyResponse GetDataKeyByIdRequest GetDataKeyByIdResponse GetDataKeysByAccountRequest GetDataKeysByAccountResponse GetDecryptedDataKeyRequest GetDecryptedDataKeyResponse CreateKeyNodeRequest CreateKeyNodeResponse EnableKeyNodeRequest EnableKeyNodeResponse DisableKeyNodeRequest DisableKeyNodeResponse ReEncryptKeyNodeRequest ReEncryptKeyNodeResponse CopyKeyNodeRequest CopyKeyNodeResponse DeleteKeyNodeRequest DeleteKeyNodeResponse GetKeyNodeRequest GetKeyNodeResponse GetKeyNodeByIdRequest GetKeyNodeByIdResponse GetKeyNodeByPathRequest GetKeyNodeByPathResponse GetDecryptedKeyNodeRequest GetDecryptedKeyNodeResponse GetServerVersionRequest GetServerVersionResponse
Index ¶
- func RegisterMServiceSafeboxServer(s *grpc.Server, srv MServiceSafeboxServer)
- type AddSharedSecretRequest
- type AddSharedSecretResponse
- func (*AddSharedSecretResponse) Descriptor() ([]byte, []int)
- func (m *AddSharedSecretResponse) GetErrorCode() int32
- func (m *AddSharedSecretResponse) GetErrorMessage() string
- func (*AddSharedSecretResponse) ProtoMessage()
- func (m *AddSharedSecretResponse) Reset()
- func (m *AddSharedSecretResponse) String() string
- type ClearSharedSecretsRequest
- type ClearSharedSecretsResponse
- func (*ClearSharedSecretsResponse) Descriptor() ([]byte, []int)
- func (m *ClearSharedSecretsResponse) GetErrorCode() int32
- func (m *ClearSharedSecretsResponse) GetErrorMessage() string
- func (*ClearSharedSecretsResponse) ProtoMessage()
- func (m *ClearSharedSecretsResponse) Reset()
- func (m *ClearSharedSecretsResponse) String() string
- type CopyKeyNodeRequest
- func (*CopyKeyNodeRequest) Descriptor() ([]byte, []int)
- func (m *CopyKeyNodeRequest) GetAccountName() string
- func (m *CopyKeyNodeRequest) GetKeyId() int64
- func (m *CopyKeyNodeRequest) GetNodePath() string
- func (m *CopyKeyNodeRequest) GetVersion() int32
- func (*CopyKeyNodeRequest) ProtoMessage()
- func (m *CopyKeyNodeRequest) Reset()
- func (m *CopyKeyNodeRequest) String() string
- type CopyKeyNodeResponse
- func (*CopyKeyNodeResponse) Descriptor() ([]byte, []int)
- func (m *CopyKeyNodeResponse) GetCopiedKeyId() int64
- func (m *CopyKeyNodeResponse) GetErrorCode() int32
- func (m *CopyKeyNodeResponse) GetErrorMessage() string
- func (m *CopyKeyNodeResponse) GetVersion() int32
- func (*CopyKeyNodeResponse) ProtoMessage()
- func (m *CopyKeyNodeResponse) Reset()
- func (m *CopyKeyNodeResponse) String() string
- type CreateDataKeyRequest
- func (*CreateDataKeyRequest) Descriptor() ([]byte, []int)
- func (m *CreateDataKeyRequest) GetAccountName() string
- func (m *CreateDataKeyRequest) GetDataKeyDescription() string
- func (m *CreateDataKeyRequest) GetDataKeyName() string
- func (*CreateDataKeyRequest) ProtoMessage()
- func (m *CreateDataKeyRequest) Reset()
- func (m *CreateDataKeyRequest) String() string
- type CreateDataKeyResponse
- func (*CreateDataKeyResponse) Descriptor() ([]byte, []int)
- func (m *CreateDataKeyResponse) GetDataKeyId() int64
- func (m *CreateDataKeyResponse) GetErrorCode() int32
- func (m *CreateDataKeyResponse) GetErrorMessage() string
- func (m *CreateDataKeyResponse) GetVersion() int32
- func (*CreateDataKeyResponse) ProtoMessage()
- func (m *CreateDataKeyResponse) Reset()
- func (m *CreateDataKeyResponse) String() string
- type CreateKeyNodeRequest
- func (*CreateKeyNodeRequest) Descriptor() ([]byte, []int)
- func (m *CreateKeyNodeRequest) GetAccountName() string
- func (m *CreateKeyNodeRequest) GetDataKeyId() int64
- func (m *CreateKeyNodeRequest) GetIsEnabled() bool
- func (m *CreateKeyNodeRequest) GetKeyDescription() string
- func (m *CreateKeyNodeRequest) GetKeyName() string
- func (m *CreateKeyNodeRequest) GetKeyValue() []byte
- func (m *CreateKeyNodeRequest) GetNodePath() string
- func (*CreateKeyNodeRequest) ProtoMessage()
- func (m *CreateKeyNodeRequest) Reset()
- func (m *CreateKeyNodeRequest) String() string
- type CreateKeyNodeResponse
- func (*CreateKeyNodeResponse) Descriptor() ([]byte, []int)
- func (m *CreateKeyNodeResponse) GetErrorCode() int32
- func (m *CreateKeyNodeResponse) GetErrorMessage() string
- func (m *CreateKeyNodeResponse) GetKeyId() int64
- func (m *CreateKeyNodeResponse) GetVersion() int32
- func (*CreateKeyNodeResponse) ProtoMessage()
- func (m *CreateKeyNodeResponse) Reset()
- func (m *CreateKeyNodeResponse) String() string
- type DataKey
- func (*DataKey) Descriptor() ([]byte, []int)
- func (m *DataKey) GetAccountName() string
- func (m *DataKey) GetCreated() *dml.DateTime
- func (m *DataKey) GetDataKey() []byte
- func (m *DataKey) GetDataKeyDescription() string
- func (m *DataKey) GetDataKeyId() int64
- func (m *DataKey) GetDataKeyName() string
- func (m *DataKey) GetDeleted() *dml.DateTime
- func (m *DataKey) GetIsDeleted() bool
- func (m *DataKey) GetModified() *dml.DateTime
- func (m *DataKey) GetVersion() int32
- func (*DataKey) ProtoMessage()
- func (m *DataKey) Reset()
- func (m *DataKey) String() string
- type DeleteDataKeyRequest
- func (*DeleteDataKeyRequest) Descriptor() ([]byte, []int)
- func (m *DeleteDataKeyRequest) GetAccountName() string
- func (m *DeleteDataKeyRequest) GetDataKeyId() int64
- func (m *DeleteDataKeyRequest) GetVersion() int32
- func (*DeleteDataKeyRequest) ProtoMessage()
- func (m *DeleteDataKeyRequest) Reset()
- func (m *DeleteDataKeyRequest) String() string
- type DeleteDataKeyResponse
- func (*DeleteDataKeyResponse) Descriptor() ([]byte, []int)
- func (m *DeleteDataKeyResponse) GetErrorCode() int32
- func (m *DeleteDataKeyResponse) GetErrorMessage() string
- func (m *DeleteDataKeyResponse) GetVersion() int32
- func (*DeleteDataKeyResponse) ProtoMessage()
- func (m *DeleteDataKeyResponse) Reset()
- func (m *DeleteDataKeyResponse) String() string
- type DeleteKeyNodeRequest
- func (*DeleteKeyNodeRequest) Descriptor() ([]byte, []int)
- func (m *DeleteKeyNodeRequest) GetAccountName() string
- func (m *DeleteKeyNodeRequest) GetKeyId() int64
- func (m *DeleteKeyNodeRequest) GetVersion() int32
- func (*DeleteKeyNodeRequest) ProtoMessage()
- func (m *DeleteKeyNodeRequest) Reset()
- func (m *DeleteKeyNodeRequest) String() string
- type DeleteKeyNodeResponse
- func (*DeleteKeyNodeResponse) Descriptor() ([]byte, []int)
- func (m *DeleteKeyNodeResponse) GetErrorCode() int32
- func (m *DeleteKeyNodeResponse) GetErrorMessage() string
- func (m *DeleteKeyNodeResponse) GetVersion() int32
- func (*DeleteKeyNodeResponse) ProtoMessage()
- func (m *DeleteKeyNodeResponse) Reset()
- func (m *DeleteKeyNodeResponse) String() string
- type DisableKeyNodeRequest
- func (*DisableKeyNodeRequest) Descriptor() ([]byte, []int)
- func (m *DisableKeyNodeRequest) GetAccountName() string
- func (m *DisableKeyNodeRequest) GetKeyId() int64
- func (m *DisableKeyNodeRequest) GetVersion() int32
- func (*DisableKeyNodeRequest) ProtoMessage()
- func (m *DisableKeyNodeRequest) Reset()
- func (m *DisableKeyNodeRequest) String() string
- type DisableKeyNodeResponse
- func (*DisableKeyNodeResponse) Descriptor() ([]byte, []int)
- func (m *DisableKeyNodeResponse) GetErrorCode() int32
- func (m *DisableKeyNodeResponse) GetErrorMessage() string
- func (m *DisableKeyNodeResponse) GetVersion() int32
- func (*DisableKeyNodeResponse) ProtoMessage()
- func (m *DisableKeyNodeResponse) Reset()
- func (m *DisableKeyNodeResponse) String() string
- type EnableKeyNodeRequest
- func (*EnableKeyNodeRequest) Descriptor() ([]byte, []int)
- func (m *EnableKeyNodeRequest) GetAccountName() string
- func (m *EnableKeyNodeRequest) GetKeyId() int64
- func (m *EnableKeyNodeRequest) GetVersion() int32
- func (*EnableKeyNodeRequest) ProtoMessage()
- func (m *EnableKeyNodeRequest) Reset()
- func (m *EnableKeyNodeRequest) String() string
- type EnableKeyNodeResponse
- func (*EnableKeyNodeResponse) Descriptor() ([]byte, []int)
- func (m *EnableKeyNodeResponse) GetErrorCode() int32
- func (m *EnableKeyNodeResponse) GetErrorMessage() string
- func (m *EnableKeyNodeResponse) GetVersion() int32
- func (*EnableKeyNodeResponse) ProtoMessage()
- func (m *EnableKeyNodeResponse) Reset()
- func (m *EnableKeyNodeResponse) String() string
- type GetDataKeyByIdRequest
- func (*GetDataKeyByIdRequest) Descriptor() ([]byte, []int)
- func (m *GetDataKeyByIdRequest) GetAccountName() string
- func (m *GetDataKeyByIdRequest) GetDataKeyId() int64
- func (*GetDataKeyByIdRequest) ProtoMessage()
- func (m *GetDataKeyByIdRequest) Reset()
- func (m *GetDataKeyByIdRequest) String() string
- type GetDataKeyByIdResponse
- func (*GetDataKeyByIdResponse) Descriptor() ([]byte, []int)
- func (m *GetDataKeyByIdResponse) GetDatakey() *DataKey
- func (m *GetDataKeyByIdResponse) GetErrorCode() int32
- func (m *GetDataKeyByIdResponse) GetErrorMessage() string
- func (*GetDataKeyByIdResponse) ProtoMessage()
- func (m *GetDataKeyByIdResponse) Reset()
- func (m *GetDataKeyByIdResponse) String() string
- type GetDataKeyRequest
- type GetDataKeyResponse
- func (*GetDataKeyResponse) Descriptor() ([]byte, []int)
- func (m *GetDataKeyResponse) GetDatakey() *DataKey
- func (m *GetDataKeyResponse) GetErrorCode() int32
- func (m *GetDataKeyResponse) GetErrorMessage() string
- func (*GetDataKeyResponse) ProtoMessage()
- func (m *GetDataKeyResponse) Reset()
- func (m *GetDataKeyResponse) String() string
- type GetDataKeysByAccountRequest
- type GetDataKeysByAccountResponse
- func (*GetDataKeysByAccountResponse) Descriptor() ([]byte, []int)
- func (m *GetDataKeysByAccountResponse) GetDatakeys() []*DataKey
- func (m *GetDataKeysByAccountResponse) GetErrorCode() int32
- func (m *GetDataKeysByAccountResponse) GetErrorMessage() string
- func (*GetDataKeysByAccountResponse) ProtoMessage()
- func (m *GetDataKeysByAccountResponse) Reset()
- func (m *GetDataKeysByAccountResponse) String() string
- type GetDecryptedDataKeyRequest
- func (*GetDecryptedDataKeyRequest) Descriptor() ([]byte, []int)
- func (m *GetDecryptedDataKeyRequest) GetAccountName() string
- func (m *GetDecryptedDataKeyRequest) GetDataKeyName() string
- func (*GetDecryptedDataKeyRequest) ProtoMessage()
- func (m *GetDecryptedDataKeyRequest) Reset()
- func (m *GetDecryptedDataKeyRequest) String() string
- type GetDecryptedDataKeyResponse
- func (*GetDecryptedDataKeyResponse) Descriptor() ([]byte, []int)
- func (m *GetDecryptedDataKeyResponse) GetDecryptedDataKey() []byte
- func (m *GetDecryptedDataKeyResponse) GetErrorCode() int32
- func (m *GetDecryptedDataKeyResponse) GetErrorMessage() string
- func (*GetDecryptedDataKeyResponse) ProtoMessage()
- func (m *GetDecryptedDataKeyResponse) Reset()
- func (m *GetDecryptedDataKeyResponse) String() string
- type GetDecryptedKeyNodeRequest
- func (*GetDecryptedKeyNodeRequest) Descriptor() ([]byte, []int)
- func (m *GetDecryptedKeyNodeRequest) GetAccountName() string
- func (m *GetDecryptedKeyNodeRequest) GetKeyName() string
- func (m *GetDecryptedKeyNodeRequest) GetNodePath() string
- func (*GetDecryptedKeyNodeRequest) ProtoMessage()
- func (m *GetDecryptedKeyNodeRequest) Reset()
- func (m *GetDecryptedKeyNodeRequest) String() string
- type GetDecryptedKeyNodeResponse
- func (*GetDecryptedKeyNodeResponse) Descriptor() ([]byte, []int)
- func (m *GetDecryptedKeyNodeResponse) GetDecryptedKeyValue() []byte
- func (m *GetDecryptedKeyNodeResponse) GetErrorCode() int32
- func (m *GetDecryptedKeyNodeResponse) GetErrorMessage() string
- func (*GetDecryptedKeyNodeResponse) ProtoMessage()
- func (m *GetDecryptedKeyNodeResponse) Reset()
- func (m *GetDecryptedKeyNodeResponse) String() string
- type GetKeyNodeByIdRequest
- type GetKeyNodeByIdResponse
- func (*GetKeyNodeByIdResponse) Descriptor() ([]byte, []int)
- func (m *GetKeyNodeByIdResponse) GetErrorCode() int32
- func (m *GetKeyNodeByIdResponse) GetErrorMessage() string
- func (m *GetKeyNodeByIdResponse) GetKeynode() *KeyNode
- func (*GetKeyNodeByIdResponse) ProtoMessage()
- func (m *GetKeyNodeByIdResponse) Reset()
- func (m *GetKeyNodeByIdResponse) String() string
- type GetKeyNodeByPathRequest
- func (*GetKeyNodeByPathRequest) Descriptor() ([]byte, []int)
- func (m *GetKeyNodeByPathRequest) GetAccountName() string
- func (m *GetKeyNodeByPathRequest) GetNodePath() string
- func (*GetKeyNodeByPathRequest) ProtoMessage()
- func (m *GetKeyNodeByPathRequest) Reset()
- func (m *GetKeyNodeByPathRequest) String() string
- type GetKeyNodeByPathResponse
- func (*GetKeyNodeByPathResponse) Descriptor() ([]byte, []int)
- func (m *GetKeyNodeByPathResponse) GetErrorCode() int32
- func (m *GetKeyNodeByPathResponse) GetErrorMessage() string
- func (m *GetKeyNodeByPathResponse) GetKeynodes() []*KeyNode
- func (*GetKeyNodeByPathResponse) ProtoMessage()
- func (m *GetKeyNodeByPathResponse) Reset()
- func (m *GetKeyNodeByPathResponse) String() string
- type GetKeyNodeRequest
- func (*GetKeyNodeRequest) Descriptor() ([]byte, []int)
- func (m *GetKeyNodeRequest) GetAccountName() string
- func (m *GetKeyNodeRequest) GetKeyName() string
- func (m *GetKeyNodeRequest) GetNodePath() string
- func (*GetKeyNodeRequest) ProtoMessage()
- func (m *GetKeyNodeRequest) Reset()
- func (m *GetKeyNodeRequest) String() string
- type GetKeyNodeResponse
- func (*GetKeyNodeResponse) Descriptor() ([]byte, []int)
- func (m *GetKeyNodeResponse) GetErrorCode() int32
- func (m *GetKeyNodeResponse) GetErrorMessage() string
- func (m *GetKeyNodeResponse) GetKeynode() *KeyNode
- func (*GetKeyNodeResponse) ProtoMessage()
- func (m *GetKeyNodeResponse) Reset()
- func (m *GetKeyNodeResponse) String() string
- type GetServerVersionRequest
- type GetServerVersionResponse
- func (*GetServerVersionResponse) Descriptor() ([]byte, []int)
- func (m *GetServerVersionResponse) GetErrorCode() int32
- func (m *GetServerVersionResponse) GetErrorMessage() string
- func (m *GetServerVersionResponse) GetServerUptime() int64
- func (m *GetServerVersionResponse) GetServerVersion() string
- func (*GetServerVersionResponse) ProtoMessage()
- func (m *GetServerVersionResponse) Reset()
- func (m *GetServerVersionResponse) String() string
- type KeyNode
- func (*KeyNode) Descriptor() ([]byte, []int)
- func (m *KeyNode) GetCreated() *dml.DateTime
- func (m *KeyNode) GetDataKeyId() int64
- func (m *KeyNode) GetDeleted() *dml.DateTime
- func (m *KeyNode) GetIsDeleted() bool
- func (m *KeyNode) GetIsEnabled() bool
- func (m *KeyNode) GetKeyDescription() string
- func (m *KeyNode) GetKeyId() int64
- func (m *KeyNode) GetKeyName() string
- func (m *KeyNode) GetKeyValue() []byte
- func (m *KeyNode) GetModified() *dml.DateTime
- func (m *KeyNode) GetNodeId() int64
- func (m *KeyNode) GetNodePath() string
- func (m *KeyNode) GetVersion() int32
- func (*KeyNode) ProtoMessage()
- func (m *KeyNode) Reset()
- func (m *KeyNode) String() string
- type MServiceSafeboxClient
- type MServiceSafeboxServer
- type ReEncryptKeyNodeRequest
- func (*ReEncryptKeyNodeRequest) Descriptor() ([]byte, []int)
- func (m *ReEncryptKeyNodeRequest) GetAccountName() string
- func (m *ReEncryptKeyNodeRequest) GetDataKeyId() int64
- func (m *ReEncryptKeyNodeRequest) GetKeyId() int64
- func (m *ReEncryptKeyNodeRequest) GetVersion() int32
- func (*ReEncryptKeyNodeRequest) ProtoMessage()
- func (m *ReEncryptKeyNodeRequest) Reset()
- func (m *ReEncryptKeyNodeRequest) String() string
- type ReEncryptKeyNodeResponse
- func (*ReEncryptKeyNodeResponse) Descriptor() ([]byte, []int)
- func (m *ReEncryptKeyNodeResponse) GetErrorCode() int32
- func (m *ReEncryptKeyNodeResponse) GetErrorMessage() string
- func (m *ReEncryptKeyNodeResponse) GetVersion() int32
- func (*ReEncryptKeyNodeResponse) ProtoMessage()
- func (m *ReEncryptKeyNodeResponse) Reset()
- func (m *ReEncryptKeyNodeResponse) String() string
- type TreeNode
- func (*TreeNode) Descriptor() ([]byte, []int)
- func (m *TreeNode) GetAccountName() string
- func (m *TreeNode) GetCreated() *dml.DateTime
- func (m *TreeNode) GetDeleted() *dml.DateTime
- func (m *TreeNode) GetIsDeleted() bool
- func (m *TreeNode) GetModified() *dml.DateTime
- func (m *TreeNode) GetNodeId() int64
- func (m *TreeNode) GetNodePath() string
- func (m *TreeNode) GetVersion() int32
- func (*TreeNode) ProtoMessage()
- func (m *TreeNode) Reset()
- func (m *TreeNode) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterMServiceSafeboxServer ¶
func RegisterMServiceSafeboxServer(s *grpc.Server, srv MServiceSafeboxServer)
Types ¶
type AddSharedSecretRequest ¶
type AddSharedSecretRequest struct { string `protobuf:"bytes,1,opt,name=shared_secret,json=sharedSecret" json:"shared_secret,omitempty"` }SharedSecret
request parameters for method add_shared_secret
func (*AddSharedSecretRequest) Descriptor ¶
func (*AddSharedSecretRequest) Descriptor() ([]byte, []int)
func (*AddSharedSecretRequest) GetSharedSecret ¶
func (m *AddSharedSecretRequest) GetSharedSecret() string
func (*AddSharedSecretRequest) ProtoMessage ¶
func (*AddSharedSecretRequest) ProtoMessage()
func (*AddSharedSecretRequest) Reset ¶
func (m *AddSharedSecretRequest) Reset()
func (*AddSharedSecretRequest) String ¶
func (m *AddSharedSecretRequest) String() string
type AddSharedSecretResponse ¶
type AddSharedSecretResponse struct { int32 `protobuf:"varint,1,opt,name=error_code,json=errorCode" json:"error_code,omitempty"` ErrorMessage string `protobuf:"bytes,2,opt,name=error_message,json=errorMessage" json:"error_message,omitempty"` }ErrorCode
response parameters for method add_shared_secret
func (*AddSharedSecretResponse) Descriptor ¶
func (*AddSharedSecretResponse) Descriptor() ([]byte, []int)
func (*AddSharedSecretResponse) GetErrorCode ¶
func (m *AddSharedSecretResponse) GetErrorCode() int32
func (*AddSharedSecretResponse) GetErrorMessage ¶
func (m *AddSharedSecretResponse) GetErrorMessage() string
func (*AddSharedSecretResponse) ProtoMessage ¶
func (*AddSharedSecretResponse) ProtoMessage()
func (*AddSharedSecretResponse) Reset ¶
func (m *AddSharedSecretResponse) Reset()
func (*AddSharedSecretResponse) String ¶
func (m *AddSharedSecretResponse) String() string
type ClearSharedSecretsRequest ¶
type ClearSharedSecretsRequest struct { int32 `protobuf:"varint,1,opt,name=dummy_param,json=dummyParam" json:"dummy_param,omitempty"` }DummyParam
request parameters for method clear_shared_secrets
func (*ClearSharedSecretsRequest) Descriptor ¶
func (*ClearSharedSecretsRequest) Descriptor() ([]byte, []int)
func (*ClearSharedSecretsRequest) GetDummyParam ¶
func (m *ClearSharedSecretsRequest) GetDummyParam() int32
func (*ClearSharedSecretsRequest) ProtoMessage ¶
func (*ClearSharedSecretsRequest) ProtoMessage()
func (*ClearSharedSecretsRequest) Reset ¶
func (m *ClearSharedSecretsRequest) Reset()
func (*ClearSharedSecretsRequest) String ¶
func (m *ClearSharedSecretsRequest) String() string
type ClearSharedSecretsResponse ¶
type ClearSharedSecretsResponse struct { int32 `protobuf:"varint,1,opt,name=error_code,json=errorCode" json:"error_code,omitempty"` ErrorMessage string `protobuf:"bytes,2,opt,name=error_message,json=errorMessage" json:"error_message,omitempty"` }ErrorCode
response parameters for method clear_shared_secrets
func (*ClearSharedSecretsResponse) Descriptor ¶
func (*ClearSharedSecretsResponse) Descriptor() ([]byte, []int)
func (*ClearSharedSecretsResponse) GetErrorCode ¶
func (m *ClearSharedSecretsResponse) GetErrorCode() int32
func (*ClearSharedSecretsResponse) GetErrorMessage ¶
func (m *ClearSharedSecretsResponse) GetErrorMessage() string
func (*ClearSharedSecretsResponse) ProtoMessage ¶
func (*ClearSharedSecretsResponse) ProtoMessage()
func (*ClearSharedSecretsResponse) Reset ¶
func (m *ClearSharedSecretsResponse) Reset()
func (*ClearSharedSecretsResponse) String ¶
func (m *ClearSharedSecretsResponse) String() string
type CopyKeyNodeRequest ¶
type CopyKeyNodeRequest struct { // account owning this tree node and associated key nodes AccountName string `protobuf:"bytes,1,opt,name=account_name,json=accountName" json:"account_name,omitempty"` // unique identifier for an MService key node KeyId int64 `protobuf:"varint,2,opt,name=key_id,json=keyId" json:"key_id,omitempty"` // version of this record Version int32 `protobuf:"varint,3,opt,name=version" json:"version,omitempty"` // tree node path, with forward slash separators NodePath string `protobuf:"bytes,4,opt,name=node_path,json=nodePath" json:"node_path,omitempty"` }
request parameters for method copy_key_node
func (*CopyKeyNodeRequest) Descriptor ¶
func (*CopyKeyNodeRequest) Descriptor() ([]byte, []int)
func (*CopyKeyNodeRequest) GetAccountName ¶
func (m *CopyKeyNodeRequest) GetAccountName() string
func (*CopyKeyNodeRequest) GetKeyId ¶
func (m *CopyKeyNodeRequest) GetKeyId() int64
func (*CopyKeyNodeRequest) GetNodePath ¶
func (m *CopyKeyNodeRequest) GetNodePath() string
func (*CopyKeyNodeRequest) GetVersion ¶
func (m *CopyKeyNodeRequest) GetVersion() int32
func (*CopyKeyNodeRequest) ProtoMessage ¶
func (*CopyKeyNodeRequest) ProtoMessage()
func (*CopyKeyNodeRequest) Reset ¶
func (m *CopyKeyNodeRequest) Reset()
func (*CopyKeyNodeRequest) String ¶
func (m *CopyKeyNodeRequest) String() string
type CopyKeyNodeResponse ¶
type CopyKeyNodeResponse struct { // method result code ErrorCode int32 `protobuf:"varint,1,opt,name=error_code,json=errorCode" json:"error_code,omitempty"` // text error message ErrorMessage string `protobuf:"bytes,2,opt,name=error_message,json=errorMessage" json:"error_message,omitempty"` // version of this record Version int32 `protobuf:"varint,3,opt,name=version" json:"version,omitempty"` // key node id after copy CopiedKeyId int64 `protobuf:"varint,4,opt,name=copied_key_id,json=copiedKeyId" json:"copied_key_id,omitempty"` }
response parameters for method copy_key_node
func (*CopyKeyNodeResponse) Descriptor ¶
func (*CopyKeyNodeResponse) Descriptor() ([]byte, []int)
func (*CopyKeyNodeResponse) GetCopiedKeyId ¶
func (m *CopyKeyNodeResponse) GetCopiedKeyId() int64
func (*CopyKeyNodeResponse) GetErrorCode ¶
func (m *CopyKeyNodeResponse) GetErrorCode() int32
func (*CopyKeyNodeResponse) GetErrorMessage ¶
func (m *CopyKeyNodeResponse) GetErrorMessage() string
func (*CopyKeyNodeResponse) GetVersion ¶
func (m *CopyKeyNodeResponse) GetVersion() int32
func (*CopyKeyNodeResponse) ProtoMessage ¶
func (*CopyKeyNodeResponse) ProtoMessage()
func (*CopyKeyNodeResponse) Reset ¶
func (m *CopyKeyNodeResponse) Reset()
func (*CopyKeyNodeResponse) String ¶
func (m *CopyKeyNodeResponse) String() string
type CreateDataKeyRequest ¶
type CreateDataKeyRequest struct { // account owning this tree node and associated key nodes AccountName string `protobuf:"bytes,1,opt,name=account_name,json=accountName" json:"account_name,omitempty"` // data key name DataKeyName string `protobuf:"bytes,2,opt,name=data_key_name,json=dataKeyName" json:"data_key_name,omitempty"` // data key description DataKeyDescription string `protobuf:"bytes,3,opt,name=data_key_description,json=dataKeyDescription" json:"data_key_description,omitempty"` }
request parameters for method create_data_key
func (*CreateDataKeyRequest) Descriptor ¶
func (*CreateDataKeyRequest) Descriptor() ([]byte, []int)
func (*CreateDataKeyRequest) GetAccountName ¶
func (m *CreateDataKeyRequest) GetAccountName() string
func (*CreateDataKeyRequest) GetDataKeyDescription ¶
func (m *CreateDataKeyRequest) GetDataKeyDescription() string
func (*CreateDataKeyRequest) GetDataKeyName ¶
func (m *CreateDataKeyRequest) GetDataKeyName() string
func (*CreateDataKeyRequest) ProtoMessage ¶
func (*CreateDataKeyRequest) ProtoMessage()
func (*CreateDataKeyRequest) Reset ¶
func (m *CreateDataKeyRequest) Reset()
func (*CreateDataKeyRequest) String ¶
func (m *CreateDataKeyRequest) String() string
type CreateDataKeyResponse ¶
type CreateDataKeyResponse struct { // method result code ErrorCode int32 `protobuf:"varint,1,opt,name=error_code,json=errorCode" json:"error_code,omitempty"` // text error message ErrorMessage string `protobuf:"bytes,2,opt,name=error_message,json=errorMessage" json:"error_message,omitempty"` // version of this record Version int32 `protobuf:"varint,3,opt,name=version" json:"version,omitempty"` // unique identifier for an MService data key DataKeyId int64 `protobuf:"varint,4,opt,name=data_key_id,json=dataKeyId" json:"data_key_id,omitempty"` }
response parameters for method create_data_key
func (*CreateDataKeyResponse) Descriptor ¶
func (*CreateDataKeyResponse) Descriptor() ([]byte, []int)
func (*CreateDataKeyResponse) GetDataKeyId ¶
func (m *CreateDataKeyResponse) GetDataKeyId() int64
func (*CreateDataKeyResponse) GetErrorCode ¶
func (m *CreateDataKeyResponse) GetErrorCode() int32
func (*CreateDataKeyResponse) GetErrorMessage ¶
func (m *CreateDataKeyResponse) GetErrorMessage() string
func (*CreateDataKeyResponse) GetVersion ¶
func (m *CreateDataKeyResponse) GetVersion() int32
func (*CreateDataKeyResponse) ProtoMessage ¶
func (*CreateDataKeyResponse) ProtoMessage()
func (*CreateDataKeyResponse) Reset ¶
func (m *CreateDataKeyResponse) Reset()
func (*CreateDataKeyResponse) String ¶
func (m *CreateDataKeyResponse) String() string
type CreateKeyNodeRequest ¶
type CreateKeyNodeRequest struct { // account owning this tree node and associated key nodes AccountName string `protobuf:"bytes,1,opt,name=account_name,json=accountName" json:"account_name,omitempty"` // tree node path, with forward slash separators NodePath string `protobuf:"bytes,2,opt,name=node_path,json=nodePath" json:"node_path,omitempty"` // unique identifier for an MService data key DataKeyId int64 `protobuf:"varint,3,opt,name=data_key_id,json=dataKeyId" json:"data_key_id,omitempty"` // is key node enabled? IsEnabled bool `protobuf:"varint,4,opt,name=is_enabled,json=isEnabled" json:"is_enabled,omitempty"` // key node key name KeyName string `protobuf:"bytes,5,opt,name=key_name,json=keyName" json:"key_name,omitempty"` // key node description KeyDescription string `protobuf:"bytes,6,opt,name=key_description,json=keyDescription" json:"key_description,omitempty"` // key node value, encrypted if data_key_id non zero KeyValue []byte `protobuf:"bytes,7,opt,name=key_value,json=keyValue,proto3" json:"key_value,omitempty"` }
request parameters for method create_key_node
func (*CreateKeyNodeRequest) Descriptor ¶
func (*CreateKeyNodeRequest) Descriptor() ([]byte, []int)
func (*CreateKeyNodeRequest) GetAccountName ¶
func (m *CreateKeyNodeRequest) GetAccountName() string
func (*CreateKeyNodeRequest) GetDataKeyId ¶
func (m *CreateKeyNodeRequest) GetDataKeyId() int64
func (*CreateKeyNodeRequest) GetIsEnabled ¶
func (m *CreateKeyNodeRequest) GetIsEnabled() bool
func (*CreateKeyNodeRequest) GetKeyDescription ¶
func (m *CreateKeyNodeRequest) GetKeyDescription() string
func (*CreateKeyNodeRequest) GetKeyName ¶
func (m *CreateKeyNodeRequest) GetKeyName() string
func (*CreateKeyNodeRequest) GetKeyValue ¶
func (m *CreateKeyNodeRequest) GetKeyValue() []byte
func (*CreateKeyNodeRequest) GetNodePath ¶
func (m *CreateKeyNodeRequest) GetNodePath() string
func (*CreateKeyNodeRequest) ProtoMessage ¶
func (*CreateKeyNodeRequest) ProtoMessage()
func (*CreateKeyNodeRequest) Reset ¶
func (m *CreateKeyNodeRequest) Reset()
func (*CreateKeyNodeRequest) String ¶
func (m *CreateKeyNodeRequest) String() string
type CreateKeyNodeResponse ¶
type CreateKeyNodeResponse struct { // method result code ErrorCode int32 `protobuf:"varint,1,opt,name=error_code,json=errorCode" json:"error_code,omitempty"` // text error message ErrorMessage string `protobuf:"bytes,2,opt,name=error_message,json=errorMessage" json:"error_message,omitempty"` // version of this record Version int32 `protobuf:"varint,3,opt,name=version" json:"version,omitempty"` // unique identifier for an MService key node KeyId int64 `protobuf:"varint,4,opt,name=key_id,json=keyId" json:"key_id,omitempty"` }
response parameters for method create_key_node
func (*CreateKeyNodeResponse) Descriptor ¶
func (*CreateKeyNodeResponse) Descriptor() ([]byte, []int)
func (*CreateKeyNodeResponse) GetErrorCode ¶
func (m *CreateKeyNodeResponse) GetErrorCode() int32
func (*CreateKeyNodeResponse) GetErrorMessage ¶
func (m *CreateKeyNodeResponse) GetErrorMessage() string
func (*CreateKeyNodeResponse) GetKeyId ¶
func (m *CreateKeyNodeResponse) GetKeyId() int64
func (*CreateKeyNodeResponse) GetVersion ¶
func (m *CreateKeyNodeResponse) GetVersion() int32
func (*CreateKeyNodeResponse) ProtoMessage ¶
func (*CreateKeyNodeResponse) ProtoMessage()
func (*CreateKeyNodeResponse) Reset ¶
func (m *CreateKeyNodeResponse) Reset()
func (*CreateKeyNodeResponse) String ¶
func (m *CreateKeyNodeResponse) String() string
type DataKey ¶
type DataKey struct { // unique identifier for an MService data key DataKeyId int64 `protobuf:"varint,1,opt,name=data_key_id,json=dataKeyId" json:"data_key_id,omitempty"` // creation date Created *dml.DateTime `protobuf:"bytes,2,opt,name=created" json:"created,omitempty"` // modification date Modified *dml.DateTime `protobuf:"bytes,3,opt,name=modified" json:"modified,omitempty"` // deletion date Deleted *dml.DateTime `protobuf:"bytes,4,opt,name=deleted" json:"deleted,omitempty"` // has record been deleted? IsDeleted bool `protobuf:"varint,5,opt,name=is_deleted,json=isDeleted" json:"is_deleted,omitempty"` // version of this record Version int32 `protobuf:"varint,6,opt,name=version" json:"version,omitempty"` // account owning this tree node and associated key nodes AccountName string `protobuf:"bytes,7,opt,name=account_name,json=accountName" json:"account_name,omitempty"` // data key name DataKeyName string `protobuf:"bytes,8,opt,name=data_key_name,json=dataKeyName" json:"data_key_name,omitempty"` // data key description DataKeyDescription string `protobuf:"bytes,9,opt,name=data_key_description,json=dataKeyDescription" json:"data_key_description,omitempty"` // encrypted data key DataKey []byte `protobuf:"bytes,10,opt,name=data_key,json=dataKey,proto3" json:"data_key,omitempty"` }
MService data key entity
func (*DataKey) Descriptor ¶
func (*DataKey) GetAccountName ¶
func (*DataKey) GetCreated ¶
func (*DataKey) GetDataKey ¶
func (*DataKey) GetDataKeyDescription ¶
func (*DataKey) GetDataKeyId ¶
func (*DataKey) GetDataKeyName ¶
func (*DataKey) GetDeleted ¶
func (*DataKey) GetIsDeleted ¶
func (*DataKey) GetModified ¶
func (*DataKey) GetVersion ¶
func (*DataKey) ProtoMessage ¶
func (*DataKey) ProtoMessage()
type DeleteDataKeyRequest ¶
type DeleteDataKeyRequest struct { // account owning this tree node and associated key nodes AccountName string `protobuf:"bytes,1,opt,name=account_name,json=accountName" json:"account_name,omitempty"` // unique identifier for an MService data key DataKeyId int64 `protobuf:"varint,2,opt,name=data_key_id,json=dataKeyId" json:"data_key_id,omitempty"` // version of this record Version int32 `protobuf:"varint,3,opt,name=version" json:"version,omitempty"` }
request parameters for method delete_data_key
func (*DeleteDataKeyRequest) Descriptor ¶
func (*DeleteDataKeyRequest) Descriptor() ([]byte, []int)
func (*DeleteDataKeyRequest) GetAccountName ¶
func (m *DeleteDataKeyRequest) GetAccountName() string
func (*DeleteDataKeyRequest) GetDataKeyId ¶
func (m *DeleteDataKeyRequest) GetDataKeyId() int64
func (*DeleteDataKeyRequest) GetVersion ¶
func (m *DeleteDataKeyRequest) GetVersion() int32
func (*DeleteDataKeyRequest) ProtoMessage ¶
func (*DeleteDataKeyRequest) ProtoMessage()
func (*DeleteDataKeyRequest) Reset ¶
func (m *DeleteDataKeyRequest) Reset()
func (*DeleteDataKeyRequest) String ¶
func (m *DeleteDataKeyRequest) String() string
type DeleteDataKeyResponse ¶
type DeleteDataKeyResponse struct { // method result code ErrorCode int32 `protobuf:"varint,1,opt,name=error_code,json=errorCode" json:"error_code,omitempty"` // text error message ErrorMessage string `protobuf:"bytes,2,opt,name=error_message,json=errorMessage" json:"error_message,omitempty"` // version of this record Version int32 `protobuf:"varint,3,opt,name=version" json:"version,omitempty"` }
response parameters for method delete_data_key
func (*DeleteDataKeyResponse) Descriptor ¶
func (*DeleteDataKeyResponse) Descriptor() ([]byte, []int)
func (*DeleteDataKeyResponse) GetErrorCode ¶
func (m *DeleteDataKeyResponse) GetErrorCode() int32
func (*DeleteDataKeyResponse) GetErrorMessage ¶
func (m *DeleteDataKeyResponse) GetErrorMessage() string
func (*DeleteDataKeyResponse) GetVersion ¶
func (m *DeleteDataKeyResponse) GetVersion() int32
func (*DeleteDataKeyResponse) ProtoMessage ¶
func (*DeleteDataKeyResponse) ProtoMessage()
func (*DeleteDataKeyResponse) Reset ¶
func (m *DeleteDataKeyResponse) Reset()
func (*DeleteDataKeyResponse) String ¶
func (m *DeleteDataKeyResponse) String() string
type DeleteKeyNodeRequest ¶
type DeleteKeyNodeRequest struct { // account owning this tree node and associated key nodes AccountName string `protobuf:"bytes,1,opt,name=account_name,json=accountName" json:"account_name,omitempty"` // unique identifier for an MService key node KeyId int64 `protobuf:"varint,2,opt,name=key_id,json=keyId" json:"key_id,omitempty"` // version of this record Version int32 `protobuf:"varint,3,opt,name=version" json:"version,omitempty"` }
request parameters for method delete_key_node
func (*DeleteKeyNodeRequest) Descriptor ¶
func (*DeleteKeyNodeRequest) Descriptor() ([]byte, []int)
func (*DeleteKeyNodeRequest) GetAccountName ¶
func (m *DeleteKeyNodeRequest) GetAccountName() string
func (*DeleteKeyNodeRequest) GetKeyId ¶
func (m *DeleteKeyNodeRequest) GetKeyId() int64
func (*DeleteKeyNodeRequest) GetVersion ¶
func (m *DeleteKeyNodeRequest) GetVersion() int32
func (*DeleteKeyNodeRequest) ProtoMessage ¶
func (*DeleteKeyNodeRequest) ProtoMessage()
func (*DeleteKeyNodeRequest) Reset ¶
func (m *DeleteKeyNodeRequest) Reset()
func (*DeleteKeyNodeRequest) String ¶
func (m *DeleteKeyNodeRequest) String() string
type DeleteKeyNodeResponse ¶
type DeleteKeyNodeResponse struct { // method result code ErrorCode int32 `protobuf:"varint,1,opt,name=error_code,json=errorCode" json:"error_code,omitempty"` // text error message ErrorMessage string `protobuf:"bytes,2,opt,name=error_message,json=errorMessage" json:"error_message,omitempty"` // version of this record Version int32 `protobuf:"varint,3,opt,name=version" json:"version,omitempty"` }
response parameters for method delete_key_node
func (*DeleteKeyNodeResponse) Descriptor ¶
func (*DeleteKeyNodeResponse) Descriptor() ([]byte, []int)
func (*DeleteKeyNodeResponse) GetErrorCode ¶
func (m *DeleteKeyNodeResponse) GetErrorCode() int32
func (*DeleteKeyNodeResponse) GetErrorMessage ¶
func (m *DeleteKeyNodeResponse) GetErrorMessage() string
func (*DeleteKeyNodeResponse) GetVersion ¶
func (m *DeleteKeyNodeResponse) GetVersion() int32
func (*DeleteKeyNodeResponse) ProtoMessage ¶
func (*DeleteKeyNodeResponse) ProtoMessage()
func (*DeleteKeyNodeResponse) Reset ¶
func (m *DeleteKeyNodeResponse) Reset()
func (*DeleteKeyNodeResponse) String ¶
func (m *DeleteKeyNodeResponse) String() string
type DisableKeyNodeRequest ¶
type DisableKeyNodeRequest struct { // account owning this tree node and associated key nodes AccountName string `protobuf:"bytes,1,opt,name=account_name,json=accountName" json:"account_name,omitempty"` // unique identifier for an MService key node KeyId int64 `protobuf:"varint,2,opt,name=key_id,json=keyId" json:"key_id,omitempty"` // version of this record Version int32 `protobuf:"varint,3,opt,name=version" json:"version,omitempty"` }
request parameters for method disable_key_node
func (*DisableKeyNodeRequest) Descriptor ¶
func (*DisableKeyNodeRequest) Descriptor() ([]byte, []int)
func (*DisableKeyNodeRequest) GetAccountName ¶
func (m *DisableKeyNodeRequest) GetAccountName() string
func (*DisableKeyNodeRequest) GetKeyId ¶
func (m *DisableKeyNodeRequest) GetKeyId() int64
func (*DisableKeyNodeRequest) GetVersion ¶
func (m *DisableKeyNodeRequest) GetVersion() int32
func (*DisableKeyNodeRequest) ProtoMessage ¶
func (*DisableKeyNodeRequest) ProtoMessage()
func (*DisableKeyNodeRequest) Reset ¶
func (m *DisableKeyNodeRequest) Reset()
func (*DisableKeyNodeRequest) String ¶
func (m *DisableKeyNodeRequest) String() string
type DisableKeyNodeResponse ¶
type DisableKeyNodeResponse struct { // method result code ErrorCode int32 `protobuf:"varint,1,opt,name=error_code,json=errorCode" json:"error_code,omitempty"` // text error message ErrorMessage string `protobuf:"bytes,2,opt,name=error_message,json=errorMessage" json:"error_message,omitempty"` // version of this record Version int32 `protobuf:"varint,3,opt,name=version" json:"version,omitempty"` }
response parameters for method disable_key_node
func (*DisableKeyNodeResponse) Descriptor ¶
func (*DisableKeyNodeResponse) Descriptor() ([]byte, []int)
func (*DisableKeyNodeResponse) GetErrorCode ¶
func (m *DisableKeyNodeResponse) GetErrorCode() int32
func (*DisableKeyNodeResponse) GetErrorMessage ¶
func (m *DisableKeyNodeResponse) GetErrorMessage() string
func (*DisableKeyNodeResponse) GetVersion ¶
func (m *DisableKeyNodeResponse) GetVersion() int32
func (*DisableKeyNodeResponse) ProtoMessage ¶
func (*DisableKeyNodeResponse) ProtoMessage()
func (*DisableKeyNodeResponse) Reset ¶
func (m *DisableKeyNodeResponse) Reset()
func (*DisableKeyNodeResponse) String ¶
func (m *DisableKeyNodeResponse) String() string
type EnableKeyNodeRequest ¶
type EnableKeyNodeRequest struct { // account owning this tree node and associated key nodes AccountName string `protobuf:"bytes,1,opt,name=account_name,json=accountName" json:"account_name,omitempty"` // unique identifier for an MService key node KeyId int64 `protobuf:"varint,2,opt,name=key_id,json=keyId" json:"key_id,omitempty"` // version of this record Version int32 `protobuf:"varint,3,opt,name=version" json:"version,omitempty"` }
request parameters for method enable_key_node
func (*EnableKeyNodeRequest) Descriptor ¶
func (*EnableKeyNodeRequest) Descriptor() ([]byte, []int)
func (*EnableKeyNodeRequest) GetAccountName ¶
func (m *EnableKeyNodeRequest) GetAccountName() string
func (*EnableKeyNodeRequest) GetKeyId ¶
func (m *EnableKeyNodeRequest) GetKeyId() int64
func (*EnableKeyNodeRequest) GetVersion ¶
func (m *EnableKeyNodeRequest) GetVersion() int32
func (*EnableKeyNodeRequest) ProtoMessage ¶
func (*EnableKeyNodeRequest) ProtoMessage()
func (*EnableKeyNodeRequest) Reset ¶
func (m *EnableKeyNodeRequest) Reset()
func (*EnableKeyNodeRequest) String ¶
func (m *EnableKeyNodeRequest) String() string
type EnableKeyNodeResponse ¶
type EnableKeyNodeResponse struct { // method result code ErrorCode int32 `protobuf:"varint,1,opt,name=error_code,json=errorCode" json:"error_code,omitempty"` // text error message ErrorMessage string `protobuf:"bytes,2,opt,name=error_message,json=errorMessage" json:"error_message,omitempty"` // version of this record Version int32 `protobuf:"varint,3,opt,name=version" json:"version,omitempty"` }
response parameters for method enable_key_node
func (*EnableKeyNodeResponse) Descriptor ¶
func (*EnableKeyNodeResponse) Descriptor() ([]byte, []int)
func (*EnableKeyNodeResponse) GetErrorCode ¶
func (m *EnableKeyNodeResponse) GetErrorCode() int32
func (*EnableKeyNodeResponse) GetErrorMessage ¶
func (m *EnableKeyNodeResponse) GetErrorMessage() string
func (*EnableKeyNodeResponse) GetVersion ¶
func (m *EnableKeyNodeResponse) GetVersion() int32
func (*EnableKeyNodeResponse) ProtoMessage ¶
func (*EnableKeyNodeResponse) ProtoMessage()
func (*EnableKeyNodeResponse) Reset ¶
func (m *EnableKeyNodeResponse) Reset()
func (*EnableKeyNodeResponse) String ¶
func (m *EnableKeyNodeResponse) String() string
type GetDataKeyByIdRequest ¶
type GetDataKeyByIdRequest struct { // account owning this tree node and associated key nodes AccountName string `protobuf:"bytes,1,opt,name=account_name,json=accountName" json:"account_name,omitempty"` // unique identifier for an MService data key DataKeyId int64 `protobuf:"varint,2,opt,name=data_key_id,json=dataKeyId" json:"data_key_id,omitempty"` }
request parameters for method get_data_key_by_id
func (*GetDataKeyByIdRequest) Descriptor ¶
func (*GetDataKeyByIdRequest) Descriptor() ([]byte, []int)
func (*GetDataKeyByIdRequest) GetAccountName ¶
func (m *GetDataKeyByIdRequest) GetAccountName() string
func (*GetDataKeyByIdRequest) GetDataKeyId ¶
func (m *GetDataKeyByIdRequest) GetDataKeyId() int64
func (*GetDataKeyByIdRequest) ProtoMessage ¶
func (*GetDataKeyByIdRequest) ProtoMessage()
func (*GetDataKeyByIdRequest) Reset ¶
func (m *GetDataKeyByIdRequest) Reset()
func (*GetDataKeyByIdRequest) String ¶
func (m *GetDataKeyByIdRequest) String() string
type GetDataKeyByIdResponse ¶
type GetDataKeyByIdResponse struct { // method result code ErrorCode int32 `protobuf:"varint,1,opt,name=error_code,json=errorCode" json:"error_code,omitempty"` // text error message ErrorMessage string `protobuf:"bytes,2,opt,name=error_message,json=errorMessage" json:"error_message,omitempty"` // data key object Datakey *DataKey `protobuf:"bytes,3,opt,name=datakey" json:"datakey,omitempty"` }
response parameters for method get_data_key_by_id
func (*GetDataKeyByIdResponse) Descriptor ¶
func (*GetDataKeyByIdResponse) Descriptor() ([]byte, []int)
func (*GetDataKeyByIdResponse) GetDatakey ¶
func (m *GetDataKeyByIdResponse) GetDatakey() *DataKey
func (*GetDataKeyByIdResponse) GetErrorCode ¶
func (m *GetDataKeyByIdResponse) GetErrorCode() int32
func (*GetDataKeyByIdResponse) GetErrorMessage ¶
func (m *GetDataKeyByIdResponse) GetErrorMessage() string
func (*GetDataKeyByIdResponse) ProtoMessage ¶
func (*GetDataKeyByIdResponse) ProtoMessage()
func (*GetDataKeyByIdResponse) Reset ¶
func (m *GetDataKeyByIdResponse) Reset()
func (*GetDataKeyByIdResponse) String ¶
func (m *GetDataKeyByIdResponse) String() string
type GetDataKeyRequest ¶
type GetDataKeyRequest struct { // account owning this tree node and associated key nodes AccountName string `protobuf:"bytes,1,opt,name=account_name,json=accountName" json:"account_name,omitempty"` // data key name DataKeyName string `protobuf:"bytes,2,opt,name=data_key_name,json=dataKeyName" json:"data_key_name,omitempty"` }
request parameters for method get_data_key
func (*GetDataKeyRequest) Descriptor ¶
func (*GetDataKeyRequest) Descriptor() ([]byte, []int)
func (*GetDataKeyRequest) GetAccountName ¶
func (m *GetDataKeyRequest) GetAccountName() string
func (*GetDataKeyRequest) GetDataKeyName ¶
func (m *GetDataKeyRequest) GetDataKeyName() string
func (*GetDataKeyRequest) ProtoMessage ¶
func (*GetDataKeyRequest) ProtoMessage()
func (*GetDataKeyRequest) Reset ¶
func (m *GetDataKeyRequest) Reset()
func (*GetDataKeyRequest) String ¶
func (m *GetDataKeyRequest) String() string
type GetDataKeyResponse ¶
type GetDataKeyResponse struct { // method result code ErrorCode int32 `protobuf:"varint,1,opt,name=error_code,json=errorCode" json:"error_code,omitempty"` // text error message ErrorMessage string `protobuf:"bytes,2,opt,name=error_message,json=errorMessage" json:"error_message,omitempty"` // data key object Datakey *DataKey `protobuf:"bytes,3,opt,name=datakey" json:"datakey,omitempty"` }
response parameters for method get_data_key
func (*GetDataKeyResponse) Descriptor ¶
func (*GetDataKeyResponse) Descriptor() ([]byte, []int)
func (*GetDataKeyResponse) GetDatakey ¶
func (m *GetDataKeyResponse) GetDatakey() *DataKey
func (*GetDataKeyResponse) GetErrorCode ¶
func (m *GetDataKeyResponse) GetErrorCode() int32
func (*GetDataKeyResponse) GetErrorMessage ¶
func (m *GetDataKeyResponse) GetErrorMessage() string
func (*GetDataKeyResponse) ProtoMessage ¶
func (*GetDataKeyResponse) ProtoMessage()
func (*GetDataKeyResponse) Reset ¶
func (m *GetDataKeyResponse) Reset()
func (*GetDataKeyResponse) String ¶
func (m *GetDataKeyResponse) String() string
type GetDataKeysByAccountRequest ¶
type GetDataKeysByAccountRequest struct { // account owning this tree node and associated key nodes AccountName string `protobuf:"bytes,1,opt,name=account_name,json=accountName" json:"account_name,omitempty"` }
request parameters for method get_data_keys_by_account
func (*GetDataKeysByAccountRequest) Descriptor ¶
func (*GetDataKeysByAccountRequest) Descriptor() ([]byte, []int)
func (*GetDataKeysByAccountRequest) GetAccountName ¶
func (m *GetDataKeysByAccountRequest) GetAccountName() string
func (*GetDataKeysByAccountRequest) ProtoMessage ¶
func (*GetDataKeysByAccountRequest) ProtoMessage()
func (*GetDataKeysByAccountRequest) Reset ¶
func (m *GetDataKeysByAccountRequest) Reset()
func (*GetDataKeysByAccountRequest) String ¶
func (m *GetDataKeysByAccountRequest) String() string
type GetDataKeysByAccountResponse ¶
type GetDataKeysByAccountResponse struct { // method result code ErrorCode int32 `protobuf:"varint,1,opt,name=error_code,json=errorCode" json:"error_code,omitempty"` // text error message ErrorMessage string `protobuf:"bytes,2,opt,name=error_message,json=errorMessage" json:"error_message,omitempty"` // list of data key objects Datakeys []*DataKey `protobuf:"bytes,3,rep,name=datakeys" json:"datakeys,omitempty"` }
response parameters for method get_data_keys_by_account
func (*GetDataKeysByAccountResponse) Descriptor ¶
func (*GetDataKeysByAccountResponse) Descriptor() ([]byte, []int)
func (*GetDataKeysByAccountResponse) GetDatakeys ¶
func (m *GetDataKeysByAccountResponse) GetDatakeys() []*DataKey
func (*GetDataKeysByAccountResponse) GetErrorCode ¶
func (m *GetDataKeysByAccountResponse) GetErrorCode() int32
func (*GetDataKeysByAccountResponse) GetErrorMessage ¶
func (m *GetDataKeysByAccountResponse) GetErrorMessage() string
func (*GetDataKeysByAccountResponse) ProtoMessage ¶
func (*GetDataKeysByAccountResponse) ProtoMessage()
func (*GetDataKeysByAccountResponse) Reset ¶
func (m *GetDataKeysByAccountResponse) Reset()
func (*GetDataKeysByAccountResponse) String ¶
func (m *GetDataKeysByAccountResponse) String() string
type GetDecryptedDataKeyRequest ¶
type GetDecryptedDataKeyRequest struct { // account owning this tree node and associated key nodes AccountName string `protobuf:"bytes,1,opt,name=account_name,json=accountName" json:"account_name,omitempty"` // data key name DataKeyName string `protobuf:"bytes,2,opt,name=data_key_name,json=dataKeyName" json:"data_key_name,omitempty"` }
request parameters for method get_decrypted_data_key
func (*GetDecryptedDataKeyRequest) Descriptor ¶
func (*GetDecryptedDataKeyRequest) Descriptor() ([]byte, []int)
func (*GetDecryptedDataKeyRequest) GetAccountName ¶
func (m *GetDecryptedDataKeyRequest) GetAccountName() string
func (*GetDecryptedDataKeyRequest) GetDataKeyName ¶
func (m *GetDecryptedDataKeyRequest) GetDataKeyName() string
func (*GetDecryptedDataKeyRequest) ProtoMessage ¶
func (*GetDecryptedDataKeyRequest) ProtoMessage()
func (*GetDecryptedDataKeyRequest) Reset ¶
func (m *GetDecryptedDataKeyRequest) Reset()
func (*GetDecryptedDataKeyRequest) String ¶
func (m *GetDecryptedDataKeyRequest) String() string
type GetDecryptedDataKeyResponse ¶
type GetDecryptedDataKeyResponse struct { // method result code ErrorCode int32 `protobuf:"varint,1,opt,name=error_code,json=errorCode" json:"error_code,omitempty"` // text error message ErrorMessage string `protobuf:"bytes,2,opt,name=error_message,json=errorMessage" json:"error_message,omitempty"` // decrypted data key DecryptedDataKey []byte `protobuf:"bytes,3,opt,name=decrypted_data_key,json=decryptedDataKey,proto3" json:"decrypted_data_key,omitempty"` }
response parameters for method get_decrypted_data_key
func (*GetDecryptedDataKeyResponse) Descriptor ¶
func (*GetDecryptedDataKeyResponse) Descriptor() ([]byte, []int)
func (*GetDecryptedDataKeyResponse) GetDecryptedDataKey ¶
func (m *GetDecryptedDataKeyResponse) GetDecryptedDataKey() []byte
func (*GetDecryptedDataKeyResponse) GetErrorCode ¶
func (m *GetDecryptedDataKeyResponse) GetErrorCode() int32
func (*GetDecryptedDataKeyResponse) GetErrorMessage ¶
func (m *GetDecryptedDataKeyResponse) GetErrorMessage() string
func (*GetDecryptedDataKeyResponse) ProtoMessage ¶
func (*GetDecryptedDataKeyResponse) ProtoMessage()
func (*GetDecryptedDataKeyResponse) Reset ¶
func (m *GetDecryptedDataKeyResponse) Reset()
func (*GetDecryptedDataKeyResponse) String ¶
func (m *GetDecryptedDataKeyResponse) String() string
type GetDecryptedKeyNodeRequest ¶
type GetDecryptedKeyNodeRequest struct { // account owning this tree node and associated key nodes AccountName string `protobuf:"bytes,1,opt,name=account_name,json=accountName" json:"account_name,omitempty"` // tree node path, with forward slash separators NodePath string `protobuf:"bytes,2,opt,name=node_path,json=nodePath" json:"node_path,omitempty"` // key node key name KeyName string `protobuf:"bytes,3,opt,name=key_name,json=keyName" json:"key_name,omitempty"` }
request parameters for method get_decrypted_key_node
func (*GetDecryptedKeyNodeRequest) Descriptor ¶
func (*GetDecryptedKeyNodeRequest) Descriptor() ([]byte, []int)
func (*GetDecryptedKeyNodeRequest) GetAccountName ¶
func (m *GetDecryptedKeyNodeRequest) GetAccountName() string
func (*GetDecryptedKeyNodeRequest) GetKeyName ¶
func (m *GetDecryptedKeyNodeRequest) GetKeyName() string
func (*GetDecryptedKeyNodeRequest) GetNodePath ¶
func (m *GetDecryptedKeyNodeRequest) GetNodePath() string
func (*GetDecryptedKeyNodeRequest) ProtoMessage ¶
func (*GetDecryptedKeyNodeRequest) ProtoMessage()
func (*GetDecryptedKeyNodeRequest) Reset ¶
func (m *GetDecryptedKeyNodeRequest) Reset()
func (*GetDecryptedKeyNodeRequest) String ¶
func (m *GetDecryptedKeyNodeRequest) String() string
type GetDecryptedKeyNodeResponse ¶
type GetDecryptedKeyNodeResponse struct { // method result code ErrorCode int32 `protobuf:"varint,1,opt,name=error_code,json=errorCode" json:"error_code,omitempty"` // text error message ErrorMessage string `protobuf:"bytes,2,opt,name=error_message,json=errorMessage" json:"error_message,omitempty"` // decrypted key node value DecryptedKeyValue []byte `protobuf:"bytes,3,opt,name=decrypted_key_value,json=decryptedKeyValue,proto3" json:"decrypted_key_value,omitempty"` }
response parameters for method get_decrypted_key_node
func (*GetDecryptedKeyNodeResponse) Descriptor ¶
func (*GetDecryptedKeyNodeResponse) Descriptor() ([]byte, []int)
func (*GetDecryptedKeyNodeResponse) GetDecryptedKeyValue ¶
func (m *GetDecryptedKeyNodeResponse) GetDecryptedKeyValue() []byte
func (*GetDecryptedKeyNodeResponse) GetErrorCode ¶
func (m *GetDecryptedKeyNodeResponse) GetErrorCode() int32
func (*GetDecryptedKeyNodeResponse) GetErrorMessage ¶
func (m *GetDecryptedKeyNodeResponse) GetErrorMessage() string
func (*GetDecryptedKeyNodeResponse) ProtoMessage ¶
func (*GetDecryptedKeyNodeResponse) ProtoMessage()
func (*GetDecryptedKeyNodeResponse) Reset ¶
func (m *GetDecryptedKeyNodeResponse) Reset()
func (*GetDecryptedKeyNodeResponse) String ¶
func (m *GetDecryptedKeyNodeResponse) String() string
type GetKeyNodeByIdRequest ¶
type GetKeyNodeByIdRequest struct { // account owning this tree node and associated key nodes AccountName string `protobuf:"bytes,1,opt,name=account_name,json=accountName" json:"account_name,omitempty"` // unique identifier for an MService key node KeyId int64 `protobuf:"varint,2,opt,name=key_id,json=keyId" json:"key_id,omitempty"` }
request parameters for method get_key_node_by_id
func (*GetKeyNodeByIdRequest) Descriptor ¶
func (*GetKeyNodeByIdRequest) Descriptor() ([]byte, []int)
func (*GetKeyNodeByIdRequest) GetAccountName ¶
func (m *GetKeyNodeByIdRequest) GetAccountName() string
func (*GetKeyNodeByIdRequest) GetKeyId ¶
func (m *GetKeyNodeByIdRequest) GetKeyId() int64
func (*GetKeyNodeByIdRequest) ProtoMessage ¶
func (*GetKeyNodeByIdRequest) ProtoMessage()
func (*GetKeyNodeByIdRequest) Reset ¶
func (m *GetKeyNodeByIdRequest) Reset()
func (*GetKeyNodeByIdRequest) String ¶
func (m *GetKeyNodeByIdRequest) String() string
type GetKeyNodeByIdResponse ¶
type GetKeyNodeByIdResponse struct { // method result code ErrorCode int32 `protobuf:"varint,1,opt,name=error_code,json=errorCode" json:"error_code,omitempty"` // text error message ErrorMessage string `protobuf:"bytes,2,opt,name=error_message,json=errorMessage" json:"error_message,omitempty"` // key node object Keynode *KeyNode `protobuf:"bytes,3,opt,name=keynode" json:"keynode,omitempty"` }
response parameters for method get_key_node_by_id
func (*GetKeyNodeByIdResponse) Descriptor ¶
func (*GetKeyNodeByIdResponse) Descriptor() ([]byte, []int)
func (*GetKeyNodeByIdResponse) GetErrorCode ¶
func (m *GetKeyNodeByIdResponse) GetErrorCode() int32
func (*GetKeyNodeByIdResponse) GetErrorMessage ¶
func (m *GetKeyNodeByIdResponse) GetErrorMessage() string
func (*GetKeyNodeByIdResponse) GetKeynode ¶
func (m *GetKeyNodeByIdResponse) GetKeynode() *KeyNode
func (*GetKeyNodeByIdResponse) ProtoMessage ¶
func (*GetKeyNodeByIdResponse) ProtoMessage()
func (*GetKeyNodeByIdResponse) Reset ¶
func (m *GetKeyNodeByIdResponse) Reset()
func (*GetKeyNodeByIdResponse) String ¶
func (m *GetKeyNodeByIdResponse) String() string
type GetKeyNodeByPathRequest ¶
type GetKeyNodeByPathRequest struct { // account owning this tree node and associated key nodes AccountName string `protobuf:"bytes,1,opt,name=account_name,json=accountName" json:"account_name,omitempty"` // tree node path, with forward slash separators NodePath string `protobuf:"bytes,2,opt,name=node_path,json=nodePath" json:"node_path,omitempty"` }
request parameters for method get_key_node_by_path
func (*GetKeyNodeByPathRequest) Descriptor ¶
func (*GetKeyNodeByPathRequest) Descriptor() ([]byte, []int)
func (*GetKeyNodeByPathRequest) GetAccountName ¶
func (m *GetKeyNodeByPathRequest) GetAccountName() string
func (*GetKeyNodeByPathRequest) GetNodePath ¶
func (m *GetKeyNodeByPathRequest) GetNodePath() string
func (*GetKeyNodeByPathRequest) ProtoMessage ¶
func (*GetKeyNodeByPathRequest) ProtoMessage()
func (*GetKeyNodeByPathRequest) Reset ¶
func (m *GetKeyNodeByPathRequest) Reset()
func (*GetKeyNodeByPathRequest) String ¶
func (m *GetKeyNodeByPathRequest) String() string
type GetKeyNodeByPathResponse ¶
type GetKeyNodeByPathResponse struct { // method result code ErrorCode int32 `protobuf:"varint,1,opt,name=error_code,json=errorCode" json:"error_code,omitempty"` // text error message ErrorMessage string `protobuf:"bytes,2,opt,name=error_message,json=errorMessage" json:"error_message,omitempty"` // list of key node objects Keynodes []*KeyNode `protobuf:"bytes,3,rep,name=keynodes" json:"keynodes,omitempty"` }
response parameters for method get_key_node_by_path
func (*GetKeyNodeByPathResponse) Descriptor ¶
func (*GetKeyNodeByPathResponse) Descriptor() ([]byte, []int)
func (*GetKeyNodeByPathResponse) GetErrorCode ¶
func (m *GetKeyNodeByPathResponse) GetErrorCode() int32
func (*GetKeyNodeByPathResponse) GetErrorMessage ¶
func (m *GetKeyNodeByPathResponse) GetErrorMessage() string
func (*GetKeyNodeByPathResponse) GetKeynodes ¶
func (m *GetKeyNodeByPathResponse) GetKeynodes() []*KeyNode
func (*GetKeyNodeByPathResponse) ProtoMessage ¶
func (*GetKeyNodeByPathResponse) ProtoMessage()
func (*GetKeyNodeByPathResponse) Reset ¶
func (m *GetKeyNodeByPathResponse) Reset()
func (*GetKeyNodeByPathResponse) String ¶
func (m *GetKeyNodeByPathResponse) String() string
type GetKeyNodeRequest ¶
type GetKeyNodeRequest struct { // account owning this tree node and associated key nodes AccountName string `protobuf:"bytes,1,opt,name=account_name,json=accountName" json:"account_name,omitempty"` // tree node path, with forward slash separators NodePath string `protobuf:"bytes,2,opt,name=node_path,json=nodePath" json:"node_path,omitempty"` // key node key name KeyName string `protobuf:"bytes,3,opt,name=key_name,json=keyName" json:"key_name,omitempty"` }
request parameters for method get_key_node
func (*GetKeyNodeRequest) Descriptor ¶
func (*GetKeyNodeRequest) Descriptor() ([]byte, []int)
func (*GetKeyNodeRequest) GetAccountName ¶
func (m *GetKeyNodeRequest) GetAccountName() string
func (*GetKeyNodeRequest) GetKeyName ¶
func (m *GetKeyNodeRequest) GetKeyName() string
func (*GetKeyNodeRequest) GetNodePath ¶
func (m *GetKeyNodeRequest) GetNodePath() string
func (*GetKeyNodeRequest) ProtoMessage ¶
func (*GetKeyNodeRequest) ProtoMessage()
func (*GetKeyNodeRequest) Reset ¶
func (m *GetKeyNodeRequest) Reset()
func (*GetKeyNodeRequest) String ¶
func (m *GetKeyNodeRequest) String() string
type GetKeyNodeResponse ¶
type GetKeyNodeResponse struct { // method result code ErrorCode int32 `protobuf:"varint,1,opt,name=error_code,json=errorCode" json:"error_code,omitempty"` // text error message ErrorMessage string `protobuf:"bytes,2,opt,name=error_message,json=errorMessage" json:"error_message,omitempty"` // key node object Keynode *KeyNode `protobuf:"bytes,3,opt,name=keynode" json:"keynode,omitempty"` }
response parameters for method get_key_node
func (*GetKeyNodeResponse) Descriptor ¶
func (*GetKeyNodeResponse) Descriptor() ([]byte, []int)
func (*GetKeyNodeResponse) GetErrorCode ¶
func (m *GetKeyNodeResponse) GetErrorCode() int32
func (*GetKeyNodeResponse) GetErrorMessage ¶
func (m *GetKeyNodeResponse) GetErrorMessage() string
func (*GetKeyNodeResponse) GetKeynode ¶
func (m *GetKeyNodeResponse) GetKeynode() *KeyNode
func (*GetKeyNodeResponse) ProtoMessage ¶
func (*GetKeyNodeResponse) ProtoMessage()
func (*GetKeyNodeResponse) Reset ¶
func (m *GetKeyNodeResponse) Reset()
func (*GetKeyNodeResponse) String ¶
func (m *GetKeyNodeResponse) String() string
type GetServerVersionRequest ¶ added in v0.9.2
type GetServerVersionRequest struct { // placeholder param to avoid empty message DummyParam int32 `protobuf:"varint,1,opt,name=dummy_param,json=dummyParam" json:"dummy_param,omitempty"` }
request parameters for method get_server_version
func (*GetServerVersionRequest) Descriptor ¶ added in v0.9.2
func (*GetServerVersionRequest) Descriptor() ([]byte, []int)
func (*GetServerVersionRequest) GetDummyParam ¶ added in v0.9.2
func (m *GetServerVersionRequest) GetDummyParam() int32
func (*GetServerVersionRequest) ProtoMessage ¶ added in v0.9.2
func (*GetServerVersionRequest) ProtoMessage()
func (*GetServerVersionRequest) Reset ¶ added in v0.9.2
func (m *GetServerVersionRequest) Reset()
func (*GetServerVersionRequest) String ¶ added in v0.9.2
func (m *GetServerVersionRequest) String() string
type GetServerVersionResponse ¶ added in v0.9.2
type GetServerVersionResponse struct { // method result code ErrorCode int32 `protobuf:"varint,1,opt,name=error_code,json=errorCode" json:"error_code,omitempty"` // text error message ErrorMessage string `protobuf:"bytes,2,opt,name=error_message,json=errorMessage" json:"error_message,omitempty"` // version level of server ServerVersion string `protobuf:"bytes,3,opt,name=server_version,json=serverVersion" json:"server_version,omitempty"` // server uptime in seconds ServerUptime int64 `protobuf:"varint,4,opt,name=server_uptime,json=serverUptime" json:"server_uptime,omitempty"` }
response parameters for method get_server_version
func (*GetServerVersionResponse) Descriptor ¶ added in v0.9.2
func (*GetServerVersionResponse) Descriptor() ([]byte, []int)
func (*GetServerVersionResponse) GetErrorCode ¶ added in v0.9.2
func (m *GetServerVersionResponse) GetErrorCode() int32
func (*GetServerVersionResponse) GetErrorMessage ¶ added in v0.9.2
func (m *GetServerVersionResponse) GetErrorMessage() string
func (*GetServerVersionResponse) GetServerUptime ¶ added in v0.9.2
func (m *GetServerVersionResponse) GetServerUptime() int64
func (*GetServerVersionResponse) GetServerVersion ¶ added in v0.9.2
func (m *GetServerVersionResponse) GetServerVersion() string
func (*GetServerVersionResponse) ProtoMessage ¶ added in v0.9.2
func (*GetServerVersionResponse) ProtoMessage()
func (*GetServerVersionResponse) Reset ¶ added in v0.9.2
func (m *GetServerVersionResponse) Reset()
func (*GetServerVersionResponse) String ¶ added in v0.9.2
func (m *GetServerVersionResponse) String() string
type KeyNode ¶
type KeyNode struct { // unique identifier for an MService key node KeyId int64 `protobuf:"varint,1,opt,name=key_id,json=keyId" json:"key_id,omitempty"` // creation date Created *dml.DateTime `protobuf:"bytes,2,opt,name=created" json:"created,omitempty"` // modification date Modified *dml.DateTime `protobuf:"bytes,3,opt,name=modified" json:"modified,omitempty"` // deletion date Deleted *dml.DateTime `protobuf:"bytes,4,opt,name=deleted" json:"deleted,omitempty"` // has record been deleted? IsDeleted bool `protobuf:"varint,5,opt,name=is_deleted,json=isDeleted" json:"is_deleted,omitempty"` // version of this record Version int32 `protobuf:"varint,6,opt,name=version" json:"version,omitempty"` // unique identifier for an MService tree node NodeId int64 `protobuf:"varint,7,opt,name=node_id,json=nodeId" json:"node_id,omitempty"` // unique identifier for an MService data key DataKeyId int64 `protobuf:"varint,8,opt,name=data_key_id,json=dataKeyId" json:"data_key_id,omitempty"` // is key node enabled? IsEnabled bool `protobuf:"varint,9,opt,name=is_enabled,json=isEnabled" json:"is_enabled,omitempty"` // key node key name KeyName string `protobuf:"bytes,10,opt,name=key_name,json=keyName" json:"key_name,omitempty"` // key node description KeyDescription string `protobuf:"bytes,11,opt,name=key_description,json=keyDescription" json:"key_description,omitempty"` // key node value, encrypted if data_key_id non zero KeyValue []byte `protobuf:"bytes,12,opt,name=key_value,json=keyValue,proto3" json:"key_value,omitempty"` // tree node path, with forward slash separators NodePath string `protobuf:"bytes,13,opt,name=node_path,json=nodePath" json:"node_path,omitempty"` }
MService key node entity
func (*KeyNode) Descriptor ¶
func (*KeyNode) GetCreated ¶
func (*KeyNode) GetDataKeyId ¶
func (*KeyNode) GetDeleted ¶
func (*KeyNode) GetIsDeleted ¶
func (*KeyNode) GetIsEnabled ¶
func (*KeyNode) GetKeyDescription ¶
func (*KeyNode) GetKeyName ¶
func (*KeyNode) GetKeyValue ¶
func (*KeyNode) GetModified ¶
func (*KeyNode) GetNodePath ¶
func (*KeyNode) GetVersion ¶
func (*KeyNode) ProtoMessage ¶
func (*KeyNode) ProtoMessage()
type MServiceSafeboxClient ¶
type MServiceSafeboxClient interface { context.Context, in *AddSharedSecretRequest, opts ...grpc.CallOption) (*AddSharedSecretResponse, error) ClearSharedSecrets(ctx context.Context, in *ClearSharedSecretsRequest, opts ...grpc.CallOption) (*ClearSharedSecretsResponse, error) // create a new data key CreateDataKey(ctx context.Context, in *CreateDataKeyRequest, opts ...grpc.CallOption) (*CreateDataKeyResponse, error) // delete a data key DeleteDataKey(ctx context.Context, in *DeleteDataKeyRequest, opts ...grpc.CallOption) (*DeleteDataKeyResponse, error) // get a data key GetDataKey(ctx context.Context, in *GetDataKeyRequest, opts ...grpc.CallOption) (*GetDataKeyResponse, error) // get a data key by id GetDataKeyById(ctx context.Context, in *GetDataKeyByIdRequest, opts ...grpc.CallOption) (*GetDataKeyByIdResponse, error) // get a data keys by account_name GetDataKeysByAccount(ctx context.Context, in *GetDataKeysByAccountRequest, opts ...grpc.CallOption) (*GetDataKeysByAccountResponse, error) // get a decrypted version of data key GetDecryptedDataKey(ctx context.Context, in *GetDecryptedDataKeyRequest, opts ...grpc.CallOption) (*GetDecryptedDataKeyResponse, error) // create a new key node, encrypting value creating tree node if necessary CreateKeyNode(ctx context.Context, in *CreateKeyNodeRequest, opts ...grpc.CallOption) (*CreateKeyNodeResponse, error) // enable a key node EnableKeyNode(ctx context.Context, in *EnableKeyNodeRequest, opts ...grpc.CallOption) (*EnableKeyNodeResponse, error) // disable a key node DisableKeyNode(ctx context.Context, in *DisableKeyNodeRequest, opts ...grpc.CallOption) (*DisableKeyNodeResponse, error) // re-encrypt a key node ReEncryptKeyNode(ctx context.Context, in *ReEncryptKeyNodeRequest, opts ...grpc.CallOption) (*ReEncryptKeyNodeResponse, error) // copy a key node to new path CopyKeyNode(ctx context.Context, in *CopyKeyNodeRequest, opts ...grpc.CallOption) (*CopyKeyNodeResponse, error) // delete a key node DeleteKeyNode(ctx context.Context, in *DeleteKeyNodeRequest, opts ...grpc.CallOption) (*DeleteKeyNodeResponse, error) // get a key node by node and path GetKeyNode(ctx context.Context, in *GetKeyNodeRequest, opts ...grpc.CallOption) (*GetKeyNodeResponse, error) // get a key node by id GetKeyNodeById(ctx context.Context, in *GetKeyNodeByIdRequest, opts ...grpc.CallOption) (*GetKeyNodeByIdResponse, error) // get a list of key nodes by path GetKeyNodeByPath(ctx context.Context, in *GetKeyNodeByPathRequest, opts ...grpc.CallOption) (*GetKeyNodeByPathResponse, error) // get a decrypted version of key node GetDecryptedKeyNode(ctx context.Context, in *GetDecryptedKeyNodeRequest, opts ...grpc.CallOption) (*GetDecryptedKeyNodeResponse, error) // get current server version and uptime - health check GetServerVersion(ctx context.Context, in *GetServerVersionRequest, opts ...grpc.CallOption) (*GetServerVersionResponse, error) }AddSharedSecret(ctx
func NewMServiceSafeboxClient ¶
func NewMServiceSafeboxClient(cc *grpc.ClientConn) MServiceSafeboxClient
type MServiceSafeboxServer ¶
type MServiceSafeboxServer interface { context.Context, *AddSharedSecretRequest) (*AddSharedSecretResponse, error) ClearSharedSecrets(context.Context, *ClearSharedSecretsRequest) (*ClearSharedSecretsResponse, error) // create a new data key CreateDataKey(context.Context, *CreateDataKeyRequest) (*CreateDataKeyResponse, error) // delete a data key DeleteDataKey(context.Context, *DeleteDataKeyRequest) (*DeleteDataKeyResponse, error) // get a data key GetDataKey(context.Context, *GetDataKeyRequest) (*GetDataKeyResponse, error) // get a data key by id GetDataKeyById(context.Context, *GetDataKeyByIdRequest) (*GetDataKeyByIdResponse, error) // get a data keys by account_name GetDataKeysByAccount(context.Context, *GetDataKeysByAccountRequest) (*GetDataKeysByAccountResponse, error) // get a decrypted version of data key GetDecryptedDataKey(context.Context, *GetDecryptedDataKeyRequest) (*GetDecryptedDataKeyResponse, error) // create a new key node, encrypting value creating tree node if necessary CreateKeyNode(context.Context, *CreateKeyNodeRequest) (*CreateKeyNodeResponse, error) // enable a key node EnableKeyNode(context.Context, *EnableKeyNodeRequest) (*EnableKeyNodeResponse, error) // disable a key node DisableKeyNode(context.Context, *DisableKeyNodeRequest) (*DisableKeyNodeResponse, error) // re-encrypt a key node ReEncryptKeyNode(context.Context, *ReEncryptKeyNodeRequest) (*ReEncryptKeyNodeResponse, error) // copy a key node to new path CopyKeyNode(context.Context, *CopyKeyNodeRequest) (*CopyKeyNodeResponse, error) // delete a key node DeleteKeyNode(context.Context, *DeleteKeyNodeRequest) (*DeleteKeyNodeResponse, error) // get a key node by node and path GetKeyNode(context.Context, *GetKeyNodeRequest) (*GetKeyNodeResponse, error) // get a key node by id GetKeyNodeById(context.Context, *GetKeyNodeByIdRequest) (*GetKeyNodeByIdResponse, error) // get a list of key nodes by path GetKeyNodeByPath(context.Context, *GetKeyNodeByPathRequest) (*GetKeyNodeByPathResponse, error) // get a decrypted version of key node GetDecryptedKeyNode(context.Context, *GetDecryptedKeyNodeRequest) (*GetDecryptedKeyNodeResponse, error) // get current server version and uptime - health check GetServerVersion(context.Context, *GetServerVersionRequest) (*GetServerVersionResponse, error) }AddSharedSecret(
type ReEncryptKeyNodeRequest ¶
type ReEncryptKeyNodeRequest struct { // account owning this tree node and associated key nodes AccountName string `protobuf:"bytes,1,opt,name=account_name,json=accountName" json:"account_name,omitempty"` // unique identifier for an MService key node KeyId int64 `protobuf:"varint,2,opt,name=key_id,json=keyId" json:"key_id,omitempty"` // version of this record Version int32 `protobuf:"varint,3,opt,name=version" json:"version,omitempty"` // unique identifier for an MService data key DataKeyId int64 `protobuf:"varint,4,opt,name=data_key_id,json=dataKeyId" json:"data_key_id,omitempty"` }
request parameters for method re_encrypt_key_node
func (*ReEncryptKeyNodeRequest) Descriptor ¶
func (*ReEncryptKeyNodeRequest) Descriptor() ([]byte, []int)
func (*ReEncryptKeyNodeRequest) GetAccountName ¶
func (m *ReEncryptKeyNodeRequest) GetAccountName() string
func (*ReEncryptKeyNodeRequest) GetDataKeyId ¶
func (m *ReEncryptKeyNodeRequest) GetDataKeyId() int64
func (*ReEncryptKeyNodeRequest) GetKeyId ¶
func (m *ReEncryptKeyNodeRequest) GetKeyId() int64
func (*ReEncryptKeyNodeRequest) GetVersion ¶
func (m *ReEncryptKeyNodeRequest) GetVersion() int32
func (*ReEncryptKeyNodeRequest) ProtoMessage ¶
func (*ReEncryptKeyNodeRequest) ProtoMessage()
func (*ReEncryptKeyNodeRequest) Reset ¶
func (m *ReEncryptKeyNodeRequest) Reset()
func (*ReEncryptKeyNodeRequest) String ¶
func (m *ReEncryptKeyNodeRequest) String() string
type ReEncryptKeyNodeResponse ¶
type ReEncryptKeyNodeResponse struct { // method result code ErrorCode int32 `protobuf:"varint,1,opt,name=error_code,json=errorCode" json:"error_code,omitempty"` // text error message ErrorMessage string `protobuf:"bytes,2,opt,name=error_message,json=errorMessage" json:"error_message,omitempty"` // version of this record Version int32 `protobuf:"varint,3,opt,name=version" json:"version,omitempty"` }
response parameters for method re_encrypt_key_node
func (*ReEncryptKeyNodeResponse) Descriptor ¶
func (*ReEncryptKeyNodeResponse) Descriptor() ([]byte, []int)
func (*ReEncryptKeyNodeResponse) GetErrorCode ¶
func (m *ReEncryptKeyNodeResponse) GetErrorCode() int32
func (*ReEncryptKeyNodeResponse) GetErrorMessage ¶
func (m *ReEncryptKeyNodeResponse) GetErrorMessage() string
func (*ReEncryptKeyNodeResponse) GetVersion ¶
func (m *ReEncryptKeyNodeResponse) GetVersion() int32
func (*ReEncryptKeyNodeResponse) ProtoMessage ¶
func (*ReEncryptKeyNodeResponse) ProtoMessage()
func (*ReEncryptKeyNodeResponse) Reset ¶
func (m *ReEncryptKeyNodeResponse) Reset()
func (*ReEncryptKeyNodeResponse) String ¶
func (m *ReEncryptKeyNodeResponse) String() string
type TreeNode ¶
type TreeNode struct { // unique identifier for an MService tree node NodeId int64 `protobuf:"varint,1,opt,name=node_id,json=nodeId" json:"node_id,omitempty"` // creation date Created *dml.DateTime `protobuf:"bytes,2,opt,name=created" json:"created,omitempty"` // modification date Modified *dml.DateTime `protobuf:"bytes,3,opt,name=modified" json:"modified,omitempty"` // deletion date Deleted *dml.DateTime `protobuf:"bytes,4,opt,name=deleted" json:"deleted,omitempty"` // has record been deleted? IsDeleted bool `protobuf:"varint,5,opt,name=is_deleted,json=isDeleted" json:"is_deleted,omitempty"` // version of this record Version int32 `protobuf:"varint,6,opt,name=version" json:"version,omitempty"` // account owning this tree node and associated key nodes AccountName string `protobuf:"bytes,7,opt,name=account_name,json=accountName" json:"account_name,omitempty"` // tree node path, with forward slash separators NodePath string `protobuf:"bytes,8,opt,name=node_path,json=nodePath" json:"node_path,omitempty"` }
MService tree node entity
func (*TreeNode) Descriptor ¶
func (*TreeNode) GetAccountName ¶
func (*TreeNode) GetCreated ¶
func (*TreeNode) GetDeleted ¶
func (*TreeNode) GetIsDeleted ¶
func (*TreeNode) GetModified ¶
func (*TreeNode) GetNodePath ¶
func (*TreeNode) GetVersion ¶
func (*TreeNode) ProtoMessage ¶
func (*TreeNode) ProtoMessage()