identity

package
v0.0.0-...-8f6c52d Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2025 License: Apache-2.0 Imports: 0 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const TriggerIdentityDomainsSynced = "triggers/sync/openstack/identity/types/domains"

Trigger executed when new domains are available.

View Source
const TriggerIdentityProjectsSynced = "triggers/sync/openstack/identity/types/projects"

Trigger executed when new projects are available.

Variables

This section is empty.

Functions

This section is empty.

Types

type Domain

type Domain struct {
	ID      string `json:"id" db:"id,primarykey"`
	Name    string `json:"name" db:"name"`
	Enabled bool   `json:"enabled" db:"enabled"`
}

func (Domain) Indexes

func (d Domain) Indexes() map[string][]string

Indexes for the domain table.

func (Domain) TableName

func (d Domain) TableName() string

Table in which the openstack model is stored.

type Project

type Project struct {
	ID       string `json:"id" db:"id,primarykey"`
	Name     string `json:"name" db:"name"`
	DomainID string `json:"domain_id" db:"domain_id"`
	ParentID string `json:"parent_id" db:"parent_id"`
	IsDomain bool   `json:"is_domain" db:"is_domain"`
	Enabled  bool   `json:"enabled" db:"enabled"`
	Tags     string `json:"tags" db:"tags"` // Comma-separated tags

}

Project as inserted into the database for efficient handling.

func (Project) Indexes

func (p Project) Indexes() map[string][]string

Indexes for the project table.

func (Project) TableName

func (p Project) TableName() string

Table in which the openstack model is stored.

type RawProject

type RawProject struct {
	ID       string   `json:"id"`
	Name     string   `json:"name"`
	DomainID string   `json:"domain_id"`
	ParentID string   `json:"parent_id"`
	IsDomain bool     `json:"is_domain"`
	Enabled  bool     `json:"enabled"`
	Tags     []string `json:"tags"`
}

RawProject represents the raw project data as returned by the OpenStack identity API.

Jump to

Keyboard shortcuts

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