org

package
v1.0.0-rc2 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2025 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultDisplayName = "Default"
View Source
var DefaultExternalID = "default"
View Source
var DefaultID = uuid.MustParse("00000000-0000-0000-0000-000000000000")

DefaultID is the well-known UUID reserved for the default / system organization. It is equivalent to the previous `store.NullOrgId` constant.

Functions

func MustParse

func MustParse(s string) uuid.UUID

MustParse is like Parse but panics on error (to be used with hard-coded strings).

func Parse

func Parse(s string) (uuid.UUID, error)

Parse validates that the supplied string is a valid UUID and returns it.

Types

type ExternalOrganization

type ExternalOrganization struct {
	ID   string `json:"id"`
	Name string `json:"name"`
}

ExternalOrganization represents an organization as asserted by an external identity provider. ID is the provider's opaque identifier (may not be a UUID).

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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