| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
This package is not in the latest version of its module.
Go to latest Published: Feb 27, 2024 License: Apache-2.0The Go module system was introduced in Go 1.11 and is the official dependency management solution for Go.
Redistributable licenses place minimal restrictions on how software can be used, modified, and redistributed.
Modules with tagged versions give importers more predictable builds.
When a project reaches major version v1 it is considered stable.
Package deploystack provides a series of interfaces for getting Google Cloud settings and configurations for use with DeplyStack
This section is empty.
This section is empty.
AttemptRepo will try to download a repo - only from GoogleCloudPlatform. If it fails, it will append "deploystack-" to the front of the requested name and try again.
func ContactCheck() gcloud.ContactData
ContactCheck checks the local file system for a file containing domain registar contact info
func ContactSave(i interface{})
ContactSave writes a file containing domain registar contact info to disk if it exists
DownloadRepo takes a name of a GoogleCloudPlatform repo or a GoogleCloudPlatform/deploystack-[name] repo, and downloads it into a unique folder name, and outputs that name
Init initializes a Deploystack stack by looking on the local file system
func Precheck() error
Precheck handles the logic around switching working directories for multiple stacks in one repo
UniquePath returns either the input candidate path if it does not exist, or a path like the input candidate with increasing numbers appended to it until the output name is a path that does not exist
WriteConfig will drop a .deploystack folder with deploystack.yaml file for repos that do not have one.
type Meta struct {
DeployStack config.Config
Terraform terraform.Blocks `json:"terraform" yaml:"terraform"`
Github github.Repo `json:"github" yaml:"github"`
LocalPath string `json:"localpath" yaml:"localpath"`
}
Meta is a datastructure that combines the Deploystack, github and Terraform bits of metadata about a stack.
NewMeta allows project to point at local directories for info as well as pulling down from github
ShortName retrieves the shortname of whatever we are calling this stack
ShortNameUnderscore retrieves the shortname of whatever we are calling this stack replacing hyphens with underscores
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
basic
command
|
|
|
basic-docker
command
|
|
|
multi
command
|
|
|
new-ui
command
|
|
|
project-only
command
|
|
|
Package config holds all of the data structures for DeployStack.
|
Package config holds all of the data structures for DeployStack. |
|
The dsexec binary that runs on Cloud Shell to present all of the options to users
|
The dsexec binary that runs on Cloud Shell to present all of the options to users |
|
dsgithub
module
|
|
|
Package dstester is a collection of tools to make testing Terraform resources created for DeployStack easier.
|
Package dstester is a collection of tools to make testing Terraform resources created for DeployStack easier. |
|
Package gcloud wraps up all of the cloud operations for DeployStack into one client.
|
Package gcloud wraps up all of the cloud operations for DeployStack into one client. |
|
gcloudtf
module
|
|
|
Package github includes all of the client calls to github for building automation tools for deploystack
|
Package github includes all of the client calls to github for building automation tools for deploystack |
|
Package terraform handles parsing Terraform files to extract structured information out of it, to support a few tools to speed up the DeployStack authoring process
|
Package terraform handles parsing Terraform files to extract structured information out of it, to support a few tools to speed up the DeployStack authoring process |
|
Package tui provides a BubbleTea powered tui for Deploystack.
|
Package tui provides a BubbleTea powered tui for Deploystack. |
|
cmd/docs
command
|
|
|
cmd/mock
command
|
|
|
cmd/mock-all
command
|
|
|
cmd/multi
command
|
| Back | FazBrowse Home | New Git URL |