presenter

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2023 License: AGPL-3.0-or-later Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type APIToken added in v1.5.0

type APIToken struct {
	ID           string  `json:"id"`
	ClientName   string  `json:"client_name"`
	Token        string  `json:"token"`
	LastUsedTime *string `json:"last_used_time"`
}

func APITokenFromModel added in v1.5.0

func APITokenFromModel(tk model.APIToken) APIToken

type APITokensList added in v1.5.0

type APITokensList struct {
	PageNumber uint32     `json:"page_number"`
	PageSize   uint32     `json:"page_size"`
	Items      []APIToken `json:"items"`
}

func APITokensListFromModels added in v1.5.0

func APITokensListFromModels(pageNumber uint32, pageSize uint32, apiTokens []model.APIToken) APITokensList

type Function added in v1.4.0

type Function struct {
	ID          string            `json:"id"`
	Name        string            `json:"name"`
	Image       string            `json:"image"`
	SkipLogging bool              `json:"skip_logging"`
	CreatedTime string            `json:"created_time"`
	Environment map[string]string `json:"environment"`
	Secrets     []string          `json:"secrets"`
}

func FunctionFromModel added in v1.4.0

func FunctionFromModel(fn model.Function) Function

type FunctionsList added in v1.4.0

type FunctionsList struct {
	PageNumber uint32     `json:"page_number"`
	PageSize   uint32     `json:"page_size"`
	Items      []Function `json:"items"`
}

func FunctionsListFromModels added in v1.4.0

func FunctionsListFromModels(pageNumber uint32, pageSize uint32, functions []model.Function) FunctionsList

type Invocation

type Invocation struct {
	ID           string  `json:"id"`
	FunctionName string  `json:"function_name"`
	Image        string  `json:"image"`
	ClientName   string  `json:"client_name"`
	StartedTime  *string `json:"started_time"`
	EndedTime    *string `json:"ended_time"`
	Input        *string `json:"input"`
	Output       *string `json:"output"`
}

func InvocationFromModel

func InvocationFromModel(inv model.Invocation) Invocation

type InvocationsList added in v1.4.0

type InvocationsList struct {
	PageNumber uint32       `json:"page_number"`
	PageSize   uint32       `json:"page_size"`
	Items      []Invocation `json:"items"`
}

func InvocationsListFromModels added in v1.4.0

func InvocationsListFromModels(pageNumber uint32, pageSize uint32, invocations []model.Invocation) InvocationsList

Jump to

Keyboard shortcuts

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