gateway

package
v0.0.79-test-3259.0 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: Apache-2.0 Imports: 15 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.")
	ConnectToReleaseError             = status.Error(codes.Unavailable, "Failed to connect to Release 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 New

func New(registrarClient moduleServices.RegistrarClient,
	tagManagerClient moduleServices.TagManagerClient,
	moduleVersionManagerClient moduleServices.VersionManagerClient,
	storageClient moduleServices.StorageClient,
	dependencyManagerClient moduleServices.DependencyManagerClient,
	releasePublisherClient release.PublisherClient,
	providerVersionManagerClient providerServices.VersionManagerClient,
	providerStorageClient providerServices.StorageClient) *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) EndProvider

func (*TerrariumGrpcGateway) EndProviderWithClient

EndProviderWithClient calls AbortProviderVersion/PublishVersion on Version Manager client

func (*TerrariumGrpcGateway) EndVersion

EndVersion publishes/aborts with Version Manger service

func (*TerrariumGrpcGateway) EndVersionWithClient

EndVersionWithClient calls AbortVersion/PublishVersion on Version Manager client

func (*TerrariumGrpcGateway) Publish

Publish a new release with Release service

func (*TerrariumGrpcGateway) PublishTag

Register PublishTag with Registrar service

func (*TerrariumGrpcGateway) PublishTagWithClient

func (*TerrariumGrpcGateway) PublishWithClient

PublishWithClient calls Publish on Release client

func (*TerrariumGrpcGateway) Register

Register new module with Registrar service

func (*TerrariumGrpcGateway) RegisterContainerDependencies

RegisterContainerDependencies registers Container dependencies with Dependency Manager service

func (*TerrariumGrpcGateway) RegisterContainerDependenciesWithClient

RegisterContainerDependenciesWithClient calls RegisterContainerDependencies on Dependency Manager client

func (*TerrariumGrpcGateway) RegisterModuleDependencies

RegisterModuleDependencies registers Module dependencies with Dependency Manager service

func (*TerrariumGrpcGateway) RegisterModuleDependenciesWithClient

RegisterModuleDependenciesWithClient calls RegisterModuleDependencies on Dependency Manager client

func (*TerrariumGrpcGateway) RegisterProvider

Registers new provider on version manager client

func (*TerrariumGrpcGateway) RegisterProviderWithClient

RegisterProviderWithClient calls Register on version manager client

func (*TerrariumGrpcGateway) RegisterProviderWithServer

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

RegisteProviderrWithServer registers TerrariumGrpcGateway with grpc server

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

UploadSourceZipWithClient calls UploadSourceZip on Storage client

Jump to

Keyboard shortcuts

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