policyservice

package
v4.2.2+incompatible Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2020 License: Apache-2.0 Imports: 16 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ApplyPolicy

func ApplyPolicy(request *msgs.ApplyPolicyRequest, ns, pgouser string) msgs.ApplyPolicyResponse

ApplyPolicy ... pgo apply mypolicy --selector=name=mycluster

func ApplyPolicyHandler

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

ApplyPolicyHandler ... pgo apply mypolicy --selector=name=mycluster

func CreatePolicy

func CreatePolicy(RESTClient *rest.RESTClient, policyName, policyURL, policyFile, ns, pgouser string) (bool, error)

CreatePolicy ...

func CreatePolicyHandler

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

CreatePolicyHandler ... pgo create policy parameters secretfrom

func DeletePolicy

func DeletePolicy(RESTClient *rest.RESTClient, policyName, ns, pgouser string) msgs.DeletePolicyResponse

DeletePolicy ...

func DeletePolicyHandler

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

DeletePolicyHandler ... returns a DeletePolicyResponse

func ShowPolicy

func ShowPolicy(RESTClient *rest.RESTClient, name string, allflags bool, ns string) crv1.PgpolicyList

ShowPolicy ...

func ShowPolicyHandler

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

ShowPolicyHandler ... returns a ShowPolicyResponse

Types

This section is empty.

Jump to

Keyboard shortcuts

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