operator

package
v0.0.0-...-fd95f72 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrInvalidID = id.ErrInvalidID
View Source
var NewIntegrationID = id.NewIntegrationID

Functions

This section is empty.

Types

type ID

type ID = id.EventID

type IntegrationID

type IntegrationID = id.IntegrationID

type Operator

type Operator struct {
	// contains filtered or unexported fields
}

func OperatorFromIntegration

func OperatorFromIntegration(integration IntegrationID) Operator

func OperatorFromMachine

func OperatorFromMachine() Operator

func OperatorFromUser

func OperatorFromUser(user accountdomain.UserID) Operator

func (Operator) Integration

func (o Operator) Integration() *IntegrationID

func (Operator) Machine

func (o Operator) Machine() bool

func (Operator) User

func (o Operator) User() *accountdomain.UserID

func (Operator) Validate

func (o Operator) Validate() bool

type UserID

type UserID = accountdomain.UserID

Jump to

Keyboard shortcuts

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