Documentation
¶
Index ¶
- type ResourceClass
- type Runner
- func (r *Runner) CreateResourceClass(resourceClass, desc string) (rc *ResourceClass, err error)
- func (r *Runner) CreateToken(resourceClass, nickname string) (token *Token, err error)
- func (r *Runner) DeleteResourceClass(id string) error
- func (r *Runner) DeleteToken(id string) error
- func (r *Runner) GetResourceClassByName(resourceClass string) (rc *ResourceClass, err error)
- func (r *Runner) GetResourceClassesByNamespace(namespace string) ([]ResourceClass, error)
- func (r *Runner) GetRunnerTokensByResourceClass(resourceClass string) ([]Token, error)
- type Token
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ResourceClass ¶
type Runner ¶
type Runner struct {
// contains filtered or unexported fields
}
func (*Runner) CreateResourceClass ¶
func (r *Runner) CreateResourceClass(resourceClass, desc string) (rc *ResourceClass, err error)
func (*Runner) CreateToken ¶
func (*Runner) DeleteResourceClass ¶
func (*Runner) DeleteToken ¶
func (*Runner) GetResourceClassByName ¶ added in v0.1.10458
func (r *Runner) GetResourceClassByName(resourceClass string) (rc *ResourceClass, err error)
func (*Runner) GetResourceClassesByNamespace ¶
func (r *Runner) GetResourceClassesByNamespace(namespace string) ([]ResourceClass, error)
Click to show internal directories.
Click to hide internal directories.