environmenttypes

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) CreateEnvType

func (c *Client) CreateEnvType(
	ctx context.Context,
	request *sdk.CreateEnvTypeRequest,
	opts ...option.RequestOption,
) (*sdk.EnvTypeResponse, error)

Create a new environment type

func (*Client) DeleteEnvType

func (c *Client) DeleteEnvType(
	ctx context.Context,
	id string,
	opts ...option.RequestOption,
) (*sdk.DeleteEnvTypeRequest, error)

Delete an existing environment type

func (*Client) GetEnvType

func (c *Client) GetEnvType(
	ctx context.Context,
	id string,
	opts ...option.RequestOption,
) (*sdk.EnvTypeResponse, error)

Retrieve a specific environment type

func (*Client) GetEnvTypes

func (c *Client) GetEnvTypes(
	ctx context.Context,
	opts ...option.RequestOption,
) (sdk.EnvTypesResponse, error)

Retrieve all environment types for the organization

func (*Client) UpdateEnvType

func (c *Client) UpdateEnvType(
	ctx context.Context,
	id string,
	request *sdk.UpdateEnvTypeRequest,
	opts ...option.RequestOption,
) (*sdk.EnvTypeResponse, error)

Update an existing environment type

Jump to

Keyboard shortcuts

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