reader

package
v1.35.0 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2025 License: Apache-2.0 Imports: 6 Imported by: 1

Documentation

Overview

Package reader provides a loader for the credential plugin.

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

Types

type Interface

type Interface interface {
	Read() (credentialplugin.Input, error)
}

type Reader

type Reader struct{}

func (Reader) Read

func (r Reader) Read() (credentialplugin.Input, error)

Read parses the environment variable KUBERNETES_EXEC_INFO. If the environment variable is not given by kubectl, Read returns a zero value.

Jump to

Keyboard shortcuts

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