Versions in this module Expand all Collapse all v0 v0.6.1 Oct 4, 2026 v0.6.0 Oct 3, 2026 Changes in this version + const TargetOrgExternalID + func Apply(args []string) error + func Bootstrap(args []string) error + func Check(args []string) error + func Clearance(args []string) error + func Dev(args []string) error + func Doctor(version string, args []string) error + func Domains(args []string) error + func Env(args []string) error + func Import(args []string) error + func Init(_ []string) error + func Keys(args []string) error + func Listen(args []string) error + func Login(args []string) error + func Logs(args []string) error + func MCP(args []string) error + func Migrate(args []string) error + func Orgs(args []string) error + func Redirects(args []string) error + func Users(args []string) error + func UsersImport(args []string) error + func Webhook(args []string) error + func Webhooks(args []string) error + func Whoami(args []string) error + type Auth0User struct + Email string + EmailVerified bool + Name string + Nickname string + UserID string + type CredEnvelopeRaw struct + Alg string + Ciphertext string + DekCiphertext string + DekNonce string + DekTag string + KekID string + Nonce string + Tag string + func SealForTest(projectID, masterKey string, creds LiveCredentials) (CredEnvelopeRaw, error) + type Cursor struct + Completed bool + File string + FileSize int64 + LastIndex int + LastUpdatedAt time.Time + Provider string + StartedAt time.Time + Summary CursorSummary + type CursorSummary struct + Created int + Errored int + Existed int + Skipped int + type IdentityRecord struct + Kind string + Metadata map[string]any + Subject string + UserExternalID string + type ImportPlan struct + Identities []IdentityRecord + Memberships []MembershipRecord + Orgs []OrgRecord + Provider string + ScimDirectories []ScimDirectoryRecord + SsoConnections []SsoConnectionRecord + Stats PlanStats + Users []UserRecord + Warnings []string + type ImportRunner struct + APIKey string + APIURL string + DryRun bool + File string + Force bool + HTTP *http.Client + NowFunc func() time.Time + Out io.Writer + Parser Parser + RateLimit int + SleepFunc func(time.Duration) + UserAgent string + func (r *ImportRunner) Run(ctx context.Context) (*Cursor, error) + type LiveCredentials struct + APIKey string + AccessKeyID string + Domain string + MgmtKey string + PAT string + ProjectID string + ProjectRef string + ProjectSecret string + Region string + SecretAccessKey string + SecretKey string + ServiceAccountJSON string + Token string + UserPoolID string + type LiveOptions struct + BaseURLOverride string + HTTPClient *http.Client + MaxPages int + ProgressFn func(kind string, completed int) + RateLimitPerSec float64 + SourceWorkOSOrganizationID string + TargetOrganizationID string + type LivePuller interface + Name func() string + PullLive func(ctx context.Context, creds LiveCredentials, opts LiveOptions) (*ImportPlan, error) + func LivePullerFor(provider string) (LivePuller, error) + type MembershipRecord struct + OrgExternalID string + Role string + Status string + UserExternalID string + type OrgRecord struct + Domain string + ExternalID string + Name string + Slug string + type Parser interface + Help func() string + Name func() string + Parse func(ctx context.Context, r io.Reader, emit func(SourceUser) error) error + type PlanOptions struct + DefaultOrgName string + MergeDuplicateEmails bool + OrgsTablePath string + SourceWorkOSOrganizationID string + TargetOrganizationID string + type PlanParser interface + Help func() string + Name func() string + ParsePlan func(ctx context.Context, r io.Reader, opts PlanOptions) (*ImportPlan, error) + func PlanParserFor(provider string) (PlanParser, error) + type PlanRunner struct + APIKey string + APIURL string + DryRun bool + EmitJSON bool + ExtraHeaders map[string]string + HTTP *http.Client + Out io.Writer + RecordErrors []RecordError + TargetOrganizationID string + func (p *PlanRunner) Run(ctx context.Context, plan *ImportPlan) (PlanStats, error) + type PlanStats struct + Errored int + IdentitiesCreated int + MembershipsCreated int + MergedUsers int + OrgsCreated int + OrgsExisted int + ScimDirectoriesCreated int + SourceUsers int + SsoConnectionsCreated int + UsersCreated int + UsersExisted int + Warnings int + type RecordError struct + Key string + Kind string + Msg string + type ScimDirectoryRecord struct + Name string + OrgExternalID string + type SourceUser struct + Email string + EmailVerified bool + Metadata map[string]any + Name string + SourceID string + SourceProvider string + type SsoConnectionRecord struct + Kind string + Metadata map[string]any + Name string + OrgExternalID string + type UserRecord struct + AvatarURL string + Email string + EmailVerified bool + ExternalID string + Metadata map[string]any + MfaEnrolled bool + MigrationPendingEmail bool + Name string + SourceExternalIDs []string