users

package
v0.0.0-...-e26ca7c Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AuthCanI

func AuthCanI(kubeconfig, verb, resource string) error

func CreateServiceAccount

func CreateServiceAccount(name, namespace string) error

func DeleteServiceAccount

func DeleteServiceAccount(name, namespace string) error

func GetCluster

func GetCluster(name string) (string, error)

func GetCurrentContext

func GetCurrentContext() (string, error)

func GetSATokenSecret

func GetSATokenSecret(name string) (string, error)

func GetToken

func GetToken(user string) (string, error)

func Kubeconfig

func Kubeconfig(user, namespace string) (string, error)

Get gets a user Kubeconfig in the current cluster

Types

This section is empty.

Jump to

Keyboard shortcuts

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