werf

package
v3.7.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 8, 2026 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewKubeClientFactory

func NewKubeClientFactory(ctx context.Context) *kube.ClientFactory

Types

type BuildOptions

type BuildOptions struct {
	CommonOptions
}

type BundleApplyOptions

type BundleApplyOptions struct {
	CommonOptions
}

type BundlePublishOptions

type BundlePublishOptions struct {
	CommonOptions
}

type CiEnvOptions

type CiEnvOptions struct {
	CommonOptions
}

type CommonOptions

type CommonOptions struct {
	ShouldFail bool
	ExtraArgs  []string

	CancelOnOutput        string
	CancelOnOutputTimeout time.Duration
}

type ConvergeOptions

type ConvergeOptions struct {
	CommonOptions
}

type DismissOptions

type DismissOptions struct {
	CommonOptions
	Release   string
	Namespace string
}

type ExportOptions

type ExportOptions struct {
	CommonOptions
}

type HostCleanupOptions

type HostCleanupOptions struct {
	CommonOptions
}

type KubeCtlOptions

type KubeCtlOptions struct {
	CommonOptions
}

type KubeRunOptions

type KubeRunOptions struct {
	CommonOptions
	Command []string
	Image   string
}

type Project

type Project struct {
	GitRepoPath string
	WerfBinPath string
	// contains filtered or unexported fields
}

func NewProject

func NewProject(werfBinPath, gitRepoPath string) *Project

func (*Project) Build

func (p *Project) Build(ctx context.Context, opts *BuildOptions) (combinedOut string)

func (*Project) BundleApply

func (p *Project) BundleApply(ctx context.Context, releaseName, namespace string, opts *BundleApplyOptions) (combinedOut string)

func (*Project) BundlePublish

func (p *Project) BundlePublish(ctx context.Context, opts *BundlePublishOptions) (combinedOut string)

func (*Project) CiEnv

func (p *Project) CiEnv(ctx context.Context, opts *CiEnvOptions) (combinedOut string)

func (*Project) Compose

func (p *Project) Compose(ctx context.Context, opts *BuildOptions) (combinedOut string)

func (*Project) Converge

func (p *Project) Converge(ctx context.Context, opts *ConvergeOptions) (combinedOut string)

func (*Project) CreateNamespace

func (p *Project) CreateNamespace(ctx context.Context)

func (*Project) CreateRegistryPullSecretFromDockerConfig

func (p *Project) CreateRegistryPullSecretFromDockerConfig(ctx context.Context)

func (*Project) DismissAndDeleteNamespace

func (p *Project) DismissAndDeleteNamespace(ctx context.Context, opts *DismissOptions)

DismissAndDeleteNamespace tears a release down the way every deploy suite has to: werf dismiss can leave the namespace behind when the release is already gone.

func (*Project) Export

func (p *Project) Export(ctx context.Context, opts *ExportOptions) (combinedOut string)

func (*Project) HostCleanup

func (p *Project) HostCleanup(ctx context.Context, opts *HostCleanupOptions) (combinedOut string)

func (*Project) KubeCtl

func (p *Project) KubeCtl(ctx context.Context, opts *KubeCtlOptions) string

func (*Project) KubeRun

func (p *Project) KubeRun(ctx context.Context, opts *KubeRunOptions) string

func (*Project) Namespace

func (p *Project) Namespace(ctx context.Context) string

func (*Project) Release

func (p *Project) Release(ctx context.Context) string

func (*Project) RunCommand

func (p *Project) RunCommand(
	ctx context.Context,
	args []string,
	opts CommonOptions,
) string

func (*Project) StagesCopy

func (p *Project) StagesCopy(ctx context.Context, opts *StagesCopyOptions) (combinedOut string)

type StagesCopyOptions

type StagesCopyOptions struct {
	CommonOptions
}

type WithReportOptions

type WithReportOptions struct {
	CommonOptions
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL