Documentation ¶
Index ¶
- func NewAzureProviders(options *types.Options) ([]*customTemplateAzureBlob, error)
- func NewGitHubProviders(options *types.Options) ([]*customTemplateGitHubRepo, error)
- func NewGitLabProviders(options *types.Options) ([]*customTemplateGitLabRepo, error)
- func NewS3Providers(options *types.Options) ([]*customTemplateS3Bucket, error)
- type CustomTemplatesManager
- type Provider
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAzureProviders ¶
NewAzureProviders creates a new Azure Blob Storage provider for downloading custom templates
func NewGitHubProviders ¶
NewGitHubProviders returns new instance of GitHub providers for downloading custom templates
func NewGitLabProviders ¶
NewGitLabProviders returns a new list of GitLab providers for downloading custom templates
func NewS3Providers ¶
NewS3Providers returns a new instances of a s3 providers for downloading custom templates
Types ¶
type CustomTemplatesManager ¶
type CustomTemplatesManager struct {
// contains filtered or unexported fields
}
CustomTemplatesManager is a manager for custom templates
func NewCustomTemplatesManager ¶
func NewCustomTemplatesManager(options *types.Options) (*CustomTemplatesManager, error)
NewCustomTemplatesManager returns a new instance of a custom templates manager
func (*CustomTemplatesManager) Download ¶
func (c *CustomTemplatesManager) Download(ctx context.Context)
Download downloads the custom templates
func (*CustomTemplatesManager) Update ¶
func (c *CustomTemplatesManager) Update(ctx context.Context)
Update updates the custom templates
Click to show internal directories.
Click to hide internal directories.