Documentation ¶
Index ¶
- func JoinKeyValuePairs(pairs map[string]string) []string
- func ParseKeyValuePairs(pairs []string) (map[string]string, error)
- func RenderAccessMatrix(am AccessMatrix) string
- func RenderBootstrapToken(token *core.BootstrapToken) string
- func RenderBootstrapTokenList(list *core.BootstrapTokenList) string
- func RenderCertInfoChain(chain []*core.CertInfo) string
- func RenderClusterList(list *core.ClusterList) string
- func RenderRole(role *core.Role) string
- func RenderRoleBinding(binding *core.RoleBinding) string
- func RenderRoleBindingList(list *core.RoleBindingList) string
- func RenderRoleList(list *core.RoleList) string
- type AccessMatrix
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func JoinKeyValuePairs ¶
func ParseKeyValuePairs ¶
Parses strings of the form "key=value" into a map[string]string.
func RenderAccessMatrix ¶
func RenderAccessMatrix(am AccessMatrix) string
func RenderBootstrapToken ¶
func RenderBootstrapToken(token *core.BootstrapToken) string
func RenderBootstrapTokenList ¶
func RenderBootstrapTokenList(list *core.BootstrapTokenList) string
func RenderCertInfoChain ¶
func RenderClusterList ¶
func RenderClusterList(list *core.ClusterList) string
func RenderRole ¶
func RenderRoleBinding ¶
func RenderRoleBinding(binding *core.RoleBinding) string
func RenderRoleBindingList ¶
func RenderRoleBindingList(list *core.RoleBindingList) string
func RenderRoleList ¶
Types ¶
type AccessMatrix ¶
type AccessMatrix struct { // List of users (in the order they will appear in the table) Users []string // Set of known clusters (rules referencing nonexistent clusters are marked) KnownClusters map[string]struct{} // Map of tenant IDs to a set of users that have access to the tenant ClustersToUsers map[string]map[string]struct{} }
Click to show internal directories.
Click to hide internal directories.