v1alpha1

package
v0.0.0-...-f5227cc Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2023 License: Apache-2.0 Imports: 0 Imported by: 3

Documentation

Index

Constants

View Source
const (
	//labels
	Domain            = "fnrun.io"
	FunctionLabelKey  = "fnrun.io/image"
	ConfigMapLabelKey = "fnrun.io/configmap"

	// pod spec
	InitContainerName     = "copy-fnwrapper-server"
	FnContainerName       = "function"
	VolumeName            = VolumeMountPath
	VolumeMountPath       = "fnwrapper-server-tools"
	WrapperServerBin      = "fnwrapper-server"
	DefaultFnWrapperImage = "europe-docker.pkg.dev/srlinux/eu.gcr.io/fnwrapper-image:latest"
	FnGRPCServerPort      = 9446
	FnProxyGRPCServerPort = 9445
	// env
	EnvFnWrapperImage = "FN-WRAPPER-IMAGE"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type DigestAndEntrypoint

type DigestAndEntrypoint struct {
	// digest is a hex string
	Digest string
	// entrypoint is the entrypoint of the image
	Entrypoint []string
}

func (*DigestAndEntrypoint) GetDigest

func (r *DigestAndEntrypoint) GetDigest() string

func (*DigestAndEntrypoint) GetEntrypoint

func (r *DigestAndEntrypoint) GetEntrypoint() []string

type Image

type Image struct {
	Name string
	Kind ImageKind
}

type ImageKind

type ImageKind string
const (
	ImageKindFunction ImageKind = "function"
	ImageKindService  ImageKind = "service"
)

Jump to

Keyboard shortcuts

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