rapidcore

package
v0.0.0-...-4fa2157 Latest Latest
Warning

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

Go to latest
Published: Jan 2, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const RuntimeReleasePath = "/var/runtime/runtime-release"

Variables

View Source
var (
	ErrInitDoneFailed = errors.New("InitDoneFailed")
	ErrInitNotStarted = errors.New("InitNotStarted")
)
View Source
var (
	ErrAlreadyReplied    = errors.New("AlreadyReplied")
	ErrAlreadyInvocating = errors.New("AlreadyInvocating")
)
View Source
var (
	ErrInvokeResponseAlreadyWritten = errors.New("InvokeResponseAlreadyWritten")
	ErrInvokeDoneFailed             = errors.New("InvokeDoneFailed")
	ErrInvokeReservationDone        = errors.New("InvokeReservationDone")
)
View Source
var (
	ErrInternalServerError = errors.New("InternalServerError")
	ErrInvokeTimeout       = errors.New("InvokeTimeout")
)

Functions

func ParsePropertiesFile

func ParsePropertiesFile(path string, limitBytes int64) (map[string]string, error)

Types

type Logging

type Logging string
const (
	AmznStdout    Logging = "amzn-stdout"
	AmznStdoutTLV Logging = "amzn-stdout-tlv"
)

func GetRuntimeLoggingType

func GetRuntimeLoggingType(rr *RuntimeRelease) Logging

type RuntimeRelease

type RuntimeRelease struct {
	Name    string
	Version string
	Logging Logging
}

func GetRuntimeRelease

func GetRuntimeRelease(path string) (*RuntimeRelease, error)

func (*RuntimeRelease) GetUAProduct

func (rr *RuntimeRelease) GetUAProduct() (string, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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