model

package
v0.0.0-...-bef5c4b Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2026 License: Apache-2.0 Imports: 4 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ArtefactType

type ArtefactType string
const (
	ArtefactTypeOCI ArtefactType = "oci"
	ArtefactTypeZIP ArtefactType = "zip"
)

type DurationMS

type DurationMS time.Duration

func (DurationMS) MarshalJSON

func (d DurationMS) MarshalJSON() ([]byte, error)

func (*DurationMS) UnmarshalJSON

func (d *DurationMS) UnmarshalJSON(b []byte) error

type InitRequestMessage

type InitRequestMessage struct {
	AccountID            string          `json:"account_id"`
	AwsKey               string          `json:"aws_key"`
	AwsSecret            string          `json:"aws_secret"`
	AwsSession           string          `json:"aws_session"`
	AwsRegion            string          `json:"aws_region"`
	EnvVars              KVMap           `json:"env_vars"`
	MemorySizeBytes      int             `json:"ram_limit"`
	FunctionARN          string          `json:"function_arn"`
	FunctionVersion      string          `json:"function_version"`
	FunctionVersionID    string          `json:"version_id"`
	ArtefactType         ArtefactType    `json:"artefact_type"`
	TaskName             string          `json:"task_name"`
	Handler              string          `json:"handler,omitempty"`
	InvokeTimeout        DurationMS      `json:"invoke_timeout_ms"`
	InitTimeout          DurationMS      `json:"init_timeout_ms"`
	RuntimeVersion       string          `json:"runtime_version,omitempty"`
	RuntimeArn           string          `json:"runtime_arn,omitempty"`
	RuntimeWorkerCount   int             `json:"runtime_worker_count"`
	LogFormat            string          `json:"log_format"`
	LogLevel             string          `json:"log_level"`
	LogGroupName         string          `json:"log_group_name"`
	LogStreamName        string          `json:"log_stream_name"`
	TelemetryAPIAddress  TelemetryAddr   `json:"telemetry_api_address"`
	TelemetryPassphrase  string          `json:"telemetry_passphrase"`
	XRayDaemonAddress    string          `json:"xray_daemon_address"`
	XrayTracingMode      XrayTracingMode `json:"xray_tracing_mode"`
	CurrentWorkingDir    string          `json:"cwd"`
	RuntimeBinaryCommand []string        `json:"cmd"`

	AvailabilityZoneId string `json:"aws_availability_zone_id"`

	AmiId string `json:"ami_id"`
}

func (InitRequestMessage) String

func (i InitRequestMessage) String() string

type KVMap

type KVMap map[string]string

type KVSlice

type KVSlice []string

type TelemetryAddr

type TelemetryAddr netip.AddrPort

func (TelemetryAddr) MarshalJSON

func (t TelemetryAddr) MarshalJSON() ([]byte, error)

func (*TelemetryAddr) UnmarshalJSON

func (t *TelemetryAddr) UnmarshalJSON(b []byte) error

type XrayTracingMode

type XrayTracingMode string
const (
	XRayTracingModeActive      XrayTracingMode = "Active"
	XRayTracingModePassThrough XrayTracingMode = "PassThrough"
)

Jump to

Keyboard shortcuts

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