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: 5 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AllowedDomains

func AllowedDomains(ID, commonNameFormat string, altNames []string) string

AllowedDomains computes a comma separated list of alternative names where the first item is the common name. This has to be considered in ToAltNames when reverse computing the list of allowed domains.

func ListRolesPath

func ListRolesPath(ID string) string

func ReadRolePath

func ReadRolePath(ID string, organizations []string) string

func RoleName

func RoleName(ID string, organizations []string) string

func ToAltNames

func ToAltNames(a string) []string

ToAltNames takes a string as provided by AllowedDomains and returns the list of alternative names as taken by AllowedDomains. Note this implies dropping the first item of the parsed list.

func ToOrganizations

func ToOrganizations(o string) []string

func WriteRolePath

func WriteRolePath(ID string, organizations []string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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