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