Documentation ¶
Index ¶
- func DisplayBuildsForProject(client client.API, opts ListBuildForProjectOptions, w io.Writer) error
- func DisplayOverview(client client.API, opts OverviewOptions, w io.Writer) error
- func DisplayProjects(client client.API, w io.Writer) error
- func Execute()
- func NewListBuildsForProjectCommand(client client.API) *cobra.Command
- func NewListProjectsCommand(client client.API) *cobra.Command
- func NewOverviewCommand(client client.API) *cobra.Command
- func NewRootCommand(client client.API) *cobra.Command
- type BuildRecord
- type ListBuildForProjectOptions
- type OverviewOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DisplayBuildsForProject ¶
DisplayBuildsForProject will render the projects you have access to
func DisplayOverview ¶
DisplayOverview will render each project asked for and the last build value
func DisplayProjects ¶
DisplayProjects will render the projects you have access to
func Execute ¶
func Execute()
Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.
func NewListBuildsForProjectCommand ¶
NewListBuildsForProjectCommand creates a new `builds` command
func NewListProjectsCommand ¶
NewListProjectsCommand creates a new `projects` command
func NewOverviewCommand ¶
NewOverviewCommand creates a new `overview` command
Types ¶
type BuildRecord ¶
BuildRecord gives us a struct to store records
type ListBuildForProjectOptions ¶
ListBuildForProjectOptions defines what arguments/options the user can provide
type OverviewOptions ¶ added in v1.1.0
OverviewOptions defines what arguments/options the user can provide