Documentation ¶
Index ¶
- Constants
- func ReplaceVariablesInFile(fileSystem afero.Fs, path string, functionCall Callable) error
- type Bitbucket
- type BranchLoader
- type BranchLoaderInterface
- type Callable
- type Cleanup
- type Cluster
- type Config
- type ConfigLoader
- type DNSConfig
- type Database
- type Endpoints
- type Namespace
- type ReplaceFunc
Constants ¶
View Source
const ( // StagingEnvironment is used to apply a namespace StagingEnvironment = "staging" // ProductionEnvironment is used to apply a namespace ProductionEnvironment = "production" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BranchLoader ¶
type BranchLoader struct { }
func (*BranchLoader) LoadBranches ¶
func (b *BranchLoader) LoadBranches(bitbucket Bitbucket) ([]string, error)
type BranchLoaderInterface ¶
type Config ¶
type Config struct { KubernetesConfigFilepath string `yaml:"kubernetes_config_filepath"` Endpoints Endpoints Cluster Cluster Bitbucket Bitbucket Cleanup Cleanup DNS DNSConfig `yaml:"dns"` Database Database Namespace Namespace `validate:"required"` }
Config for the kube-helper
type ConfigLoader ¶
ConfigLoader API
func NewConfigLoader ¶
func NewConfigLoader() ConfigLoader
NewConfigLoader is the constructor method and returns a service which implements ConfigLoader
Click to show internal directories.
Click to hide internal directories.