Documentation ¶
Index ¶
- func EnumerateDaemons(configPath string, handleFn func(Daemon) error) error
- func FindRepository(configPath string, module string) (*Repository, *BuildConfiguration, error)
- type BuildConfiguration
- type ComputesList
- type Daemon
- type DaemonConfigFile
- type EnvVar
- type Rabbits
- type Repository
- type RepositoryConfigFile
- type System
- type SystemConfigFile
- type SystemConfigurationCRType
- type ThirdPartyService
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FindRepository ¶
func FindRepository(configPath string, module string) (*Repository, *BuildConfiguration, error)
Types ¶
type BuildConfiguration ¶ added in v0.0.2
type ComputesList ¶ added in v0.0.7
type ComputesList []string
type Daemon ¶
type Daemon struct { Name string `yaml:"name"` Bin string `yaml:"bin"` BuildCmd string `yaml:"buildCmd"` Repository string `yaml:"repository"` Path string `yaml:"path"` ServiceAccount struct { Name string `yaml:"name"` Namespace string `yaml:"namespace"` } `yaml:"serviceAccount,omitempty"` ExtraArgs string `yaml:"extraArgs,omitempty"` Environment []EnvVar `yaml:"env,omitempty"` }
type DaemonConfigFile ¶
type DaemonConfigFile struct {
Daemons []Daemon `yaml:"daemons"`
}
type Rabbits ¶ added in v0.0.7
type Rabbits map[string]ComputesList
type Repository ¶
type Repository struct { Name string `yaml:"name"` Overlays []string `yaml:"overlays,flow"` Development string `yaml:"development"` Master string `yaml:"master"` UseRemoteK bool `yaml:"useRemoteK,omitempty"` RemoteReference struct { Build string `yaml:"build"` Url string `yaml:"url"` } `yaml:"remoteReference,omitempty"` }
type RepositoryConfigFile ¶
type RepositoryConfigFile struct { Repositories []Repository `yaml:"repositories"` BuildConfig BuildConfiguration `yaml:"buildConfiguration"` ThirdPartyServices []ThirdPartyService `yaml:"thirdPartyServices"` }
type System ¶
type System struct { Name string `yaml:"name"` Aliases []string `yaml:"aliases,flow,omitempty"` Overlays []string `yaml:"overlays,omitempty,flow"` SystemConfiguration string `yaml:"systemConfiguration,flow"` K8sHost string `yaml:"k8sHost,flow,omitempty"` K8sPort string `yaml:"k8sPort,flow,omitempty"` }
func FindSystem ¶
type SystemConfigFile ¶
type SystemConfigFile struct {
Systems []System `yaml:"systems"`
}
func ReadConfig ¶ added in v0.0.2
func ReadConfig(path string) (*SystemConfigFile, error)
func (*SystemConfigFile) Verify ¶ added in v0.0.2
func (config *SystemConfigFile) Verify() error
type SystemConfigurationCRType ¶ added in v0.0.7
type SystemConfigurationCRType map[string]interface{}
func ReadSystemConfigurationCR ¶ added in v0.0.7
func ReadSystemConfigurationCR(crPath string) (SystemConfigurationCRType, error)
func (SystemConfigurationCRType) ExternalComputes ¶ added in v0.0.10
func (data SystemConfigurationCRType) ExternalComputes() ComputesList
func (SystemConfigurationCRType) RabbitsAndComputes ¶ added in v0.0.7
func (data SystemConfigurationCRType) RabbitsAndComputes() Rabbits
type ThirdPartyService ¶ added in v0.0.2
type ThirdPartyService struct { Name string `yaml:"name"` UseRemoteF bool `yaml:"useRemoteF,omitempty"` Url string `yaml:"url"` WaitCmd string `yaml:"waitCmd,omitempty"` UseHelm bool `yaml:"useHelm,omitempty"` HelmCmd string `yaml:"helmCmd,omitempty"` }
func GetThirdPartyServices ¶ added in v0.0.2
func GetThirdPartyServices(configPath string) ([]ThirdPartyService, error)
Click to show internal directories.
Click to hide internal directories.