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 ¶
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 TelemetryAddr ¶
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" )
Click to show internal directories.
Click to hide internal directories.