Documentation ¶
Index ¶
- type ConfigController
- type ConfigControllerConfig
- type ConfigControllerFactory
- type EnvsController
- func (c *EnvsController) ApplyPlans(vcs domain.VCS, user, repo, tkn string, ps *domain.Plans) error
- func (c *EnvsController) GetAll(vcs domain.VCS, user, repo, tkn string) (*domain.Envs, error)
- func (c *EnvsController) GetAllFromLocal() (*domain.Envs, error)
- func (c *EnvsController) MakePlans(before, after *domain.Envs, del bool) *domain.Plans
- func (c *EnvsController) ShowAll(es *domain.Envs) error
- func (c *EnvsController) ShowPlans(ps *domain.Plans) error
- type EnvsControllerConfig
- type EnvsControllerFactory
- type IConfigController
- type IEnvsController
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfigController ¶
type ConfigController struct {
// contains filtered or unexported fields
}
ConfigController ...
func NewConfigController ¶
func NewConfigController(cfg *ConfigControllerConfig) *ConfigController
NewConfigController ...
type ConfigControllerConfig ¶
type ConfigControllerConfig struct {
ConfigRepository gateways.IConfigRepository
}
ConfigControllerConfig ...
type ConfigControllerFactory ¶
type ConfigControllerFactory struct { }
ConfigControllerFactory ...
func NewConfigControllerFactory ¶
func NewConfigControllerFactory() *ConfigControllerFactory
NewConfigControllerFactory ...
func (*ConfigControllerFactory) Create ¶
func (f *ConfigControllerFactory) Create() IConfigController
Create ...
type EnvsController ¶
type EnvsController struct {
// contains filtered or unexported fields
}
EnvsController ...
func NewEnvsController ¶
func NewEnvsController(cfg *EnvsControllerConfig) *EnvsController
NewEnvsController ...
func (*EnvsController) ApplyPlans ¶
ApplyPlans ...
func (*EnvsController) GetAllFromLocal ¶
func (c *EnvsController) GetAllFromLocal() (*domain.Envs, error)
GetAllFromLocal ...
type EnvsControllerConfig ¶
type EnvsControllerConfig struct { EnvsRepository gateways.IEnvsRepository EnvsPresenter presenters.IEnvsPresenter }
EnvsControllerConfig ...
type EnvsControllerFactory ¶
type EnvsControllerFactory struct{}
EnvsControllerFactory ...
func NewEnvsControllerFactory ¶
func NewEnvsControllerFactory() *EnvsControllerFactory
NewEnvsControllerFactory ...
func (*EnvsControllerFactory) Create ¶
func (f *EnvsControllerFactory) Create() IEnvsController
Create ...
type IConfigController ¶
IConfigController ...
type IEnvsController ¶
type IEnvsController interface { GetAll(vcs domain.VCS, user, repo, tkn string) (*domain.Envs, error) ShowAll(es *domain.Envs) error GetAllFromLocal() (*domain.Envs, error) MakePlans(before, after *domain.Envs, del bool) *domain.Plans ShowPlans(ps *domain.Plans) error ApplyPlans(vcs domain.VCS, user, repo, tkn string, ps *domain.Plans) error }
IEnvsController ...
Click to show internal directories.
Click to hide internal directories.