provider

package
v1.1.18 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2024 License: Apache-2.0 Imports: 8 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
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) 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 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.

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

Deprecated: Use Provider.ProtoReflect.Descriptor instead.

func (*Provider) ProtoMessage

func (*Provider) ProtoMessage()

func (*Provider) ProtoReflect

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

func (*Provider) Reset

func (x *Provider) Reset()

func (*Provider) String

func (x *Provider) 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