Documentation
¶
Index ¶
- Constants
- Variables
- func KeystoreInstanceKeyOperationPluginServer(server KeystoreInstanceKeyOperationServer) api.PluginServer
- func RegisterKeystoreInstanceKeyOperationServer(s grpc.ServiceRegistrar, srv KeystoreInstanceKeyOperationServer)
- type CreateKeyRequest
- func (*CreateKeyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateKeyRequest) GetAlgorithm() KeyAlgorithm
- func (x *CreateKeyRequest) GetConfig() *v1.KeystoreInstanceConfig
- func (x *CreateKeyRequest) GetId() string
- func (x *CreateKeyRequest) GetKeyType() KeyType
- func (x *CreateKeyRequest) GetRegion() string
- func (*CreateKeyRequest) ProtoMessage()
- func (x *CreateKeyRequest) ProtoReflect() protoreflect.Message
- func (x *CreateKeyRequest) Reset()
- func (x *CreateKeyRequest) String() string
- func (m *CreateKeyRequest) Validate() error
- func (m *CreateKeyRequest) ValidateAll() error
- type CreateKeyRequestMultiError
- type CreateKeyRequestValidationError
- func (e CreateKeyRequestValidationError) Cause() error
- func (e CreateKeyRequestValidationError) Error() string
- func (e CreateKeyRequestValidationError) ErrorName() string
- func (e CreateKeyRequestValidationError) Field() string
- func (e CreateKeyRequestValidationError) Key() bool
- func (e CreateKeyRequestValidationError) Reason() string
- type CreateKeyResponse
- func (*CreateKeyResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateKeyResponse) GetKeyId() string
- func (x *CreateKeyResponse) GetStatus() string
- func (*CreateKeyResponse) ProtoMessage()
- func (x *CreateKeyResponse) ProtoReflect() protoreflect.Message
- func (x *CreateKeyResponse) Reset()
- func (x *CreateKeyResponse) String() string
- func (m *CreateKeyResponse) Validate() error
- func (m *CreateKeyResponse) ValidateAll() error
- type CreateKeyResponseMultiError
- type CreateKeyResponseValidationError
- func (e CreateKeyResponseValidationError) Cause() error
- func (e CreateKeyResponseValidationError) Error() string
- func (e CreateKeyResponseValidationError) ErrorName() string
- func (e CreateKeyResponseValidationError) Field() string
- func (e CreateKeyResponseValidationError) Key() bool
- func (e CreateKeyResponseValidationError) Reason() string
- type DeleteKeyRequest
- func (*DeleteKeyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteKeyRequest) GetParameters() *RequestParameters
- func (x *DeleteKeyRequest) GetWindow() int32
- func (*DeleteKeyRequest) ProtoMessage()
- func (x *DeleteKeyRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteKeyRequest) Reset()
- func (x *DeleteKeyRequest) String() string
- func (m *DeleteKeyRequest) Validate() error
- func (m *DeleteKeyRequest) ValidateAll() error
- type DeleteKeyRequestMultiError
- type DeleteKeyRequestValidationError
- func (e DeleteKeyRequestValidationError) Cause() error
- func (e DeleteKeyRequestValidationError) Error() string
- func (e DeleteKeyRequestValidationError) ErrorName() string
- func (e DeleteKeyRequestValidationError) Field() string
- func (e DeleteKeyRequestValidationError) Key() bool
- func (e DeleteKeyRequestValidationError) Reason() string
- type DeleteKeyResponse
- func (*DeleteKeyResponse) Descriptor() ([]byte, []int)deprecated
- func (*DeleteKeyResponse) ProtoMessage()
- func (x *DeleteKeyResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteKeyResponse) Reset()
- func (x *DeleteKeyResponse) String() string
- func (m *DeleteKeyResponse) Validate() error
- func (m *DeleteKeyResponse) ValidateAll() error
- type DeleteKeyResponseMultiError
- type DeleteKeyResponseValidationError
- func (e DeleteKeyResponseValidationError) Cause() error
- func (e DeleteKeyResponseValidationError) Error() string
- func (e DeleteKeyResponseValidationError) ErrorName() string
- func (e DeleteKeyResponseValidationError) Field() string
- func (e DeleteKeyResponseValidationError) Key() bool
- func (e DeleteKeyResponseValidationError) Reason() string
- type DisableKeyRequest
- func (*DisableKeyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DisableKeyRequest) GetParameters() *RequestParameters
- func (*DisableKeyRequest) ProtoMessage()
- func (x *DisableKeyRequest) ProtoReflect() protoreflect.Message
- func (x *DisableKeyRequest) Reset()
- func (x *DisableKeyRequest) String() string
- func (m *DisableKeyRequest) Validate() error
- func (m *DisableKeyRequest) ValidateAll() error
- type DisableKeyRequestMultiError
- type DisableKeyRequestValidationError
- func (e DisableKeyRequestValidationError) Cause() error
- func (e DisableKeyRequestValidationError) Error() string
- func (e DisableKeyRequestValidationError) ErrorName() string
- func (e DisableKeyRequestValidationError) Field() string
- func (e DisableKeyRequestValidationError) Key() bool
- func (e DisableKeyRequestValidationError) Reason() string
- type DisableKeyResponse
- func (*DisableKeyResponse) Descriptor() ([]byte, []int)deprecated
- func (*DisableKeyResponse) ProtoMessage()
- func (x *DisableKeyResponse) ProtoReflect() protoreflect.Message
- func (x *DisableKeyResponse) Reset()
- func (x *DisableKeyResponse) String() string
- func (m *DisableKeyResponse) Validate() error
- func (m *DisableKeyResponse) ValidateAll() error
- type DisableKeyResponseMultiError
- type DisableKeyResponseValidationError
- func (e DisableKeyResponseValidationError) Cause() error
- func (e DisableKeyResponseValidationError) Error() string
- func (e DisableKeyResponseValidationError) ErrorName() string
- func (e DisableKeyResponseValidationError) Field() string
- func (e DisableKeyResponseValidationError) Key() bool
- func (e DisableKeyResponseValidationError) Reason() string
- type EnableKeyRequest
- func (*EnableKeyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *EnableKeyRequest) GetParameters() *RequestParameters
- func (*EnableKeyRequest) ProtoMessage()
- func (x *EnableKeyRequest) ProtoReflect() protoreflect.Message
- func (x *EnableKeyRequest) Reset()
- func (x *EnableKeyRequest) String() string
- func (m *EnableKeyRequest) Validate() error
- func (m *EnableKeyRequest) ValidateAll() error
- type EnableKeyRequestMultiError
- type EnableKeyRequestValidationError
- func (e EnableKeyRequestValidationError) Cause() error
- func (e EnableKeyRequestValidationError) Error() string
- func (e EnableKeyRequestValidationError) ErrorName() string
- func (e EnableKeyRequestValidationError) Field() string
- func (e EnableKeyRequestValidationError) Key() bool
- func (e EnableKeyRequestValidationError) Reason() string
- type EnableKeyResponse
- func (*EnableKeyResponse) Descriptor() ([]byte, []int)deprecated
- func (*EnableKeyResponse) ProtoMessage()
- func (x *EnableKeyResponse) ProtoReflect() protoreflect.Message
- func (x *EnableKeyResponse) Reset()
- func (x *EnableKeyResponse) String() string
- func (m *EnableKeyResponse) Validate() error
- func (m *EnableKeyResponse) ValidateAll() error
- type EnableKeyResponseMultiError
- type EnableKeyResponseValidationError
- func (e EnableKeyResponseValidationError) Cause() error
- func (e EnableKeyResponseValidationError) Error() string
- func (e EnableKeyResponseValidationError) ErrorName() string
- func (e EnableKeyResponseValidationError) Field() string
- func (e EnableKeyResponseValidationError) Key() bool
- func (e EnableKeyResponseValidationError) Reason() string
- type GetImportParametersRequest
- func (*GetImportParametersRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetImportParametersRequest) GetAlgorithm() KeyAlgorithm
- func (x *GetImportParametersRequest) GetParameters() *RequestParameters
- func (*GetImportParametersRequest) ProtoMessage()
- func (x *GetImportParametersRequest) ProtoReflect() protoreflect.Message
- func (x *GetImportParametersRequest) Reset()
- func (x *GetImportParametersRequest) String() string
- func (m *GetImportParametersRequest) Validate() error
- func (m *GetImportParametersRequest) ValidateAll() error
- type GetImportParametersRequestMultiError
- type GetImportParametersRequestValidationError
- func (e GetImportParametersRequestValidationError) Cause() error
- func (e GetImportParametersRequestValidationError) Error() string
- func (e GetImportParametersRequestValidationError) ErrorName() string
- func (e GetImportParametersRequestValidationError) Field() string
- func (e GetImportParametersRequestValidationError) Key() bool
- func (e GetImportParametersRequestValidationError) Reason() string
- type GetImportParametersResponse
- func (*GetImportParametersResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetImportParametersResponse) GetImportParameters() *structpb.Struct
- func (x *GetImportParametersResponse) GetKeyId() string
- func (*GetImportParametersResponse) ProtoMessage()
- func (x *GetImportParametersResponse) ProtoReflect() protoreflect.Message
- func (x *GetImportParametersResponse) Reset()
- func (x *GetImportParametersResponse) String() string
- func (m *GetImportParametersResponse) Validate() error
- func (m *GetImportParametersResponse) ValidateAll() error
- type GetImportParametersResponseMultiError
- type GetImportParametersResponseValidationError
- func (e GetImportParametersResponseValidationError) Cause() error
- func (e GetImportParametersResponseValidationError) Error() string
- func (e GetImportParametersResponseValidationError) ErrorName() string
- func (e GetImportParametersResponseValidationError) Field() string
- func (e GetImportParametersResponseValidationError) Key() bool
- func (e GetImportParametersResponseValidationError) Reason() string
- type GetKeyRequest
- func (*GetKeyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetKeyRequest) GetParameters() *RequestParameters
- func (*GetKeyRequest) ProtoMessage()
- func (x *GetKeyRequest) ProtoReflect() protoreflect.Message
- func (x *GetKeyRequest) Reset()
- func (x *GetKeyRequest) String() string
- func (m *GetKeyRequest) Validate() error
- func (m *GetKeyRequest) ValidateAll() error
- type GetKeyRequestMultiError
- type GetKeyRequestValidationError
- func (e GetKeyRequestValidationError) Cause() error
- func (e GetKeyRequestValidationError) Error() string
- func (e GetKeyRequestValidationError) ErrorName() string
- func (e GetKeyRequestValidationError) Field() string
- func (e GetKeyRequestValidationError) Key() bool
- func (e GetKeyRequestValidationError) Reason() string
- type GetKeyResponse
- func (*GetKeyResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetKeyResponse) GetAlgorithm() KeyAlgorithm
- func (x *GetKeyResponse) GetKeyId() string
- func (x *GetKeyResponse) GetStatus() string
- func (x *GetKeyResponse) GetUsage() string
- func (*GetKeyResponse) ProtoMessage()
- func (x *GetKeyResponse) ProtoReflect() protoreflect.Message
- func (x *GetKeyResponse) Reset()
- func (x *GetKeyResponse) String() string
- func (m *GetKeyResponse) Validate() error
- func (m *GetKeyResponse) ValidateAll() error
- type GetKeyResponseMultiError
- type GetKeyResponseValidationError
- func (e GetKeyResponseValidationError) Cause() error
- func (e GetKeyResponseValidationError) Error() string
- func (e GetKeyResponseValidationError) ErrorName() string
- func (e GetKeyResponseValidationError) Field() string
- func (e GetKeyResponseValidationError) Key() bool
- func (e GetKeyResponseValidationError) Reason() string
- type ImportKeyMaterialRequest
- func (*ImportKeyMaterialRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ImportKeyMaterialRequest) GetEncryptedKeyMaterial() string
- func (x *ImportKeyMaterialRequest) GetImportParameters() *structpb.Struct
- func (x *ImportKeyMaterialRequest) GetParameters() *RequestParameters
- func (*ImportKeyMaterialRequest) ProtoMessage()
- func (x *ImportKeyMaterialRequest) ProtoReflect() protoreflect.Message
- func (x *ImportKeyMaterialRequest) Reset()
- func (x *ImportKeyMaterialRequest) String() string
- func (m *ImportKeyMaterialRequest) Validate() error
- func (m *ImportKeyMaterialRequest) ValidateAll() error
- type ImportKeyMaterialRequestMultiError
- type ImportKeyMaterialRequestValidationError
- func (e ImportKeyMaterialRequestValidationError) Cause() error
- func (e ImportKeyMaterialRequestValidationError) Error() string
- func (e ImportKeyMaterialRequestValidationError) ErrorName() string
- func (e ImportKeyMaterialRequestValidationError) Field() string
- func (e ImportKeyMaterialRequestValidationError) Key() bool
- func (e ImportKeyMaterialRequestValidationError) Reason() string
- type ImportKeyMaterialResponse
- func (*ImportKeyMaterialResponse) Descriptor() ([]byte, []int)deprecated
- func (*ImportKeyMaterialResponse) ProtoMessage()
- func (x *ImportKeyMaterialResponse) ProtoReflect() protoreflect.Message
- func (x *ImportKeyMaterialResponse) Reset()
- func (x *ImportKeyMaterialResponse) String() string
- func (m *ImportKeyMaterialResponse) Validate() error
- func (m *ImportKeyMaterialResponse) ValidateAll() error
- type ImportKeyMaterialResponseMultiError
- type ImportKeyMaterialResponseValidationError
- func (e ImportKeyMaterialResponseValidationError) Cause() error
- func (e ImportKeyMaterialResponseValidationError) Error() string
- func (e ImportKeyMaterialResponseValidationError) ErrorName() string
- func (e ImportKeyMaterialResponseValidationError) Field() string
- func (e ImportKeyMaterialResponseValidationError) Key() bool
- func (e ImportKeyMaterialResponseValidationError) Reason() string
- type KeyAlgorithm
- func (KeyAlgorithm) Descriptor() protoreflect.EnumDescriptor
- func (x KeyAlgorithm) Enum() *KeyAlgorithm
- func (KeyAlgorithm) EnumDescriptor() ([]byte, []int)deprecated
- func (x KeyAlgorithm) Number() protoreflect.EnumNumber
- func (x KeyAlgorithm) String() string
- func (KeyAlgorithm) Type() protoreflect.EnumType
- type KeyType
- type KeystoreInstanceKeyOperationClient
- type KeystoreInstanceKeyOperationPluginClient
- func (c *KeystoreInstanceKeyOperationPluginClient) GRPCServiceName() string
- func (c *KeystoreInstanceKeyOperationPluginClient) InitClient(conn grpc.ClientConnInterface) any
- func (c *KeystoreInstanceKeyOperationPluginClient) IsInitialized() bool
- func (s KeystoreInstanceKeyOperationPluginClient) Type() string
- type KeystoreInstanceKeyOperationServer
- type RequestParameters
- func (*RequestParameters) Descriptor() ([]byte, []int)deprecated
- func (x *RequestParameters) GetConfig() *v1.KeystoreInstanceConfig
- func (x *RequestParameters) GetKeyId() string
- func (*RequestParameters) ProtoMessage()
- func (x *RequestParameters) ProtoReflect() protoreflect.Message
- func (x *RequestParameters) Reset()
- func (x *RequestParameters) String() string
- func (m *RequestParameters) Validate() error
- func (m *RequestParameters) ValidateAll() error
- type RequestParametersMultiError
- type RequestParametersValidationError
- func (e RequestParametersValidationError) Cause() error
- func (e RequestParametersValidationError) Error() string
- func (e RequestParametersValidationError) ErrorName() string
- func (e RequestParametersValidationError) Field() string
- func (e RequestParametersValidationError) Key() bool
- func (e RequestParametersValidationError) Reason() string
- type UnimplementedKeystoreInstanceKeyOperationServer
- func (UnimplementedKeystoreInstanceKeyOperationServer) CreateKey(context.Context, *CreateKeyRequest) (*CreateKeyResponse, error)
- func (UnimplementedKeystoreInstanceKeyOperationServer) DeleteKey(context.Context, *DeleteKeyRequest) (*DeleteKeyResponse, error)
- func (UnimplementedKeystoreInstanceKeyOperationServer) DisableKey(context.Context, *DisableKeyRequest) (*DisableKeyResponse, error)
- func (UnimplementedKeystoreInstanceKeyOperationServer) EnableKey(context.Context, *EnableKeyRequest) (*EnableKeyResponse, error)
- func (UnimplementedKeystoreInstanceKeyOperationServer) GetImportParameters(context.Context, *GetImportParametersRequest) (*GetImportParametersResponse, error)
- func (UnimplementedKeystoreInstanceKeyOperationServer) GetKey(context.Context, *GetKeyRequest) (*GetKeyResponse, error)
- func (UnimplementedKeystoreInstanceKeyOperationServer) ImportKeyMaterial(context.Context, *ImportKeyMaterialRequest) (*ImportKeyMaterialResponse, error)
- type UnsafeKeystoreInstanceKeyOperationServer
Constants ¶
const ( Type = "KeystoreInstanceKeyOperation" GRPCServiceFullName = "plugin.keystore.operations.v1.KeystoreInstanceKeyOperation" )
const ( KeystoreInstanceKeyOperation_GetKey_FullMethodName = "/plugin.keystore.operations.v1.KeystoreInstanceKeyOperation/GetKey" KeystoreInstanceKeyOperation_CreateKey_FullMethodName = "/plugin.keystore.operations.v1.KeystoreInstanceKeyOperation/CreateKey" KeystoreInstanceKeyOperation_DeleteKey_FullMethodName = "/plugin.keystore.operations.v1.KeystoreInstanceKeyOperation/DeleteKey" KeystoreInstanceKeyOperation_EnableKey_FullMethodName = "/plugin.keystore.operations.v1.KeystoreInstanceKeyOperation/EnableKey" KeystoreInstanceKeyOperation_DisableKey_FullMethodName = "/plugin.keystore.operations.v1.KeystoreInstanceKeyOperation/DisableKey" KeystoreInstanceKeyOperation_GetImportParameters_FullMethodName = "/plugin.keystore.operations.v1.KeystoreInstanceKeyOperation/GetImportParameters" KeystoreInstanceKeyOperation_ImportKeyMaterial_FullMethodName = "/plugin.keystore.operations.v1.KeystoreInstanceKeyOperation/ImportKeyMaterial" )
Variables ¶
var ( KeyAlgorithm_name = map[int32]string{ 0: "KEY_ALGORITHM_UNSPECIFIED", 1: "KEY_ALGORITHM_AES256", 2: "KEY_ALGORITHM_RSA3072", 3: "KEY_ALGORITHM_RSA4096", } KeyAlgorithm_value = map[string]int32{ "KEY_ALGORITHM_UNSPECIFIED": 0, "KEY_ALGORITHM_AES256": 1, "KEY_ALGORITHM_RSA3072": 2, "KEY_ALGORITHM_RSA4096": 3, } )
Enum value maps for KeyAlgorithm.
var ( KeyType_name = map[int32]string{ 0: "KEY_TYPE_UNSPECIFIED", 1: "KEY_TYPE_SYSTEM_MANAGED", 2: "KEY_TYPE_BYOK", } KeyType_value = map[string]int32{ "KEY_TYPE_UNSPECIFIED": 0, "KEY_TYPE_SYSTEM_MANAGED": 1, "KEY_TYPE_BYOK": 2, } )
Enum value maps for KeyType.
var File_plugin_keystore_operations_v1_operations_proto protoreflect.FileDescriptor
var KeystoreInstanceKeyOperation_ServiceDesc = grpc.ServiceDesc{ ServiceName: "plugin.keystore.operations.v1.KeystoreInstanceKeyOperation", HandlerType: (*KeystoreInstanceKeyOperationServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetKey", Handler: _KeystoreInstanceKeyOperation_GetKey_Handler, }, { MethodName: "CreateKey", Handler: _KeystoreInstanceKeyOperation_CreateKey_Handler, }, { MethodName: "DeleteKey", Handler: _KeystoreInstanceKeyOperation_DeleteKey_Handler, }, { MethodName: "EnableKey", Handler: _KeystoreInstanceKeyOperation_EnableKey_Handler, }, { MethodName: "DisableKey", Handler: _KeystoreInstanceKeyOperation_DisableKey_Handler, }, { MethodName: "GetImportParameters", Handler: _KeystoreInstanceKeyOperation_GetImportParameters_Handler, }, { MethodName: "ImportKeyMaterial", Handler: _KeystoreInstanceKeyOperation_ImportKeyMaterial_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "plugin/keystore/operations/v1/operations.proto", }
KeystoreInstanceKeyOperation_ServiceDesc is the grpc.ServiceDesc for KeystoreInstanceKeyOperation service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func KeystoreInstanceKeyOperationPluginServer ¶
func KeystoreInstanceKeyOperationPluginServer(server KeystoreInstanceKeyOperationServer) api.PluginServer
func RegisterKeystoreInstanceKeyOperationServer ¶
func RegisterKeystoreInstanceKeyOperationServer(s grpc.ServiceRegistrar, srv KeystoreInstanceKeyOperationServer)
Types ¶
type CreateKeyRequest ¶
type CreateKeyRequest struct {
Config *v1.KeystoreInstanceConfig `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"`
Algorithm KeyAlgorithm `protobuf:"varint,2,opt,name=algorithm,proto3,enum=plugin.keystore.operations.v1.KeyAlgorithm" json:"algorithm,omitempty"`
Id *string `protobuf:"bytes,3,opt,name=id,proto3,oneof" json:"id,omitempty"` // Optional predefined key ID
Region string `protobuf:"bytes,4,opt,name=region,proto3" json:"region,omitempty"` // The region in which to create the key
KeyType KeyType `` // Key type (system-managed or BYOK)
/* 126-byte string literal not displayed */
// contains filtered or unexported fields
}
CreateKeyRequest contains parameters for key creation
func (*CreateKeyRequest) Descriptor
deprecated
func (*CreateKeyRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateKeyRequest.ProtoReflect.Descriptor instead.
func (*CreateKeyRequest) GetAlgorithm ¶
func (x *CreateKeyRequest) GetAlgorithm() KeyAlgorithm
func (*CreateKeyRequest) GetConfig ¶
func (x *CreateKeyRequest) GetConfig() *v1.KeystoreInstanceConfig
func (*CreateKeyRequest) GetId ¶
func (x *CreateKeyRequest) GetId() string
func (*CreateKeyRequest) GetKeyType ¶
func (x *CreateKeyRequest) GetKeyType() KeyType
func (*CreateKeyRequest) GetRegion ¶
func (x *CreateKeyRequest) GetRegion() string
func (*CreateKeyRequest) ProtoMessage ¶
func (*CreateKeyRequest) ProtoMessage()
func (*CreateKeyRequest) ProtoReflect ¶
func (x *CreateKeyRequest) ProtoReflect() protoreflect.Message
func (*CreateKeyRequest) Reset ¶
func (x *CreateKeyRequest) Reset()
func (*CreateKeyRequest) String ¶
func (x *CreateKeyRequest) String() string
func (*CreateKeyRequest) Validate ¶
func (m *CreateKeyRequest) Validate() error
Validate checks the field values on CreateKeyRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*CreateKeyRequest) ValidateAll ¶
func (m *CreateKeyRequest) ValidateAll() error
ValidateAll checks the field values on CreateKeyRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CreateKeyRequestMultiError, or nil if none found.
type CreateKeyRequestMultiError ¶
type CreateKeyRequestMultiError []error
CreateKeyRequestMultiError is an error wrapping multiple validation errors returned by CreateKeyRequest.ValidateAll() if the designated constraints aren't met.
func (CreateKeyRequestMultiError) AllErrors ¶
func (m CreateKeyRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateKeyRequestMultiError) Error ¶
func (m CreateKeyRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreateKeyRequestValidationError ¶
type CreateKeyRequestValidationError struct {
// contains filtered or unexported fields
}
CreateKeyRequestValidationError is the validation error returned by CreateKeyRequest.Validate if the designated constraints aren't met.
func (CreateKeyRequestValidationError) Cause ¶
func (e CreateKeyRequestValidationError) Cause() error
Cause function returns cause value.
func (CreateKeyRequestValidationError) Error ¶
func (e CreateKeyRequestValidationError) Error() string
Error satisfies the builtin error interface
func (CreateKeyRequestValidationError) ErrorName ¶
func (e CreateKeyRequestValidationError) ErrorName() string
ErrorName returns error name.
func (CreateKeyRequestValidationError) Field ¶
func (e CreateKeyRequestValidationError) Field() string
Field function returns field value.
func (CreateKeyRequestValidationError) Key ¶
func (e CreateKeyRequestValidationError) Key() bool
Key function returns key value.
func (CreateKeyRequestValidationError) Reason ¶
func (e CreateKeyRequestValidationError) Reason() string
Reason function returns reason value.
type CreateKeyResponse ¶
type CreateKeyResponse struct {
KeyId string `protobuf:"bytes,1,opt,name=key_id,json=keyId,proto3" json:"key_id,omitempty"` // The ID of the created key
Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` // The current status of the key (e.g., enabled, disabled)
// contains filtered or unexported fields
}
func (*CreateKeyResponse) Descriptor
deprecated
func (*CreateKeyResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateKeyResponse.ProtoReflect.Descriptor instead.
func (*CreateKeyResponse) GetKeyId ¶
func (x *CreateKeyResponse) GetKeyId() string
func (*CreateKeyResponse) GetStatus ¶
func (x *CreateKeyResponse) GetStatus() string
func (*CreateKeyResponse) ProtoMessage ¶
func (*CreateKeyResponse) ProtoMessage()
func (*CreateKeyResponse) ProtoReflect ¶
func (x *CreateKeyResponse) ProtoReflect() protoreflect.Message
func (*CreateKeyResponse) Reset ¶
func (x *CreateKeyResponse) Reset()
func (*CreateKeyResponse) String ¶
func (x *CreateKeyResponse) String() string
func (*CreateKeyResponse) Validate ¶
func (m *CreateKeyResponse) Validate() error
Validate checks the field values on CreateKeyResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*CreateKeyResponse) ValidateAll ¶
func (m *CreateKeyResponse) ValidateAll() error
ValidateAll checks the field values on CreateKeyResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CreateKeyResponseMultiError, or nil if none found.
type CreateKeyResponseMultiError ¶
type CreateKeyResponseMultiError []error
CreateKeyResponseMultiError is an error wrapping multiple validation errors returned by CreateKeyResponse.ValidateAll() if the designated constraints aren't met.
func (CreateKeyResponseMultiError) AllErrors ¶
func (m CreateKeyResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateKeyResponseMultiError) Error ¶
func (m CreateKeyResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreateKeyResponseValidationError ¶
type CreateKeyResponseValidationError struct {
// contains filtered or unexported fields
}
CreateKeyResponseValidationError is the validation error returned by CreateKeyResponse.Validate if the designated constraints aren't met.
func (CreateKeyResponseValidationError) Cause ¶
func (e CreateKeyResponseValidationError) Cause() error
Cause function returns cause value.
func (CreateKeyResponseValidationError) Error ¶
func (e CreateKeyResponseValidationError) Error() string
Error satisfies the builtin error interface
func (CreateKeyResponseValidationError) ErrorName ¶
func (e CreateKeyResponseValidationError) ErrorName() string
ErrorName returns error name.
func (CreateKeyResponseValidationError) Field ¶
func (e CreateKeyResponseValidationError) Field() string
Field function returns field value.
func (CreateKeyResponseValidationError) Key ¶
func (e CreateKeyResponseValidationError) Key() bool
Key function returns key value.
func (CreateKeyResponseValidationError) Reason ¶
func (e CreateKeyResponseValidationError) Reason() string
Reason function returns reason value.
type DeleteKeyRequest ¶
type DeleteKeyRequest struct {
Parameters *RequestParameters `protobuf:"bytes,1,opt,name=parameters,proto3" json:"parameters,omitempty"`
Window *int32 `protobuf:"varint,2,opt,name=window,proto3,oneof" json:"window,omitempty"` // Optional deletion window in days
// contains filtered or unexported fields
}
DeleteKeyRequest contains parameters for key deletion
func (*DeleteKeyRequest) Descriptor
deprecated
func (*DeleteKeyRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteKeyRequest.ProtoReflect.Descriptor instead.
func (*DeleteKeyRequest) GetParameters ¶
func (x *DeleteKeyRequest) GetParameters() *RequestParameters
func (*DeleteKeyRequest) GetWindow ¶
func (x *DeleteKeyRequest) GetWindow() int32
func (*DeleteKeyRequest) ProtoMessage ¶
func (*DeleteKeyRequest) ProtoMessage()
func (*DeleteKeyRequest) ProtoReflect ¶
func (x *DeleteKeyRequest) ProtoReflect() protoreflect.Message
func (*DeleteKeyRequest) Reset ¶
func (x *DeleteKeyRequest) Reset()
func (*DeleteKeyRequest) String ¶
func (x *DeleteKeyRequest) String() string
func (*DeleteKeyRequest) Validate ¶
func (m *DeleteKeyRequest) Validate() error
Validate checks the field values on DeleteKeyRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*DeleteKeyRequest) ValidateAll ¶
func (m *DeleteKeyRequest) ValidateAll() error
ValidateAll checks the field values on DeleteKeyRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeleteKeyRequestMultiError, or nil if none found.
type DeleteKeyRequestMultiError ¶
type DeleteKeyRequestMultiError []error
DeleteKeyRequestMultiError is an error wrapping multiple validation errors returned by DeleteKeyRequest.ValidateAll() if the designated constraints aren't met.
func (DeleteKeyRequestMultiError) AllErrors ¶
func (m DeleteKeyRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteKeyRequestMultiError) Error ¶
func (m DeleteKeyRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteKeyRequestValidationError ¶
type DeleteKeyRequestValidationError struct {
// contains filtered or unexported fields
}
DeleteKeyRequestValidationError is the validation error returned by DeleteKeyRequest.Validate if the designated constraints aren't met.
func (DeleteKeyRequestValidationError) Cause ¶
func (e DeleteKeyRequestValidationError) Cause() error
Cause function returns cause value.
func (DeleteKeyRequestValidationError) Error ¶
func (e DeleteKeyRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteKeyRequestValidationError) ErrorName ¶
func (e DeleteKeyRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteKeyRequestValidationError) Field ¶
func (e DeleteKeyRequestValidationError) Field() string
Field function returns field value.
func (DeleteKeyRequestValidationError) Key ¶
func (e DeleteKeyRequestValidationError) Key() bool
Key function returns key value.
func (DeleteKeyRequestValidationError) Reason ¶
func (e DeleteKeyRequestValidationError) Reason() string
Reason function returns reason value.
type DeleteKeyResponse ¶
type DeleteKeyResponse struct {
// contains filtered or unexported fields
}
func (*DeleteKeyResponse) Descriptor
deprecated
func (*DeleteKeyResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteKeyResponse.ProtoReflect.Descriptor instead.
func (*DeleteKeyResponse) ProtoMessage ¶
func (*DeleteKeyResponse) ProtoMessage()
func (*DeleteKeyResponse) ProtoReflect ¶
func (x *DeleteKeyResponse) ProtoReflect() protoreflect.Message
func (*DeleteKeyResponse) Reset ¶
func (x *DeleteKeyResponse) Reset()
func (*DeleteKeyResponse) String ¶
func (x *DeleteKeyResponse) String() string
func (*DeleteKeyResponse) Validate ¶
func (m *DeleteKeyResponse) Validate() error
Validate checks the field values on DeleteKeyResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*DeleteKeyResponse) ValidateAll ¶
func (m *DeleteKeyResponse) ValidateAll() error
ValidateAll checks the field values on DeleteKeyResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeleteKeyResponseMultiError, or nil if none found.
type DeleteKeyResponseMultiError ¶
type DeleteKeyResponseMultiError []error
DeleteKeyResponseMultiError is an error wrapping multiple validation errors returned by DeleteKeyResponse.ValidateAll() if the designated constraints aren't met.
func (DeleteKeyResponseMultiError) AllErrors ¶
func (m DeleteKeyResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteKeyResponseMultiError) Error ¶
func (m DeleteKeyResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteKeyResponseValidationError ¶
type DeleteKeyResponseValidationError struct {
// contains filtered or unexported fields
}
DeleteKeyResponseValidationError is the validation error returned by DeleteKeyResponse.Validate if the designated constraints aren't met.
func (DeleteKeyResponseValidationError) Cause ¶
func (e DeleteKeyResponseValidationError) Cause() error
Cause function returns cause value.
func (DeleteKeyResponseValidationError) Error ¶
func (e DeleteKeyResponseValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteKeyResponseValidationError) ErrorName ¶
func (e DeleteKeyResponseValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteKeyResponseValidationError) Field ¶
func (e DeleteKeyResponseValidationError) Field() string
Field function returns field value.
func (DeleteKeyResponseValidationError) Key ¶
func (e DeleteKeyResponseValidationError) Key() bool
Key function returns key value.
func (DeleteKeyResponseValidationError) Reason ¶
func (e DeleteKeyResponseValidationError) Reason() string
Reason function returns reason value.
type DisableKeyRequest ¶
type DisableKeyRequest struct {
Parameters *RequestParameters `protobuf:"bytes,1,opt,name=parameters,proto3" json:"parameters,omitempty"`
// contains filtered or unexported fields
}
DisableKeyRequest contains parameters for key disablement
func (*DisableKeyRequest) Descriptor
deprecated
func (*DisableKeyRequest) Descriptor() ([]byte, []int)
Deprecated: Use DisableKeyRequest.ProtoReflect.Descriptor instead.
func (*DisableKeyRequest) GetParameters ¶
func (x *DisableKeyRequest) GetParameters() *RequestParameters
func (*DisableKeyRequest) ProtoMessage ¶
func (*DisableKeyRequest) ProtoMessage()
func (*DisableKeyRequest) ProtoReflect ¶
func (x *DisableKeyRequest) ProtoReflect() protoreflect.Message
func (*DisableKeyRequest) Reset ¶
func (x *DisableKeyRequest) Reset()
func (*DisableKeyRequest) String ¶
func (x *DisableKeyRequest) String() string
func (*DisableKeyRequest) Validate ¶
func (m *DisableKeyRequest) Validate() error
Validate checks the field values on DisableKeyRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*DisableKeyRequest) ValidateAll ¶
func (m *DisableKeyRequest) ValidateAll() error
ValidateAll checks the field values on DisableKeyRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DisableKeyRequestMultiError, or nil if none found.
type DisableKeyRequestMultiError ¶
type DisableKeyRequestMultiError []error
DisableKeyRequestMultiError is an error wrapping multiple validation errors returned by DisableKeyRequest.ValidateAll() if the designated constraints aren't met.
func (DisableKeyRequestMultiError) AllErrors ¶
func (m DisableKeyRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DisableKeyRequestMultiError) Error ¶
func (m DisableKeyRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DisableKeyRequestValidationError ¶
type DisableKeyRequestValidationError struct {
// contains filtered or unexported fields
}
DisableKeyRequestValidationError is the validation error returned by DisableKeyRequest.Validate if the designated constraints aren't met.
func (DisableKeyRequestValidationError) Cause ¶
func (e DisableKeyRequestValidationError) Cause() error
Cause function returns cause value.
func (DisableKeyRequestValidationError) Error ¶
func (e DisableKeyRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DisableKeyRequestValidationError) ErrorName ¶
func (e DisableKeyRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DisableKeyRequestValidationError) Field ¶
func (e DisableKeyRequestValidationError) Field() string
Field function returns field value.
func (DisableKeyRequestValidationError) Key ¶
func (e DisableKeyRequestValidationError) Key() bool
Key function returns key value.
func (DisableKeyRequestValidationError) Reason ¶
func (e DisableKeyRequestValidationError) Reason() string
Reason function returns reason value.
type DisableKeyResponse ¶
type DisableKeyResponse struct {
// contains filtered or unexported fields
}
func (*DisableKeyResponse) Descriptor
deprecated
func (*DisableKeyResponse) Descriptor() ([]byte, []int)
Deprecated: Use DisableKeyResponse.ProtoReflect.Descriptor instead.
func (*DisableKeyResponse) ProtoMessage ¶
func (*DisableKeyResponse) ProtoMessage()
func (*DisableKeyResponse) ProtoReflect ¶
func (x *DisableKeyResponse) ProtoReflect() protoreflect.Message
func (*DisableKeyResponse) Reset ¶
func (x *DisableKeyResponse) Reset()
func (*DisableKeyResponse) String ¶
func (x *DisableKeyResponse) String() string
func (*DisableKeyResponse) Validate ¶
func (m *DisableKeyResponse) Validate() error
Validate checks the field values on DisableKeyResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*DisableKeyResponse) ValidateAll ¶
func (m *DisableKeyResponse) ValidateAll() error
ValidateAll checks the field values on DisableKeyResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DisableKeyResponseMultiError, or nil if none found.
type DisableKeyResponseMultiError ¶
type DisableKeyResponseMultiError []error
DisableKeyResponseMultiError is an error wrapping multiple validation errors returned by DisableKeyResponse.ValidateAll() if the designated constraints aren't met.
func (DisableKeyResponseMultiError) AllErrors ¶
func (m DisableKeyResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DisableKeyResponseMultiError) Error ¶
func (m DisableKeyResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DisableKeyResponseValidationError ¶
type DisableKeyResponseValidationError struct {
// contains filtered or unexported fields
}
DisableKeyResponseValidationError is the validation error returned by DisableKeyResponse.Validate if the designated constraints aren't met.
func (DisableKeyResponseValidationError) Cause ¶
func (e DisableKeyResponseValidationError) Cause() error
Cause function returns cause value.
func (DisableKeyResponseValidationError) Error ¶
func (e DisableKeyResponseValidationError) Error() string
Error satisfies the builtin error interface
func (DisableKeyResponseValidationError) ErrorName ¶
func (e DisableKeyResponseValidationError) ErrorName() string
ErrorName returns error name.
func (DisableKeyResponseValidationError) Field ¶
func (e DisableKeyResponseValidationError) Field() string
Field function returns field value.
func (DisableKeyResponseValidationError) Key ¶
func (e DisableKeyResponseValidationError) Key() bool
Key function returns key value.
func (DisableKeyResponseValidationError) Reason ¶
func (e DisableKeyResponseValidationError) Reason() string
Reason function returns reason value.
type EnableKeyRequest ¶
type EnableKeyRequest struct {
Parameters *RequestParameters `protobuf:"bytes,1,opt,name=parameters,proto3" json:"parameters,omitempty"`
// contains filtered or unexported fields
}
EnableKeyRequest contains parameters for key enablement
func (*EnableKeyRequest) Descriptor
deprecated
func (*EnableKeyRequest) Descriptor() ([]byte, []int)
Deprecated: Use EnableKeyRequest.ProtoReflect.Descriptor instead.
func (*EnableKeyRequest) GetParameters ¶
func (x *EnableKeyRequest) GetParameters() *RequestParameters
func (*EnableKeyRequest) ProtoMessage ¶
func (*EnableKeyRequest) ProtoMessage()
func (*EnableKeyRequest) ProtoReflect ¶
func (x *EnableKeyRequest) ProtoReflect() protoreflect.Message
func (*EnableKeyRequest) Reset ¶
func (x *EnableKeyRequest) Reset()
func (*EnableKeyRequest) String ¶
func (x *EnableKeyRequest) String() string
func (*EnableKeyRequest) Validate ¶
func (m *EnableKeyRequest) Validate() error
Validate checks the field values on EnableKeyRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*EnableKeyRequest) ValidateAll ¶
func (m *EnableKeyRequest) ValidateAll() error
ValidateAll checks the field values on EnableKeyRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in EnableKeyRequestMultiError, or nil if none found.
type EnableKeyRequestMultiError ¶
type EnableKeyRequestMultiError []error
EnableKeyRequestMultiError is an error wrapping multiple validation errors returned by EnableKeyRequest.ValidateAll() if the designated constraints aren't met.
func (EnableKeyRequestMultiError) AllErrors ¶
func (m EnableKeyRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (EnableKeyRequestMultiError) Error ¶
func (m EnableKeyRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type EnableKeyRequestValidationError ¶
type EnableKeyRequestValidationError struct {
// contains filtered or unexported fields
}
EnableKeyRequestValidationError is the validation error returned by EnableKeyRequest.Validate if the designated constraints aren't met.
func (EnableKeyRequestValidationError) Cause ¶
func (e EnableKeyRequestValidationError) Cause() error
Cause function returns cause value.
func (EnableKeyRequestValidationError) Error ¶
func (e EnableKeyRequestValidationError) Error() string
Error satisfies the builtin error interface
func (EnableKeyRequestValidationError) ErrorName ¶
func (e EnableKeyRequestValidationError) ErrorName() string
ErrorName returns error name.
func (EnableKeyRequestValidationError) Field ¶
func (e EnableKeyRequestValidationError) Field() string
Field function returns field value.
func (EnableKeyRequestValidationError) Key ¶
func (e EnableKeyRequestValidationError) Key() bool
Key function returns key value.
func (EnableKeyRequestValidationError) Reason ¶
func (e EnableKeyRequestValidationError) Reason() string
Reason function returns reason value.
type EnableKeyResponse ¶
type EnableKeyResponse struct {
// contains filtered or unexported fields
}
func (*EnableKeyResponse) Descriptor
deprecated
func (*EnableKeyResponse) Descriptor() ([]byte, []int)
Deprecated: Use EnableKeyResponse.ProtoReflect.Descriptor instead.
func (*EnableKeyResponse) ProtoMessage ¶
func (*EnableKeyResponse) ProtoMessage()
func (*EnableKeyResponse) ProtoReflect ¶
func (x *EnableKeyResponse) ProtoReflect() protoreflect.Message
func (*EnableKeyResponse) Reset ¶
func (x *EnableKeyResponse) Reset()
func (*EnableKeyResponse) String ¶
func (x *EnableKeyResponse) String() string
func (*EnableKeyResponse) Validate ¶
func (m *EnableKeyResponse) Validate() error
Validate checks the field values on EnableKeyResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*EnableKeyResponse) ValidateAll ¶
func (m *EnableKeyResponse) ValidateAll() error
ValidateAll checks the field values on EnableKeyResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in EnableKeyResponseMultiError, or nil if none found.
type EnableKeyResponseMultiError ¶
type EnableKeyResponseMultiError []error
EnableKeyResponseMultiError is an error wrapping multiple validation errors returned by EnableKeyResponse.ValidateAll() if the designated constraints aren't met.
func (EnableKeyResponseMultiError) AllErrors ¶
func (m EnableKeyResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (EnableKeyResponseMultiError) Error ¶
func (m EnableKeyResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type EnableKeyResponseValidationError ¶
type EnableKeyResponseValidationError struct {
// contains filtered or unexported fields
}
EnableKeyResponseValidationError is the validation error returned by EnableKeyResponse.Validate if the designated constraints aren't met.
func (EnableKeyResponseValidationError) Cause ¶
func (e EnableKeyResponseValidationError) Cause() error
Cause function returns cause value.
func (EnableKeyResponseValidationError) Error ¶
func (e EnableKeyResponseValidationError) Error() string
Error satisfies the builtin error interface
func (EnableKeyResponseValidationError) ErrorName ¶
func (e EnableKeyResponseValidationError) ErrorName() string
ErrorName returns error name.
func (EnableKeyResponseValidationError) Field ¶
func (e EnableKeyResponseValidationError) Field() string
Field function returns field value.
func (EnableKeyResponseValidationError) Key ¶
func (e EnableKeyResponseValidationError) Key() bool
Key function returns key value.
func (EnableKeyResponseValidationError) Reason ¶
func (e EnableKeyResponseValidationError) Reason() string
Reason function returns reason value.
type GetImportParametersRequest ¶
type GetImportParametersRequest struct {
Parameters *RequestParameters `protobuf:"bytes,1,opt,name=parameters,proto3" json:"parameters,omitempty"`
Algorithm KeyAlgorithm `protobuf:"varint,2,opt,name=algorithm,proto3,enum=plugin.keystore.operations.v1.KeyAlgorithm" json:"algorithm,omitempty"`
// contains filtered or unexported fields
}
GetImportParametersRequest contains parameters for retrieving import parameters
func (*GetImportParametersRequest) Descriptor
deprecated
func (*GetImportParametersRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetImportParametersRequest.ProtoReflect.Descriptor instead.
func (*GetImportParametersRequest) GetAlgorithm ¶
func (x *GetImportParametersRequest) GetAlgorithm() KeyAlgorithm
func (*GetImportParametersRequest) GetParameters ¶
func (x *GetImportParametersRequest) GetParameters() *RequestParameters
func (*GetImportParametersRequest) ProtoMessage ¶
func (*GetImportParametersRequest) ProtoMessage()
func (*GetImportParametersRequest) ProtoReflect ¶
func (x *GetImportParametersRequest) ProtoReflect() protoreflect.Message
func (*GetImportParametersRequest) Reset ¶
func (x *GetImportParametersRequest) Reset()
func (*GetImportParametersRequest) String ¶
func (x *GetImportParametersRequest) String() string
func (*GetImportParametersRequest) Validate ¶
func (m *GetImportParametersRequest) Validate() error
Validate checks the field values on GetImportParametersRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GetImportParametersRequest) ValidateAll ¶
func (m *GetImportParametersRequest) ValidateAll() error
ValidateAll checks the field values on GetImportParametersRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetImportParametersRequestMultiError, or nil if none found.
type GetImportParametersRequestMultiError ¶
type GetImportParametersRequestMultiError []error
GetImportParametersRequestMultiError is an error wrapping multiple validation errors returned by GetImportParametersRequest.ValidateAll() if the designated constraints aren't met.
func (GetImportParametersRequestMultiError) AllErrors ¶
func (m GetImportParametersRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetImportParametersRequestMultiError) Error ¶
func (m GetImportParametersRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetImportParametersRequestValidationError ¶
type GetImportParametersRequestValidationError struct {
// contains filtered or unexported fields
}
GetImportParametersRequestValidationError is the validation error returned by GetImportParametersRequest.Validate if the designated constraints aren't met.
func (GetImportParametersRequestValidationError) Cause ¶
func (e GetImportParametersRequestValidationError) Cause() error
Cause function returns cause value.
func (GetImportParametersRequestValidationError) Error ¶
func (e GetImportParametersRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetImportParametersRequestValidationError) ErrorName ¶
func (e GetImportParametersRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetImportParametersRequestValidationError) Field ¶
func (e GetImportParametersRequestValidationError) Field() string
Field function returns field value.
func (GetImportParametersRequestValidationError) Key ¶
func (e GetImportParametersRequestValidationError) Key() bool
Key function returns key value.
func (GetImportParametersRequestValidationError) Reason ¶
func (e GetImportParametersRequestValidationError) Reason() string
Reason function returns reason value.
type GetImportParametersResponse ¶
type GetImportParametersResponse struct {
KeyId string `protobuf:"bytes,1,opt,name=key_id,json=keyId,proto3" json:"key_id,omitempty"`
ImportParameters *structpb.Struct `protobuf:"bytes,2,opt,name=import_parameters,json=importParameters,proto3" json:"import_parameters,omitempty"` // The parameters needed for importing key material
// contains filtered or unexported fields
}
ImportKeyMaterialRequest contains parameters for importing key material
func (*GetImportParametersResponse) Descriptor
deprecated
func (*GetImportParametersResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetImportParametersResponse.ProtoReflect.Descriptor instead.
func (*GetImportParametersResponse) GetImportParameters ¶
func (x *GetImportParametersResponse) GetImportParameters() *structpb.Struct
func (*GetImportParametersResponse) GetKeyId ¶
func (x *GetImportParametersResponse) GetKeyId() string
func (*GetImportParametersResponse) ProtoMessage ¶
func (*GetImportParametersResponse) ProtoMessage()
func (*GetImportParametersResponse) ProtoReflect ¶
func (x *GetImportParametersResponse) ProtoReflect() protoreflect.Message
func (*GetImportParametersResponse) Reset ¶
func (x *GetImportParametersResponse) Reset()
func (*GetImportParametersResponse) String ¶
func (x *GetImportParametersResponse) String() string
func (*GetImportParametersResponse) Validate ¶
func (m *GetImportParametersResponse) Validate() error
Validate checks the field values on GetImportParametersResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GetImportParametersResponse) ValidateAll ¶
func (m *GetImportParametersResponse) ValidateAll() error
ValidateAll checks the field values on GetImportParametersResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetImportParametersResponseMultiError, or nil if none found.
type GetImportParametersResponseMultiError ¶
type GetImportParametersResponseMultiError []error
GetImportParametersResponseMultiError is an error wrapping multiple validation errors returned by GetImportParametersResponse.ValidateAll() if the designated constraints aren't met.
func (GetImportParametersResponseMultiError) AllErrors ¶
func (m GetImportParametersResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetImportParametersResponseMultiError) Error ¶
func (m GetImportParametersResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetImportParametersResponseValidationError ¶
type GetImportParametersResponseValidationError struct {
// contains filtered or unexported fields
}
GetImportParametersResponseValidationError is the validation error returned by GetImportParametersResponse.Validate if the designated constraints aren't met.
func (GetImportParametersResponseValidationError) Cause ¶
func (e GetImportParametersResponseValidationError) Cause() error
Cause function returns cause value.
func (GetImportParametersResponseValidationError) Error ¶
func (e GetImportParametersResponseValidationError) Error() string
Error satisfies the builtin error interface
func (GetImportParametersResponseValidationError) ErrorName ¶
func (e GetImportParametersResponseValidationError) ErrorName() string
ErrorName returns error name.
func (GetImportParametersResponseValidationError) Field ¶
func (e GetImportParametersResponseValidationError) Field() string
Field function returns field value.
func (GetImportParametersResponseValidationError) Key ¶
func (e GetImportParametersResponseValidationError) Key() bool
Key function returns key value.
func (GetImportParametersResponseValidationError) Reason ¶
func (e GetImportParametersResponseValidationError) Reason() string
Reason function returns reason value.
type GetKeyRequest ¶
type GetKeyRequest struct {
Parameters *RequestParameters `protobuf:"bytes,1,opt,name=parameters,proto3" json:"parameters,omitempty"`
// contains filtered or unexported fields
}
GetKeyRequest contains parameters for key retrieval
func (*GetKeyRequest) Descriptor
deprecated
func (*GetKeyRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetKeyRequest.ProtoReflect.Descriptor instead.
func (*GetKeyRequest) GetParameters ¶
func (x *GetKeyRequest) GetParameters() *RequestParameters
func (*GetKeyRequest) ProtoMessage ¶
func (*GetKeyRequest) ProtoMessage()
func (*GetKeyRequest) ProtoReflect ¶
func (x *GetKeyRequest) ProtoReflect() protoreflect.Message
func (*GetKeyRequest) Reset ¶
func (x *GetKeyRequest) Reset()
func (*GetKeyRequest) String ¶
func (x *GetKeyRequest) String() string
func (*GetKeyRequest) Validate ¶
func (m *GetKeyRequest) Validate() error
Validate checks the field values on GetKeyRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GetKeyRequest) ValidateAll ¶
func (m *GetKeyRequest) ValidateAll() error
ValidateAll checks the field values on GetKeyRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetKeyRequestMultiError, or nil if none found.
type GetKeyRequestMultiError ¶
type GetKeyRequestMultiError []error
GetKeyRequestMultiError is an error wrapping multiple validation errors returned by GetKeyRequest.ValidateAll() if the designated constraints aren't met.
func (GetKeyRequestMultiError) AllErrors ¶
func (m GetKeyRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetKeyRequestMultiError) Error ¶
func (m GetKeyRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetKeyRequestValidationError ¶
type GetKeyRequestValidationError struct {
// contains filtered or unexported fields
}
GetKeyRequestValidationError is the validation error returned by GetKeyRequest.Validate if the designated constraints aren't met.
func (GetKeyRequestValidationError) Cause ¶
func (e GetKeyRequestValidationError) Cause() error
Cause function returns cause value.
func (GetKeyRequestValidationError) Error ¶
func (e GetKeyRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetKeyRequestValidationError) ErrorName ¶
func (e GetKeyRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetKeyRequestValidationError) Field ¶
func (e GetKeyRequestValidationError) Field() string
Field function returns field value.
func (GetKeyRequestValidationError) Key ¶
func (e GetKeyRequestValidationError) Key() bool
Key function returns key value.
func (GetKeyRequestValidationError) Reason ¶
func (e GetKeyRequestValidationError) Reason() string
Reason function returns reason value.
type GetKeyResponse ¶
type GetKeyResponse struct {
KeyId string `protobuf:"bytes,1,opt,name=key_id,json=keyId,proto3" json:"key_id,omitempty"` // The ID of the retrieved key
Algorithm KeyAlgorithm `protobuf:"varint,2,opt,name=algorithm,proto3,enum=plugin.keystore.operations.v1.KeyAlgorithm" json:"algorithm,omitempty"` // The algorithm used for the key
Status string `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"` // The current status of the key (e.g., enabled, disabled)
Usage string `protobuf:"bytes,4,opt,name=usage,proto3" json:"usage,omitempty"` // The intended usage of the key (e.g., encryption, signing)
// contains filtered or unexported fields
}
func (*GetKeyResponse) Descriptor
deprecated
func (*GetKeyResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetKeyResponse.ProtoReflect.Descriptor instead.
func (*GetKeyResponse) GetAlgorithm ¶
func (x *GetKeyResponse) GetAlgorithm() KeyAlgorithm
func (*GetKeyResponse) GetKeyId ¶
func (x *GetKeyResponse) GetKeyId() string
func (*GetKeyResponse) GetStatus ¶
func (x *GetKeyResponse) GetStatus() string
func (*GetKeyResponse) GetUsage ¶
func (x *GetKeyResponse) GetUsage() string
func (*GetKeyResponse) ProtoMessage ¶
func (*GetKeyResponse) ProtoMessage()
func (*GetKeyResponse) ProtoReflect ¶
func (x *GetKeyResponse) ProtoReflect() protoreflect.Message
func (*GetKeyResponse) Reset ¶
func (x *GetKeyResponse) Reset()
func (*GetKeyResponse) String ¶
func (x *GetKeyResponse) String() string
func (*GetKeyResponse) Validate ¶
func (m *GetKeyResponse) Validate() error
Validate checks the field values on GetKeyResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GetKeyResponse) ValidateAll ¶
func (m *GetKeyResponse) ValidateAll() error
ValidateAll checks the field values on GetKeyResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetKeyResponseMultiError, or nil if none found.
type GetKeyResponseMultiError ¶
type GetKeyResponseMultiError []error
GetKeyResponseMultiError is an error wrapping multiple validation errors returned by GetKeyResponse.ValidateAll() if the designated constraints aren't met.
func (GetKeyResponseMultiError) AllErrors ¶
func (m GetKeyResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetKeyResponseMultiError) Error ¶
func (m GetKeyResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetKeyResponseValidationError ¶
type GetKeyResponseValidationError struct {
// contains filtered or unexported fields
}
GetKeyResponseValidationError is the validation error returned by GetKeyResponse.Validate if the designated constraints aren't met.
func (GetKeyResponseValidationError) Cause ¶
func (e GetKeyResponseValidationError) Cause() error
Cause function returns cause value.
func (GetKeyResponseValidationError) Error ¶
func (e GetKeyResponseValidationError) Error() string
Error satisfies the builtin error interface
func (GetKeyResponseValidationError) ErrorName ¶
func (e GetKeyResponseValidationError) ErrorName() string
ErrorName returns error name.
func (GetKeyResponseValidationError) Field ¶
func (e GetKeyResponseValidationError) Field() string
Field function returns field value.
func (GetKeyResponseValidationError) Key ¶
func (e GetKeyResponseValidationError) Key() bool
Key function returns key value.
func (GetKeyResponseValidationError) Reason ¶
func (e GetKeyResponseValidationError) Reason() string
Reason function returns reason value.
type ImportKeyMaterialRequest ¶
type ImportKeyMaterialRequest struct {
Parameters *RequestParameters `protobuf:"bytes,1,opt,name=parameters,proto3" json:"parameters,omitempty"`
ImportParameters *structpb.Struct `protobuf:"bytes,2,opt,name=import_parameters,json=importParameters,proto3" json:"import_parameters,omitempty"` // The parameters needed for importing key material
EncryptedKeyMaterial string `protobuf:"bytes,3,opt,name=encrypted_key_material,json=encryptedKeyMaterial,proto3" json:"encrypted_key_material,omitempty"` // The encrypted key material to be imported
// contains filtered or unexported fields
}
ImportKeyMaterialRequest contains parameters for importing key material
func (*ImportKeyMaterialRequest) Descriptor
deprecated
func (*ImportKeyMaterialRequest) Descriptor() ([]byte, []int)
Deprecated: Use ImportKeyMaterialRequest.ProtoReflect.Descriptor instead.
func (*ImportKeyMaterialRequest) GetEncryptedKeyMaterial ¶
func (x *ImportKeyMaterialRequest) GetEncryptedKeyMaterial() string
func (*ImportKeyMaterialRequest) GetImportParameters ¶
func (x *ImportKeyMaterialRequest) GetImportParameters() *structpb.Struct
func (*ImportKeyMaterialRequest) GetParameters ¶
func (x *ImportKeyMaterialRequest) GetParameters() *RequestParameters
func (*ImportKeyMaterialRequest) ProtoMessage ¶
func (*ImportKeyMaterialRequest) ProtoMessage()
func (*ImportKeyMaterialRequest) ProtoReflect ¶
func (x *ImportKeyMaterialRequest) ProtoReflect() protoreflect.Message
func (*ImportKeyMaterialRequest) Reset ¶
func (x *ImportKeyMaterialRequest) Reset()
func (*ImportKeyMaterialRequest) String ¶
func (x *ImportKeyMaterialRequest) String() string
func (*ImportKeyMaterialRequest) Validate ¶
func (m *ImportKeyMaterialRequest) Validate() error
Validate checks the field values on ImportKeyMaterialRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ImportKeyMaterialRequest) ValidateAll ¶
func (m *ImportKeyMaterialRequest) ValidateAll() error
ValidateAll checks the field values on ImportKeyMaterialRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ImportKeyMaterialRequestMultiError, or nil if none found.
type ImportKeyMaterialRequestMultiError ¶
type ImportKeyMaterialRequestMultiError []error
ImportKeyMaterialRequestMultiError is an error wrapping multiple validation errors returned by ImportKeyMaterialRequest.ValidateAll() if the designated constraints aren't met.
func (ImportKeyMaterialRequestMultiError) AllErrors ¶
func (m ImportKeyMaterialRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ImportKeyMaterialRequestMultiError) Error ¶
func (m ImportKeyMaterialRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ImportKeyMaterialRequestValidationError ¶
type ImportKeyMaterialRequestValidationError struct {
// contains filtered or unexported fields
}
ImportKeyMaterialRequestValidationError is the validation error returned by ImportKeyMaterialRequest.Validate if the designated constraints aren't met.
func (ImportKeyMaterialRequestValidationError) Cause ¶
func (e ImportKeyMaterialRequestValidationError) Cause() error
Cause function returns cause value.
func (ImportKeyMaterialRequestValidationError) Error ¶
func (e ImportKeyMaterialRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ImportKeyMaterialRequestValidationError) ErrorName ¶
func (e ImportKeyMaterialRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ImportKeyMaterialRequestValidationError) Field ¶
func (e ImportKeyMaterialRequestValidationError) Field() string
Field function returns field value.
func (ImportKeyMaterialRequestValidationError) Key ¶
func (e ImportKeyMaterialRequestValidationError) Key() bool
Key function returns key value.
func (ImportKeyMaterialRequestValidationError) Reason ¶
func (e ImportKeyMaterialRequestValidationError) Reason() string
Reason function returns reason value.
type ImportKeyMaterialResponse ¶
type ImportKeyMaterialResponse struct {
// contains filtered or unexported fields
}
ImportKeyMaterialResponse contains the response for key material import
func (*ImportKeyMaterialResponse) Descriptor
deprecated
func (*ImportKeyMaterialResponse) Descriptor() ([]byte, []int)
Deprecated: Use ImportKeyMaterialResponse.ProtoReflect.Descriptor instead.
func (*ImportKeyMaterialResponse) ProtoMessage ¶
func (*ImportKeyMaterialResponse) ProtoMessage()
func (*ImportKeyMaterialResponse) ProtoReflect ¶
func (x *ImportKeyMaterialResponse) ProtoReflect() protoreflect.Message
func (*ImportKeyMaterialResponse) Reset ¶
func (x *ImportKeyMaterialResponse) Reset()
func (*ImportKeyMaterialResponse) String ¶
func (x *ImportKeyMaterialResponse) String() string
func (*ImportKeyMaterialResponse) Validate ¶
func (m *ImportKeyMaterialResponse) Validate() error
Validate checks the field values on ImportKeyMaterialResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ImportKeyMaterialResponse) ValidateAll ¶
func (m *ImportKeyMaterialResponse) ValidateAll() error
ValidateAll checks the field values on ImportKeyMaterialResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ImportKeyMaterialResponseMultiError, or nil if none found.
type ImportKeyMaterialResponseMultiError ¶
type ImportKeyMaterialResponseMultiError []error
ImportKeyMaterialResponseMultiError is an error wrapping multiple validation errors returned by ImportKeyMaterialResponse.ValidateAll() if the designated constraints aren't met.
func (ImportKeyMaterialResponseMultiError) AllErrors ¶
func (m ImportKeyMaterialResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ImportKeyMaterialResponseMultiError) Error ¶
func (m ImportKeyMaterialResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ImportKeyMaterialResponseValidationError ¶
type ImportKeyMaterialResponseValidationError struct {
// contains filtered or unexported fields
}
ImportKeyMaterialResponseValidationError is the validation error returned by ImportKeyMaterialResponse.Validate if the designated constraints aren't met.
func (ImportKeyMaterialResponseValidationError) Cause ¶
func (e ImportKeyMaterialResponseValidationError) Cause() error
Cause function returns cause value.
func (ImportKeyMaterialResponseValidationError) Error ¶
func (e ImportKeyMaterialResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ImportKeyMaterialResponseValidationError) ErrorName ¶
func (e ImportKeyMaterialResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ImportKeyMaterialResponseValidationError) Field ¶
func (e ImportKeyMaterialResponseValidationError) Field() string
Field function returns field value.
func (ImportKeyMaterialResponseValidationError) Key ¶
func (e ImportKeyMaterialResponseValidationError) Key() bool
Key function returns key value.
func (ImportKeyMaterialResponseValidationError) Reason ¶
func (e ImportKeyMaterialResponseValidationError) Reason() string
Reason function returns reason value.
type KeyAlgorithm ¶
type KeyAlgorithm int32
KeyAlgorithm defines the supported key algorithms across all operations
const ( KeyAlgorithm_KEY_ALGORITHM_UNSPECIFIED KeyAlgorithm = 0 KeyAlgorithm_KEY_ALGORITHM_AES256 KeyAlgorithm = 1 KeyAlgorithm_KEY_ALGORITHM_RSA3072 KeyAlgorithm = 2 KeyAlgorithm_KEY_ALGORITHM_RSA4096 KeyAlgorithm = 3 )
func (KeyAlgorithm) Descriptor ¶
func (KeyAlgorithm) Descriptor() protoreflect.EnumDescriptor
func (KeyAlgorithm) Enum ¶
func (x KeyAlgorithm) Enum() *KeyAlgorithm
func (KeyAlgorithm) EnumDescriptor
deprecated
func (KeyAlgorithm) EnumDescriptor() ([]byte, []int)
Deprecated: Use KeyAlgorithm.Descriptor instead.
func (KeyAlgorithm) Number ¶
func (x KeyAlgorithm) Number() protoreflect.EnumNumber
func (KeyAlgorithm) String ¶
func (x KeyAlgorithm) String() string
func (KeyAlgorithm) Type ¶
func (KeyAlgorithm) Type() protoreflect.EnumType
type KeyType ¶
type KeyType int32
func (KeyType) Descriptor ¶
func (KeyType) Descriptor() protoreflect.EnumDescriptor
func (KeyType) EnumDescriptor
deprecated
func (KeyType) Number ¶
func (x KeyType) Number() protoreflect.EnumNumber
func (KeyType) Type ¶
func (KeyType) Type() protoreflect.EnumType
type KeystoreInstanceKeyOperationClient ¶
type KeystoreInstanceKeyOperationClient interface {
// GetKey retrieves the details of a key by its ID
GetKey(ctx context.Context, in *GetKeyRequest, opts ...grpc.CallOption) (*GetKeyResponse, error)
// CreateKey generates a new key with the specified algorithm
CreateKey(ctx context.Context, in *CreateKeyRequest, opts ...grpc.CallOption) (*CreateKeyResponse, error)
// DeleteKey removes a key, optionally with a deletion window
DeleteKey(ctx context.Context, in *DeleteKeyRequest, opts ...grpc.CallOption) (*DeleteKeyResponse, error)
// EnableKey activates a previously disabled key
EnableKey(ctx context.Context, in *EnableKeyRequest, opts ...grpc.CallOption) (*EnableKeyResponse, error)
// DisableKey deactivates a key while maintaining its existence
DisableKey(ctx context.Context, in *DisableKeyRequest, opts ...grpc.CallOption) (*DisableKeyResponse, error)
// Gets the parameters needed for importing key material
GetImportParameters(ctx context.Context, in *GetImportParametersRequest, opts ...grpc.CallOption) (*GetImportParametersResponse, error)
// Imports key material into a KMS key
ImportKeyMaterial(ctx context.Context, in *ImportKeyMaterialRequest, opts ...grpc.CallOption) (*ImportKeyMaterialResponse, error)
}
KeystoreInstanceKeyOperationClient is the client API for KeystoreInstanceKeyOperation 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 NewKeystoreInstanceKeyOperationClient ¶
func NewKeystoreInstanceKeyOperationClient(cc grpc.ClientConnInterface) KeystoreInstanceKeyOperationClient
type KeystoreInstanceKeyOperationPluginClient ¶
type KeystoreInstanceKeyOperationPluginClient struct {
KeystoreInstanceKeyOperationClient
}
func (*KeystoreInstanceKeyOperationPluginClient) GRPCServiceName ¶
func (c *KeystoreInstanceKeyOperationPluginClient) GRPCServiceName() string
func (*KeystoreInstanceKeyOperationPluginClient) InitClient ¶
func (c *KeystoreInstanceKeyOperationPluginClient) InitClient(conn grpc.ClientConnInterface) any
func (*KeystoreInstanceKeyOperationPluginClient) IsInitialized ¶
func (c *KeystoreInstanceKeyOperationPluginClient) IsInitialized() bool
func (KeystoreInstanceKeyOperationPluginClient) Type ¶
func (s KeystoreInstanceKeyOperationPluginClient) Type() string
type KeystoreInstanceKeyOperationServer ¶
type KeystoreInstanceKeyOperationServer interface {
// GetKey retrieves the details of a key by its ID
GetKey(context.Context, *GetKeyRequest) (*GetKeyResponse, error)
// CreateKey generates a new key with the specified algorithm
CreateKey(context.Context, *CreateKeyRequest) (*CreateKeyResponse, error)
// DeleteKey removes a key, optionally with a deletion window
DeleteKey(context.Context, *DeleteKeyRequest) (*DeleteKeyResponse, error)
// EnableKey activates a previously disabled key
EnableKey(context.Context, *EnableKeyRequest) (*EnableKeyResponse, error)
// DisableKey deactivates a key while maintaining its existence
DisableKey(context.Context, *DisableKeyRequest) (*DisableKeyResponse, error)
// Gets the parameters needed for importing key material
GetImportParameters(context.Context, *GetImportParametersRequest) (*GetImportParametersResponse, error)
// Imports key material into a KMS key
ImportKeyMaterial(context.Context, *ImportKeyMaterialRequest) (*ImportKeyMaterialResponse, error)
// contains filtered or unexported methods
}
KeystoreInstanceKeyOperationServer is the server API for KeystoreInstanceKeyOperation service. All implementations must embed UnimplementedKeystoreInstanceKeyOperationServer for forward compatibility
type RequestParameters ¶
type RequestParameters struct {
Config *v1.KeystoreInstanceConfig `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"`
KeyId string `protobuf:"bytes,2,opt,name=key_id,json=keyId,proto3" json:"key_id,omitempty"`
// contains filtered or unexported fields
}
RequestParameters contains the common fields needed for most key operations
func (*RequestParameters) Descriptor
deprecated
func (*RequestParameters) Descriptor() ([]byte, []int)
Deprecated: Use RequestParameters.ProtoReflect.Descriptor instead.
func (*RequestParameters) GetConfig ¶
func (x *RequestParameters) GetConfig() *v1.KeystoreInstanceConfig
func (*RequestParameters) GetKeyId ¶
func (x *RequestParameters) GetKeyId() string
func (*RequestParameters) ProtoMessage ¶
func (*RequestParameters) ProtoMessage()
func (*RequestParameters) ProtoReflect ¶
func (x *RequestParameters) ProtoReflect() protoreflect.Message
func (*RequestParameters) Reset ¶
func (x *RequestParameters) Reset()
func (*RequestParameters) String ¶
func (x *RequestParameters) String() string
func (*RequestParameters) Validate ¶
func (m *RequestParameters) Validate() error
Validate checks the field values on RequestParameters with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*RequestParameters) ValidateAll ¶
func (m *RequestParameters) ValidateAll() error
ValidateAll checks the field values on RequestParameters with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in RequestParametersMultiError, or nil if none found.
type RequestParametersMultiError ¶
type RequestParametersMultiError []error
RequestParametersMultiError is an error wrapping multiple validation errors returned by RequestParameters.ValidateAll() if the designated constraints aren't met.
func (RequestParametersMultiError) AllErrors ¶
func (m RequestParametersMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (RequestParametersMultiError) Error ¶
func (m RequestParametersMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type RequestParametersValidationError ¶
type RequestParametersValidationError struct {
// contains filtered or unexported fields
}
RequestParametersValidationError is the validation error returned by RequestParameters.Validate if the designated constraints aren't met.
func (RequestParametersValidationError) Cause ¶
func (e RequestParametersValidationError) Cause() error
Cause function returns cause value.
func (RequestParametersValidationError) Error ¶
func (e RequestParametersValidationError) Error() string
Error satisfies the builtin error interface
func (RequestParametersValidationError) ErrorName ¶
func (e RequestParametersValidationError) ErrorName() string
ErrorName returns error name.
func (RequestParametersValidationError) Field ¶
func (e RequestParametersValidationError) Field() string
Field function returns field value.
func (RequestParametersValidationError) Key ¶
func (e RequestParametersValidationError) Key() bool
Key function returns key value.
func (RequestParametersValidationError) Reason ¶
func (e RequestParametersValidationError) Reason() string
Reason function returns reason value.
type UnimplementedKeystoreInstanceKeyOperationServer ¶
type UnimplementedKeystoreInstanceKeyOperationServer struct {
}
UnimplementedKeystoreInstanceKeyOperationServer must be embedded to have forward compatible implementations.
func (UnimplementedKeystoreInstanceKeyOperationServer) CreateKey ¶
func (UnimplementedKeystoreInstanceKeyOperationServer) CreateKey(context.Context, *CreateKeyRequest) (*CreateKeyResponse, error)
func (UnimplementedKeystoreInstanceKeyOperationServer) DeleteKey ¶
func (UnimplementedKeystoreInstanceKeyOperationServer) DeleteKey(context.Context, *DeleteKeyRequest) (*DeleteKeyResponse, error)
func (UnimplementedKeystoreInstanceKeyOperationServer) DisableKey ¶
func (UnimplementedKeystoreInstanceKeyOperationServer) DisableKey(context.Context, *DisableKeyRequest) (*DisableKeyResponse, error)
func (UnimplementedKeystoreInstanceKeyOperationServer) EnableKey ¶
func (UnimplementedKeystoreInstanceKeyOperationServer) EnableKey(context.Context, *EnableKeyRequest) (*EnableKeyResponse, error)
func (UnimplementedKeystoreInstanceKeyOperationServer) GetImportParameters ¶
func (UnimplementedKeystoreInstanceKeyOperationServer) GetImportParameters(context.Context, *GetImportParametersRequest) (*GetImportParametersResponse, error)
func (UnimplementedKeystoreInstanceKeyOperationServer) GetKey ¶
func (UnimplementedKeystoreInstanceKeyOperationServer) GetKey(context.Context, *GetKeyRequest) (*GetKeyResponse, error)
func (UnimplementedKeystoreInstanceKeyOperationServer) ImportKeyMaterial ¶
func (UnimplementedKeystoreInstanceKeyOperationServer) ImportKeyMaterial(context.Context, *ImportKeyMaterialRequest) (*ImportKeyMaterialResponse, error)
type UnsafeKeystoreInstanceKeyOperationServer ¶
type UnsafeKeystoreInstanceKeyOperationServer interface {
// contains filtered or unexported methods
}
UnsafeKeystoreInstanceKeyOperationServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to KeystoreInstanceKeyOperationServer will result in compilation errors.