shared

package
v0.28.0 Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2025 License: MIT Imports: 13 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ApplicationNameFlag

func ApplicationNameFlag(usage string) *cli.StringFlag

func ConfigExists added in v0.27.0

func ConfigExists() (bool, string)

func DisableErrorFlag

func DisableErrorFlag(name string) *cli.BoolFlag

func FormatsFlag

func FormatsFlag(name string) *cli.StringSliceFlag

func HelmValuesFileFlag added in v0.19.0

func HelmValuesFileFlag() *cli.StringFlag

func ProjectFileFlag

func ProjectFileFlag() *cli.StringFlag

func RegistryFlag added in v0.19.0

func RegistryFlag(usage string) *cli.StringFlag

func RuntimeCloudProviderFlag

func RuntimeCloudProviderFlag() *cli.StringFlag

func SetConfig added in v0.27.0

func SetConfig(config *Config) error

func SeverityFlag

func SeverityFlag(name string) *cli.StringFlag

func SystemNameFlag

func SystemNameFlag(usage string) *cli.StringFlag

func WithCheckVersionAfterCommands added in v0.21.0

func WithCheckVersionAfterCommands(commands []*cli.Command, version string) []*cli.Command

func WithConfig added in v0.26.0

func WithConfig(commands [](func(_ *Config) *cli.Command), config *Config) []*cli.Command

Types

type Application added in v0.26.0

type Application struct {
	Name                   string `yaml:"name"`
	ProjectFile            string `yaml:"projectFile"`
	BuildContext           string `yaml:"buildContext"`
	HelmValuesFile         string `yaml:"helmValuesFile"`
	GoMainPackageDirectory string `yaml:"goMainPackageDirectory,omitempty"`
}

type Config added in v0.26.0

type Config struct {
	System       string        `yaml:"system"`
	Applications []Application `yaml:"applications"`
}

func GetConfig added in v0.27.0

func GetConfig() (*Config, error)

func (*Config) GetConfigForApplication added in v0.26.0

func (config *Config) GetConfigForApplication(applicationName string) (*Application, error)

func (*Config) IsEmpty added in v0.27.1

func (config *Config) IsEmpty() bool

Jump to

Keyboard shortcuts

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