key

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2020 License: Apache-2.0 Imports: 3 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ClusterIDFromMountPath added in v0.1.2

func ClusterIDFromMountPath(path string) string

ClusterIDFromMountPath aligns with the implementation details of IsMountPath and expects a valid mount path to work properly. A valid mount path must look something like the following, where "z4574" is the cluster ID.

pki-z4574/

func CommonName

func CommonName(ID string, commonNameFormat string) string

func IsMountPath

func IsMountPath(path string) bool

IsMountPath verifies if path is the expected mount path we use for our PKI backends. One special requirement is the format of our Tenant Cluster IDs. Further we must not mess around with the Control Plane specific G8s PKI backend. Thus IsMountPath does not consider "pki-g8s" to be a mount path.

func ListMountsPath

func ListMountsPath(ID string) string

func MountPKIPath

func MountPKIPath(ID string) string

func ReadCAPath

func ReadCAPath(ID string) string

func WriteCAPath

func WriteCAPath(ID string, exportPrivateKey bool) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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