token

package
v2.6.5 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FindYAMLWithKey

func FindYAMLWithKey(s string, opts ...collector.Option) ([]string, error)

FindYAMLWithKey will find and return files that contain a given key in them.

func ReplaceToken

func ReplaceToken(dir []string, token string) (err error)

func RotateToken

func RotateToken(configDir []string, newToken, apiAddress, rootDir string, restart bool) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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