Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Names = names.Controller Verb = verbs.Install )
Functions ¶
func NewCommand ¶
NewCommand creates a new controller cdommand.
func NewResourceManager ¶
func NewResourceManager(rcg genericclioptions.RESTClientGetter) (*ssa.ResourceManager, error)
NewResourceManager creates a ResourceManager for the given cluster.
Types ¶
type Command ¶
type Command struct { utils.BaseCommand Namespace string ControllerName string Timeout time.Duration Version string BaseURL string ReleaseAPIURL string DryRun bool }
func (*Command) ExistingVersion ¶
ExistingVersion calls the GitHub API to confirm the given version does exist.
func (*Command) GetLatestVersion ¶
GetLatestVersion calls the GitHub API and returns the latest released version.
Click to show internal directories.
Click to hide internal directories.