pushinstallations

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 3, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrInvalidFlag = errors.New("invalid flag")

Functions

This section is empty.

Types

type AWSFlags

type AWSFlags struct {
	Region                 string
	InstallationAWSAccount string
}

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) Branch

func (c *Config) Branch(ctx context.Context) error

func (*Config) Create

func (*Config) Pull

func (*Config) PushInstallations

func (c *Config) PushInstallations(ctx context.Context) (*installations.Installations, error)

func (*Config) Run

func (*Config) Update

func (c *Config) Update(ctx context.Context, currentInstallations *installations.Installations) (*installations.Installations, error)

func (*Config) Validate

func (c *Config) Validate() error

type InstallationsFlags

type InstallationsFlags struct {
	CCRRepository string
	Team          string
	AWS           AWSFlags
	Customer      string
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL