client

package
v2.6.0 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2026 License: MIT Imports: 10 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 {
	WithRawResponse *RawClient
	Versions        *versions.Client
	// contains filtered or unexported fields
}

func NewClient

func NewClient(options *core.RequestOptions) *Client

func (*Client) Create

Create a new Actions Module for reusable code across actions.

func (*Client) Delete

func (c *Client) Delete(
	ctx context.Context,

	id string,
	opts ...option.RequestOption,
) error

Permanently delete an Actions Module. This will fail if the module is still in use by any actions.

func (*Client) Get

Retrieve details of a specific Actions Module by its unique identifier.

func (*Client) List

Retrieve a paginated list of all Actions Modules with optional filtering and totals.

func (*Client) ListActions

Lists all actions that are using a specific Actions Module, showing which deployed action versions reference this Actions Module.

func (*Client) Rollback

Rolls back an Actions Module's draft to a previously created version. This action copies the code, dependencies, and secrets from the specified version into the current draft.

func (*Client) Update

Update properties of an existing Actions Module, such as code, dependencies, or secrets.

type RawClient

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

func NewRawClient

func NewRawClient(options *core.RequestOptions) *RawClient

func (*RawClient) Delete

func (r *RawClient) Delete(
	ctx context.Context,

	id string,
	opts ...option.RequestOption,
) (*core.Response[any], error)

Jump to

Keyboard shortcuts

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