Documentation ¶
Index ¶
- Variables
- type TerrariumGrpcGateway
- func (gw *TerrariumGrpcGateway) BeginVersion(ctx context.Context, request *terrarium.BeginVersionRequest) (*terrarium.Response, error)
- func (gw *TerrariumGrpcGateway) BeginVersionWithClient(ctx context.Context, request *terrarium.BeginVersionRequest, ...) (*terrarium.Response, error)
- func (gw *TerrariumGrpcGateway) DownloadSourceZip(request *terrarium.DownloadSourceZipRequest, ...) error
- func (gw *TerrariumGrpcGateway) DownloadSourceZipWithClient(request *terrarium.DownloadSourceZipRequest, ...) error
- func (gw *TerrariumGrpcGateway) EndVersion(ctx context.Context, request *terrarium.EndVersionRequest) (*terrarium.Response, error)
- func (gw *TerrariumGrpcGateway) EndVersionWithClient(ctx context.Context, request *terrarium.EndVersionRequest, ...) (*terrarium.Response, error)
- func (gw *TerrariumGrpcGateway) ListOrganization(ctx context.Context, request *release.ListOrganizationRequest) (*release.ListOrganizationResponse, error)
- func (gw *TerrariumGrpcGateway) ListOrganizationWithClient(ctx context.Context, request *release.ListOrganizationRequest, ...) (*release.ListOrganizationResponse, error)
- func (gw *TerrariumGrpcGateway) ListReleaseTypes(ctx context.Context, request *release.ListReleaseTypesRequest) (*release.ListReleaseTypesResponse, error)
- func (gw *TerrariumGrpcGateway) ListReleaseTypesWithClient(ctx context.Context, request *release.ListReleaseTypesRequest, ...) (*release.ListReleaseTypesResponse, error)
- func (gw *TerrariumGrpcGateway) ListReleases(ctx context.Context, request *release.ListReleasesRequest) (*release.ListReleasesResponse, error)
- func (gw *TerrariumGrpcGateway) ListReleasesWithClient(ctx context.Context, request *release.ListReleasesRequest, ...) (*release.ListReleasesResponse, error)
- func (gw *TerrariumGrpcGateway) Publish(ctx context.Context, request *releasePkg.PublishRequest) (*releasePkg.PublishResponse, error)
- func (gw *TerrariumGrpcGateway) PublishTag(ctx context.Context, request *terrarium.PublishTagRequest) (*terrarium.Response, error)
- func (gw *TerrariumGrpcGateway) PublishTagWithClient(ctx context.Context, request *terrarium.PublishTagRequest, ...) (*terrarium.Response, error)
- func (gw *TerrariumGrpcGateway) PublishWithClient(ctx context.Context, request *releasePkg.PublishRequest, ...) (*releasePkg.PublishResponse, error)
- func (gw *TerrariumGrpcGateway) Register(ctx context.Context, request *terrarium.RegisterModuleRequest) (*terrarium.Response, error)
- func (gw *TerrariumGrpcGateway) RegisterContainerDependencies(ctx context.Context, request *terrarium.RegisterContainerDependenciesRequest) (*terrarium.Response, error)
- func (gw *TerrariumGrpcGateway) RegisterContainerDependenciesWithClient(ctx context.Context, request *terrarium.RegisterContainerDependenciesRequest, ...) (*terrarium.Response, error)
- func (gw *TerrariumGrpcGateway) RegisterModuleDependencies(ctx context.Context, request *terrarium.RegisterModuleDependenciesRequest) (*terrarium.Response, error)
- func (gw *TerrariumGrpcGateway) RegisterModuleDependenciesWithClient(ctx context.Context, request *terrarium.RegisterModuleDependenciesRequest, ...) (*terrarium.Response, error)
- func (gw *TerrariumGrpcGateway) RegisterWithClient(ctx context.Context, request *terrarium.RegisterModuleRequest, ...) (*terrarium.Response, error)
- func (gw *TerrariumGrpcGateway) RegisterWithServer(grpcServer grpc.ServiceRegistrar) error
- func (gw *TerrariumGrpcGateway) RetrieveContainerDependencies(request *terrarium.RetrieveContainerDependenciesRequest, ...) error
- func (gw *TerrariumGrpcGateway) RetrieveContainerDependenciesV2(request *terrarium.RetrieveContainerDependenciesRequestV2, ...) error
- func (gw *TerrariumGrpcGateway) RetrieveContainerDependenciesV2WithClient(request *terrarium.RetrieveContainerDependenciesRequestV2, ...) error
- func (gw *TerrariumGrpcGateway) RetrieveModuleDependencies(request *terrarium.RetrieveModuleDependenciesRequest, ...) error
- func (gw *TerrariumGrpcGateway) RetrieveModuleDependenciesWithClient(request *terrarium.RetrieveModuleDependenciesRequest, ...) error
- func (gw *TerrariumGrpcGateway) UploadSourceZip(server terrarium.Publisher_UploadSourceZipServer) error
- func (gw *TerrariumGrpcGateway) UploadSourceZipWithClient(server terrarium.Publisher_UploadSourceZipServer, ...) error
Constants ¶
This section is empty.
Variables ¶
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 ¶
type TerrariumGrpcGateway struct { terrarium.UnimplementedPublisherServer terrarium.UnimplementedConsumerServer release.UnimplementedBrowseServer // contains filtered or unexported fields }
func (*TerrariumGrpcGateway) BeginVersion ¶
func (gw *TerrariumGrpcGateway) BeginVersion(ctx context.Context, request *terrarium.BeginVersionRequest) (*terrarium.Response, error)
BeginVersion creates new version with Version Manager service
func (*TerrariumGrpcGateway) BeginVersionWithClient ¶
func (gw *TerrariumGrpcGateway) BeginVersionWithClient(ctx context.Context, request *terrarium.BeginVersionRequest, client services.VersionManagerClient) (*terrarium.Response, error)
BeginVersionWithClient calls BeginVersion on Version Manager client
func (*TerrariumGrpcGateway) DownloadSourceZip ¶
func (gw *TerrariumGrpcGateway) DownloadSourceZip(request *terrarium.DownloadSourceZipRequest, server terrarium.Consumer_DownloadSourceZipServer) error
DownloadSourceZip downloads source zip from Storage service
func (*TerrariumGrpcGateway) DownloadSourceZipWithClient ¶
func (gw *TerrariumGrpcGateway) DownloadSourceZipWithClient(request *terrarium.DownloadSourceZipRequest, server terrarium.Consumer_DownloadSourceZipServer, client services.StorageClient) error
DownloadSourceZipWithClient calls DownloadSourceZip on Storage client
func (*TerrariumGrpcGateway) EndVersion ¶
func (gw *TerrariumGrpcGateway) EndVersion(ctx context.Context, request *terrarium.EndVersionRequest) (*terrarium.Response, error)
EndVersion publishes/aborts with Version Manger service
func (*TerrariumGrpcGateway) EndVersionWithClient ¶
func (gw *TerrariumGrpcGateway) EndVersionWithClient(ctx context.Context, request *terrarium.EndVersionRequest, client services.VersionManagerClient) (*terrarium.Response, error)
EndVersionWithClient calls AbortVersion/PublishVersion on Version Manager client
func (*TerrariumGrpcGateway) ListOrganization ¶ added in v0.0.64
func (gw *TerrariumGrpcGateway) ListOrganization(ctx context.Context, request *release.ListOrganizationRequest) (*release.ListOrganizationResponse, error)
ListOrganization makes a call to Release service
func (*TerrariumGrpcGateway) ListOrganizationWithClient ¶ added in v0.0.64
func (gw *TerrariumGrpcGateway) ListOrganizationWithClient(ctx context.Context, request *release.ListOrganizationRequest, client release.BrowseClient) (*release.ListOrganizationResponse, error)
ListOrganizationWithClient calls ListReleaseTypes on Release client
func (*TerrariumGrpcGateway) ListReleaseTypes ¶ added in v0.0.64
func (gw *TerrariumGrpcGateway) ListReleaseTypes(ctx context.Context, request *release.ListReleaseTypesRequest) (*release.ListReleaseTypesResponse, error)
ListReleaseTypes makes a call to Release service
func (*TerrariumGrpcGateway) ListReleaseTypesWithClient ¶ added in v0.0.64
func (gw *TerrariumGrpcGateway) ListReleaseTypesWithClient(ctx context.Context, request *release.ListReleaseTypesRequest, client release.BrowseClient) (*release.ListReleaseTypesResponse, error)
ListReleaseTypesWithClient calls ListReleaseTypes on Release client
func (*TerrariumGrpcGateway) ListReleases ¶ added in v0.0.64
func (gw *TerrariumGrpcGateway) ListReleases(ctx context.Context, request *release.ListReleasesRequest) (*release.ListReleasesResponse, error)
ListReleases makes a call to Release service
func (*TerrariumGrpcGateway) ListReleasesWithClient ¶ added in v0.0.64
func (gw *TerrariumGrpcGateway) ListReleasesWithClient(ctx context.Context, request *release.ListReleasesRequest, client release.BrowseClient) (*release.ListReleasesResponse, error)
ListReleasesWithClient calls ListRelease on Release client
func (*TerrariumGrpcGateway) Publish ¶ added in v0.0.64
func (gw *TerrariumGrpcGateway) Publish(ctx context.Context, request *releasePkg.PublishRequest) (*releasePkg.PublishResponse, error)
Publish a new release with Release service
func (*TerrariumGrpcGateway) PublishTag ¶
func (gw *TerrariumGrpcGateway) PublishTag(ctx context.Context, request *terrarium.PublishTagRequest) (*terrarium.Response, error)
Register PublishTag with Registrar service
func (*TerrariumGrpcGateway) PublishTagWithClient ¶
func (gw *TerrariumGrpcGateway) PublishTagWithClient(ctx context.Context, request *terrarium.PublishTagRequest, client services.TagManagerClient) (*terrarium.Response, error)
func (*TerrariumGrpcGateway) PublishWithClient ¶ added in v0.0.64
func (gw *TerrariumGrpcGateway) PublishWithClient(ctx context.Context, request *releasePkg.PublishRequest, client releasePkg.PublisherClient) (*releasePkg.PublishResponse, error)
PublishWithClient calls Publish on Release client
func (*TerrariumGrpcGateway) Register ¶
func (gw *TerrariumGrpcGateway) Register(ctx context.Context, request *terrarium.RegisterModuleRequest) (*terrarium.Response, error)
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 ¶
func (gw *TerrariumGrpcGateway) RegisterWithClient(ctx context.Context, request *terrarium.RegisterModuleRequest, client services.RegistrarClient) (*terrarium.Response, error)
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 ¶
func (gw *TerrariumGrpcGateway) RetrieveContainerDependencies(request *terrarium.RetrieveContainerDependenciesRequest, server terrarium.Consumer_RetrieveContainerDependenciesServer) error
RetrieveContainerDependencies retrieves Container dependencies from Dependency Manager service
func (*TerrariumGrpcGateway) RetrieveContainerDependenciesV2 ¶
func (gw *TerrariumGrpcGateway) RetrieveContainerDependenciesV2(request *terrarium.RetrieveContainerDependenciesRequestV2, server terrarium.Consumer_RetrieveContainerDependenciesV2Server) error
RetrieveContainerDependenciesV2 retrieves Container dependencies from Dependency Manager service
func (*TerrariumGrpcGateway) RetrieveContainerDependenciesV2WithClient ¶
func (gw *TerrariumGrpcGateway) RetrieveContainerDependenciesV2WithClient(request *terrarium.RetrieveContainerDependenciesRequestV2, server terrarium.Consumer_RetrieveContainerDependenciesV2Server, client services.DependencyManagerClient) error
RetrieveContainerDependenciesWithClient calls RetrieveContainerDependencies on Dependency Manager client
func (*TerrariumGrpcGateway) RetrieveModuleDependencies ¶
func (gw *TerrariumGrpcGateway) RetrieveModuleDependencies(request *terrarium.RetrieveModuleDependenciesRequest, server terrarium.Consumer_RetrieveModuleDependenciesServer) error
Retrieve Module dependences from Dependency Manager service
func (*TerrariumGrpcGateway) RetrieveModuleDependenciesWithClient ¶
func (gw *TerrariumGrpcGateway) RetrieveModuleDependenciesWithClient(request *terrarium.RetrieveModuleDependenciesRequest, server terrarium.Consumer_RetrieveModuleDependenciesServer, client services.DependencyManagerClient) error
func (*TerrariumGrpcGateway) UploadSourceZip ¶
func (gw *TerrariumGrpcGateway) UploadSourceZip(server terrarium.Publisher_UploadSourceZipServer) error
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