start

package
v1.13.2 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 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 added in v1.13.0

type Args struct {
	Registry string
}

Args contains the default registry used to pull XFN containers.

type Command

type Command struct {
	CacheDir   string `short:"c" help:"Directory used for caching function images and containers." default:"/xfn"`
	MapRootUID int    `` /* 180-byte string literal not displayed */
	MapRootGID int    `` /* 180-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