Documentation
¶
Index ¶
- Variables
- type AWSFlags
- type Config
- func (c *Config) Branch(ctx context.Context) error
- func (c *Config) Create(ctx context.Context) (*installations.Installations, error)
- func (c *Config) Default()
- func (c *Config) Pull(ctx context.Context) (*installations.Installations, error)
- func (c *Config) Push(ctx context.Context, i *installations.Installations) (*installations.Installations, error)
- func (c *Config) PushInstallations(ctx context.Context) (*installations.Installations, error)
- func (c *Config) Run(ctx context.Context) (*installations.Installations, error)
- func (c *Config) Update(ctx context.Context, currentInstallations *installations.Installations) (*installations.Installations, error)
- func (c *Config) Validate() error
- type InstallationsFlags
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrInvalidFlag = errors.New("invalid flag")
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Cluster string
BaseDomain string
Provider string
CMCRepository string
Github *github.Github
InstallationsBranch string
Input *installations.Installations
Flags InstallationsFlags
}
func (*Config) Create ¶
func (c *Config) Create(ctx context.Context) (*installations.Installations, error)
func (*Config) Pull ¶
func (c *Config) Pull(ctx context.Context) (*installations.Installations, error)
func (*Config) Push ¶
func (c *Config) Push(ctx context.Context, i *installations.Installations) (*installations.Installations, error)
func (*Config) PushInstallations ¶
func (c *Config) PushInstallations(ctx context.Context) (*installations.Installations, error)
func (*Config) Run ¶
func (c *Config) Run(ctx context.Context) (*installations.Installations, error)
func (*Config) Update ¶
func (c *Config) Update(ctx context.Context, currentInstallations *installations.Installations) (*installations.Installations, error)
Click to show internal directories.
Click to hide internal directories.