Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ContextParams ¶
type ContextParams struct { Description string Location string SubscriptionID string ResourceGroup string }
ContextParams options for creating ACI context
type LoginParams ¶
LoginParams azure login options
func (LoginParams) Validate ¶
func (opts LoginParams) Validate() error
Validate returns an error if options are not used properly
type ResourceGroupHelper ¶
type ResourceGroupHelper interface { GetSubscriptionIDs(ctx context.Context) ([]subscription.Model, error) ListGroups(ctx context.Context, subscriptionID string) ([]resources.Group, error) GetGroup(ctx context.Context, subscriptionID string, groupName string) (resources.Group, error) CreateOrUpdate(ctx context.Context, subscriptionID string, resourceGroupName string, parameters resources.Group) (result resources.Group, err error) DeleteAsync(ctx context.Context, subscriptionID string, resourceGroupName string) error }
ResourceGroupHelper interface to manage resource groups and subscription IDs
func NewACIResourceGroupHelper ¶
func NewACIResourceGroupHelper() ResourceGroupHelper
NewACIResourceGroupHelper create a new ResourceGroupHelper
Click to show internal directories.
Click to hide internal directories.