structs

package
v0.4.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BackendParams added in v0.4.0

type BackendParams struct {
	Name        string     `json:"name"`
	Type        string     `json:"type"`
	GroupParams TeamParams `json:"group_params,omitempty"`
}

func (*BackendParams) GetGroupParams added in v0.4.0

func (b *BackendParams) GetGroupParams() TeamParams

func (*BackendParams) GetName added in v0.4.0

func (b *BackendParams) GetName() string

func (*BackendParams) GetType added in v0.4.0

func (b *BackendParams) GetType() string

type LDAPUser

type LDAPUser struct {
	CN          string `json:"cn,omitempty"`
	DisplayName string `json:"displayName,omitempty"`
	Email       string `json:"mail,omitempty"`
	SN          string `json:"sn,omitempty"`
	UID         string `json:"uid,omitempty"`
}

func (*LDAPUser) GetCN

func (u *LDAPUser) GetCN() string

func (*LDAPUser) GetDisplayName

func (u *LDAPUser) GetDisplayName() string

func (*LDAPUser) GetEmail

func (u *LDAPUser) GetEmail() string

func (*LDAPUser) GetSN

func (u *LDAPUser) GetSN() string

func (*LDAPUser) GetUID

func (u *LDAPUser) GetUID() string

type Team

type Team struct {
	ID          string     `json:"id,omitempty"`
	Name        string     `json:"name"`
	Description string     `json:"description,omitempty"`
	Role        string     `json:"role,omitempty"`
	TeamParams  TeamParams `json:"team_params,omitempty"`
}

func (*Team) GetDescription

func (t *Team) GetDescription() string

func (*Team) GetID

func (t *Team) GetID() string

func (*Team) GetName

func (t *Team) GetName() string

func (*Team) GetRole

func (t *Team) GetRole() string

type TeamParams added in v0.4.0

type TeamParams struct {
	Property string   `json:"property"`
	Value    []string `json:"value"`
}

type User

type User struct {
	ID          string `json:"id,omitempty"`
	UserName    string `json:"username,omitempty"`
	Email       string `json:"email,omitempty"`
	FirstName   string `json:"first_name,omitempty"`
	LastName    string `json:"last_name,omitempty"`
	DisplayName string `json:"display_name,omitempty"`
	Role        string `json:"role,omitempty"`
}

func (*User) GetDisplayName

func (u *User) GetDisplayName() string

func (*User) GetEmail

func (u *User) GetEmail() string

func (*User) GetFirstName

func (u *User) GetFirstName() string

func (*User) GetID

func (u *User) GetID() string

func (*User) GetLastName

func (u *User) GetLastName() string

func (*User) GetRole

func (u *User) GetRole() string

func (*User) GetUserName

func (u *User) GetUserName() string

Jump to

Keyboard shortcuts

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