package
0.0.20
Repository: https://github.com/redhat-developer/ocdev.git
Documentation: pkg.go.dev

# Functions

Client returns an oc client configured for this command's options.
ClientWithConnectionCheck returns an oc client configured for this command's options but forcing the connection check status to the value of the provided bool, skipping it if true, checking the connection otherwise.
FlagValueIfSet retrieves the value of the specified flag if it is set for the given command.
No description provided by the author
NewContext creates a new Context struct populated with the current state based on flags specified for the provided command.
NewContextCreatingAppIfNeeded creates a new Context struct populated with the current state based on flags specified for the provided command, creating the application if none already exists.
No description provided by the author

# Constants

ApplicationFlagName is the name of the flag allowing a user to specify which application to operate on.
ComponentFlagName is the name of the flag allowing a user to specify which component to operate on.
ProjectFlagName is the name of the flag allowing a user to specify which project to operate on.
SkipConnectionCheckFlagName is the name of the global flag used to skip connection check in the client.

# Structs

Context holds contextual information useful to commands such as correctly configured client, target project and application (based on specified flag values) and provides for a way to retrieve a given component given this context.

# Interfaces

No description provided by the author