kubeclient

package
v0.0.0-...-93a508a Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2023 License: Apache-2.0 Imports: 6 Imported by: 1

Documentation

Overview

Package kubeclient contains code to get *rest.Config

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetConfigForServiceAccount

func GetConfigForServiceAccount(ctx context.Context, clientset kubernetes.Interface, inClusterConfig *rest.Config, nsName, saName string) (*rest.Config, error)

GetConfigForServiceAccount returns a *rest.Config which uses the service account for talking to a Kubernetes API server.

Types

This section is empty.

Jump to

Keyboard shortcuts

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