Documentation ¶
Overview ¶
Package app implements application management features
Index ¶
- func NewPolicyAutomationCli(p PolicyAutomation) *cli.App
- type CliConfig
- type PolicyAutomation
- type PolicyAutomationApp
- func (p *PolicyAutomationApp) Check() error
- func (p *PolicyAutomationApp) CheckBestPractices() error
- func (p *PolicyAutomationApp) CheckScalability() error
- func (p *PolicyAutomationApp) Close() error
- func (p *PolicyAutomationApp) ClusterJSONData() error
- func (p *PolicyAutomationApp) ConfigureSCC(orgNumber string) error
- func (p *PolicyAutomationApp) LoadCliConfig(cliConfig *CliConfig, defaultsFn setConfigDefaults, validateFn validateConfig) error
- func (p *PolicyAutomationApp) LoadConfig(config *cfg.Config) error
- func (p *PolicyAutomationApp) PolicyCheck() error
- func (p *PolicyAutomationApp) PolicyGenerateDocumentation() error
- func (p *PolicyAutomationApp) Version() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewPolicyAutomationCli ¶
func NewPolicyAutomationCli(p PolicyAutomation) *cli.App
Types ¶
type CliConfig ¶
type CliConfig struct { ConfigFile string SilentMode bool JSONOutput bool CredentialsFile string DumpFile string ClusterName string ClusterLocation string ProjectName string GitRepository string GitBranch string GitDirectory string LocalDirectory string OutputFile string DocumentationOutput string DiscoveryEnabled bool SccOrgNumber string }
type PolicyAutomation ¶
type PolicyAutomation interface { LoadCliConfig(cliConfig *CliConfig, defaultsFn setConfigDefaults, validateFn validateConfig) error Close() error Check() error CheckBestPractices() error CheckScalability() error ClusterJSONData() error Version() error PolicyCheck() error PolicyGenerateDocumentation() error ConfigureSCC(orgNumber string) error }
func NewPolicyAutomationApp ¶
func NewPolicyAutomationApp() PolicyAutomation
type PolicyAutomationApp ¶
type PolicyAutomationApp struct {
// contains filtered or unexported fields
}
func (*PolicyAutomationApp) Check ¶ added in v1.1.0
func (p *PolicyAutomationApp) Check() error
func (*PolicyAutomationApp) CheckBestPractices ¶ added in v1.1.0
func (p *PolicyAutomationApp) CheckBestPractices() error
func (*PolicyAutomationApp) CheckScalability ¶ added in v1.1.0
func (p *PolicyAutomationApp) CheckScalability() error
func (*PolicyAutomationApp) Close ¶
func (p *PolicyAutomationApp) Close() error
func (*PolicyAutomationApp) ClusterJSONData ¶ added in v0.1.0
func (p *PolicyAutomationApp) ClusterJSONData() error
func (*PolicyAutomationApp) ConfigureSCC ¶ added in v1.2.0
func (p *PolicyAutomationApp) ConfigureSCC(orgNumber string) error
func (*PolicyAutomationApp) LoadCliConfig ¶
func (p *PolicyAutomationApp) LoadCliConfig(cliConfig *CliConfig, defaultsFn setConfigDefaults, validateFn validateConfig) error
func (*PolicyAutomationApp) LoadConfig ¶
func (p *PolicyAutomationApp) LoadConfig(config *cfg.Config) error
func (*PolicyAutomationApp) PolicyCheck ¶ added in v0.1.0
func (p *PolicyAutomationApp) PolicyCheck() error
func (*PolicyAutomationApp) PolicyGenerateDocumentation ¶ added in v1.2.0
func (p *PolicyAutomationApp) PolicyGenerateDocumentation() error
func (*PolicyAutomationApp) Version ¶ added in v0.1.0
func (p *PolicyAutomationApp) Version() error
Click to show internal directories.
Click to hide internal directories.