gsu

package
v0.0.35-rc54 Latest Latest
Warning

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

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

Documentation

Overview

Package gsu helps with Google Service Usage, aka APIs activation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type APIDeployment

type APIDeployment struct {
	Artifacts struct {
		ServicesService   *serviceusage.ServicesService   `yaml:"-"`
		OperationsService *serviceusage.OperationsService `yaml:"-"`
	}
	Core     *deploy.Core
	Settings struct {
		Service struct {
			GSU Parameters
		}
	}
}

APIDeployment struct

func NewAPIDeployment

func NewAPIDeployment() *APIDeployment

NewAPIDeployment create deployment structure

func (*APIDeployment) Deploy

func (apiDeployment *APIDeployment) Deploy() (err error)

Deploy activates APIs

type Parameters

type Parameters struct {
	APIList []string `yaml:"apiList" valid:"isNotZeroValue"`
}

Parameters structure

Jump to

Keyboard shortcuts

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