environmentvariables

package
v0.3.4 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2025 License: MIT Imports: 6 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(opts ...option.RequestOption) *Client

func (*Client) BatchCreateEnvs

func (c *Client) BatchCreateEnvs(
	ctx context.Context,
	request *sdk.BatchCreateEnvsRequest,
	opts ...option.RequestOption,
) (*sdk.BatchEnvsResponse, error)

Create multiple environment variables in a single request

func (*Client) BatchUpdateEnvs

func (c *Client) BatchUpdateEnvs(
	ctx context.Context,
	request *sdk.BatchCreateEnvsRequest,
	opts ...option.RequestOption,
) (*sdk.BatchEnvsResponse, error)

Update multiple environment variables in a single request

func (*Client) CreateEnv

func (c *Client) CreateEnv(
	ctx context.Context,
	request *sdk.CreateEnvRequest,
	opts ...option.RequestOption,
) (*sdk.EnvResponse, error)

Create a new environment variable

func (*Client) DeleteBatchEnv

func (c *Client) DeleteBatchEnv(
	ctx context.Context,
	request *sdk.BatchDeleteEnvsRequest,
	opts ...option.RequestOption,
) (*sdk.BatchEnvsResponse, error)

Delete multiple environment variables in a single request

func (*Client) DeleteEnv

func (c *Client) DeleteEnv(
	ctx context.Context,
	request *sdk.DeleteEnvRequest,
	opts ...option.RequestOption,
) (*sdk.DeleteEnvRequest, error)

Delete an existing environment variable

func (*Client) GetEnv

func (c *Client) GetEnv(
	ctx context.Context,
	key string,
	request *sdk.GetEnvRequest,
	opts ...option.RequestOption,
) (*sdk.EnvResponse, error)

Retrieve a specific environment variable

func (*Client) GetEnvs

func (c *Client) GetEnvs(
	ctx context.Context,
	request *sdk.GetEnvRequest,
	opts ...option.RequestOption,
) (sdk.EnvsResponse, error)

Retrieve all environment variables for an application and environment type

func (*Client) UpdateEnv

func (c *Client) UpdateEnv(
	ctx context.Context,
	key string,
	request *sdk.UpdateEnvRequest,
	opts ...option.RequestOption,
) (*sdk.EnvResponse, error)

Update an existing environment variable

Jump to

Keyboard shortcuts

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