Documentation
¶
Index ¶
- func BuildClient[T any](subID string, cred *azidentity.DefaultAzureCredential, ...) *T
- func HandleErr(err error)
- func HandleErrPoller[T any](ctx context.Context, poller *runtime.Poller[T]) T
- func HandleErrWithResult[T any](result T, err error) T
- func MustGetenv(key string) string
- type ClientBuilderFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildClient ¶
func BuildClient[T any](subID string, cred *azidentity.DefaultAzureCredential, builderFunc ClientBuilderFunc[T]) *T
func HandleErrPoller ¶
func HandleErrWithResult ¶
func MustGetenv ¶
Types ¶
type ClientBuilderFunc ¶
type ClientBuilderFunc[T any] func(string, azcore.TokenCredential, *arm.ClientOptions) (*T, error)
Click to show internal directories.
Click to hide internal directories.