Documentation ¶
Index ¶
- type DomainGetPropertyTagValuePairOptions
- type DomainGetPropertyTagValueTreeOptions
- type DomainListOptions
- type OrganizationAddLevelOptions
- type OrganizationAddNodeOptions
- type OrganizationCreateOptions
- type OrganizationIdOptions
- type OrganizationListOptions
- type OrganizationNodeBindOptions
- type OrganizationNodeIdOptions
- type OrganizationNodeListOptions
- type OrganizationNodeUpdateOptions
- type OrganizationShowNodesOptions
- type OrganizationSyncOptions
- type PolicyGetPropertyDomainTagValuePairOptions
- type PolicyGetPropertyDomainTagValueTreeOptions
- type PolicyGetPropertyTagValuePairOptions
- type PolicyGetPropertyTagValueTreeOptions
- type PolicyListOptions
- type ProjectCleanOptions
- type ProjectGetPropertyDomainTagValuePairOptions
- type ProjectGetPropertyDomainTagValueTreeOptions
- type ProjectGetPropertyTagValuePairOptions
- type ProjectGetPropertyTagValueTreeOptions
- type ProjectIdOptions
- type ProjectListOptions
- type ProjectSetAdminOptions
- type RoleCreateOptions
- type RoleDetailOptions
- type RoleGetPropertyDomainTagValuePairOptions
- type RoleGetPropertyDomainTagValueTreeOptions
- type RoleGetPropertyTagValuePairOptions
- type RoleGetPropertyTagValueTreeOptions
- type RoleIdOptions
- type RoleListOptions
- type UserDetailOptions
- type UserIdOptions
- type UserListOptions
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 ¶
func (opts *DomainGetPropertyTagValuePairOptions) Params() (jsonutils.JSONObject, error)
type DomainGetPropertyTagValueTreeOptions ¶
type DomainGetPropertyTagValueTreeOptions struct { DomainListOptions options.TagValueTreeOptions }
func (*DomainGetPropertyTagValueTreeOptions) Params ¶
func (opts *DomainGetPropertyTagValueTreeOptions) Params() (jsonutils.JSONObject, error)
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 ¶
func (opts *OrganizationAddLevelOptions) Params() (jsonutils.JSONObject, error)
type OrganizationAddNodeOptions ¶
type OrganizationAddNodeOptions struct { OrganizationIdOptions api.OrganizationPerformAddNodeInput }
func (*OrganizationAddNodeOptions) Params ¶
func (opts *OrganizationAddNodeOptions) Params() (jsonutils.JSONObject, error)
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 ¶
func (opts *OrganizationCreateOptions) Params() (jsonutils.JSONObject, error)
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 ¶
func (opts *OrganizationListOptions) Params() (jsonutils.JSONObject, error)
type OrganizationNodeBindOptions ¶
type OrganizationNodeBindOptions struct { OrganizationNodeIdOptions api.OrganizationNodePerformBindInput }
func (*OrganizationNodeBindOptions) Params ¶
func (opts *OrganizationNodeBindOptions) Params() (jsonutils.JSONObject, error)
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 ¶
func (opts *OrganizationNodeIdOptions) Params() (jsonutils.JSONObject, error)
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 ¶
func (opts *OrganizationNodeListOptions) Params() (jsonutils.JSONObject, error)
type OrganizationNodeUpdateOptions ¶
type OrganizationNodeUpdateOptions struct { OrganizationNodeIdOptions Weigth int `help:"update weight of node"` Description string `help:"update description"` }
func (*OrganizationNodeUpdateOptions) Params ¶
func (opts *OrganizationNodeUpdateOptions) Params() (jsonutils.JSONObject, error)
type OrganizationShowNodesOptions ¶
type OrganizationShowNodesOptions struct {
OrganizationIdOptions
}
type OrganizationSyncOptions ¶
type OrganizationSyncOptions struct { OrganizationIdOptions Reset bool `help:"reset organization nodes"` }
func (*OrganizationSyncOptions) Params ¶
func (opts *OrganizationSyncOptions) Params() (jsonutils.JSONObject, error)
type PolicyGetPropertyDomainTagValuePairOptions ¶
type PolicyGetPropertyDomainTagValuePairOptions struct { PolicyListOptions options.DomainTagValuePairsOptions }
func (*PolicyGetPropertyDomainTagValuePairOptions) Params ¶
func (opts *PolicyGetPropertyDomainTagValuePairOptions) Params() (jsonutils.JSONObject, error)
type PolicyGetPropertyDomainTagValueTreeOptions ¶
type PolicyGetPropertyDomainTagValueTreeOptions struct { PolicyListOptions options.DomainTagValueTreeOptions }
func (*PolicyGetPropertyDomainTagValueTreeOptions) Params ¶
func (opts *PolicyGetPropertyDomainTagValueTreeOptions) Params() (jsonutils.JSONObject, error)
type PolicyGetPropertyTagValuePairOptions ¶
type PolicyGetPropertyTagValuePairOptions struct { PolicyListOptions options.TagValuePairsOptions }
func (*PolicyGetPropertyTagValuePairOptions) Params ¶
func (opts *PolicyGetPropertyTagValuePairOptions) Params() (jsonutils.JSONObject, error)
type PolicyGetPropertyTagValueTreeOptions ¶
type PolicyGetPropertyTagValueTreeOptions struct { PolicyListOptions options.TagValueTreeOptions }
func (*PolicyGetPropertyTagValueTreeOptions) Params ¶
func (opts *PolicyGetPropertyTagValueTreeOptions) Params() (jsonutils.JSONObject, error)
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 ¶
func (opts *ProjectGetPropertyDomainTagValuePairOptions) Params() (jsonutils.JSONObject, error)
type ProjectGetPropertyDomainTagValueTreeOptions ¶
type ProjectGetPropertyDomainTagValueTreeOptions struct { ProjectListOptions options.DomainTagValueTreeOptions }
func (*ProjectGetPropertyDomainTagValueTreeOptions) Params ¶
func (opts *ProjectGetPropertyDomainTagValueTreeOptions) Params() (jsonutils.JSONObject, error)
type ProjectGetPropertyTagValuePairOptions ¶
type ProjectGetPropertyTagValuePairOptions struct { ProjectListOptions options.TagValuePairsOptions }
func (*ProjectGetPropertyTagValuePairOptions) Params ¶
func (opts *ProjectGetPropertyTagValuePairOptions) Params() (jsonutils.JSONObject, error)
type ProjectGetPropertyTagValueTreeOptions ¶
type ProjectGetPropertyTagValueTreeOptions struct { ProjectListOptions options.TagValueTreeOptions }
func (*ProjectGetPropertyTagValueTreeOptions) Params ¶
func (opts *ProjectGetPropertyTagValueTreeOptions) Params() (jsonutils.JSONObject, error)
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 ¶
func (opts *ProjectSetAdminOptions) Params() (jsonutils.JSONObject, error)
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 ¶
func (opts *RoleGetPropertyDomainTagValuePairOptions) Params() (jsonutils.JSONObject, error)
type RoleGetPropertyDomainTagValueTreeOptions ¶
type RoleGetPropertyDomainTagValueTreeOptions struct { RoleListOptions options.DomainTagValueTreeOptions }
func (*RoleGetPropertyDomainTagValueTreeOptions) Params ¶
func (opts *RoleGetPropertyDomainTagValueTreeOptions) Params() (jsonutils.JSONObject, error)
type RoleGetPropertyTagValuePairOptions ¶
type RoleGetPropertyTagValuePairOptions struct { RoleListOptions options.TagValuePairsOptions }
func (*RoleGetPropertyTagValuePairOptions) Params ¶
func (opts *RoleGetPropertyTagValuePairOptions) Params() (jsonutils.JSONObject, error)
type RoleGetPropertyTagValueTreeOptions ¶
type RoleGetPropertyTagValueTreeOptions struct { RoleListOptions options.TagValueTreeOptions }
func (*RoleGetPropertyTagValueTreeOptions) Params ¶
func (opts *RoleGetPropertyTagValueTreeOptions) Params() (jsonutils.JSONObject, error)
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)
Click to show internal directories.
Click to hide internal directories.