deploy

package
v0.0.37-rc17 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2020 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Overview

Package deploy defines the core structure for deployents and common APIs

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetCommonAPIlist

func GetCommonAPIlist() []string

GetCommonAPIlist returns the list of common APIs

Types

type Core

type Core struct {
	SolutionSettings            solution.Settings
	Ctx                         context.Context `yaml:"-"`
	EnvironmentName             string
	InstanceName                string
	ServiceName                 string
	AssetType                   string
	ProjectNumber               int64
	RepositoryPath              string
	RAMVersion                  string
	GoVersion                   string
	RamcliServiceAccount        string
	Dump                        bool
	InstanceFolderRelativePaths []string `yaml:"-"`
	Services                    struct {
		AppengineAPIService           *appengine.APIService           `yaml:"-"`
		AssetClient                   *asset.Client                   `yaml:"-"`
		BigqueryClient                *bigquery.Client                `yaml:"-"`
		CloudSchedulerClient          *scheduler.CloudSchedulerClient `yaml:"-"`
		Cloudbillingservice           *cloudbilling.APIService        `yaml:"-"`
		CloudbuildService             *cloudbuild.Service             `yaml:"-"`
		CloudfunctionsService         *cloudfunctions.Service         `yaml:"-"`
		CloudresourcemanagerService   *cloudresourcemanager.Service   `yaml:"-"`
		CloudresourcemanagerServicev2 *cloudresourcemanagerv2.Service `yaml:"-"`
		IAMService                    *iam.Service                    `yaml:"-"`
		PubsubPublisherClient         *pubsub.PublisherClient         `yaml:"-"`
		ServiceusageService           *serviceusage.Service           `yaml:"-"`
		SourcerepoService             *sourcerepo.Service             `yaml:"-"`
		StorageClient                 *storage.Client                 `yaml:"-"`
	} `yaml:"-"`
	Commands struct {
		// Makeyaml     bool
		Initialize          bool
		ConfigureAssetTypes bool
		MakeReleasePipeline bool
		Deploy              bool
		Dumpsettings        bool
	} `yaml:"-"`
}

Core structure common to all deployments

Jump to

Keyboard shortcuts

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