provider

package
v1.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 20, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
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) Descriptor() ([]byte, []int)

Deprecated: Use APIKey.ProtoReflect.Descriptor instead.

func (*APIKey) GetApikey

func (x *APIKey) GetApikey() string

func (*APIKey) ProtoMessage

func (*APIKey) ProtoMessage()

func (*APIKey) ProtoReflect

func (x *APIKey) ProtoReflect() protoreflect.Message

func (*APIKey) Reset

func (x *APIKey) Reset()

func (*APIKey) String

func (x *APIKey) String() string

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.

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"`
	// contains filtered or unexported fields
}

The request message containing the cipher.

func (*Cipher) Descriptor deprecated

func (*Cipher) Descriptor() ([]byte, []int)

Deprecated: Use Cipher.ProtoReflect.Descriptor instead.

func (*Cipher) GetCipher

func (x *Cipher) GetCipher() string

func (*Cipher) ProtoMessage

func (*Cipher) ProtoMessage()

func (*Cipher) ProtoReflect

func (x *Cipher) ProtoReflect() protoreflect.Message

func (*Cipher) Reset

func (x *Cipher) Reset()

func (*Cipher) String

func (x *Cipher) String() string

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL