Documentation
¶
Index ¶
- type Client
- func (c *Client) CreateEnvType(ctx context.Context, request *sdk.CreateEnvTypeRequest, ...) (*sdk.EnvTypeResponse, error)
- func (c *Client) DeleteEnvType(ctx context.Context, id string, opts ...option.RequestOption) (*sdk.DeleteEnvTypeRequest, error)
- func (c *Client) GetEnvType(ctx context.Context, id string, opts ...option.RequestOption) (*sdk.EnvTypeResponse, error)
- func (c *Client) GetEnvTypes(ctx context.Context, opts ...option.RequestOption) (sdk.EnvTypesResponse, error)
- func (c *Client) UpdateEnvType(ctx context.Context, id string, request *sdk.UpdateEnvTypeRequest, ...) (*sdk.EnvTypeResponse, error)
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
Click to show internal directories.
Click to hide internal directories.