arm

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2018 License: MIT Imports: 10 Imported by: 56

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Deployer

type Deployer interface {
	Deploy(
		deploymentName string,
		resourceGroupName string,
		location string,
		template []byte,
		goParams interface{},
		armParams map[string]interface{},
		tags map[string]string,
	) (map[string]interface{}, error)
	Update(
		deploymentName string,
		resourceGroupName string,
		location string,
		template []byte,
		goParams interface{},
		armParams map[string]interface{},
		tags map[string]string,
	) (map[string]interface{}, error)
	Delete(deploymentName string, resourceGroupName string) error
}

Deployer is an interface to be implemented by any component capable of deploying resource to Azure using an ARM template

func NewDeployer

func NewDeployer(
	groupsClient resourcesSDK.GroupsClient,
	deploymentsClient resourcesSDK.DeploymentsClient,
) Deployer

NewDeployer returns a new ARM-based implementation of the Deployer interface

Jump to

Keyboard shortcuts

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