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 ¶
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.
Click to show internal directories.
Click to hide internal directories.