Documentation
¶
Index ¶
- Constants
- Variables
- func KeystoreProviderPluginServer(server KeystoreProviderServer) api.PluginServer
- func RegisterKeystoreProviderServer(s grpc.ServiceRegistrar, srv KeystoreProviderServer)
- type CreateKeystoreRequest
- func (*CreateKeystoreRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateKeystoreRequest) GetValues() *structpb.Struct
- func (*CreateKeystoreRequest) ProtoMessage()
- func (x *CreateKeystoreRequest) ProtoReflect() protoreflect.Message
- func (x *CreateKeystoreRequest) Reset()
- func (x *CreateKeystoreRequest) String() string
- func (m *CreateKeystoreRequest) Validate() error
- func (m *CreateKeystoreRequest) ValidateAll() error
- type CreateKeystoreRequestMultiError
- type CreateKeystoreRequestValidationError
- func (e CreateKeystoreRequestValidationError) Cause() error
- func (e CreateKeystoreRequestValidationError) Error() string
- func (e CreateKeystoreRequestValidationError) ErrorName() string
- func (e CreateKeystoreRequestValidationError) Field() string
- func (e CreateKeystoreRequestValidationError) Key() bool
- func (e CreateKeystoreRequestValidationError) Reason() string
- type CreateKeystoreResponse
- func (*CreateKeystoreResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateKeystoreResponse) GetConfig() *v1.KeystoreInstanceConfig
- func (*CreateKeystoreResponse) ProtoMessage()
- func (x *CreateKeystoreResponse) ProtoReflect() protoreflect.Message
- func (x *CreateKeystoreResponse) Reset()
- func (x *CreateKeystoreResponse) String() string
- func (m *CreateKeystoreResponse) Validate() error
- func (m *CreateKeystoreResponse) ValidateAll() error
- type CreateKeystoreResponseMultiError
- type CreateKeystoreResponseValidationError
- func (e CreateKeystoreResponseValidationError) Cause() error
- func (e CreateKeystoreResponseValidationError) Error() string
- func (e CreateKeystoreResponseValidationError) ErrorName() string
- func (e CreateKeystoreResponseValidationError) Field() string
- func (e CreateKeystoreResponseValidationError) Key() bool
- func (e CreateKeystoreResponseValidationError) Reason() string
- type DeleteKeystoreRequest
- func (*DeleteKeystoreRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteKeystoreRequest) GetConfig() *v1.KeystoreInstanceConfig
- func (*DeleteKeystoreRequest) ProtoMessage()
- func (x *DeleteKeystoreRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteKeystoreRequest) Reset()
- func (x *DeleteKeystoreRequest) String() string
- func (m *DeleteKeystoreRequest) Validate() error
- func (m *DeleteKeystoreRequest) ValidateAll() error
- type DeleteKeystoreRequestMultiError
- type DeleteKeystoreRequestValidationError
- func (e DeleteKeystoreRequestValidationError) Cause() error
- func (e DeleteKeystoreRequestValidationError) Error() string
- func (e DeleteKeystoreRequestValidationError) ErrorName() string
- func (e DeleteKeystoreRequestValidationError) Field() string
- func (e DeleteKeystoreRequestValidationError) Key() bool
- func (e DeleteKeystoreRequestValidationError) Reason() string
- type DeleteKeystoreResponse
- func (*DeleteKeystoreResponse) Descriptor() ([]byte, []int)deprecated
- func (*DeleteKeystoreResponse) ProtoMessage()
- func (x *DeleteKeystoreResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteKeystoreResponse) Reset()
- func (x *DeleteKeystoreResponse) String() string
- func (m *DeleteKeystoreResponse) Validate() error
- func (m *DeleteKeystoreResponse) ValidateAll() error
- type DeleteKeystoreResponseMultiError
- type DeleteKeystoreResponseValidationError
- func (e DeleteKeystoreResponseValidationError) Cause() error
- func (e DeleteKeystoreResponseValidationError) Error() string
- func (e DeleteKeystoreResponseValidationError) ErrorName() string
- func (e DeleteKeystoreResponseValidationError) Field() string
- func (e DeleteKeystoreResponseValidationError) Key() bool
- func (e DeleteKeystoreResponseValidationError) Reason() string
- type KeystoreProviderClient
- type KeystoreProviderPluginClient
- type KeystoreProviderServer
- type UnimplementedKeystoreProviderServer
- type UnsafeKeystoreProviderServer
Constants ¶
const ( Type = "KeystoreProvider" GRPCServiceFullName = "plugin.keystore.management.v1.KeystoreProvider" )
const ( KeystoreProvider_CreateKeystore_FullMethodName = "/plugin.keystore.management.v1.KeystoreProvider/CreateKeystore" KeystoreProvider_DeleteKeystore_FullMethodName = "/plugin.keystore.management.v1.KeystoreProvider/DeleteKeystore" )
Variables ¶
var File_plugin_keystore_management_v1_management_proto protoreflect.FileDescriptor
var KeystoreProvider_ServiceDesc = grpc.ServiceDesc{ ServiceName: "plugin.keystore.management.v1.KeystoreProvider", HandlerType: (*KeystoreProviderServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateKeystore", Handler: _KeystoreProvider_CreateKeystore_Handler, }, { MethodName: "DeleteKeystore", Handler: _KeystoreProvider_DeleteKeystore_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "plugin/keystore/management/v1/management.proto", }
KeystoreProvider_ServiceDesc is the grpc.ServiceDesc for KeystoreProvider service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func KeystoreProviderPluginServer ¶
func KeystoreProviderPluginServer(server KeystoreProviderServer) api.PluginServer
func RegisterKeystoreProviderServer ¶
func RegisterKeystoreProviderServer(s grpc.ServiceRegistrar, srv KeystoreProviderServer)
Types ¶
type CreateKeystoreRequest ¶
type CreateKeystoreRequest struct {
Values *structpb.Struct `protobuf:"bytes,1,opt,name=values,proto3" json:"values,omitempty"`
// contains filtered or unexported fields
}
func (*CreateKeystoreRequest) Descriptor
deprecated
func (*CreateKeystoreRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateKeystoreRequest.ProtoReflect.Descriptor instead.
func (*CreateKeystoreRequest) GetValues ¶
func (x *CreateKeystoreRequest) GetValues() *structpb.Struct
func (*CreateKeystoreRequest) ProtoMessage ¶
func (*CreateKeystoreRequest) ProtoMessage()
func (*CreateKeystoreRequest) ProtoReflect ¶
func (x *CreateKeystoreRequest) ProtoReflect() protoreflect.Message
func (*CreateKeystoreRequest) Reset ¶
func (x *CreateKeystoreRequest) Reset()
func (*CreateKeystoreRequest) String ¶
func (x *CreateKeystoreRequest) String() string
func (*CreateKeystoreRequest) Validate ¶
func (m *CreateKeystoreRequest) Validate() error
Validate checks the field values on CreateKeystoreRequest 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 (*CreateKeystoreRequest) ValidateAll ¶
func (m *CreateKeystoreRequest) ValidateAll() error
ValidateAll checks the field values on CreateKeystoreRequest 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 CreateKeystoreRequestMultiError, or nil if none found.
type CreateKeystoreRequestMultiError ¶
type CreateKeystoreRequestMultiError []error
CreateKeystoreRequestMultiError is an error wrapping multiple validation errors returned by CreateKeystoreRequest.ValidateAll() if the designated constraints aren't met.
func (CreateKeystoreRequestMultiError) AllErrors ¶
func (m CreateKeystoreRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateKeystoreRequestMultiError) Error ¶
func (m CreateKeystoreRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreateKeystoreRequestValidationError ¶
type CreateKeystoreRequestValidationError struct {
// contains filtered or unexported fields
}
CreateKeystoreRequestValidationError is the validation error returned by CreateKeystoreRequest.Validate if the designated constraints aren't met.
func (CreateKeystoreRequestValidationError) Cause ¶
func (e CreateKeystoreRequestValidationError) Cause() error
Cause function returns cause value.
func (CreateKeystoreRequestValidationError) Error ¶
func (e CreateKeystoreRequestValidationError) Error() string
Error satisfies the builtin error interface
func (CreateKeystoreRequestValidationError) ErrorName ¶
func (e CreateKeystoreRequestValidationError) ErrorName() string
ErrorName returns error name.
func (CreateKeystoreRequestValidationError) Field ¶
func (e CreateKeystoreRequestValidationError) Field() string
Field function returns field value.
func (CreateKeystoreRequestValidationError) Key ¶
func (e CreateKeystoreRequestValidationError) Key() bool
Key function returns key value.
func (CreateKeystoreRequestValidationError) Reason ¶
func (e CreateKeystoreRequestValidationError) Reason() string
Reason function returns reason value.
type CreateKeystoreResponse ¶
type CreateKeystoreResponse struct {
Config *v1.KeystoreInstanceConfig `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"`
// contains filtered or unexported fields
}
func (*CreateKeystoreResponse) Descriptor
deprecated
func (*CreateKeystoreResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateKeystoreResponse.ProtoReflect.Descriptor instead.
func (*CreateKeystoreResponse) GetConfig ¶
func (x *CreateKeystoreResponse) GetConfig() *v1.KeystoreInstanceConfig
func (*CreateKeystoreResponse) ProtoMessage ¶
func (*CreateKeystoreResponse) ProtoMessage()
func (*CreateKeystoreResponse) ProtoReflect ¶
func (x *CreateKeystoreResponse) ProtoReflect() protoreflect.Message
func (*CreateKeystoreResponse) Reset ¶
func (x *CreateKeystoreResponse) Reset()
func (*CreateKeystoreResponse) String ¶
func (x *CreateKeystoreResponse) String() string
func (*CreateKeystoreResponse) Validate ¶
func (m *CreateKeystoreResponse) Validate() error
Validate checks the field values on CreateKeystoreResponse 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 (*CreateKeystoreResponse) ValidateAll ¶
func (m *CreateKeystoreResponse) ValidateAll() error
ValidateAll checks the field values on CreateKeystoreResponse 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 CreateKeystoreResponseMultiError, or nil if none found.
type CreateKeystoreResponseMultiError ¶
type CreateKeystoreResponseMultiError []error
CreateKeystoreResponseMultiError is an error wrapping multiple validation errors returned by CreateKeystoreResponse.ValidateAll() if the designated constraints aren't met.
func (CreateKeystoreResponseMultiError) AllErrors ¶
func (m CreateKeystoreResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateKeystoreResponseMultiError) Error ¶
func (m CreateKeystoreResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreateKeystoreResponseValidationError ¶
type CreateKeystoreResponseValidationError struct {
// contains filtered or unexported fields
}
CreateKeystoreResponseValidationError is the validation error returned by CreateKeystoreResponse.Validate if the designated constraints aren't met.
func (CreateKeystoreResponseValidationError) Cause ¶
func (e CreateKeystoreResponseValidationError) Cause() error
Cause function returns cause value.
func (CreateKeystoreResponseValidationError) Error ¶
func (e CreateKeystoreResponseValidationError) Error() string
Error satisfies the builtin error interface
func (CreateKeystoreResponseValidationError) ErrorName ¶
func (e CreateKeystoreResponseValidationError) ErrorName() string
ErrorName returns error name.
func (CreateKeystoreResponseValidationError) Field ¶
func (e CreateKeystoreResponseValidationError) Field() string
Field function returns field value.
func (CreateKeystoreResponseValidationError) Key ¶
func (e CreateKeystoreResponseValidationError) Key() bool
Key function returns key value.
func (CreateKeystoreResponseValidationError) Reason ¶
func (e CreateKeystoreResponseValidationError) Reason() string
Reason function returns reason value.
type DeleteKeystoreRequest ¶
type DeleteKeystoreRequest struct {
Config *v1.KeystoreInstanceConfig `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"`
// contains filtered or unexported fields
}
func (*DeleteKeystoreRequest) Descriptor
deprecated
func (*DeleteKeystoreRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteKeystoreRequest.ProtoReflect.Descriptor instead.
func (*DeleteKeystoreRequest) GetConfig ¶
func (x *DeleteKeystoreRequest) GetConfig() *v1.KeystoreInstanceConfig
func (*DeleteKeystoreRequest) ProtoMessage ¶
func (*DeleteKeystoreRequest) ProtoMessage()
func (*DeleteKeystoreRequest) ProtoReflect ¶
func (x *DeleteKeystoreRequest) ProtoReflect() protoreflect.Message
func (*DeleteKeystoreRequest) Reset ¶
func (x *DeleteKeystoreRequest) Reset()
func (*DeleteKeystoreRequest) String ¶
func (x *DeleteKeystoreRequest) String() string
func (*DeleteKeystoreRequest) Validate ¶
func (m *DeleteKeystoreRequest) Validate() error
Validate checks the field values on DeleteKeystoreRequest 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 (*DeleteKeystoreRequest) ValidateAll ¶
func (m *DeleteKeystoreRequest) ValidateAll() error
ValidateAll checks the field values on DeleteKeystoreRequest 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 DeleteKeystoreRequestMultiError, or nil if none found.
type DeleteKeystoreRequestMultiError ¶
type DeleteKeystoreRequestMultiError []error
DeleteKeystoreRequestMultiError is an error wrapping multiple validation errors returned by DeleteKeystoreRequest.ValidateAll() if the designated constraints aren't met.
func (DeleteKeystoreRequestMultiError) AllErrors ¶
func (m DeleteKeystoreRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteKeystoreRequestMultiError) Error ¶
func (m DeleteKeystoreRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteKeystoreRequestValidationError ¶
type DeleteKeystoreRequestValidationError struct {
// contains filtered or unexported fields
}
DeleteKeystoreRequestValidationError is the validation error returned by DeleteKeystoreRequest.Validate if the designated constraints aren't met.
func (DeleteKeystoreRequestValidationError) Cause ¶
func (e DeleteKeystoreRequestValidationError) Cause() error
Cause function returns cause value.
func (DeleteKeystoreRequestValidationError) Error ¶
func (e DeleteKeystoreRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteKeystoreRequestValidationError) ErrorName ¶
func (e DeleteKeystoreRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteKeystoreRequestValidationError) Field ¶
func (e DeleteKeystoreRequestValidationError) Field() string
Field function returns field value.
func (DeleteKeystoreRequestValidationError) Key ¶
func (e DeleteKeystoreRequestValidationError) Key() bool
Key function returns key value.
func (DeleteKeystoreRequestValidationError) Reason ¶
func (e DeleteKeystoreRequestValidationError) Reason() string
Reason function returns reason value.
type DeleteKeystoreResponse ¶
type DeleteKeystoreResponse struct {
// contains filtered or unexported fields
}
func (*DeleteKeystoreResponse) Descriptor
deprecated
func (*DeleteKeystoreResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteKeystoreResponse.ProtoReflect.Descriptor instead.
func (*DeleteKeystoreResponse) ProtoMessage ¶
func (*DeleteKeystoreResponse) ProtoMessage()
func (*DeleteKeystoreResponse) ProtoReflect ¶
func (x *DeleteKeystoreResponse) ProtoReflect() protoreflect.Message
func (*DeleteKeystoreResponse) Reset ¶
func (x *DeleteKeystoreResponse) Reset()
func (*DeleteKeystoreResponse) String ¶
func (x *DeleteKeystoreResponse) String() string
func (*DeleteKeystoreResponse) Validate ¶
func (m *DeleteKeystoreResponse) Validate() error
Validate checks the field values on DeleteKeystoreResponse 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 (*DeleteKeystoreResponse) ValidateAll ¶
func (m *DeleteKeystoreResponse) ValidateAll() error
ValidateAll checks the field values on DeleteKeystoreResponse 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 DeleteKeystoreResponseMultiError, or nil if none found.
type DeleteKeystoreResponseMultiError ¶
type DeleteKeystoreResponseMultiError []error
DeleteKeystoreResponseMultiError is an error wrapping multiple validation errors returned by DeleteKeystoreResponse.ValidateAll() if the designated constraints aren't met.
func (DeleteKeystoreResponseMultiError) AllErrors ¶
func (m DeleteKeystoreResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteKeystoreResponseMultiError) Error ¶
func (m DeleteKeystoreResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteKeystoreResponseValidationError ¶
type DeleteKeystoreResponseValidationError struct {
// contains filtered or unexported fields
}
DeleteKeystoreResponseValidationError is the validation error returned by DeleteKeystoreResponse.Validate if the designated constraints aren't met.
func (DeleteKeystoreResponseValidationError) Cause ¶
func (e DeleteKeystoreResponseValidationError) Cause() error
Cause function returns cause value.
func (DeleteKeystoreResponseValidationError) Error ¶
func (e DeleteKeystoreResponseValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteKeystoreResponseValidationError) ErrorName ¶
func (e DeleteKeystoreResponseValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteKeystoreResponseValidationError) Field ¶
func (e DeleteKeystoreResponseValidationError) Field() string
Field function returns field value.
func (DeleteKeystoreResponseValidationError) Key ¶
func (e DeleteKeystoreResponseValidationError) Key() bool
Key function returns key value.
func (DeleteKeystoreResponseValidationError) Reason ¶
func (e DeleteKeystoreResponseValidationError) Reason() string
Reason function returns reason value.
type KeystoreProviderClient ¶
type KeystoreProviderClient interface {
CreateKeystore(ctx context.Context, in *CreateKeystoreRequest, opts ...grpc.CallOption) (*CreateKeystoreResponse, error)
DeleteKeystore(ctx context.Context, in *DeleteKeystoreRequest, opts ...grpc.CallOption) (*DeleteKeystoreResponse, error)
}
KeystoreProviderClient is the client API for KeystoreProvider 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 NewKeystoreProviderClient ¶
func NewKeystoreProviderClient(cc grpc.ClientConnInterface) KeystoreProviderClient
type KeystoreProviderPluginClient ¶
type KeystoreProviderPluginClient struct {
KeystoreProviderClient
}
func (*KeystoreProviderPluginClient) GRPCServiceName ¶
func (c *KeystoreProviderPluginClient) GRPCServiceName() string
func (*KeystoreProviderPluginClient) InitClient ¶
func (c *KeystoreProviderPluginClient) InitClient(conn grpc.ClientConnInterface) any
func (*KeystoreProviderPluginClient) IsInitialized ¶
func (c *KeystoreProviderPluginClient) IsInitialized() bool
func (KeystoreProviderPluginClient) Type ¶
func (s KeystoreProviderPluginClient) Type() string
type KeystoreProviderServer ¶
type KeystoreProviderServer interface {
CreateKeystore(context.Context, *CreateKeystoreRequest) (*CreateKeystoreResponse, error)
DeleteKeystore(context.Context, *DeleteKeystoreRequest) (*DeleteKeystoreResponse, error)
// contains filtered or unexported methods
}
KeystoreProviderServer is the server API for KeystoreProvider service. All implementations must embed UnimplementedKeystoreProviderServer for forward compatibility
type UnimplementedKeystoreProviderServer ¶
type UnimplementedKeystoreProviderServer struct {
}
UnimplementedKeystoreProviderServer must be embedded to have forward compatible implementations.
func (UnimplementedKeystoreProviderServer) CreateKeystore ¶
func (UnimplementedKeystoreProviderServer) CreateKeystore(context.Context, *CreateKeystoreRequest) (*CreateKeystoreResponse, error)
func (UnimplementedKeystoreProviderServer) DeleteKeystore ¶
func (UnimplementedKeystoreProviderServer) DeleteKeystore(context.Context, *DeleteKeystoreRequest) (*DeleteKeystoreResponse, error)
type UnsafeKeystoreProviderServer ¶
type UnsafeKeystoreProviderServer interface {
// contains filtered or unexported methods
}
UnsafeKeystoreProviderServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to KeystoreProviderServer will result in compilation errors.