api

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewBuildAPI

func NewBuildAPI(buildClient types.WorkflowAPIServiceClient) build.BuildInterface

Types

type BuildAPI

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

func (*BuildAPI) AbortRelease

func (b *BuildAPI) AbortRelease(ctx context.Context, buildId, envId string) *utilsGoServer.Error

func (*BuildAPI) BuildAndDeployRelease

func (b *BuildAPI) BuildAndDeployRelease(
	buildConfig *types.BuildConfig, blockName, releaseId, envId string, isStaticBuild bool) (string, *utilsGoServer.Error)

func (*BuildAPI) DeployCatalogRelease

func (b *BuildAPI) DeployCatalogRelease(
	repo *types.Repository, blockName, releaseId, envId string) (string, *utilsGoServer.Error)

func (*BuildAPI) DeployRelease

func (b *BuildAPI) DeployRelease(blockName, releaseId, envId string) (string, *utilsGoServer.Error)

func (*BuildAPI) GenReleaseConfigFromKintoFile

func (b *BuildAPI) GenReleaseConfigFromKintoFile(
	org, repo, branch, envId, githubUserToken string, blockType types.Block_Type) (*types.ReleaseConfig, *utilsGoServer.Error)

func (*BuildAPI) GetBuildLogs

func (b *BuildAPI) GetBuildLogs(release *types.Release) (*types.Logs, *utilsGoServer.Error)

func (*BuildAPI) SuspendRelease

func (b *BuildAPI) SuspendRelease(blockName, envId, releaseID string) (string, *utilsGoServer.Error)

func (*BuildAPI) UndeployRelease

func (b *BuildAPI) UndeployRelease(blockName, envId string) (string, *utilsGoServer.Error)

func (*BuildAPI) WatchBuildLogs

func (b *BuildAPI) WatchBuildLogs(ctx context.Context, release *types.Release, logsChan chan *types.Logs) *utilsGoServer.Error

Jump to

Keyboard shortcuts

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