rook

package
v1.7.3 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func TestLabelsApply added in v1.7.3

func TestLabelsApply(t *testing.T)

func TestLabelsMerge added in v1.7.3

func TestLabelsMerge(t *testing.T)

Types

type Annotations added in v1.7.3

type Annotations map[string]string

Annotations are annotations

func (Annotations) ApplyToObjectMeta added in v1.7.3

func (a Annotations) ApplyToObjectMeta(t *metav1.ObjectMeta)

ApplyToObjectMeta adds annotations to object meta unless the keys are already defined.

func (Annotations) Merge added in v1.7.3

func (a Annotations) Merge(with map[string]string) Annotations

Merge returns an Annotations which results from merging the attributes of the original Annotations with the attributes of the supplied one. The supplied Placement's attributes will override the original ones if defined.

type KeyType added in v1.7.3

type KeyType string

KeyType type safety

type Labels added in v1.7.3

type Labels map[string]string

Labels are label for a given daemons

func (Labels) ApplyToObjectMeta added in v1.7.3

func (a Labels) ApplyToObjectMeta(t *metav1.ObjectMeta)

ApplyToObjectMeta adds labels to object meta unless the keys are already defined.

func (Labels) Merge added in v1.7.3

func (a Labels) Merge(with Labels) Labels

Merge returns a Labels which results from merging the attributes of the original Labels with the attributes of the supplied one. The supplied Labels attributes will override the original ones if defined.

Directories

Path Synopsis
Package v1alpha2 is the v1alpha2 version of the rook.io API.
Package v1alpha2 is the v1alpha2 version of the rook.io API.

Jump to

Keyboard shortcuts

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