kubernetes

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateContainerRegistry added in v0.2.0

func GenerateContainerRegistry(name string, in v1alpha1.DOContainerRegistryParameters, create *godo.RegistryCreateRequest)

GenerateContainerRegistry generates *godo.RegistryCreateRequest instance from DOContainerRegistryParameters.

func GenerateContainerRegistryObservation added in v0.2.0

func GenerateContainerRegistryObservation(registry *godo.Registry, subscription *godo.RegistrySubscription) v1alpha1.DOContainerRegistryObservation

GenerateContainerRegistryObservation generates DOContainerRegistryObservation instance from godo.Registry and godo.RegistrySubscription

func GenerateKubernetes

GenerateKubernetes generates *godo.KubernetesRequest instance from DOKubernetesClusterParameters.

func GenerateObservation added in v0.2.0

func GenerateObservation(observed *godo.KubernetesCluster) v1alpha1.DOKubernetesClusterObservation

GenerateObservation generates a DOKubernetesClusterObservation from a given observed state from godo

func LateInitializeSpec

func LateInitializeSpec(p *v1alpha1.DOKubernetesClusterParameters, observed godo.KubernetesCluster)

LateInitializeSpec updates any unset (i.e. nil) optional fields of the supplied DOKubernetesClusterParameters that are set (i.e. non-zero) on the supplied Kubernetes Cluster.

func RegistryLateInitializeSpec added in v0.2.0

func RegistryLateInitializeSpec(p *v1alpha1.DOContainerRegistryParameters, observed godo.Registry)

RegistryLateInitializeSpec updates any unset (i.e. nil) optional fields of the supplied DOContainerRegistryParameters that are set (i.e. non-zero) on the supplied Container Registry.

func SetCondition added in v0.2.0

func SetCondition(cr *v1alpha1.DOKubernetesCluster)

SetCondition sets the condition for a DOKubernetesCluster resource from its state

Types

type RegistryClient added in v0.2.0

RegistryClient is the external client used for DOContainerRegistry Custom Resource

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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