Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Deployer ¶
type Deployer interface { FindTemplate(template string) ([]byte, error) Deploy( deploymentName string, resourceGroupName string, location string, template []byte, armParams map[string]interface{}, ) (map[string]interface{}, error) Update( deploymentName string, resourceGroupName string, location string, template []byte, armParams map[string]interface{}, ) (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( context *porterCtx.Context, groupsClient resourcesSDK.GroupsClient, deploymentsClient resourcesSDK.DeploymentsClient, ) Deployer
NewDeployer returns a new ARM-based implementation of the Deployer interface
Click to show internal directories.
Click to hide internal directories.