Documentation ¶
Index ¶
- type App
- func (app *App) Apply(project, branchName string) error
- func (app *App) Close() error
- func (app *App) CurrentContext() settings.Service
- func (app *App) Fetch(project, branchName string) (*FetchResult, error)
- func (app *App) Generate(project, branchName string) ([]runtime.Object, error)
- func (app *App) Render(fetched *FetchResult) ([]runtime.Object, error)
- func (app *App) StartInterceptors(service *settings.Service)
- type Clients
- type FetchResult
- type Parameters
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type App ¶
type App struct { Parameters *Parameters Clients *Clients Settings *settings.Settings Interceptors *interceptors.Multi }
func New ¶
func New(p *Parameters) (*App, error)
func (*App) CurrentContext ¶
func (*App) StartInterceptors ¶
type FetchResult ¶
type Parameters ¶
type Parameters struct { Context string Kubeconfig string KubectlPath string `mapstructure:"kubectl-path"` GitHubToken string `mapstructure:"github-token"` HTTPCacheDir string `mapstructure:"http-cache-dir"` GELFAddress string `mapstructure:"gelf-address"` StatsdAddress string `mapstructure:"statsd-address"` Filename string }
Click to show internal directories.
Click to hide internal directories.