set

package
v1.7.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 13, 2024 License: Apache-2.0 Imports: 12 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmdSet

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL