config

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BasicAuthContext

func BasicAuthContext(ctx context.Context, username, password string) context.Context

Get BasicAuth context with a username and password

func ProviderBasicAuthContext

func ProviderBasicAuthContext(ctx context.Context, providerConfig internaltypes.ProviderConfiguration) context.Context

Get a BasicAuth context from a ProviderConfiguration

func ReportHttpError

func ReportHttpError(ctx context.Context, diagnostics *diag.Diagnostics, errorSummary string, err error, httpResp *http.Response)

Report an HTTP error

func ReportHttpErrorAsWarning

func ReportHttpErrorAsWarning(ctx context.Context, diagnostics *diag.Diagnostics, errorSummary string, err error, httpResp *http.Response)

Report an HTTP error as a warning

func SetAllAttributesToOptionalAndComputed

func SetAllAttributesToOptionalAndComputed(s *schema.Schema, exemptAttributes []string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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