rollout

package
v1.7.2 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2023 License: Apache-2.0 Imports: 32 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetWorkloadReplicasPath added in v1.2.0

func GetWorkloadReplicasPath(u unstructured.Unstructured) (string, error)

GetWorkloadReplicasPath get replicas path of workload

func HandleReplicas added in v1.2.0

func HandleReplicas(ctx context.Context, rolloutComp string, c client.Client) assemble.WorkloadOption

HandleReplicas override initial replicas of workload

func Setup added in v1.1.0

func Setup(mgr ctrl.Manager, args oamctrl.Args) error

Setup adds a controller that reconciles ComponentDefinition.

func WorkloadName added in v1.2.0

func WorkloadName(rolloutComp string) assemble.WorkloadOption

WorkloadName generate workload name for when rollout

Types

This section is empty.

Jump to

Keyboard shortcuts

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