internal

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2021 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAutorestError

func GetAutorestError(err error) (autorest.DetailedError, bool)

func GetenvBool

func GetenvBool(key string, def bool) (bool, error)

func GetenvInt

func GetenvInt(key string, def int) (int, error)

func GetenvInt64

func GetenvInt64(key string, def int64) (int64, error)

func GetenvInt64Range

func GetenvInt64Range(key string, def, min, max int64) (int64, error)

func GetenvIntRange

func GetenvIntRange(key string, def, min, max int) (int, error)

func GetenvStr

func GetenvStr(key, def string) string

Types

type Authorizer

type Authorizer struct {
	// contains filtered or unexported fields
}

func NewAuthorizer

func NewAuthorizer(ctx context.Context, credential *azidentity.ChainedTokenCredential, scopes *[]string) (*Authorizer, error)

func NewAzureManagementAuthorizer

func NewAzureManagementAuthorizer(ctx context.Context, credential *azidentity.ChainedTokenCredential) (*Authorizer, error)

func (*Authorizer) WithAuthorization

func (a *Authorizer) WithAuthorization() autorest.PrepareDecorator

type ContainerInstanceClient

type ContainerInstanceClient struct {
	// contains filtered or unexported fields
}

func NewContainerInstanceClient

func NewContainerInstanceClient(auth autorest.Authorizer, subscriptionID, resourceGroupName, containerGroupName string) (*ContainerInstanceClient, error)

func (*ContainerInstanceClient) Get

type PrivateDNSRecordSetsClient

type PrivateDNSRecordSetsClient struct {
	// contains filtered or unexported fields
}

func NewPrivateDNSRecordSetsClient

func NewPrivateDNSRecordSetsClient(auth autorest.Authorizer, subscriptionID, resourceGroupName, privateZoneName string) (*PrivateDNSRecordSetsClient, error)

func (*PrivateDNSRecordSetsClient) CreateOrUpdate

func (c *PrivateDNSRecordSetsClient) CreateOrUpdate(ctx context.Context, recordType privatedns.RecordType, relativeRecordSetName string, parameters privatedns.RecordSet) (privatedns.RecordSet, error)

func (*PrivateDNSRecordSetsClient) Delete

func (c *PrivateDNSRecordSetsClient) Delete(ctx context.Context, recordType privatedns.RecordType, relativeRecordSetName string) error

func (*PrivateDNSRecordSetsClient) Get

func (c *PrivateDNSRecordSetsClient) Get(ctx context.Context, recordType privatedns.RecordType, relativeRecordSetName string) (privatedns.RecordSet, error)

Jump to

Keyboard shortcuts

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