tagmanager

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2024 License: MIT Imports: 10 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 Option added in v0.3.0

type Option func(*TagManager)

func WithClientOptions added in v0.3.0

func WithClientOptions(v ...option.ClientOption) Option

func WithFolderName added in v0.3.0

func WithFolderName(v string) Option

func WithNotes added in v0.3.0

func WithNotes(v string) Option

func WithRequestQuota added in v0.3.0

func WithRequestQuota(v int) Option

type TagManager added in v0.3.0

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

func New added in v0.3.0

func New(ctx context.Context, l *slog.Logger, accountID string, container config.GoogleTagManagerContainer, opts ...Option) (*TagManager, error)

func (*TagManager) AccountID added in v0.3.0

func (t *TagManager) AccountID() string

func (*TagManager) AccountPath added in v0.3.0

func (t *TagManager) AccountPath() string

func (*TagManager) ContainerID added in v0.3.0

func (t *TagManager) ContainerID() string

func (*TagManager) ContainerPath added in v0.3.0

func (t *TagManager) ContainerPath() string

func (*TagManager) CustomTemplate added in v0.3.0

func (t *TagManager) CustomTemplate(name string) (*tagmanager.CustomTemplate, error)

func (*TagManager) EnableBuiltInVariable added in v0.3.0

func (t *TagManager) EnableBuiltInVariable(typeName string) (*tagmanager.BuiltInVariable, error)

func (*TagManager) FolderName added in v0.3.0

func (t *TagManager) FolderName() string

func (*TagManager) GetBuiltInVariable added in v0.3.0

func (t *TagManager) GetBuiltInVariable(typeName string) (*tagmanager.BuiltInVariable, error)

func (*TagManager) LoadBuiltInVariables added in v0.3.0

func (t *TagManager) LoadBuiltInVariables() (map[string]*tagmanager.BuiltInVariable, error)

func (*TagManager) LoadClients added in v0.3.0

func (t *TagManager) LoadClients() (map[string]*tagmanager.Client, error)

func (*TagManager) LoadCustomTemplates added in v0.3.0

func (t *TagManager) LoadCustomTemplates() (map[string]*tagmanager.CustomTemplate, error)

func (*TagManager) LoadFolders added in v0.3.0

func (t *TagManager) LoadFolders() (map[string]*tagmanager.Folder, error)

func (*TagManager) LoadTags added in v0.3.0

func (t *TagManager) LoadTags() (map[string]*tagmanager.Tag, error)

func (*TagManager) LoadTriggers added in v0.3.0

func (t *TagManager) LoadTriggers() (map[string]*tagmanager.Trigger, error)

func (*TagManager) LoadVariables added in v0.3.0

func (t *TagManager) LoadVariables() (map[string]*tagmanager.Variable, error)

func (*TagManager) LookupClient added in v0.3.0

func (t *TagManager) LookupClient(name string) (*tagmanager.Client, error)

func (*TagManager) LookupFolder added in v0.3.0

func (t *TagManager) LookupFolder(name string) (*tagmanager.Folder, error)

func (*TagManager) LookupTag added in v0.3.0

func (t *TagManager) LookupTag(name string) (*tagmanager.Tag, error)

func (*TagManager) LookupTemplate added in v0.3.0

func (t *TagManager) LookupTemplate(name string) (*tagmanager.CustomTemplate, error)

func (*TagManager) LookupTrigger added in v0.3.0

func (t *TagManager) LookupTrigger(name string) (*tagmanager.Trigger, error)

func (*TagManager) LookupVariable added in v0.3.0

func (t *TagManager) LookupVariable(name string) (*tagmanager.Variable, error)

func (*TagManager) Notes added in v0.3.0

func (t *TagManager) Notes(v any) string

func (*TagManager) Service added in v0.3.0

func (t *TagManager) Service() *tagmanager.Service

func (*TagManager) SetFolderName added in v0.3.0

func (t *TagManager) SetFolderName(v string)

func (*TagManager) UpsertClient added in v0.3.0

func (t *TagManager) UpsertClient(item *tagmanager.Client) (*tagmanager.Client, error)

func (*TagManager) UpsertCustomTemplate added in v0.3.0

func (t *TagManager) UpsertCustomTemplate(item *tagmanager.CustomTemplate) (*tagmanager.CustomTemplate, error)

func (*TagManager) UpsertFolder added in v0.3.0

func (t *TagManager) UpsertFolder(name string) (*tagmanager.Folder, error)

func (*TagManager) UpsertTag added in v0.3.0

func (t *TagManager) UpsertTag(item *tagmanager.Tag) (*tagmanager.Tag, error)

func (*TagManager) UpsertTrigger added in v0.3.0

func (t *TagManager) UpsertTrigger(item *tagmanager.Trigger) (*tagmanager.Trigger, error)

func (*TagManager) UpsertVariable added in v0.3.0

func (t *TagManager) UpsertVariable(item *tagmanager.Variable) (*tagmanager.Variable, error)

func (*TagManager) WorkspaceID added in v0.3.0

func (t *TagManager) WorkspaceID() string

func (*TagManager) WorkspacePath added in v0.3.0

func (t *TagManager) WorkspacePath() string

Directories

Path Synopsis
common
web

Jump to

Keyboard shortcuts

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