Documentation ¶
Overview ¶
Package kasregistry is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func RegisterKeyAccessServerRegistryServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterKeyAccessServerRegistryServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, ...) error
- func RegisterKeyAccessServerRegistryServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterKeyAccessServerRegistryServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, ...) error
- func RegisterKeyAccessServerRegistryServiceServer(s grpc.ServiceRegistrar, srv KeyAccessServerRegistryServiceServer)
- type CreateKeyAccessServerRequest
- func (*CreateKeyAccessServerRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateKeyAccessServerRequest) GetMetadata() *common.MetadataMutable
- func (x *CreateKeyAccessServerRequest) GetPublicKey() *policy.PublicKey
- func (x *CreateKeyAccessServerRequest) GetUri() string
- func (*CreateKeyAccessServerRequest) ProtoMessage()
- func (x *CreateKeyAccessServerRequest) ProtoReflect() protoreflect.Message
- func (x *CreateKeyAccessServerRequest) Reset()
- func (x *CreateKeyAccessServerRequest) String() string
- type CreateKeyAccessServerResponse
- func (*CreateKeyAccessServerResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateKeyAccessServerResponse) GetKeyAccessServer() *policy.KeyAccessServer
- func (*CreateKeyAccessServerResponse) ProtoMessage()
- func (x *CreateKeyAccessServerResponse) ProtoReflect() protoreflect.Message
- func (x *CreateKeyAccessServerResponse) Reset()
- func (x *CreateKeyAccessServerResponse) String() string
- type DeleteKeyAccessServerRequest
- func (*DeleteKeyAccessServerRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteKeyAccessServerRequest) GetId() string
- func (*DeleteKeyAccessServerRequest) ProtoMessage()
- func (x *DeleteKeyAccessServerRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteKeyAccessServerRequest) Reset()
- func (x *DeleteKeyAccessServerRequest) String() string
- type DeleteKeyAccessServerResponse
- func (*DeleteKeyAccessServerResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteKeyAccessServerResponse) GetKeyAccessServer() *policy.KeyAccessServer
- func (*DeleteKeyAccessServerResponse) ProtoMessage()
- func (x *DeleteKeyAccessServerResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteKeyAccessServerResponse) Reset()
- func (x *DeleteKeyAccessServerResponse) String() string
- type GetKeyAccessServerRequest
- func (*GetKeyAccessServerRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetKeyAccessServerRequest) GetId() string
- func (*GetKeyAccessServerRequest) ProtoMessage()
- func (x *GetKeyAccessServerRequest) ProtoReflect() protoreflect.Message
- func (x *GetKeyAccessServerRequest) Reset()
- func (x *GetKeyAccessServerRequest) String() string
- type GetKeyAccessServerResponse
- func (*GetKeyAccessServerResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetKeyAccessServerResponse) GetKeyAccessServer() *policy.KeyAccessServer
- func (*GetKeyAccessServerResponse) ProtoMessage()
- func (x *GetKeyAccessServerResponse) ProtoReflect() protoreflect.Message
- func (x *GetKeyAccessServerResponse) Reset()
- func (x *GetKeyAccessServerResponse) String() string
- type KeyAccessServerRegistryServiceClient
- type KeyAccessServerRegistryServiceServer
- type ListKeyAccessServersRequest
- type ListKeyAccessServersResponse
- func (*ListKeyAccessServersResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListKeyAccessServersResponse) GetKeyAccessServers() []*policy.KeyAccessServer
- func (*ListKeyAccessServersResponse) ProtoMessage()
- func (x *ListKeyAccessServersResponse) ProtoReflect() protoreflect.Message
- func (x *ListKeyAccessServersResponse) Reset()
- func (x *ListKeyAccessServersResponse) String() string
- type UnimplementedKeyAccessServerRegistryServiceServer
- func (UnimplementedKeyAccessServerRegistryServiceServer) CreateKeyAccessServer(context.Context, *CreateKeyAccessServerRequest) (*CreateKeyAccessServerResponse, error)
- func (UnimplementedKeyAccessServerRegistryServiceServer) DeleteKeyAccessServer(context.Context, *DeleteKeyAccessServerRequest) (*DeleteKeyAccessServerResponse, error)
- func (UnimplementedKeyAccessServerRegistryServiceServer) GetKeyAccessServer(context.Context, *GetKeyAccessServerRequest) (*GetKeyAccessServerResponse, error)
- func (UnimplementedKeyAccessServerRegistryServiceServer) ListKeyAccessServers(context.Context, *ListKeyAccessServersRequest) (*ListKeyAccessServersResponse, error)
- func (UnimplementedKeyAccessServerRegistryServiceServer) UpdateKeyAccessServer(context.Context, *UpdateKeyAccessServerRequest) (*UpdateKeyAccessServerResponse, error)
- type UnsafeKeyAccessServerRegistryServiceServer
- type UpdateKeyAccessServerRequest
- func (*UpdateKeyAccessServerRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateKeyAccessServerRequest) GetId() string
- func (x *UpdateKeyAccessServerRequest) GetMetadata() *common.MetadataMutable
- func (x *UpdateKeyAccessServerRequest) GetMetadataUpdateBehavior() common.MetadataUpdateEnum
- func (x *UpdateKeyAccessServerRequest) GetPublicKey() *policy.PublicKey
- func (x *UpdateKeyAccessServerRequest) GetUri() string
- func (*UpdateKeyAccessServerRequest) ProtoMessage()
- func (x *UpdateKeyAccessServerRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateKeyAccessServerRequest) Reset()
- func (x *UpdateKeyAccessServerRequest) String() string
- type UpdateKeyAccessServerResponse
- func (*UpdateKeyAccessServerResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateKeyAccessServerResponse) GetKeyAccessServer() *policy.KeyAccessServer
- func (*UpdateKeyAccessServerResponse) ProtoMessage()
- func (x *UpdateKeyAccessServerResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateKeyAccessServerResponse) Reset()
- func (x *UpdateKeyAccessServerResponse) String() string
Constants ¶
const ( KeyAccessServerRegistryService_ListKeyAccessServers_FullMethodName = "/policy.kasregistry.KeyAccessServerRegistryService/ListKeyAccessServers" KeyAccessServerRegistryService_GetKeyAccessServer_FullMethodName = "/policy.kasregistry.KeyAccessServerRegistryService/GetKeyAccessServer" KeyAccessServerRegistryService_CreateKeyAccessServer_FullMethodName = "/policy.kasregistry.KeyAccessServerRegistryService/CreateKeyAccessServer" KeyAccessServerRegistryService_UpdateKeyAccessServer_FullMethodName = "/policy.kasregistry.KeyAccessServerRegistryService/UpdateKeyAccessServer" KeyAccessServerRegistryService_DeleteKeyAccessServer_FullMethodName = "/policy.kasregistry.KeyAccessServerRegistryService/DeleteKeyAccessServer" )
Variables ¶
var File_policy_kasregistry_key_access_server_registry_proto protoreflect.FileDescriptor
var KeyAccessServerRegistryService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "policy.kasregistry.KeyAccessServerRegistryService", HandlerType: (*KeyAccessServerRegistryServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "ListKeyAccessServers", Handler: _KeyAccessServerRegistryService_ListKeyAccessServers_Handler, }, { MethodName: "GetKeyAccessServer", Handler: _KeyAccessServerRegistryService_GetKeyAccessServer_Handler, }, { MethodName: "CreateKeyAccessServer", Handler: _KeyAccessServerRegistryService_CreateKeyAccessServer_Handler, }, { MethodName: "UpdateKeyAccessServer", Handler: _KeyAccessServerRegistryService_UpdateKeyAccessServer_Handler, }, { MethodName: "DeleteKeyAccessServer", Handler: _KeyAccessServerRegistryService_DeleteKeyAccessServer_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "policy/kasregistry/key_access_server_registry.proto", }
KeyAccessServerRegistryService_ServiceDesc is the grpc.ServiceDesc for KeyAccessServerRegistryService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterKeyAccessServerRegistryServiceHandler ¶
func RegisterKeyAccessServerRegistryServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterKeyAccessServerRegistryServiceHandler registers the http handlers for service KeyAccessServerRegistryService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterKeyAccessServerRegistryServiceHandlerClient ¶
func RegisterKeyAccessServerRegistryServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client KeyAccessServerRegistryServiceClient) error
RegisterKeyAccessServerRegistryServiceHandlerClient registers the http handlers for service KeyAccessServerRegistryService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "KeyAccessServerRegistryServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "KeyAccessServerRegistryServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "KeyAccessServerRegistryServiceClient" to call the correct interceptors.
func RegisterKeyAccessServerRegistryServiceHandlerFromEndpoint ¶
func RegisterKeyAccessServerRegistryServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterKeyAccessServerRegistryServiceHandlerFromEndpoint is same as RegisterKeyAccessServerRegistryServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterKeyAccessServerRegistryServiceHandlerServer ¶
func RegisterKeyAccessServerRegistryServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server KeyAccessServerRegistryServiceServer) error
RegisterKeyAccessServerRegistryServiceHandlerServer registers the http handlers for service KeyAccessServerRegistryService to "mux". UnaryRPC :call KeyAccessServerRegistryServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterKeyAccessServerRegistryServiceHandlerFromEndpoint instead.
func RegisterKeyAccessServerRegistryServiceServer ¶
func RegisterKeyAccessServerRegistryServiceServer(s grpc.ServiceRegistrar, srv KeyAccessServerRegistryServiceServer)
Types ¶
type CreateKeyAccessServerRequest ¶
type CreateKeyAccessServerRequest struct { // Required Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"` PublicKey *policy.PublicKey `protobuf:"bytes,2,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"` // Common metadata Metadata *common.MetadataMutable `protobuf:"bytes,100,opt,name=metadata,proto3" json:"metadata,omitempty"` // contains filtered or unexported fields }
func (*CreateKeyAccessServerRequest) Descriptor
deprecated
func (*CreateKeyAccessServerRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateKeyAccessServerRequest.ProtoReflect.Descriptor instead.
func (*CreateKeyAccessServerRequest) GetMetadata ¶
func (x *CreateKeyAccessServerRequest) GetMetadata() *common.MetadataMutable
func (*CreateKeyAccessServerRequest) GetPublicKey ¶
func (x *CreateKeyAccessServerRequest) GetPublicKey() *policy.PublicKey
func (*CreateKeyAccessServerRequest) GetUri ¶
func (x *CreateKeyAccessServerRequest) GetUri() string
func (*CreateKeyAccessServerRequest) ProtoMessage ¶
func (*CreateKeyAccessServerRequest) ProtoMessage()
func (*CreateKeyAccessServerRequest) ProtoReflect ¶
func (x *CreateKeyAccessServerRequest) ProtoReflect() protoreflect.Message
func (*CreateKeyAccessServerRequest) Reset ¶
func (x *CreateKeyAccessServerRequest) Reset()
func (*CreateKeyAccessServerRequest) String ¶
func (x *CreateKeyAccessServerRequest) String() string
type CreateKeyAccessServerResponse ¶
type CreateKeyAccessServerResponse struct { KeyAccessServer *policy.KeyAccessServer `protobuf:"bytes,1,opt,name=key_access_server,json=keyAccessServer,proto3" json:"key_access_server,omitempty"` // contains filtered or unexported fields }
func (*CreateKeyAccessServerResponse) Descriptor
deprecated
func (*CreateKeyAccessServerResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateKeyAccessServerResponse.ProtoReflect.Descriptor instead.
func (*CreateKeyAccessServerResponse) GetKeyAccessServer ¶
func (x *CreateKeyAccessServerResponse) GetKeyAccessServer() *policy.KeyAccessServer
func (*CreateKeyAccessServerResponse) ProtoMessage ¶
func (*CreateKeyAccessServerResponse) ProtoMessage()
func (*CreateKeyAccessServerResponse) ProtoReflect ¶
func (x *CreateKeyAccessServerResponse) ProtoReflect() protoreflect.Message
func (*CreateKeyAccessServerResponse) Reset ¶
func (x *CreateKeyAccessServerResponse) Reset()
func (*CreateKeyAccessServerResponse) String ¶
func (x *CreateKeyAccessServerResponse) String() string
type DeleteKeyAccessServerRequest ¶
type DeleteKeyAccessServerRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*DeleteKeyAccessServerRequest) Descriptor
deprecated
func (*DeleteKeyAccessServerRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteKeyAccessServerRequest.ProtoReflect.Descriptor instead.
func (*DeleteKeyAccessServerRequest) GetId ¶
func (x *DeleteKeyAccessServerRequest) GetId() string
func (*DeleteKeyAccessServerRequest) ProtoMessage ¶
func (*DeleteKeyAccessServerRequest) ProtoMessage()
func (*DeleteKeyAccessServerRequest) ProtoReflect ¶
func (x *DeleteKeyAccessServerRequest) ProtoReflect() protoreflect.Message
func (*DeleteKeyAccessServerRequest) Reset ¶
func (x *DeleteKeyAccessServerRequest) Reset()
func (*DeleteKeyAccessServerRequest) String ¶
func (x *DeleteKeyAccessServerRequest) String() string
type DeleteKeyAccessServerResponse ¶
type DeleteKeyAccessServerResponse struct { KeyAccessServer *policy.KeyAccessServer `protobuf:"bytes,1,opt,name=key_access_server,json=keyAccessServer,proto3" json:"key_access_server,omitempty"` // contains filtered or unexported fields }
func (*DeleteKeyAccessServerResponse) Descriptor
deprecated
func (*DeleteKeyAccessServerResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteKeyAccessServerResponse.ProtoReflect.Descriptor instead.
func (*DeleteKeyAccessServerResponse) GetKeyAccessServer ¶
func (x *DeleteKeyAccessServerResponse) GetKeyAccessServer() *policy.KeyAccessServer
func (*DeleteKeyAccessServerResponse) ProtoMessage ¶
func (*DeleteKeyAccessServerResponse) ProtoMessage()
func (*DeleteKeyAccessServerResponse) ProtoReflect ¶
func (x *DeleteKeyAccessServerResponse) ProtoReflect() protoreflect.Message
func (*DeleteKeyAccessServerResponse) Reset ¶
func (x *DeleteKeyAccessServerResponse) Reset()
func (*DeleteKeyAccessServerResponse) String ¶
func (x *DeleteKeyAccessServerResponse) String() string
type GetKeyAccessServerRequest ¶
type GetKeyAccessServerRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*GetKeyAccessServerRequest) Descriptor
deprecated
func (*GetKeyAccessServerRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetKeyAccessServerRequest.ProtoReflect.Descriptor instead.
func (*GetKeyAccessServerRequest) GetId ¶
func (x *GetKeyAccessServerRequest) GetId() string
func (*GetKeyAccessServerRequest) ProtoMessage ¶
func (*GetKeyAccessServerRequest) ProtoMessage()
func (*GetKeyAccessServerRequest) ProtoReflect ¶
func (x *GetKeyAccessServerRequest) ProtoReflect() protoreflect.Message
func (*GetKeyAccessServerRequest) Reset ¶
func (x *GetKeyAccessServerRequest) Reset()
func (*GetKeyAccessServerRequest) String ¶
func (x *GetKeyAccessServerRequest) String() string
type GetKeyAccessServerResponse ¶
type GetKeyAccessServerResponse struct { KeyAccessServer *policy.KeyAccessServer `protobuf:"bytes,1,opt,name=key_access_server,json=keyAccessServer,proto3" json:"key_access_server,omitempty"` // contains filtered or unexported fields }
func (*GetKeyAccessServerResponse) Descriptor
deprecated
func (*GetKeyAccessServerResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetKeyAccessServerResponse.ProtoReflect.Descriptor instead.
func (*GetKeyAccessServerResponse) GetKeyAccessServer ¶
func (x *GetKeyAccessServerResponse) GetKeyAccessServer() *policy.KeyAccessServer
func (*GetKeyAccessServerResponse) ProtoMessage ¶
func (*GetKeyAccessServerResponse) ProtoMessage()
func (*GetKeyAccessServerResponse) ProtoReflect ¶
func (x *GetKeyAccessServerResponse) ProtoReflect() protoreflect.Message
func (*GetKeyAccessServerResponse) Reset ¶
func (x *GetKeyAccessServerResponse) Reset()
func (*GetKeyAccessServerResponse) String ¶
func (x *GetKeyAccessServerResponse) String() string
type KeyAccessServerRegistryServiceClient ¶
type KeyAccessServerRegistryServiceClient interface { ListKeyAccessServers(ctx context.Context, in *ListKeyAccessServersRequest, opts ...grpc.CallOption) (*ListKeyAccessServersResponse, error) GetKeyAccessServer(ctx context.Context, in *GetKeyAccessServerRequest, opts ...grpc.CallOption) (*GetKeyAccessServerResponse, error) CreateKeyAccessServer(ctx context.Context, in *CreateKeyAccessServerRequest, opts ...grpc.CallOption) (*CreateKeyAccessServerResponse, error) UpdateKeyAccessServer(ctx context.Context, in *UpdateKeyAccessServerRequest, opts ...grpc.CallOption) (*UpdateKeyAccessServerResponse, error) DeleteKeyAccessServer(ctx context.Context, in *DeleteKeyAccessServerRequest, opts ...grpc.CallOption) (*DeleteKeyAccessServerResponse, error) }
KeyAccessServerRegistryServiceClient is the client API for KeyAccessServerRegistryService 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 NewKeyAccessServerRegistryServiceClient ¶
func NewKeyAccessServerRegistryServiceClient(cc grpc.ClientConnInterface) KeyAccessServerRegistryServiceClient
type KeyAccessServerRegistryServiceServer ¶
type KeyAccessServerRegistryServiceServer interface { ListKeyAccessServers(context.Context, *ListKeyAccessServersRequest) (*ListKeyAccessServersResponse, error) GetKeyAccessServer(context.Context, *GetKeyAccessServerRequest) (*GetKeyAccessServerResponse, error) CreateKeyAccessServer(context.Context, *CreateKeyAccessServerRequest) (*CreateKeyAccessServerResponse, error) UpdateKeyAccessServer(context.Context, *UpdateKeyAccessServerRequest) (*UpdateKeyAccessServerResponse, error) DeleteKeyAccessServer(context.Context, *DeleteKeyAccessServerRequest) (*DeleteKeyAccessServerResponse, error) // contains filtered or unexported methods }
KeyAccessServerRegistryServiceServer is the server API for KeyAccessServerRegistryService service. All implementations must embed UnimplementedKeyAccessServerRegistryServiceServer for forward compatibility
type ListKeyAccessServersRequest ¶
type ListKeyAccessServersRequest struct {
// contains filtered or unexported fields
}
func (*ListKeyAccessServersRequest) Descriptor
deprecated
func (*ListKeyAccessServersRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListKeyAccessServersRequest.ProtoReflect.Descriptor instead.
func (*ListKeyAccessServersRequest) ProtoMessage ¶
func (*ListKeyAccessServersRequest) ProtoMessage()
func (*ListKeyAccessServersRequest) ProtoReflect ¶
func (x *ListKeyAccessServersRequest) ProtoReflect() protoreflect.Message
func (*ListKeyAccessServersRequest) Reset ¶
func (x *ListKeyAccessServersRequest) Reset()
func (*ListKeyAccessServersRequest) String ¶
func (x *ListKeyAccessServersRequest) String() string
type ListKeyAccessServersResponse ¶
type ListKeyAccessServersResponse struct { KeyAccessServers []*policy.KeyAccessServer `protobuf:"bytes,1,rep,name=key_access_servers,json=keyAccessServers,proto3" json:"key_access_servers,omitempty"` // contains filtered or unexported fields }
func (*ListKeyAccessServersResponse) Descriptor
deprecated
func (*ListKeyAccessServersResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListKeyAccessServersResponse.ProtoReflect.Descriptor instead.
func (*ListKeyAccessServersResponse) GetKeyAccessServers ¶
func (x *ListKeyAccessServersResponse) GetKeyAccessServers() []*policy.KeyAccessServer
func (*ListKeyAccessServersResponse) ProtoMessage ¶
func (*ListKeyAccessServersResponse) ProtoMessage()
func (*ListKeyAccessServersResponse) ProtoReflect ¶
func (x *ListKeyAccessServersResponse) ProtoReflect() protoreflect.Message
func (*ListKeyAccessServersResponse) Reset ¶
func (x *ListKeyAccessServersResponse) Reset()
func (*ListKeyAccessServersResponse) String ¶
func (x *ListKeyAccessServersResponse) String() string
type UnimplementedKeyAccessServerRegistryServiceServer ¶
type UnimplementedKeyAccessServerRegistryServiceServer struct { }
UnimplementedKeyAccessServerRegistryServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedKeyAccessServerRegistryServiceServer) CreateKeyAccessServer ¶
func (UnimplementedKeyAccessServerRegistryServiceServer) CreateKeyAccessServer(context.Context, *CreateKeyAccessServerRequest) (*CreateKeyAccessServerResponse, error)
func (UnimplementedKeyAccessServerRegistryServiceServer) DeleteKeyAccessServer ¶
func (UnimplementedKeyAccessServerRegistryServiceServer) DeleteKeyAccessServer(context.Context, *DeleteKeyAccessServerRequest) (*DeleteKeyAccessServerResponse, error)
func (UnimplementedKeyAccessServerRegistryServiceServer) GetKeyAccessServer ¶
func (UnimplementedKeyAccessServerRegistryServiceServer) GetKeyAccessServer(context.Context, *GetKeyAccessServerRequest) (*GetKeyAccessServerResponse, error)
func (UnimplementedKeyAccessServerRegistryServiceServer) ListKeyAccessServers ¶
func (UnimplementedKeyAccessServerRegistryServiceServer) ListKeyAccessServers(context.Context, *ListKeyAccessServersRequest) (*ListKeyAccessServersResponse, error)
func (UnimplementedKeyAccessServerRegistryServiceServer) UpdateKeyAccessServer ¶
func (UnimplementedKeyAccessServerRegistryServiceServer) UpdateKeyAccessServer(context.Context, *UpdateKeyAccessServerRequest) (*UpdateKeyAccessServerResponse, error)
type UnsafeKeyAccessServerRegistryServiceServer ¶
type UnsafeKeyAccessServerRegistryServiceServer interface {
// contains filtered or unexported methods
}
UnsafeKeyAccessServerRegistryServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to KeyAccessServerRegistryServiceServer will result in compilation errors.
type UpdateKeyAccessServerRequest ¶
type UpdateKeyAccessServerRequest struct { // Required Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Uri string `protobuf:"bytes,2,opt,name=uri,proto3" json:"uri,omitempty"` PublicKey *policy.PublicKey `protobuf:"bytes,3,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"` // Common metadata Metadata *common.MetadataMutable `protobuf:"bytes,100,opt,name=metadata,proto3" json:"metadata,omitempty"` MetadataUpdateBehavior common.MetadataUpdateEnum `` /* 163-byte string literal not displayed */ // contains filtered or unexported fields }
func (*UpdateKeyAccessServerRequest) Descriptor
deprecated
func (*UpdateKeyAccessServerRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateKeyAccessServerRequest.ProtoReflect.Descriptor instead.
func (*UpdateKeyAccessServerRequest) GetId ¶
func (x *UpdateKeyAccessServerRequest) GetId() string
func (*UpdateKeyAccessServerRequest) GetMetadata ¶
func (x *UpdateKeyAccessServerRequest) GetMetadata() *common.MetadataMutable
func (*UpdateKeyAccessServerRequest) GetMetadataUpdateBehavior ¶
func (x *UpdateKeyAccessServerRequest) GetMetadataUpdateBehavior() common.MetadataUpdateEnum
func (*UpdateKeyAccessServerRequest) GetPublicKey ¶
func (x *UpdateKeyAccessServerRequest) GetPublicKey() *policy.PublicKey
func (*UpdateKeyAccessServerRequest) GetUri ¶
func (x *UpdateKeyAccessServerRequest) GetUri() string
func (*UpdateKeyAccessServerRequest) ProtoMessage ¶
func (*UpdateKeyAccessServerRequest) ProtoMessage()
func (*UpdateKeyAccessServerRequest) ProtoReflect ¶
func (x *UpdateKeyAccessServerRequest) ProtoReflect() protoreflect.Message
func (*UpdateKeyAccessServerRequest) Reset ¶
func (x *UpdateKeyAccessServerRequest) Reset()
func (*UpdateKeyAccessServerRequest) String ¶
func (x *UpdateKeyAccessServerRequest) String() string
type UpdateKeyAccessServerResponse ¶
type UpdateKeyAccessServerResponse struct { KeyAccessServer *policy.KeyAccessServer `protobuf:"bytes,1,opt,name=key_access_server,json=keyAccessServer,proto3" json:"key_access_server,omitempty"` // contains filtered or unexported fields }
func (*UpdateKeyAccessServerResponse) Descriptor
deprecated
func (*UpdateKeyAccessServerResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateKeyAccessServerResponse.ProtoReflect.Descriptor instead.
func (*UpdateKeyAccessServerResponse) GetKeyAccessServer ¶
func (x *UpdateKeyAccessServerResponse) GetKeyAccessServer() *policy.KeyAccessServer
func (*UpdateKeyAccessServerResponse) ProtoMessage ¶
func (*UpdateKeyAccessServerResponse) ProtoMessage()
func (*UpdateKeyAccessServerResponse) ProtoReflect ¶
func (x *UpdateKeyAccessServerResponse) ProtoReflect() protoreflect.Message
func (*UpdateKeyAccessServerResponse) Reset ¶
func (x *UpdateKeyAccessServerResponse) Reset()
func (*UpdateKeyAccessServerResponse) String ¶
func (x *UpdateKeyAccessServerResponse) String() string