Documentation ¶ Index ¶ func New(ctx context.Context, name string, configPath string, userName string) (tokenauth.Source, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func New ¶ func New(ctx context.Context, name string, configPath string, userName string) (tokenauth.Source, error) New constructs appropriate tokenAuth Source to the given AuthInfo from kube config referenced by user. This is really convenient if you want to reuse well configured kube config. Types ¶ This section is empty. Source Files ¶ View all Source files k8s.go Click to show internal directories. Click to hide internal directories.