rulesconfigs

package
v2.7.0 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2026 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 {
	WithRawResponse *RawClient
	// contains filtered or unexported fields
}

func NewClient

func NewClient(options *core.RequestOptions) *Client

func (*Client) Delete

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

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

Delete a rules config variable identified by its key.

func (*Client) List

func (c *Client) List(
	ctx context.Context,
	opts ...option.RequestOption,
) ([]*management.RulesConfig, error)

Retrieve rules config variable keys.

Note: For security, config variable values cannot be retrieved outside rule execution.

func (*Client) Set

Sets a rules config variable.

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,

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

func (*RawClient) List

Jump to

Keyboard shortcuts

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