Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var PrerequisiteGathererList []PrerequisiteGatherer
Functions ¶
func RegisterPrerequisiteGatherer ¶
func RegisterPrerequisiteGatherer(name string, config PrerequisiteGatherer)
Types ¶
type EnvVarRsyncPrerequisite ¶
type EnvVarRsyncPrerequisite struct {
SyncerType string
LagoonVersion string
LagoonProject string
LagoonEnvironment string
LagoonRoute string
LagoonDomain string
Lagoon string
MariaDb DbEnvVars
MongoDb DbEnvVars
PostgresDb DbEnvVars
}
func (*EnvVarRsyncPrerequisite) GatherPrerequisites ¶
func (e *EnvVarRsyncPrerequisite) GatherPrerequisites() ([]GatheredPrerequisite, error)
func (*EnvVarRsyncPrerequisite) GetName ¶
func (e *EnvVarRsyncPrerequisite) GetName() string
func (*EnvVarRsyncPrerequisite) GetValue ¶
func (e *EnvVarRsyncPrerequisite) GetValue() bool
func (*EnvVarRsyncPrerequisite) Status ¶
func (e *EnvVarRsyncPrerequisite) Status() int
type GatheredPrerequisite ¶
type PreRequisiteResponse ¶
type PreRequisiteResponse struct {
Version string `json:"version"`
LagoonSyncPath string `json:"lagoon-sync-path"`
EnvPrerequisite []GatheredPrerequisite `json:"env-config"`
RysncPrerequisite []GatheredPrerequisite `json:"rsync-config"`
}
func (*PreRequisiteResponse) IsPrerequisiteResponseEmpty ¶
func (p *PreRequisiteResponse) IsPrerequisiteResponseEmpty() bool
type PrerequisiteGatherer ¶
type PrerequisiteGatherer interface {
GetName() string
GetValue() bool
GatherPrerequisites() ([]GatheredPrerequisite, error)
Status() int
}
func GetPrerequisiteGatherer ¶
func GetPrerequisiteGatherer() []PrerequisiteGatherer
type RsyncPrerequisite ¶
type RsyncPrerequisite struct {
RsyncPath string
}
func (*RsyncPrerequisite) GatherPrerequisites ¶
func (p *RsyncPrerequisite) GatherPrerequisites() ([]GatheredPrerequisite, error)
func (*RsyncPrerequisite) GetName ¶
func (p *RsyncPrerequisite) GetName() string
func (*RsyncPrerequisite) GetValue ¶
func (p *RsyncPrerequisite) GetValue() bool
func (*RsyncPrerequisite) Status ¶
func (p *RsyncPrerequisite) Status() int
Click to show internal directories.
Click to hide internal directories.