identity

package
v0.0.0-...-6410feb Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DomainGetPropertyTagValuePairOptions

type DomainGetPropertyTagValuePairOptions struct {
	DomainListOptions
	options.TagValuePairsOptions
}

func (*DomainGetPropertyTagValuePairOptions) Params

type DomainGetPropertyTagValueTreeOptions

type DomainGetPropertyTagValueTreeOptions struct {
	DomainListOptions
	options.TagValueTreeOptions
}

func (*DomainGetPropertyTagValueTreeOptions) Params

type DomainListOptions

type DomainListOptions struct {
	options.BaseListOptions
	IdpId       string `help:"filter by idp_id"`
	IdpEntityId string `help:"filter by idp_entity_id"`
}

func (*DomainListOptions) Params

func (opts *DomainListOptions) Params() (jsonutils.JSONObject, error)

type OrganizationAddLevelOptions

type OrganizationAddLevelOptions struct {
	OrganizationIdOptions

	api.OrganizationPerformAddLevelsInput
}

func (*OrganizationAddLevelOptions) Params

type OrganizationAddNodeOptions

type OrganizationAddNodeOptions struct {
	OrganizationIdOptions

	api.OrganizationPerformAddNodeInput
}

func (*OrganizationAddNodeOptions) Params

type OrganizationCreateOptions

type OrganizationCreateOptions struct {
	NAME string `help:"name of organization" json:"name"`

	TYPE string `help:"type of organization" choices:"project|domain|object" json:"type"`

	Desc string `help:"description" json:"description"`

	Key []string `help:"tag keys" json:"key"`
}

func (*OrganizationCreateOptions) Params

type OrganizationIdOptions

type OrganizationIdOptions struct {
	ID string `help:"ID or name of organization" json:"-"`
}

func (*OrganizationIdOptions) GetId

func (opts *OrganizationIdOptions) GetId() string

func (*OrganizationIdOptions) Params

func (opts *OrganizationIdOptions) Params() (jsonutils.JSONObject, error)

type OrganizationListOptions

type OrganizationListOptions struct {
	options.BaseListOptions
}

func (*OrganizationListOptions) Params

type OrganizationNodeBindOptions

type OrganizationNodeBindOptions struct {
	OrganizationNodeIdOptions

	api.OrganizationNodePerformBindInput
}

func (*OrganizationNodeBindOptions) Params

type OrganizationNodeIdOptions

type OrganizationNodeIdOptions struct {
	ID string `help:"ID or name of organization node" json:"-"`
}

func (*OrganizationNodeIdOptions) GetId

func (opts *OrganizationNodeIdOptions) GetId() string

func (*OrganizationNodeIdOptions) Params

type OrganizationNodeListOptions

type OrganizationNodeListOptions struct {
	options.BaseListOptions

	OrgId string `help:"filter by organization Id"`

	OrgType string `help:"filter by organization type"`

	Level int `help:"filter by level"`
}

func (*OrganizationNodeListOptions) Params

type OrganizationNodeUpdateOptions

type OrganizationNodeUpdateOptions struct {
	OrganizationNodeIdOptions

	Weigth      int    `help:"update weight of node"`
	Description string `help:"update description"`
}

func (*OrganizationNodeUpdateOptions) Params

type OrganizationShowNodesOptions

type OrganizationShowNodesOptions struct {
	OrganizationIdOptions
}

type OrganizationSyncOptions

type OrganizationSyncOptions struct {
	OrganizationIdOptions

	Reset bool `help:"reset organization nodes"`
}

func (*OrganizationSyncOptions) Params

type PolicyGetPropertyDomainTagValuePairOptions

type PolicyGetPropertyDomainTagValuePairOptions struct {
	PolicyListOptions
	options.DomainTagValuePairsOptions
}

func (*PolicyGetPropertyDomainTagValuePairOptions) Params

type PolicyGetPropertyDomainTagValueTreeOptions

type PolicyGetPropertyDomainTagValueTreeOptions struct {
	PolicyListOptions
	options.DomainTagValueTreeOptions
}

func (*PolicyGetPropertyDomainTagValueTreeOptions) Params

type PolicyGetPropertyTagValuePairOptions

type PolicyGetPropertyTagValuePairOptions struct {
	PolicyListOptions
	options.TagValuePairsOptions
}

func (*PolicyGetPropertyTagValuePairOptions) Params

type PolicyGetPropertyTagValueTreeOptions

type PolicyGetPropertyTagValueTreeOptions struct {
	PolicyListOptions
	options.TagValueTreeOptions
}

func (*PolicyGetPropertyTagValueTreeOptions) Params

type PolicyListOptions

type PolicyListOptions struct {
	options.BaseListOptions
	Type          string `help:"filter by type"`
	IsSystem      *bool  `help:"filter by is_system" negative:"is_no_system"`
	Format        string `help:"policy format, default to yaml" default:"yaml" choices:"yaml|json"`
	OrderByDomain string `help:"order by domain name" choices:"asc|desc"`
	Role          string `help:"filter by role"`
}

func (*PolicyListOptions) Params

func (opts *PolicyListOptions) Params() (jsonutils.JSONObject, error)

type ProjectCleanOptions

type ProjectCleanOptions struct {
}

func (*ProjectCleanOptions) Params

func (opts *ProjectCleanOptions) Params() (jsonutils.JSONObject, error)

type ProjectGetPropertyDomainTagValuePairOptions

type ProjectGetPropertyDomainTagValuePairOptions struct {
	ProjectListOptions
	options.DomainTagValuePairsOptions
}

func (*ProjectGetPropertyDomainTagValuePairOptions) Params

type ProjectGetPropertyDomainTagValueTreeOptions

type ProjectGetPropertyDomainTagValueTreeOptions struct {
	ProjectListOptions
	options.DomainTagValueTreeOptions
}

func (*ProjectGetPropertyDomainTagValueTreeOptions) Params

type ProjectGetPropertyTagValuePairOptions

type ProjectGetPropertyTagValuePairOptions struct {
	ProjectListOptions
	options.TagValuePairsOptions
}

func (*ProjectGetPropertyTagValuePairOptions) Params

type ProjectGetPropertyTagValueTreeOptions

type ProjectGetPropertyTagValueTreeOptions struct {
	ProjectListOptions
	options.TagValueTreeOptions
}

func (*ProjectGetPropertyTagValueTreeOptions) Params

type ProjectIdOptions

type ProjectIdOptions struct {
	ID string `help:"ID or name of project" json:"-"`
}

func (*ProjectIdOptions) GetId

func (opts *ProjectIdOptions) GetId() string

type ProjectListOptions

type ProjectListOptions struct {
	options.BaseListOptions

	UserId  string `help:"filter by user id"`
	GroupId string `help:"filter by group id"`
	IdpId   string `help:"filter by idp id"`
	AdminId []string

	OrderByDomain string `help:"order by domain name" choices:"asc|desc"`
}

func (*ProjectListOptions) Params

func (opts *ProjectListOptions) Params() (jsonutils.JSONObject, error)

type ProjectSetAdminOptions

type ProjectSetAdminOptions struct {
	ProjectIdOptions

	api.SProjectSetAdminInput
}

func (*ProjectSetAdminOptions) Params

type RoleCreateOptions

type RoleCreateOptions struct {
	NAME   string `help:"Role name"`
	Domain string `help:"Domain"`
	Desc   string `help:"Description"`

	PublicScope string `help:"public scope" choices:"none|system"`
}

func (*RoleCreateOptions) Params

func (opts *RoleCreateOptions) Params() (jsonutils.JSONObject, error)

type RoleDetailOptions

type RoleDetailOptions struct {
	RoleIdOptions
	Domain string `help:"Domain"`
}

func (*RoleDetailOptions) Params

func (opts *RoleDetailOptions) Params() (jsonutils.JSONObject, error)

type RoleGetPropertyDomainTagValuePairOptions

type RoleGetPropertyDomainTagValuePairOptions struct {
	RoleListOptions
	options.DomainTagValuePairsOptions
}

func (*RoleGetPropertyDomainTagValuePairOptions) Params

type RoleGetPropertyDomainTagValueTreeOptions

type RoleGetPropertyDomainTagValueTreeOptions struct {
	RoleListOptions
	options.DomainTagValueTreeOptions
}

func (*RoleGetPropertyDomainTagValueTreeOptions) Params

type RoleGetPropertyTagValuePairOptions

type RoleGetPropertyTagValuePairOptions struct {
	RoleListOptions
	options.TagValuePairsOptions
}

func (*RoleGetPropertyTagValuePairOptions) Params

type RoleGetPropertyTagValueTreeOptions

type RoleGetPropertyTagValueTreeOptions struct {
	RoleListOptions
	options.TagValueTreeOptions
}

func (*RoleGetPropertyTagValueTreeOptions) Params

type RoleIdOptions

type RoleIdOptions struct {
	ID string `help:"ID or name of role"`
}

func (*RoleIdOptions) GetId

func (opts *RoleIdOptions) GetId() string

type RoleListOptions

type RoleListOptions struct {
	options.BaseListOptions
	OrderByDomain string `help:"order by domain name" choices:"asc|desc"`
}

func (*RoleListOptions) Params

func (opts *RoleListOptions) Params() (jsonutils.JSONObject, error)

type UserDetailOptions

type UserDetailOptions struct {
	UserIdOptions
	Domain string `help:"Domain"`
}

func (*UserDetailOptions) Params

func (opts *UserDetailOptions) Params() (jsonutils.JSONObject, error)

type UserIdOptions

type UserIdOptions struct {
	ID string `help:"ID or name of user"`
}

func (*UserIdOptions) GetId

func (opts *UserIdOptions) GetId() string

type UserListOptions

type UserListOptions struct {
	options.BaseListOptions
	Name                    string `help:"Filter by name"`
	OrderByDomain           string `help:"order by domain name" choices:"asc|desc"`
	Role                    string `help:"Filter by role"`
	RoleAssignmentDomainId  string `help:"filter role assignment domain"`
	RoleAssignmentProjectId string `help:"filter role assignment project"`
	IdpId                   string `help:"filter by idp_id"`
	IdpEntityId             string `help:"filter by idp_entity_id"`
}

func (*UserListOptions) Params

func (opts *UserListOptions) Params() (jsonutils.JSONObject, error)

Jump to

Keyboard shortcuts

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