Documentation
¶
Index ¶
- func NewBuildAPI(buildClient types.WorkflowAPIServiceClient) build.BuildInterface
- type BuildAPI
- func (b *BuildAPI) AbortRelease(ctx context.Context, buildId, envId string) *utilsGoServer.Error
- func (b *BuildAPI) BuildAndDeployRelease(buildConfig *types.BuildConfig, blockName, releaseId, envId string, ...) (string, *utilsGoServer.Error)
- func (b *BuildAPI) DeployCatalogRelease(repo *types.Repository, blockName, releaseId, envId string) (string, *utilsGoServer.Error)
- func (b *BuildAPI) DeployRelease(blockName, releaseId, envId string) (string, *utilsGoServer.Error)
- func (b *BuildAPI) GenReleaseConfigFromKintoFile(org, repo, branch, envId, githubUserToken string, blockType types.Block_Type) (*types.ReleaseConfig, *utilsGoServer.Error)
- func (b *BuildAPI) GetBuildLogs(release *types.Release) (*types.Logs, *utilsGoServer.Error)
- func (b *BuildAPI) SuspendRelease(blockName, envId, releaseID string) (string, *utilsGoServer.Error)
- func (b *BuildAPI) UndeployRelease(blockName, envId string) (string, *utilsGoServer.Error)
- func (b *BuildAPI) WatchBuildLogs(ctx context.Context, release *types.Release, logsChan chan *types.Logs) *utilsGoServer.Error
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 (*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 (*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)
Click to show internal directories.
Click to hide internal directories.