deploy

package
v0.4.5 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2022 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Overview

Package deploy defines the core structure for deployments 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:"-"`
		FirestoreClient               *firestore.Client               `yaml:"-"`
		IAMService                    *iam.Service                    `yaml:"-"`
		LoggingService                *logging.Service                `yaml:"-"`
		MonitoringService             *monitoring.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
		Check               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