wkspace

package
v0.9.25 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2024 License: MIT Imports: 41 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AllDependencies

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

func Configured

func Configured(repo string) bool

func Dependencies

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

func DiffedRepos

func DiffedRepos() ([]string, error)

func DownloadReadme

func DownloadReadme() error

func FormatValues

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

func Preflight

func Preflight() (bool, error)

func SortAndFilter

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

func TopSort

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

func TopSortNames

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

func UntilRepo

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

Types

type MinimalWorkspace

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

func Minimal

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

func (*MinimalWorkspace) BounceHelm

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

func (*MinimalWorkspace) DiffHelm

func (m *MinimalWorkspace) DiffHelm() error

func (*MinimalWorkspace) DiffTerraform

func (m *MinimalWorkspace) DiffTerraform() error

func (*MinimalWorkspace) MapKubeApis

func (m *MinimalWorkspace) MapKubeApis() error

func (*MinimalWorkspace) TemplateHelm

func (m *MinimalWorkspace) TemplateHelm() error

type Workspace

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

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

func (*Workspace) Bounce

func (w *Workspace) Bounce() error

func (*Workspace) BuildManifest

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

func (*Workspace) Destroy

func (w *Workspace) Destroy() error

func (*Workspace) DestroyHelm

func (w *Workspace) DestroyHelm() error

func (*Workspace) DestroyTerraform

func (w *Workspace) DestroyTerraform() error

func (*Workspace) HelmDiff

func (w *Workspace) HelmDiff() error

func (*Workspace) Prepare

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

func (*Workspace) RequiredCliVsn

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

func (*Workspace) Reset

func (w *Workspace) Reset() error

func (*Workspace) ToMinimal

func (wk *Workspace) ToMinimal() *MinimalWorkspace

func (*Workspace) Validate

func (wk *Workspace) Validate() error

Jump to

Keyboard shortcuts

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