Versions in this module Expand all Collapse all v0 v0.0.1 Jun 18, 2024 Changes in this version + var ErrAPITokenMissing = fmt.Errorf("token is required but not provided") + var ErrColumnNotFound = fmt.Errorf("column not found in CSV file") + type Client struct + func NewDefaultClient() (*Client, error) + func (c *Client) AuthorizeOrganizationOnPAT(ctx context.Context, orgID, patID string) error + func (c *Client) GenerateSeedAPIToken(ctx context.Context, orgID string) error + func (c *Client) LoadGroups(ctx context.Context) error + func (c *Client) LoadInvites(ctx context.Context) error + func (c *Client) LoadOrganizations(ctx context.Context) (string, error) + func (c *Client) LoadSubscribers(ctx context.Context) error + func (c *Client) RegisterUsers(ctx context.Context) error + type Config struct + DatumHost string + Directory string + NumGroups int + NumInvites int + NumOrganizations int + NumSubscribers int + NumUsers int + Token string + func NewDefaultConfig() (*Config, error) + func (c *Config) GenerateData() error + func (c *Config) NewClient() (*Client, error)