controllers

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2021 License: UPL-1.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConvertAPIVersionToGroupAndVersion

func ConvertAPIVersionToGroupAndVersion(apiVersion string) (string, string)

ConvertAPIVersionToGroupAndVersion splits APIVersion into API and version parts. An APIVersion takes the form api/version (e.g. networking.k8s.io/v1) If the input does not contain a / the group is defaulted to the empty string. apiVersion - The combined api and version to split

func IsWorkloadMarkedForUpgrade added in v0.13.0

func IsWorkloadMarkedForUpgrade(labels map[string]string, previousUpgrade string) bool

IsWorkloadMarkedForUpgrade checks to see if a workload needs to be upgraded to the latest Verrazzano version. Verrazzano defines some resources which are used by applications and when Verrazzano is upgraded, a user can mark an application to indicate that it should use the latest resources defined by Verrazzano. A response of 'true' indicates that reconcile should use the latest resources defined by Verrazzano and a response of 'false' indicates that the application should continue to use the current values.

Types

This section is empty.

Directories

Path Synopsis
Package loggingscope is a generated GoMock package.
Package loggingscope is a generated GoMock package.

Jump to

Keyboard shortcuts

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