authn

package
v0.0.12 Latest Latest
Warning

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

Go to latest
Published: Dec 24, 2023 License: Apache-2.0 Imports: 21 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	SkipImageDigest string
)

Functions

func AddInsecureRegistriesFlag added in v0.0.5

func AddInsecureRegistriesFlag(fs *pflag.FlagSet)

AddIsecureRegsitryFlag is for explicitly initializing the flags

func AddKubeChainOptionsFlags added in v0.0.6

func AddKubeChainOptionsFlags(fs *pflag.FlagSet)

func CreateInClusterKeyChain added in v0.0.9

func CreateInClusterKeyChain(ctx context.Context, k8sOpts *k8schain.Options) (authn.Keychain, error)

CreateInClusterKeyChain a multi keychain based using in cluster client

func CreateKeyChain

func CreateKeyChain(ctx context.Context, client kubernetes.Interface, k8sOpts *k8schain.Options) (authn.Keychain, error)

CreateKeyChain a multi keychain based in input arguments

func ImageWithDigest

func ImageWithDigest(kc kubernetes.Interface, image string, k8sOpts *k8schain.Options) (string, error)

func ImageWithoutDigest

func ImageWithoutDigest(image string) (string, error)

ImageWithoutDigest takes image as input, return image without the digest value

func WithTLSSkipVerify

func WithTLSSkipVerify(s string) crane.Option

Types

This section is empty.

Jump to

Keyboard shortcuts

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