Documentation ¶
Index ¶
- func DisableHeaders()
- func EnableMarkdown()
- func NewBuildArgsCmd() *cobra.Command
- func NewCheckCmd() *cobra.Command
- func NewClusterCmd() *cobra.Command
- func NewDiffCmd() *cobra.Command
- func NewDiffNamespaceCmd() *cobra.Command
- func NewImageCmd() *cobra.Command
- func NewLabelsCmd() *cobra.Command
- func ParseRepo(in string) (string, string)
- func Raw()
- func Reset()
- type BaseCmd
- type BuildArgsCmd
- type CheckCmd
- type ClusterCmd
- type DiffCmd
- type DiffNamespaceCmd
- type ImageCmd
- type LabelsCmd
- type Logger
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EnableMarkdown ¶
func EnableMarkdown()
EnableMarkdown tables are outputted in markdown format, rather than ASCII.
func NewBuildArgsCmd ¶
NewBuildArgsCmd creates a new build args command.
func NewClusterCmd ¶
NewClusterCmd creates a new cluster command.
func NewDiffNamespaceCmd ¶
NewDiffNamespaceCmd creates a new diff namespace command.
Types ¶
type BaseCmd ¶
type BaseCmd struct { CommandRunner util.CommandRunner Log Logger }
BaseCmd a common type to contain all the git helper methods.
func (*BaseCmd) GitCommitRev ¶
GitCommitRev helper to return the git commit rev.
func (*BaseCmd) GitTreeState ¶
GitTreeState helper to return the current tree state (clean|dirty).
type BuildArgsCmd ¶
BuildArgsCmd struct for the build args command.
type CheckCmd ¶
type CheckCmd struct { BaseCmd Cmd *cobra.Command Args []string LabelLister registry.LabelLister FailOnRecommendation bool }
CheckCmd struct for the check command.
type ClusterCmd ¶
type ClusterCmd struct { BaseCmd Cmd *cobra.Command Args []string ImageLister kube.ImageLister LabelLister registry.LabelLister Namespace string }
ClusterCmd struct for the cluster command.
type DiffNamespaceCmd ¶
type DiffNamespaceCmd struct { BaseCmd Cmd *cobra.Command Args []string LabelLister registry.LabelLister ImageLister kube.ImageLister }
DiffNamespaceCmd a struct for the diff namespace command.
Click to show internal directories.
Click to hide internal directories.