Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCmdSet ¶
func NewCmdSet(o *options.ArgoRolloutsOptions) *cobra.Command
NewCmdSet returns a new instance of an `rollouts set` command
func NewCmdSetImage ¶
func NewCmdSetImage(o *options.ArgoRolloutsOptions) *cobra.Command
NewCmdSetImage returns a new instance of an `rollouts set image` command
func SetImage ¶ added in v0.9.1
func SetImage(dynamicClient dynamic.Interface, namespace, rollout, container, image string) (*unstructured.Unstructured, error)
SetImage updates a rollout's container image We use a dynamic clientset instead of a rollout clientset in order to allow an older plugin to still work with a newer version of Rollouts (without dropping newly introduced fields during the marshalling)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.