expose

package
v1.28.0 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2021 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmdExpose

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

Types

type NgrokConfig

type NgrokConfig struct {
	AuthToken string `yaml:"authtoken"`
}

type Options

type Options struct {
	ServiceName      string
	ServiceNamespace string
	ServicePort      int
	ExternalEndpoint string
	EndpointRegion   string
	// contains filtered or unexported fields
}

func NewOptions

func NewOptions(log logrus.FieldLogger) (*Options, error)

func (*Options) CreateNgrokInstance

func (o *Options) CreateNgrokInstance(ctx context.Context, conf *NgrokConfig) error

func (*Options) EnsureAuthenticated

func (o *Options) EnsureAuthenticated(ctx context.Context) (*NgrokConfig, error)

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