foundation

package
v1.0.0-2021-09-16-15-5... Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2021 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const ImageKey = "multicloud_manager"

ImageKey used by multicoud manager deployments

View Source
const PlacementImageKey = "placement"

PlacementImageKey used by placement deployments

View Source
const RegistrationImageKey = "registration"

RegistrationImageKey used by registration deployments

View Source
const ServiceAccount = "ocm-foundation-sa"

ServiceAccount used by ocm deployments

View Source
const WorkImageKey = "work"

WorkImageKey used by work deployments

Variables

This section is empty.

Functions

func ClusterManager

func ClusterManager(m *v1alpha1.MultiClusterEngine, overrides map[string]string) *unstructured.Unstructured

func GetClusterManager

func GetClusterManager(client client.Client) (*unstructured.Unstructured, error)

GetClusterManager returns the cluster-manager instance found on the cluster

func Image

func Image(overrides map[string]string) string

Image returns image reference for multicloud-manager

func PlacementImage

func PlacementImage(overrides map[string]string) string

PlacementImage ...

func RegistrationImage

func RegistrationImage(overrides map[string]string) string

RegistrationImage ...

func ValidateDeployment

func ValidateDeployment(m *v1alpha1.MultiClusterEngine, overrides map[string]string, expected, dep *appsv1.Deployment) (*appsv1.Deployment, bool)

ValidateDeployment returns a deep copy of the deployment with the desired spec based on the MultiClusterEngine spec. Returns true if an update is needed to reconcile differences with the current spec.

func ValidateSpec

ValidateSpec returns true if an update is needed to reconcile differences with the current spec. If an update is needed it returns the object with the new spec to update with.

func WorkImage

func WorkImage(overrides map[string]string) string

WorkImage ...

Types

This section is empty.

Jump to

Keyboard shortcuts

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