Documentation ¶
Index ¶
- func NewGCloud(ctx context.Context, cloudPrefix string, gCloud common.GCloud) model.CloudProvider
- func NewSM(ctx context.Context, projectId string) (model.SSM, error)
- type ApiUsage
- type Builder
- func (b *Builder) CreateAgentProject(projectName string, awsPrefix string, imageVersion string, cmd common.Command) error
- func (b *Builder) CreateProject(projectName string, bucket string, stepName string, step model.Step, ...) error
- func (b *Builder) DeleteProject(projectName string, step model.Step) error
- func (b *Builder) GetJobManifest(projectName string, command model.ActionCommand, bucket string, ...) runv1.Job
- func (b *Builder) GetProject(projectName string) (*model.Project, error)
- func (b *Builder) UpdateAgentProject(projectName string, version string, cloudPrefix string) error
- func (b *Builder) UpdateProject(projectName, bucket, stepName string, step model.Step, ...) error
- type GStorage
- func (g *GStorage) CheckFolderExists(folder string) (bool, error)
- func (g *GStorage) CreateBucket() error
- func (g *GStorage) Delete() error
- func (g *GStorage) DeleteFile(file string) error
- func (g *GStorage) GetFile(file string) ([]byte, error)
- func (g *GStorage) GetRepoMetadata() (*model.RepositoryMetadata, error)
- func (g *GStorage) ListFolderFiles(folder string) ([]string, error)
- func (g *GStorage) ListFolderFilesWithExclude(folder string, excludeFolders model.Set[string]) ([]string, error)
- func (g *GStorage) PutFile(file string, content []byte) error
- type IAM
- func (iam *IAM) AddRolesToProject(serviceAccountName string, roles []string) error
- func (iam *IAM) AddRolesToServiceAccount(serviceAccountName string, roles []string) error
- func (iam *IAM) CreateServiceAccountKey(serviceAccountName string) (*iamv1.ServiceAccountKey, error)
- func (iam *IAM) DeleteServiceAccount(name string) error
- func (iam *IAM) GetOrCreateServiceAccount(name, displayName string) (*iamv1.ServiceAccount, bool, error)
- func (iam *IAM) GetServiceAccount(serviceAccountName string) (*iamv1.ServiceAccount, error)
- type Logging
- type Pipeline
- func (p *Pipeline) CreateAgentPipelines(_ string, pipelineName string, _ string) error
- func (p *Pipeline) CreatePipeline(projectName, stepName string, step model.Step, bucket model.Bucket) (*string, error)
- func (p *Pipeline) DeletePipeline(projectName string) error
- func (p *Pipeline) StartAgentExecution(pipelineName string) error
- func (p *Pipeline) StartDestroyExecution(projectName string) error
- func (p *Pipeline) StartPipelineExecution(pipelineName string, stepName string, _ model.Step, bucket string) (*string, error)
- func (p *Pipeline) UpdatePipeline(projectName string, stepName string, step model.Step, bucket string) error
- func (p *Pipeline) WaitPipelineExecution(pipelineName string, projectName string, releaseId *string, autoApprove bool, ...) error
- type Resources
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ApiUsage ¶
type ApiUsage struct {
// contains filtered or unexported fields
}
func (*ApiUsage) EnableService ¶
func (*ApiUsage) EnableServices ¶
type Builder ¶
type Builder struct {
// contains filtered or unexported fields
}
func NewBuilder ¶
func (*Builder) CreateAgentProject ¶
func (*Builder) CreateProject ¶
func (*Builder) DeleteProject ¶
func (*Builder) GetJobManifest ¶
func (*Builder) GetProject ¶
func (*Builder) UpdateAgentProject ¶
type GStorage ¶
type GStorage struct {
// contains filtered or unexported fields
}
func NewStorage ¶
func (*GStorage) CheckFolderExists ¶
func (*GStorage) CreateBucket ¶
func (*GStorage) DeleteFile ¶
func (*GStorage) GetRepoMetadata ¶
func (g *GStorage) GetRepoMetadata() (*model.RepositoryMetadata, error)
func (*GStorage) ListFolderFiles ¶
func (*GStorage) ListFolderFilesWithExclude ¶
type IAM ¶
type IAM struct {
// contains filtered or unexported fields
}
func (*IAM) AddRolesToProject ¶
func (*IAM) AddRolesToServiceAccount ¶
func (*IAM) CreateServiceAccountKey ¶
func (iam *IAM) CreateServiceAccountKey(serviceAccountName string) (*iamv1.ServiceAccountKey, error)
func (*IAM) DeleteServiceAccount ¶
func (*IAM) GetOrCreateServiceAccount ¶
func (*IAM) GetServiceAccount ¶
func (iam *IAM) GetServiceAccount(serviceAccountName string) (*iamv1.ServiceAccount, error)
type Logging ¶
type Logging struct {
// contains filtered or unexported fields
}
func (*Logging) GetJobExecutionLogs ¶
type Pipeline ¶
type Pipeline struct {
// contains filtered or unexported fields
}
func NewPipeline ¶
func (*Pipeline) CreateAgentPipelines ¶
func (*Pipeline) CreatePipeline ¶
func (*Pipeline) DeletePipeline ¶
func (*Pipeline) StartAgentExecution ¶
func (*Pipeline) StartDestroyExecution ¶
func (*Pipeline) StartPipelineExecution ¶
func (*Pipeline) UpdatePipeline ¶
type Resources ¶
type Resources struct {
model.CloudResources
}
Source Files ¶
Click to show internal directories.
Click to hide internal directories.