adapter

package
v0.0.0-...-a841241 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2023 License: AGPL-3.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ChakraAdapter

type ChakraAdapter struct {
	chakrapb.ChakraServiceClient
	// contains filtered or unexported fields
}

func NewChakraAdapter

func NewChakraAdapter(conf *config.Config) (*ChakraAdapter, error)

func (*ChakraAdapter) Conn

func (a *ChakraAdapter) Conn() *grpc.ClientConn

type GatewayAdapter

type GatewayAdapter struct {
	gatewaypb.GatewayServiceClient
	// contains filtered or unexported fields
}

func NewGatewayAdapter

func NewGatewayAdapter(conf *config.Config) (*GatewayAdapter, error)

func (*GatewayAdapter) Conn

func (a *GatewayAdapter) Conn() *grpc.ClientConn

type KubernetesAdapter

type KubernetesAdapter struct {
	// contains filtered or unexported fields
}

func NewKubernetesAdapter

func NewKubernetesAdapter(conf *config.Config) (*KubernetesAdapter, error)

func (*KubernetesAdapter) Deploy

func (a *KubernetesAdapter) Deploy(ctx context.Context, roomId model.RoomId, region supervisor.Region) error

func (*KubernetesAdapter) Destroy

func (a *KubernetesAdapter) Destroy(ctx context.Context, roomId model.RoomId) error

func (*KubernetesAdapter) GetAvailableRooms

func (a *KubernetesAdapter) GetAvailableRooms(ctx context.Context, region supervisor.Region) (int64, error)

Jump to

Keyboard shortcuts

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