Documentation ¶
Index ¶
- Constants
- func Deploy(projectDir, imagesRepo, release, namespace, tag string, ...) error
- func GetSafeSecretManager(projectDir string, secretValues []string) (secret.Manager, error)
- func GetServiceValues(projectName, repo, namespace, tag string, tagStrategy tag_strategy.TagStrategy, ...) (map[string]interface{}, error)
- func GetTmpWerfChartPath(projectName string) string
- func Init(kubeContext string) error
- func PrepareWerfChart(targetDir string, projectName, projectDir string, m secret.Manager, ...) (*werf_chart.WerfChart, error)
- func ReleaseTmpWerfChart(tmpWerfChartPath string)
- func RunDismiss(releaseName, namespace, _ string, opts DismissOptions) error
- func RunLint(projectDir string, werfConfig *config.WerfConfig, opts LintOptions) error
- func RunRender(projectDir string, werfConfig *config.WerfConfig, opts RenderOptions) error
- type DeployOptions
- type DismissOptions
- type ImageInfo
- type ImageInfoGetter
- type ImageInfoGetterStub
- type LintOptions
- type RenderOptions
- type ServiceValuesOptions
Constants ¶
View Source
const (
TemplateEmptyValue = "\"-\""
)
Variables ¶
This section is empty.
Functions ¶
func Deploy ¶
func Deploy(projectDir, imagesRepo, release, namespace, tag string, tagStrategy tag_strategy.TagStrategy, werfConfig *config.WerfConfig, opts DeployOptions) error
func GetSafeSecretManager ¶
func GetServiceValues ¶
func GetServiceValues(projectName, repo, namespace, tag string, tagStrategy tag_strategy.TagStrategy, images []ImageInfoGetter, opts ServiceValuesOptions) (map[string]interface{}, error)
func GetTmpWerfChartPath ¶
func PrepareWerfChart ¶
func ReleaseTmpWerfChart ¶
func ReleaseTmpWerfChart(tmpWerfChartPath string)
func RunDismiss ¶
func RunDismiss(releaseName, namespace, _ string, opts DismissOptions) error
func RunLint ¶
func RunLint(projectDir string, werfConfig *config.WerfConfig, opts LintOptions) error
func RunRender ¶
func RunRender(projectDir string, werfConfig *config.WerfConfig, opts RenderOptions) error
Types ¶
type DeployOptions ¶
type DismissOptions ¶
type DismissOptions struct {
WithNamespace bool
}
type ImageInfo ¶
func (*ImageInfo) GetImageId ¶
func (*ImageInfo) GetImageName ¶
func (*ImageInfo) IsNameless ¶
type ImageInfoGetter ¶
type ImageInfoGetter interface { IsNameless() bool GetName() string GetImageName() string GetImageId() (string, error) }
func GetImagesInfoGetters ¶
func GetImagesInfoGetters(configImages []*config.Image, imagesRepo, tag string, withoutRegistry bool) []ImageInfoGetter
type ImageInfoGetterStub ¶
func (*ImageInfoGetterStub) GetImageId ¶
func (d *ImageInfoGetterStub) GetImageId() (string, error)
func (*ImageInfoGetterStub) GetImageName ¶
func (d *ImageInfoGetterStub) GetImageName() string
func (*ImageInfoGetterStub) GetName ¶
func (d *ImageInfoGetterStub) GetName() string
func (*ImageInfoGetterStub) IsNameless ¶
func (d *ImageInfoGetterStub) IsNameless() bool
type LintOptions ¶
type RenderOptions ¶
type ServiceValuesOptions ¶
type ServiceValuesOptions struct {
Env string
}
Source Files ¶
Click to show internal directories.
Click to hide internal directories.