virtual

package
v0.11.1 Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2023 License: MPL-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package virtual contains virtual resources.

Index

Constants

View Source
const CurrentUserID = "current"

CurrentUserID is the default and the only allowed ID for CurrentUser resource.

tsgen:CurrentUserID

View Source
const (
	// CurrentUserType is the type of CurrentUser resource.
	//
	// tsgen:CurrentUserType
	CurrentUserType = resource.Type("CurrentUsers.omni.sidero.dev")
)

Variables

This section is empty.

Functions

This section is empty.

Types

type CurrentUser

CurrentUser resource describes a user current user.

func NewCurrentUser

func NewCurrentUser() *CurrentUser

NewCurrentUser creates a new CurrentUser resource.

type CurrentUserExtension

type CurrentUserExtension struct{}

CurrentUserExtension providers auxiliary methods for CurrentUser resource.

func (CurrentUserExtension) ResourceDefinition

func (CurrentUserExtension) ResourceDefinition() meta.ResourceDefinitionSpec

ResourceDefinition implements typed.Extension interface.

type CurrentUserSpec

CurrentUserSpec wraps specs.CurrentUserSpec.

Jump to

Keyboard shortcuts

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