Documentation ¶
Index ¶
- Constants
- Variables
- func AssertFlag(val string, match AssertMatcher, msg string) error
- func Execute(version string)
- func ExecutePipeline(cmd *cobra.Command, execArgs PipelineExecArgs) error
- func GetFormat(cmd *cobra.Command) string
- func LoadApiClientConfig(path string) (*configuration.ApiConfig, error)
- func LookupAnnotation(sol *solutions.Solution, name string) (string, bool)
- func NotNull(val string) bool
- func RunDoctor(fix bool) error
- func SetLoggingLevel(cmd *cobra.Command, args []string)
- func SetQuietLogging(cmd *cobra.Command, args []string)
- func TextFileLogin(cmd *cobra.Command, args []string) error
- func ValidURL(val string) bool
- type AssertMatcher
- type PipelineExecArgs
Constants ¶
View Source
const ApiResource = "api"
View Source
const BuildResource = "build"
View Source
const CreateAction = "create"
View Source
const DefaultUseContainer = false
DefaultUseContainer sets the default behavior if a container is used to run the oc commands.
View Source
const DeployAction = "deploy"
View Source
const DoctorAction = "doctor"
View Source
const EnvironmentResource = "environment"
View Source
const ExecuteAction = "execute"
View Source
const JsonCommandOutputFormat string = "json"
View Source
const ListAction = "list"
View Source
const LoginAction = "login"
View Source
const PipelineAnnotation = "techzone.ibm.com/tekton-pipeline-location"
View Source
const PipelineResource = "pipeline"
View Source
const PipelineRunAnnotation = "techzone.ibm.com/tekton-pipeline-run-location"
View Source
const ReservationResource = "reservation"
View Source
const ReserveAction = "reserve"
View Source
const ShowAction = "show"
View Source
const TechZoneFull = "IBM Technology Zone"
View Source
const TechZoneShort = "TechZone"
View Source
const TextCommandOutputFormat string = "text"
View Source
const VersionAction = "version"
View Source
const WorkspaceResource = "workspace"
Variables ¶
View Source
var ITZVersionString = "No Version Provided"
Functions ¶
func AssertFlag ¶ added in v0.1.26
func AssertFlag(val string, match AssertMatcher, msg string) error
func Execute ¶
func Execute(version string)
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 ExecutePipeline ¶ added in v0.1.26
func ExecutePipeline(cmd *cobra.Command, execArgs PipelineExecArgs) error
func LoadApiClientConfig ¶ added in v0.1.26
func LoadApiClientConfig(path string) (*configuration.ApiConfig, error)
func LookupAnnotation ¶ added in v0.1.26
func SetLoggingLevel ¶
func SetQuietLogging ¶
Types ¶
type AssertMatcher ¶ added in v0.1.26
Source Files ¶
Click to show internal directories.
Click to hide internal directories.