gateway

package
v0.0.40 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2023 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ConnectToRegistrarError           = status.Error(codes.Unavailable, "Failed to connect to Registrar service.")
	ConnectToVersionManagerError      = status.Error(codes.Unavailable, "Failed to connect to Version manager service.")
	ConnectToStorageError             = status.Error(codes.Unavailable, "Failed to connect to Storage service.")
	ConnectToDependencyManagerError   = status.Error(codes.Unavailable, "Failed to connect to Dependency manager service.")
	UnknownVersionManagerActionError  = status.Error(codes.InvalidArgument, "Unknown Version manager action requested.")
	ForwardModuleDependenciesError    = status.Error(codes.Unknown, "Failed to send module dependencies.")
	ForwardContainerDependenciesError = status.Error(codes.Unknown, "Failed to send module dependencies.")
)

Functions

This section is empty.

Types

type TerrariumGrpcGateway

func (*TerrariumGrpcGateway) BeginVersion

BeginVersion creates new version with Version Manager service

func (*TerrariumGrpcGateway) BeginVersionWithClient

BeginVersionWithClient calls BeginVersion on Version Manager client

func (*TerrariumGrpcGateway) DownloadSourceZip

DownloadSourceZip downloads source zip from Storage service

func (*TerrariumGrpcGateway) DownloadSourceZipWithClient

DownloadSourceZipWithClient calls DownloadSourceZip on Storage client

func (*TerrariumGrpcGateway) EndVersion

EndVersion publishes/aborts with Version Manger service

func (*TerrariumGrpcGateway) EndVersionWithClient

EndVersionWithClient calls AbortVersion/PublishVersion on Version Manager client

func (*TerrariumGrpcGateway) PublishTag

Register PublishTag with Registrar service

func (*TerrariumGrpcGateway) PublishTagWithClient

func (*TerrariumGrpcGateway) Register

Register new module with Registrar service

func (*TerrariumGrpcGateway) RegisterContainerDependencies

func (gw *TerrariumGrpcGateway) RegisterContainerDependencies(ctx context.Context, request *terrarium.RegisterContainerDependenciesRequest) (*terrarium.Response, error)

RegisterContainerDependencies registers Container dependencies with Dependency Manager service

func (*TerrariumGrpcGateway) RegisterContainerDependenciesWithClient

func (gw *TerrariumGrpcGateway) RegisterContainerDependenciesWithClient(ctx context.Context, request *terrarium.RegisterContainerDependenciesRequest, client services.DependencyManagerClient) (*terrarium.Response, error)

RegisterContainerDependenciesWithClient calls RegisterContainerDependencies on Dependency Manager client

func (*TerrariumGrpcGateway) RegisterModuleDependencies

func (gw *TerrariumGrpcGateway) RegisterModuleDependencies(ctx context.Context, request *terrarium.RegisterModuleDependenciesRequest) (*terrarium.Response, error)

RegisterModuleDependencies registers Module dependencies with Dependency Manager service

func (*TerrariumGrpcGateway) RegisterModuleDependenciesWithClient

func (gw *TerrariumGrpcGateway) RegisterModuleDependenciesWithClient(ctx context.Context, request *terrarium.RegisterModuleDependenciesRequest, client services.DependencyManagerClient) (*terrarium.Response, error)

RegisterModuleDependenciesWithClient calls RegisterModuleDependencies on Dependency Manager client

func (*TerrariumGrpcGateway) RegisterWithClient

RegisterWithClient calls Register on Registrar client

func (*TerrariumGrpcGateway) RegisterWithServer

func (gw *TerrariumGrpcGateway) RegisterWithServer(grpcServer grpc.ServiceRegistrar) error

RegisterWithServer registers TerrariumGrpcGateway with grpc server

func (*TerrariumGrpcGateway) RetrieveContainerDependencies

RetrieveContainerDependencies retrieves Container dependencies from Dependency Manager service

func (*TerrariumGrpcGateway) RetrieveContainerDependenciesV2

RetrieveContainerDependenciesV2 retrieves Container dependencies from Dependency Manager service

func (*TerrariumGrpcGateway) RetrieveContainerDependenciesV2WithClient

RetrieveContainerDependenciesWithClient calls RetrieveContainerDependencies on Dependency Manager client

func (*TerrariumGrpcGateway) RetrieveModuleDependencies

Retrieve Module dependences from Dependency Manager service

func (*TerrariumGrpcGateway) UploadSourceZip

UploadSourceZip uploads source zip to Storage service

func (*TerrariumGrpcGateway) UploadSourceZipWithClient

func (gw *TerrariumGrpcGateway) UploadSourceZipWithClient(server terrarium.Publisher_UploadSourceZipServer, client services.StorageClient) error

UploadSourceZipWithClient calls UploadSourceZip on Storage client

Jump to

Keyboard shortcuts

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