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
- 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
- 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
- type DeleteKeystoreResponse
- 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
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
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
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
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.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
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.