Help us shape the future of Go! Take the 2026 Go Developer Survey

apiserverauth

package
v1.6.2 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2026 License: Apache-2.0 Imports: 35 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckIfResourceAvailable

func CheckIfResourceAvailable(oc *exutil.CLI, resource string, resourceNames []string, namespace ...string) (string, bool)

CheckIfResourceAvailable :

func CopyToFile

func CopyToFile(fromPath string, toFilename string) string

CopyToFile copy a given file into a temp folder with given file name

func ExecCommandOnPod

func ExecCommandOnPod(oc *exutil.CLI, podname string, namespace string, command string) string

func GetAlertsByName

func GetAlertsByName(oc *exutil.CLI, alertName string) (string, error)

GetAlertsByName get alert by name

func GetEncryptionKeyNumber

func GetEncryptionKeyNumber(oc *exutil.CLI, patten string) (int, error)

GetEncryptionKeyNumber :

func GetEncryptionPrefix

func GetEncryptionPrefix(oc *exutil.CLI, key string) (string, error)

GetEncryptionPrefix :

func LoadCPUMemWorkload

func LoadCPUMemWorkload(oc *exutil.CLI, workLoadtime int)

LoadCPUMemWorkload load cpu and memory workload

func WaitEncryptionKeyMigration

func WaitEncryptionKeyMigration(oc *exutil.CLI, secret string) (bool, error)

WaitEncryptionKeyMigration :

Types

type CertificateDetails

type CertificateDetails struct {
	CurlResponse   string
	Subject        string
	Issuer         string
	NotBefore      string
	NotAfter       string
	SubjectAltName []string
	SerialNumber   string
}

type User

type User struct {
	Username string
	Password string
}

Jump to

Keyboard shortcuts

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