framework

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ReadWritePermission = int32(0666)

ReadWritePermission 666 filesystem permission to be used with a mount path

Functions

func AlwaysTrueComparator added in v0.3.0

func AlwaysTrueComparator() func(deployed resource.KubernetesResource, requested resource.KubernetesResource) bool

AlwaysTrueComparator returns a comparator that always return 'true'. can be used on use cases where we want to create if not exists, but not update

func Fetch added in v0.3.0

func Fetch(client client.Client, key types.NamespacedName, instance resource.KubernetesResource, kind string) error

Fetch fetches a single deployed resource and stores it in "instance"

func FetchDeployedResources added in v0.4.0

func FetchDeployedResources(managedObjectsRef map[string]resource.KubernetesResource, nexus *v1alpha1.Nexus, cli client.Client) ([]resource.KubernetesResource, error)

FetchDeployedResources fetches deployed resources whose Kind is present in "managedObjectsRef"

func Key added in v0.3.0

func Key(instance metav1.Object) types.NamespacedName

Key creates a new NamespacedName from a given Kubernetes resource

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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