resource

package
v0.1.8 Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2021 License: MPL-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Map = map[string]Type{
	Unknown.String():     Unknown,
	All.String():         All,
	Scope.String():       Scope,
	User.String():        User,
	Group.String():       Group,
	Role.String():        Role,
	AuthMethod.String():  AuthMethod,
	Account.String():     Account,
	AuthToken.String():   AuthToken,
	HostCatalog.String(): HostCatalog,
	HostSet.String():     HostSet,
	Host.String():        Host,
	Target.String():      Target,
	Controller.String():  Controller,
	Worker.String():      Worker,
	Session.String():     Session,
}

Functions

This section is empty.

Types

type Type

type Type uint

Type defines the types of resources in the system

const (
	Unknown     Type = 0
	All         Type = 1
	Scope       Type = 2
	User        Type = 3
	Group       Type = 4
	Role        Type = 5
	AuthMethod  Type = 6
	Account     Type = 7
	AuthToken   Type = 8
	HostCatalog Type = 9
	HostSet     Type = 10
	Host        Type = 11
	Target      Type = 12
	Controller  Type = 13
	Worker      Type = 14
	Session     Type = 15
)

func (Type) String

func (r Type) String() string

Jump to

Keyboard shortcuts

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