Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var File_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 VPC API key
GetVPCAPIKey(ctx context.Context, in *Provider, opts ...grpc.CallOption) (*APIKey, error)
// Get Container API key
GetContainerAPIKey(ctx context.Context, in *Provider, 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 VPC API key
GetVPCAPIKey(context.Context, *Provider) (*APIKey, error)
// Get Container API key
GetContainerAPIKey(context.Context, *Provider) (*APIKey, error)
// contains filtered or unexported methods
}
APIKeyProviderServer is the server API for APIKeyProvider service. All implementations must embed UnimplementedAPIKeyProviderServer for forward compatibility
type Provider ¶
type Provider struct {
// contains filtered or unexported fields
}
The request message
func (*Provider) Descriptor
deprecated
func (*Provider) ProtoMessage ¶
func (*Provider) ProtoMessage()
func (*Provider) ProtoReflect ¶
func (x *Provider) 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.