start

package
v0.0.0-...-3d2dcd1 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package start implements the reference Composition Function runner. It exposes a gRPC API that may be used to run Composition Functions.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Args

type Args struct {
	Registry string
}

Args contains the default registry used to pull function-runtime-oci containers.

type Command

type Command struct {
	CacheDir   string `short:"c" help:"Directory used for caching function images and containers." default:"/function-runtime-oci"`
	MapRootUID int    `` /* 197-byte string literal not displayed */
	MapRootGID int    `` /* 197-byte string literal not displayed */
	Network    string `help:"Network on which to listen for gRPC connections." default:"unix"`
	Address    string `help:"Address at which to listen for gRPC connections." default:"@crossplane/fn/default.sock"`
}

Command starts a gRPC API to run Composition Functions.

func (*Command) Run

func (c *Command) Run(args *Args, log logging.Logger) error

Run a Composition Function gRPC API.

Jump to

Keyboard shortcuts

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