Help us shape the future of Go! Take the 2026 Go Developer Survey

resources

package
v0.0.64 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2025 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ArmConfig

type ArmConfig struct {
	SubscriptionID         string
	Location               string
	ResourceGroup          string
	PollingTimeoutDuration string
}

type ArmManager

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

func NewArmManager

func NewArmManager(ctx context.Context, config *ArmConfig, creds *cloudyazure.AzureCredentials) (*ArmManager, error)

func (*ArmManager) DeployArmTemplate

func (arm *ArmManager) DeployArmTemplate(ctx context.Context, name string, scope string, templateData []byte, paramsData []byte) error

func (*ArmManager) DeployValidArmTemplate

func (arm *ArmManager) DeployValidArmTemplate(ctx context.Context, name string, scope string, templateData map[string]interface{}, paramsData map[string]interface{}) error

func (*ArmManager) ValidateArmTemplate

func (arm *ArmManager) ValidateArmTemplate(ctx context.Context, name string, scope string, templateData []byte, paramsData []byte) (map[string]interface{}, map[string]interface{}, error)

type ResourceGroupConfig

type ResourceGroupConfig struct {
	PollingTimeoutDuration string
}

type ResourceGroupManager

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

func (*ResourceGroupManager) CreateResourceGroup

func (rsg *ResourceGroupManager) CreateResourceGroup(ctx context.Context, subscriptionID string, resourceGroupName string, location string, tags map[string]*string) error

func (*ResourceGroupManager) DeleteResourceGroup

func (rsg *ResourceGroupManager) DeleteResourceGroup(ctx context.Context, subscriptionID string, name string) error

func (*ResourceGroupManager) GetResourceGroup

func (rsg *ResourceGroupManager) GetResourceGroup(ctx context.Context, subscriptionID, name string) (*armresources.ResourceGroup, error)

func (*ResourceGroupManager) ListResourceGroups

func (rsg *ResourceGroupManager) ListResourceGroups(ctx context.Context, subscriptionID string) ([]*armresources.ResourceGroup, error)

type SubscriptionConfig

type SubscriptionConfig struct {
	TenantId               string
	PollingTimeoutDuration string
}

type SubscriptionManager

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

func (*SubscriptionManager) CreateSubscription

func (sm *SubscriptionManager) CreateSubscription(ctx context.Context, subscriptionName string) error

func (*SubscriptionManager) ListSubscriptions

func (sm *SubscriptionManager) ListSubscriptions(ctx context.Context) ([]*armsubscriptions.Subscription, error)

Jump to

Keyboard shortcuts

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