v1

package
v0.0.0-...-03b3356 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2024 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

View Source
const (
	GroupName = "iam.ai.io"
)

Variables

View Source
var GroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1"}

Functions

func AddToContainer

func AddToContainer(container *restful.Container, im im.IdentityManagementInterface, am am.AccessManagementInterface, option *config.AiOptions, authorizer authorizer.Authorizer) error

Types

type Member

type Member struct {
	Username string `json:"username"`
	RoleRef  string `json:"roleRef"`
}

type PasswordReset

type PasswordReset struct {
	CurrentPassword string `json:"currentPassword"`
	Password        string `json:"password"`
}

type UserDetails

type UserDetails struct {
	Username       string            `json:"username"`
	Email          string            `json:"email"`
	GlobalRole     string            `json:"globalrole"`
	NamespaceRoles map[string]string `json:"namespaceroles"`
}

Jump to

Keyboard shortcuts

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