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

token

package
v1.16.21 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetSentryToken

func GetSentryToken(allowKubernetes bool) (token string, validator sentryv1pb.SignCertificateRequest_TokenValidator, err error)

GetSentryToken returns the token for authenticating with Sentry.

func GetSentryTokenFromFile added in v1.14.0

func GetSentryTokenFromFile(path string) (token string, validator sentryv1pb.SignCertificateRequest_TokenValidator, err error)

func HasKubernetesToken

func HasKubernetesToken() bool

HasKubernetesToken returns true if a Kubernetes token exists.

Types

This section is empty.

Jump to

Keyboard shortcuts

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