Documentation ¶
Index ¶
- Constants
- func NewScopedManagedIdentitySecret(subscriptionID string, tenantID string, clientID string, name string, ...) *v1.Secret
- func NewScopedServicePrincipalSecret(subscriptionID string, tenantID string, clientID string, clientSecret string, ...) *v1.Secret
- type AzureIDs
- type MockTokenCredential
- type PolicyFunc
Constants ¶
View Source
const DummyBillingId = "" /* 197-byte string literal not displayed */
View Source
const TestBillingIDVar = "TEST_BILLING_ID"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AzureIDs ¶
func DummyAzureIDs ¶
func DummyAzureIDs() AzureIDs
type MockTokenCredential ¶
type MockTokenCredential struct{}
func (MockTokenCredential) GetToken ¶
func (MockTokenCredential) GetToken(context.Context, policy.TokenRequestOptions) (azcore.AccessToken, error)
func (MockTokenCredential) NewAuthenticationPolicy ¶
func (MockTokenCredential) NewAuthenticationPolicy() policy.Policy
type PolicyFunc ¶
PolicyFunc is a type that implements the Policy interface. Use this type when implementing a stateless policy as a first-class function.
Click to show internal directories.
Click to hide internal directories.