rollout

package
v0.0.0-...-2c539bb Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2022 License: Apache-2.0 Imports: 32 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetWorkloadReplicasPath

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

GetWorkloadReplicasPath get replicas path of workload

func HandleReplicas

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

HandleReplicas override initial replicas of workload

func Setup

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

Setup adds a controller that reconciles ComponentDefinition.

func WorkloadName

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