utils

package
v1.7.0 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2022 License: Apache-2.0 Imports: 9 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckExistingToken

func CheckExistingToken(vaultClient *api.Client) error

CheckExistingToken takes a VaultType interface and logs in, while writting the config file And setting the token in the client

func DefaultHttpClient

func DefaultHttpClient() *http.Client

func SetToken

func SetToken(vaultClient *api.Client, token string) error

SetToken attmepts to set the vault token on the vault api client and then attempts to write that token to a file to be used later If this method fails we do not want to stop the process

Types

This section is empty.

Jump to

Keyboard shortcuts

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