tagmanager

package
v0.1.7 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrNotFound = errors.New("not found")
)

Functions

This section is empty.

Types

type Client

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

func NewClient

func NewClient(ctx context.Context, l *slog.Logger, accountID, containerID, workspaceID, measurementID string, opts ...ClientOption) (*Client, error)

func (*Client) AccountID

func (c *Client) AccountID() string

func (*Client) AccountPath

func (c *Client) AccountPath() string

func (*Client) BuiltInVariable added in v0.1.5

func (c *Client) BuiltInVariable(name string) (*tagmanager.BuiltInVariable, error)

func (*Client) Client

func (c *Client) Client(name string) (*tagmanager.Client, error)

func (*Client) ContainerID

func (c *Client) ContainerID() string

func (*Client) ContainerPath

func (c *Client) ContainerPath() string

func (*Client) EnableBuiltInVariable added in v0.1.5

func (c *Client) EnableBuiltInVariable(name string) (*tagmanager.BuiltInVariable, error)

func (*Client) Folder

func (c *Client) Folder(name string) (*tagmanager.Folder, error)

func (*Client) FolderName

func (c *Client) FolderName() string

func (*Client) MeasurementID

func (c *Client) MeasurementID() string

func (*Client) Notes

func (c *Client) Notes() string

func (*Client) Service

func (c *Client) Service() *tagmanager.Service

func (*Client) Tag

func (c *Client) Tag(name string) (*tagmanager.Tag, error)

func (*Client) Trigger

func (c *Client) Trigger(name string) (*tagmanager.Trigger, error)

func (*Client) UpsertClient added in v0.1.5

func (c *Client) UpsertClient(client *tagmanager.Client) (*tagmanager.Client, error)

func (*Client) UpsertFolder

func (c *Client) UpsertFolder(name string) (*tagmanager.Folder, error)

func (*Client) UpsertTag added in v0.1.5

func (c *Client) UpsertTag(tag *tagmanager.Tag) (*tagmanager.Tag, error)

func (*Client) UpsertTrigger added in v0.1.5

func (c *Client) UpsertTrigger(trigger *tagmanager.Trigger) (*tagmanager.Trigger, error)

func (*Client) UpsertVariable

func (c *Client) UpsertVariable(variable *tagmanager.Variable) (*tagmanager.Variable, error)

func (*Client) Variable

func (c *Client) Variable(name string) (*tagmanager.Variable, error)

func (*Client) WorkspaceID

func (c *Client) WorkspaceID() string

func (*Client) WorkspacePath

func (c *Client) WorkspacePath() string

type ClientOption

type ClientOption func(*Client)

func ClientWithClientOptions

func ClientWithClientOptions(v ...option.ClientOption) ClientOption

func ClientWithFolderName

func ClientWithFolderName(v string) ClientOption

func ClientWithNotes

func ClientWithNotes(v string) ClientOption

func ClientWithRequestQuota added in v0.1.1

func ClientWithRequestQuota(v int) ClientOption

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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