Documentation ¶
Index ¶
- func DeleteLabel(request *msgs.DeleteLabelRequest, ns string) msgs.LabelResponse
- func DeleteLabelHandler(w http.ResponseWriter, r *http.Request)
- func Label(request *msgs.LabelRequest, ns string) msgs.LabelResponse
- func LabelHandler(w http.ResponseWriter, r *http.Request)
- func PatchPgcluster(newLabel string, oldCRD crv1.Pgcluster, ns string) error
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 string) msgs.LabelResponse
Label ... 2 forms ... pgo label myucluser yourcluster --label=env=prod pgo label --label=env=prod --selector=name=mycluster
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.