wkspace

package
v0.10.1 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2024 License: MIT Imports: 41 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AllDependencies added in v0.8.1

func AllDependencies(repos []string) ([]string, error)

func Configured added in v0.8.1

func Configured(repo string) bool

func Dependencies added in v0.8.1

func Dependencies(repo string) ([]string, error)

func DiffedRepos added in v0.8.1

func DiffedRepos() ([]string, error)

func DownloadReadme

func DownloadReadme() error

func FormatValues added in v0.8.1

func FormatValues(w io.Writer, vals string, output *output.Output) (err error)

func Preflight

func Preflight() (bool, error)

func SortAndFilter added in v0.8.1

func SortAndFilter(installations []*api.Installation) ([]string, error)

func TopSort added in v0.8.1

func TopSort(client api.Client, installations []*api.Installation) ([]*api.Installation, error)

func TopSortNames added in v0.8.1

func TopSortNames(repos []string) ([]string, error)

func UntilRepo added in v0.8.1

func UntilRepo(client api.Client, repo string, installations []*api.Installation) ([]*api.Installation, error)

Types

type MinimalWorkspace added in v0.8.1

type MinimalWorkspace struct {
	Name       string
	Provider   provider.Provider
	Config     *config.Config
	Manifest   *manifest.ProjectManifest
	HelmConfig *action.Configuration
}

func Minimal added in v0.8.1

func Minimal(name string, helmConfig *action.Configuration) (*MinimalWorkspace, error)

func (*MinimalWorkspace) BounceHelm added in v0.8.1

func (m *MinimalWorkspace) BounceHelm(wait bool, skipArgs, setArgs, setJSONArgs []string) error

func (*MinimalWorkspace) DiffHelm added in v0.8.1

func (m *MinimalWorkspace) DiffHelm() error

func (*MinimalWorkspace) DiffTerraform added in v0.8.1

func (m *MinimalWorkspace) DiffTerraform() error

func (*MinimalWorkspace) MapKubeApis added in v0.8.1

func (m *MinimalWorkspace) MapKubeApis() error

func (*MinimalWorkspace) TemplateHelm added in v0.8.1

func (m *MinimalWorkspace) TemplateHelm() error

type Workspace added in v0.8.1

type Workspace struct {
	Provider     provider.Provider
	Installation *api.Installation
	Charts       []*api.ChartInstallation
	Terraform    []*api.TerraformInstallation
	Config       *config.Config
	Manifest     *manifest.ProjectManifest
	Context      *manifest.Context
	Links        *manifest.Links
}

func New added in v0.8.1

func New(client api.Client, inst *api.Installation) (*Workspace, error)

func (*Workspace) Bounce added in v0.8.1

func (w *Workspace) Bounce() error

func (*Workspace) BuildManifest added in v0.8.1

func (wk *Workspace) BuildManifest(prev *manifest.Manifest) *manifest.Manifest

func (*Workspace) Destroy added in v0.8.1

func (w *Workspace) Destroy() error

func (*Workspace) DestroyHelm added in v0.8.1

func (w *Workspace) DestroyHelm() error

func (*Workspace) DestroyTerraform added in v0.8.1

func (w *Workspace) DestroyTerraform() error

func (*Workspace) HelmDiff added in v0.8.1

func (w *Workspace) HelmDiff() error

func (*Workspace) Prepare added in v0.8.1

func (wk *Workspace) Prepare() error
func (wk *Workspace) PrintLinks()

func (*Workspace) RequiredCliVsn added in v0.8.1

func (wk *Workspace) RequiredCliVsn() (vsn string, ok bool)

func (*Workspace) Reset added in v0.8.1

func (w *Workspace) Reset() error

func (*Workspace) ToMinimal added in v0.8.1

func (wk *Workspace) ToMinimal() *MinimalWorkspace

func (*Workspace) Validate added in v0.8.1

func (wk *Workspace) Validate() error

Jump to

Keyboard shortcuts

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