Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeployAPI ¶ added in v2.24.0
type DeployAPI struct {
// contains filtered or unexported fields
}
func NewDeployAPI ¶ added in v2.24.0
func NewDeployAPI(source DeploySource) *DeployAPI
type DeploySource ¶ added in v2.24.0
type DeploySource interface {
Create(ctx context.Context, resourceType automation.ResourceType, data []byte) (api.Response, error)
Update(ctx context.Context, resourceType automation.ResourceType, id string, data []byte) (api.Response, error)
}
type DownloadAPI ¶ added in v2.24.0
type DownloadAPI struct {
// contains filtered or unexported fields
}
func NewDownloadAPI ¶ added in v2.24.0
func NewDownloadAPI(automationSource DownloadSource) *DownloadAPI
func (DownloadAPI) Download ¶ added in v2.24.0
func (a DownloadAPI) Download(ctx context.Context, projectName string) (project.ConfigsPerType, error)
Download downloads all automation resources for a given project
type DownloadSource ¶ added in v2.24.0
type DownloadSource interface {
List(context.Context, automation.ResourceType) (api.PagedListResponse, error)
}
Click to show internal directories.
Click to hide internal directories.