deploy

package
v0.0.0-...-13758f7 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2024 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

func NewClient

func NewClient(project, region, credentialsFile string) (*Client, error)

NewClient creates a new client struct with the provided region, project, and credentials file. If the credentials file is provided, the clients will be created with the credentials file. If the credentials file is not provided, the clients will be created with the application default credentials. If the clients cannot be created, the function will log a fatal error. The function returns a pointer to the client struct.

func (*Client) DeployApplication

func (c *Client) DeployApplication(project, region string, app config.AppConfig) (string, error)

func (*Client) VerifyRepository

func (c *Client) VerifyRepository(ctx context.Context, registryName string) error

Jump to

Keyboard shortcuts

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