Documentation ¶
Index ¶
- Constants
- func Deploy(projectDir string, imagesRepoManager ImagesRepoManager, ...) error
- func GetSafeSecretManager(projectDir string, secretValues []string, ignoreSecretKey bool) (secret.Manager, error)
- func GetServiceValues(projectName string, imagesRepoManager ImagesRepoManager, namespace, tag string, ...) (map[string]interface{}, error)
- func Init(options InitOptions) error
- func PrepareWerfChart(projectName, chartDir, env string, m secret.Manager, secretValues []string, ...) (*werf_chart.WerfChart, error)
- func RunDismiss(releaseName, namespace, _ string, opts DismissOptions) error
- func RunLint(projectDir string, werfConfig *config.WerfConfig, opts LintOptions) error
- func RunRender(out io.Writer, projectDir string, werfConfig *config.WerfConfig, ...) error
- type DeployOptions
- type DismissOptions
- type ImageInfo
- type ImageInfoGetter
- type ImageInfoGetterStub
- type ImagesRepoManager
- type InitOptions
- type LintOptions
- type RenderOptions
- type ServiceValuesOptions
Constants ¶
View Source
const (
TemplateEmptyValue = "\"-\""
)
Variables ¶
This section is empty.
Functions ¶
func Deploy ¶
func Deploy(projectDir string, imagesRepoManager ImagesRepoManager, release, namespace, tag string, tagStrategy tag_strategy.TagStrategy, werfConfig *config.WerfConfig, helmReleaseStorageNamespace, helmReleaseStorageType string, opts DeployOptions) error
func GetSafeSecretManager ¶
func GetServiceValues ¶
func GetServiceValues(projectName string, imagesRepoManager ImagesRepoManager, namespace, tag string, tagStrategy tag_strategy.TagStrategy, images []ImageInfoGetter, opts ServiceValuesOptions) (map[string]interface{}, error)
func Init ¶
func Init(options InitOptions) error
func PrepareWerfChart ¶
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(out io.Writer, projectDir string, werfConfig *config.WerfConfig, opts RenderOptions) error
Types ¶
type DeployOptions ¶
type DismissOptions ¶
type ImageInfo ¶
type ImageInfo struct { Name string WithoutRegistry bool ImagesRepoManager ImagesRepoManager Tag string }
func (*ImageInfo) GetImageDigest ¶
func (*ImageInfo) GetImageId ¶
func (*ImageInfo) GetImageName ¶
func (*ImageInfo) IsNameless ¶
type ImageInfoGetter ¶
type ImageInfoGetter interface { IsNameless() bool GetName() string GetImageName() string GetImageId() (string, error) GetImageDigest() (string, error) }
func GetImagesInfoGetters ¶
func GetImagesInfoGetters(configImages []*config.StapelImage, configImagesFromDockerfile []*config.ImageFromDockerfile, imagesRepoManager ImagesRepoManager, tag string, withoutRegistry bool) []ImageInfoGetter
type ImageInfoGetterStub ¶
type ImageInfoGetterStub struct { Name string Tag string ImagesRepoManager ImagesRepoManager }
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 ImagesRepoManager ¶
type InitOptions ¶
type InitOptions struct { HelmInitOptions helm.InitOptions WithoutHelm bool }
type LintOptions ¶
type RenderOptions ¶
type RenderOptions struct { ReleaseName string Tag string TagStrategy tag_strategy.TagStrategy Namespace string WithoutImagesRepo bool ImagesRepoManager ImagesRepoManager Values []string SecretValues []string Set []string SetString []string Env string UserExtraAnnotations map[string]string UserExtraLabels map[string]string IgnoreSecretKey bool }
type ServiceValuesOptions ¶
type ServiceValuesOptions struct {
Env string
}
Source Files ¶
Click to show internal directories.
Click to hide internal directories.