labelservice

package
v4.2.1-rc.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2020 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeleteLabel

func DeleteLabel(request *msgs.DeleteLabelRequest, ns string) msgs.LabelResponse

DeleteLabel ... pgo delete label mycluster yourcluster --label=env=prod pgo delete label --label=env=prod --selector=group=somegroup

func DeleteLabelHandler

func DeleteLabelHandler(w http.ResponseWriter, r *http.Request)

DeleteLabelHandler ...

func Label

func Label(request *msgs.LabelRequest, ns, pgouser string) msgs.LabelResponse

Label ... 2 forms ... pgo label myucluser yourcluster --label=env=prod pgo label --label=env=prod --selector=name=mycluster

func LabelHandler

func LabelHandler(w http.ResponseWriter, r *http.Request)

LabelHandler ...

func PatchPgcluster

func PatchPgcluster(newLabel string, oldCRD crv1.Pgcluster, ns string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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