Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var File_provider_provider_proto protoreflect.FileDescriptor
Functions ¶
func RegisterAPIKeyProviderServer ¶
func RegisterAPIKeyProviderServer(s *grpc.Server, srv APIKeyProviderServer)
Types ¶
type APIKey ¶
type APIKey struct { Apikey string `protobuf:"bytes,1,opt,name=apikey,proto3" json:"apikey,omitempty"` // contains filtered or unexported fields }
The response message containing apikey
func (*APIKey) Descriptor
deprecated
func (*APIKey) ProtoMessage ¶
func (*APIKey) ProtoMessage()
func (*APIKey) ProtoReflect ¶
func (x *APIKey) ProtoReflect() protoreflect.Message
type APIKeyProviderClient ¶
type APIKeyProviderClient interface { // Get container API key GetContainerAPIKey(ctx context.Context, in *Cipher, opts ...grpc.CallOption) (*APIKey, error) // Get VPC API key GetVPCAPIKey(ctx context.Context, in *Cipher, opts ...grpc.CallOption) (*APIKey, error) }
APIKeyProviderClient is the client API for APIKeyProvider 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 NewAPIKeyProviderClient ¶
func NewAPIKeyProviderClient(cc grpc.ClientConnInterface) APIKeyProviderClient
type APIKeyProviderServer ¶
type APIKeyProviderServer interface { // Get container API key GetContainerAPIKey(context.Context, *Cipher) (*APIKey, error) // Get VPC API key GetVPCAPIKey(context.Context, *Cipher) (*APIKey, error) // contains filtered or unexported methods }
APIKeyProviderServer is the server API for APIKeyProvider service. All implementations must embed UnimplementedAPIKeyProviderServer for forward compatibility
type Cipher ¶
type Cipher struct { Cipher string `protobuf:"bytes,1,opt,name=cipher,proto3" json:"cipher,omitempty"` RequestID string `protobuf:"bytes,2,opt,name=requestID,proto3" json:"requestID,omitempty"` // contains filtered or unexported fields }
The request message containing the cipher.
func (*Cipher) Descriptor
deprecated
func (*Cipher) GetRequestID ¶
func (*Cipher) ProtoMessage ¶
func (*Cipher) ProtoMessage()
func (*Cipher) ProtoReflect ¶
func (x *Cipher) ProtoReflect() protoreflect.Message
type UnimplementedAPIKeyProviderServer ¶
type UnimplementedAPIKeyProviderServer struct { }
UnimplementedAPIKeyProviderServer must be embedded to have forward compatible implementations.
func (UnimplementedAPIKeyProviderServer) GetContainerAPIKey ¶
func (UnimplementedAPIKeyProviderServer) GetVPCAPIKey ¶
type UnsafeAPIKeyProviderServer ¶
type UnsafeAPIKeyProviderServer interface {
// contains filtered or unexported methods
}
UnsafeAPIKeyProviderServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to APIKeyProviderServer will result in compilation errors.