shared

package
v0.0.0-...-96468c2 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	ScaledToZeroClustersKey = "scaled_to_zero_clusters_key"
)

Variables

This section is empty.

Functions

func DecodeSharedData

func DecodeSharedData(data []byte) []string

func EncodeSharedData

func EncodeSharedData(data []string) []byte

Note: As tinygo does not support serialization well just yet, we use our own string serialization for now https://github.com/tinygo-org/tinygo/issues/447

Types

type PluginConfig

type PluginConfig struct {
	ControlPlaneURL     string `json:"control-plane-url"`
	ControlPlaneCluster string `json:"control-plane-cluster"`
}

func ParseConfig

func ParseConfig(data []byte) (*PluginConfig, error)

type RequestContext

type RequestContext struct {
	Authority     string
	HttpContextID uint32
}

Jump to

Keyboard shortcuts

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