package
Version:
v0.0.0-...-c8b7f0f
Opens a new window with list of versions in this module.
Published: Nov 11, 2019
License: Apache-2.0
Opens a new window with license information.
Imports: 8
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package deploymentmanager provides utilities for deployment manager.
Upsert creates the deployment if it does not exist, else updates it.
type Deployment struct {
Imports []*Import `json:"imports,omitempty"`
Resources []*Resource `json:"resources"`
}
Deployment represents a single deployment which can be used by the GCP Deployment Manager.
TODO: move into separate package.
type Import struct {
Path string `json:"path"`
}
Import respresents a deployment manager template import.
type Metadata struct {
DependsOn []string `json:"dependsOn,omitempty"`
}
Metadata contains extra metadata of the deployment.
type Resource struct {
Name string `json:"name"`
Type string `json:"type"`
Properties map[string]interface{} `json:"properties,omitempty"`
Metadata *Metadata `json:"metadata,omitempty"`
}
Resource defines the deployment manager resources to deploy.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.