Documentation ¶
Index ¶
- func ClientWithDefaultConfig(address string, token string, headers http.Header) (*tfe.Client, error)
- func Error(err error) error
- func GetTFEClient(ctx context.Context, secretsManager secretsmanager.SecretsManager) (*tfe.Client, error)
- func GetTFEClientWithCredentials(tfeCredentialsSecret *secretsmanager.TFECredentialsSecret, headers http.Header) (*tfe.Client, error)
- func GetTFEClientWithHeaders(ctx context.Context, secretsManager secretsmanager.SecretsManager, ...) (*tfe.Client, error)
- type TFECredentialsSecret
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ClientWithDefaultConfig ¶
func Error ¶
Error is used to wrap errors from TFC requests. This sets the type of the error so that users know where the error came from.
func GetTFEClient ¶
func GetTFEClient(ctx context.Context, secretsManager secretsmanager.SecretsManager) (*tfe.Client, error)
func GetTFEClientWithCredentials ¶
func GetTFEClientWithCredentials(tfeCredentialsSecret *secretsmanager.TFECredentialsSecret, headers http.Header) (*tfe.Client, error)
func GetTFEClientWithHeaders ¶
func GetTFEClientWithHeaders(ctx context.Context, secretsManager secretsmanager.SecretsManager, headers http.Header) (*tfe.Client, error)
Types ¶
type TFECredentialsSecret ¶
Click to show internal directories.
Click to hide internal directories.