yml

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: May 9, 2021 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Byte

func Byte(in interface{}) []byte

func Print

func Print(in interface{})

func Read

func Read(file string, yml *Config) error

func Save

func Save(file string, in interface{}) error

func String

func String(in interface{}) string

Types

type Config

type Config struct {
	Project      string
	Version      string
	Repositories []*repo.Config
	Releases     []*release.Config
}

func (*Config) ListReleases added in v0.11.0

func (c *Config) ListReleases() error

func (*Config) Plan

func (c *Config) Plan(o *SavePlanOptions, helmSettings *helm.EnvSettings) error

func (*Config) PlanManifests

func (c *Config) PlanManifests(dir string, helmSettings *helm.EnvSettings) error

func (*Config) PlanReleases

func (c *Config) PlanReleases(tags []string)

func (*Config) PlanReleasesValues

func (c *Config) PlanReleasesValues(dir string) error

func (*Config) PlanRepos

func (c *Config) PlanRepos()

func (*Config) SavePlan

func (c *Config) SavePlan(o *SavePlanOptions, helmSettings *helm.EnvSettings) error

func (*Config) Status added in v0.11.0

func (c *Config) Status(releases []string) error

func (*Config) Sync

func (c *Config) Sync(manifestPath string, settings *helm.EnvSettings) (err error)

func (*Config) SyncFake

func (c *Config) SyncFake(manifestPath string, settings *helm.EnvSettings) error

func (*Config) SyncReleases

func (c *Config) SyncReleases(manifestPath string) error

func (*Config) SyncRepos

func (c *Config) SyncRepos(settings *helm.EnvSettings) error

func (*Config) SyncWithKubedog

func (c *Config) SyncWithKubedog(manifestPath string, settings *helm.EnvSettings, kubedogConfig *kubedog.Config) error

type SavePlanOptions

type SavePlanOptions struct {
	// contains filtered or unexported fields
}

func (*SavePlanOptions) Dir

func (o *SavePlanOptions) Dir(dir string) *SavePlanOptions

func (*SavePlanOptions) File

func (o *SavePlanOptions) File(file string) *SavePlanOptions

func (*SavePlanOptions) PlanReleases

func (o *SavePlanOptions) PlanReleases() *SavePlanOptions

func (*SavePlanOptions) PlanRepos

func (o *SavePlanOptions) PlanRepos() *SavePlanOptions

func (*SavePlanOptions) PlanValues

func (o *SavePlanOptions) PlanValues() *SavePlanOptions

func (*SavePlanOptions) Tags

func (o *SavePlanOptions) Tags(tags []string) *SavePlanOptions

Jump to

Keyboard shortcuts

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