users

package
v0.0.0-...-0fce7b6 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2019 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ListUserAPI

type ListUserAPI struct {
	Path     string
	Method   string
	Header   map[string]string
	Request  ListUserRequest
	Response ListUserResponse
}

type ListUserRequest

type ListUserRequest struct {
}

type ListUserResponse

type ListUserResponse struct {
	Links struct {
		Next     interface{} `json:"next"`
		Previous interface{} `json:"previous"`
		Self     string      `json:"self"`
	} `json:"links"`
	Users []struct {
		DomainID string `json:"domain_id"`
		Enabled  bool   `json:"enabled"`
		ID       string `json:"id"`
		Links    struct {
			Self string `json:"self"`
		} `json:"links"`
		Name              string      `json:"name"`
		PasswordExpiresAt interface{} `json:"password_expires_at"`
	} `json:"users"`
}

type User

type User struct {

	// DomainID is the domain ID the user belongs to.
	DomainID string `json:"domain_id"`

	// Enabled is whether or not the user is enabled.
	Enabled bool `json:"enabled"`

	// ID is the unique ID of the user.
	ID string `json:"id"`

	// Name is the name of the user.
	Name string `json:"name"`
}

func List

func List(client *v3.IdentityClient) ([]User, error)

Jump to

Keyboard shortcuts

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