Documentation
¶
Index ¶
- func NewKubeClientFactory(ctx context.Context) *kube.ClientFactory
- type BuildOptions
- type BundleApplyOptions
- type BundlePublishOptions
- type CiEnvOptions
- type CommonOptions
- type ConvergeOptions
- type DismissOptions
- type ExportOptions
- type HostCleanupOptions
- type KubeCtlOptions
- type KubeRunOptions
- type Project
- func (p *Project) Build(ctx context.Context, opts *BuildOptions) (combinedOut string)
- func (p *Project) BundleApply(ctx context.Context, releaseName, namespace string, opts *BundleApplyOptions) (combinedOut string)
- func (p *Project) BundlePublish(ctx context.Context, opts *BundlePublishOptions) (combinedOut string)
- func (p *Project) CiEnv(ctx context.Context, opts *CiEnvOptions) (combinedOut string)
- func (p *Project) Compose(ctx context.Context, opts *BuildOptions) (combinedOut string)
- func (p *Project) Converge(ctx context.Context, opts *ConvergeOptions) (combinedOut string)
- func (p *Project) CreateNamespace(ctx context.Context)
- func (p *Project) CreateRegistryPullSecretFromDockerConfig(ctx context.Context)
- func (p *Project) DismissAndDeleteNamespace(ctx context.Context, opts *DismissOptions)
- func (p *Project) Export(ctx context.Context, opts *ExportOptions) (combinedOut string)
- func (p *Project) HostCleanup(ctx context.Context, opts *HostCleanupOptions) (combinedOut string)
- func (p *Project) KubeCtl(ctx context.Context, opts *KubeCtlOptions) string
- func (p *Project) KubeRun(ctx context.Context, opts *KubeRunOptions) string
- func (p *Project) Namespace(ctx context.Context) string
- func (p *Project) Release(ctx context.Context) string
- func (p *Project) RunCommand(ctx context.Context, args []string, opts CommonOptions) string
- func (p *Project) StagesCopy(ctx context.Context, opts *StagesCopyOptions) (combinedOut string)
- type StagesCopyOptions
- type WithReportOptions
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 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 (*Project) Build ¶
func (p *Project) Build(ctx context.Context, opts *BuildOptions) (combinedOut string)
func (*Project) BundleApply ¶
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 (*Project) CreateRegistryPullSecretFromDockerConfig ¶
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) RunCommand ¶
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
}
Click to show internal directories.
Click to hide internal directories.