Documentation ¶
Index ¶
- func NewCmdComplianceDelete(commonOpts *opts.CommonOptions) *cobra.Command
- func NewCmdComplianceLogs(commonOpts *opts.CommonOptions) *cobra.Command
- func NewCmdComplianceResults(commonOpts *opts.CommonOptions) *cobra.Command
- func NewCmdComplianceRun(commonOpts *opts.CommonOptions) *cobra.Command
- func NewCmdComplianceStatus(commonOpts *opts.CommonOptions) *cobra.Command
- func NewCompliance(commonOpts *opts.CommonOptions) *cobra.Command
- type ComplianceDeleteOptions
- type ComplianceLogsOptions
- type ComplianceOptions
- type ComplianceResultsOptions
- type ComplianceRunOptions
- type ComplianceStatusOptions
- type StatusSortedTestCases
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCmdComplianceDelete ¶
func NewCmdComplianceDelete(commonOpts *opts.CommonOptions) *cobra.Command
NewCmdComplianceDeletecreates a command object for the "compliance delete" action, which delete the Kubernetes resources allocated by the compliance tests
func NewCmdComplianceLogs ¶
func NewCmdComplianceLogs(commonOpts *opts.CommonOptions) *cobra.Command
NewCmdComplianceLogs creates a command object for the "compliance logs" action, which prints the logs of compliance tests
func NewCmdComplianceResults ¶
func NewCmdComplianceResults(commonOpts *opts.CommonOptions) *cobra.Command
NewCmdComplianceResults creates a command object for the "compliance results" action, which shows the results of E2E compliance tests
func NewCmdComplianceRun ¶
func NewCmdComplianceRun(commonOpts *opts.CommonOptions) *cobra.Command
NewCmdComplianceRun creates a command object for the "compliance run" action, which starts the E2E compliance tests
func NewCmdComplianceStatus ¶
func NewCmdComplianceStatus(commonOpts *opts.CommonOptions) *cobra.Command
NewCmdComplianceStatus creates a command object for the "compliance status" action, which retrieve the status of E2E compliance tests
func NewCompliance ¶
func NewCompliance(commonOpts *opts.CommonOptions) *cobra.Command
NewCompliance creates a command object for the generic "compliance" action, which executes the compliance tests against a Kubernetes cluster
Types ¶
type ComplianceDeleteOptions ¶
type ComplianceDeleteOptions struct {
*opts.CommonOptions
}
ComplianceDeleteOptions options for "compliance delete" command
func (*ComplianceDeleteOptions) Run ¶
func (o *ComplianceDeleteOptions) Run() error
Run implements the "compliance delete" command
type ComplianceLogsOptions ¶
type ComplianceLogsOptions struct { *opts.CommonOptions Follow bool }
ComplianceLogsOptions options for "compliance logs" command
func (*ComplianceLogsOptions) Run ¶
func (o *ComplianceLogsOptions) Run() error
Run implements the "compliance logs" command
type ComplianceOptions ¶
type ComplianceOptions struct {
*opts.CommonOptions
}
ComplianceOptions options for compliance command
func (*ComplianceOptions) Run ¶
func (o *ComplianceOptions) Run() error
Run implements the compliance root command
type ComplianceResultsOptions ¶
type ComplianceResultsOptions struct {
*opts.CommonOptions
}
ComplianceResultsOptions options for "compliance results" command
func (*ComplianceResultsOptions) Exit ¶
func (o *ComplianceResultsOptions) Exit(status int)
Exit the main goroutine with status
func (*ComplianceResultsOptions) Run ¶
func (o *ComplianceResultsOptions) Run() error
Run implements the "compliance results" command
type ComplianceRunOptions ¶
type ComplianceRunOptions struct {
*opts.CommonOptions
}
ComplianceRunOptions options for "compliance run" command
func (*ComplianceRunOptions) Run ¶
func (o *ComplianceRunOptions) Run() error
Run implements the "compliance run" command
type ComplianceStatusOptions ¶
type ComplianceStatusOptions struct {
*opts.CommonOptions
}
ComplianceStatusOptions options for "compliance status" command
func (*ComplianceStatusOptions) Run ¶
func (o *ComplianceStatusOptions) Run() error
Run implements the "compliance status" command
type StatusSortedTestCases ¶
type StatusSortedTestCases []results.JUnitTestCase
StatusSortedTestCases implements Sort by status of a list of test case
func (StatusSortedTestCases) Len ¶
func (s StatusSortedTestCases) Len() int
func (StatusSortedTestCases) Less ¶
func (s StatusSortedTestCases) Less(i, j int) bool
func (StatusSortedTestCases) Swap ¶
func (s StatusSortedTestCases) Swap(i, j int)