set

package
v0.0.0-...-de69368 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

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

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