Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetChartPathFromArgs ¶
GetChartPathFromArgs Finds the chart's path from the argument list and ensures it exists
func IsValidSubcommand ¶
IsValidSubcommand Checks whether subcommand is supported by octopus
func SwapHelmArgs ¶
func SwapHelmArgs(args []string, copiedFiles []CopiedFile) []string
SwapHelmArgs Swaps arguments matching copied file source with copied file destination
Types ¶
type Randomizer ¶
type StringRandomizer ¶
type StringRandomizer struct { }
func NewStringRandomizer ¶
func NewStringRandomizer(seed int64) *StringRandomizer
func (*StringRandomizer) GenerateRandomString ¶
func (sr *StringRandomizer) GenerateRandomString(n int) string
type SubchartParser ¶
type SubchartParser struct {
// contains filtered or unexported fields
}
func NewSubchartParser ¶
func NewSubchartParser(basePath string) (*SubchartParser, error)
func (*SubchartParser) GetSubchartsValueFilesFromArgs ¶
func (s *SubchartParser) GetSubchartsValueFilesFromArgs(args []string) ([]Subchart, error)
func (*SubchartParser) NewSubchart ¶
func (s *SubchartParser) NewSubchart(arg string, dependencies []*chart.Dependency) (Subchart, error)
type TarHandler ¶
type TarHandler struct {
// contains filtered or unexported fields
}
func NewTarHandler ¶
func NewTarHandler(basePath string) TarHandler
func NewTarHandlerWithRandomizer ¶
func NewTarHandlerWithRandomizer(basePath string, randomizer Randomizer) TarHandler
func (*TarHandler) Cleanup ¶
func (t *TarHandler) Cleanup(copiedFiles []CopiedFile) error
func (*TarHandler) CopyTarredfile ¶
func (t *TarHandler) CopyTarredfile(sub Subchart) (CopiedFile, error)
func (*TarHandler) CreateTmpFiles ¶
func (t *TarHandler) CreateTmpFiles(subchartValues []Subchart) ([]CopiedFile, error)
Click to show internal directories.
Click to hide internal directories.