Documentation ¶
Index ¶
- Constants
- func BuildClient[T any](subID string, cred *azidentity.DefaultAzureCredential, ...) *T
- func HandleErr(err error)
- func HandleErrPoller[T any](ctx context.Context, poller *armruntime.Poller[T]) T
- func HandleErrWithResult[T any](result T, err error) T
- func MustGetenv(key string) string
- type ClientBuilderFunc
Constants ¶
View Source
const (
DefaultPollingFreq = 10 * time.Second
)
Variables ¶
This section is empty.
Functions ¶
func BuildClient ¶
func BuildClient[T any](subID string, cred *azidentity.DefaultAzureCredential, builderFunc ClientBuilderFunc[T]) *T
func HandleErrPoller ¶
func HandleErrPoller[T any](ctx context.Context, poller *armruntime.Poller[T]) T
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.