cloudfunctions

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2021 License: MPL-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CloudFunctionTables = []interface{}{
	&CloudFunction{},
}

Functions

func NewClient

func NewClient(db *database.Database, log hclog.Logger,
	projectID string) (resource.ClientInterface, error)

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

func (*Client) CollectResource

func (c *Client) CollectResource(resource string, config interface{}) error

type CloudFunction

type CloudFunction struct {
	ID                uint `gorm:"primarykey"`
	ProjectID         string
	AvailableMemoryMb int64
	BuildId           string
	BuildWorkerPool   string
	Description       string
	EntryPoint        string

	EventTriggerEventType string

	EventTriggerResource string
	EventTriggerService  string

	HttpsTriggerSecurityLevel string
	HttpsTriggerUrl           string

	IngressSettings     string
	MaxInstances        int64
	Name                string
	Network             string
	Runtime             string
	ServiceAccountEmail string
	SourceArchiveUrl    string

	SourceRepositoryDeployedUrl string
	SourceRepositoryUrl         string

	SourceToken                string
	SourceUploadUrl            string
	Status                     string
	Timeout                    string
	UpdateTime                 string
	VersionId                  int64
	VpcConnector               string
	VpcConnectorEgressSettings string
}

func (CloudFunction) TableName

func (CloudFunction) TableName() string

Jump to

Keyboard shortcuts

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