Documentation ¶
Overview ¶
Package expose implements a 'devenv expose' command that allows developers to expose a service to the outside world.
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)
Click to show internal directories.
Click to hide internal directories.