localapp

package
v1.57.0 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2023 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Overview

Package localapp implements a 'devenv local-app' command that allows developers to point a Kubernetes Service at a local-application.

Index

Constants

View Source
const (
	DefaultNamespace = "bento1a"
	OutreachAccounts = "outreach-accounts"
)

Variables

This section is empty.

Functions

func NewCmdLocalApp

func NewCmdLocalApp(log logrus.FieldLogger) *cli.Command

Types

type Options

type Options struct {
	AppName   string
	Namespace string

	// CreateManifests is a path to manifests
	// that should be created before running the KFR
	// but also removed after running --stop
	// Note: This should never be user facing.
	// The path should be relative to the
	// extracted source temp directory
	CreateManifests string

	// OriginalManifests are one to re-apply after a local-app
	// has finished.
	// Note: This should never be user facing.
	// The path should be relative to the
	// extracted source temp directory
	OriginalManifests string

	// Stop designates if this command is meant to stop
	// an active forward
	Stop bool

	Ports map[uint64]uint64
	// contains filtered or unexported fields
}

func NewOptions

func NewOptions(log logrus.FieldLogger) *Options

func (*Options) Run

func (o *Options) Run(ctx context.Context) error

Jump to

Keyboard shortcuts

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