Documentation ¶
Index ¶
- Constants
- func Deploy(ctx context.Context, projectName, projectDir, helmChartDir string, ...) error
- func GetSafeSecretManager(ctx context.Context, projectDir, helmChartDir string, secretValues []string, ...) (secret.Manager, error)
- func GetServiceValues(ctx context.Context, projectName string, ...) (map[string]interface{}, error)
- func Init(options InitOptions) error
- func PrepareWerfChart(ctx context.Context, projectName, helmChartDir, env string, m secret.Manager, ...) (*werf_chart.WerfChart, error)
- func RunDismiss(ctx context.Context, projectName, release, namespace, _ string, ...) error
- func RunLint(ctx context.Context, projectDir, helmChartDir string, ...) error
- func RunRender(ctx context.Context, out io.Writer, projectDir, helmChartDir string, ...) error
- type DeployOptions
- type DismissOptions
- type InitOptions
- type LintOptions
- type LockManager
- type RenderOptions
- type ServiceValuesOptions
Constants ¶
View Source
const (
TemplateEmptyValue = "\"-\""
)
Variables ¶
This section is empty.
Functions ¶
func Deploy ¶
func Deploy(ctx context.Context, projectName, projectDir, helmChartDir string, imagesRepository string, images []images_manager.ImageInfoGetter, release, namespace, commonTag string, tagStrategy tag_strategy.TagStrategy, werfConfig *config.WerfConfig, helmReleaseStorageNamespace, helmReleaseStorageType string, opts DeployOptions) error
func GetSafeSecretManager ¶
func GetServiceValues ¶
func GetServiceValues(ctx context.Context, projectName string, imagesRepository, namespace, commonTag string, tagStrategy tag_strategy.TagStrategy, images []images_manager.ImageInfoGetter, opts ServiceValuesOptions) (map[string]interface{}, error)
func Init ¶
func Init(options InitOptions) error
func PrepareWerfChart ¶
func RunDismiss ¶
func RunDismiss(ctx context.Context, projectName, release, namespace, _ string, opts DismissOptions) error
func RunLint ¶
func RunLint(ctx context.Context, projectDir, helmChartDir string, werfConfig *config.WerfConfig, imagesRepository string, images []images_manager.ImageInfoGetter, commonTag string, tagStrategy tag_strategy.TagStrategy, opts LintOptions) error
func RunRender ¶
func RunRender(ctx context.Context, out io.Writer, projectDir, helmChartDir string, werfConfig *config.WerfConfig, imagesRepository string, images []images_manager.ImageInfoGetter, commonTag string, tagStrategy tag_strategy.TagStrategy, opts RenderOptions) error
Types ¶
type DeployOptions ¶
type DismissOptions ¶
type InitOptions ¶
type InitOptions struct { HelmInitOptions helm.InitOptions WithoutHelm bool }
type LintOptions ¶
type LockManager ¶
func NewLockManager ¶
func NewLockManager(namespace string) (*LockManager, error)
func (*LockManager) LockRelease ¶
func (lockManager *LockManager) LockRelease(releaseName string) (lockgate.LockHandle, error)
func (*LockManager) Unlock ¶
func (lockManager *LockManager) Unlock(handle lockgate.LockHandle) error
type RenderOptions ¶
type ServiceValuesOptions ¶
type ServiceValuesOptions struct {
Env string
}
Source Files ¶
Click to show internal directories.
Click to hide internal directories.