Documentation
¶
Overview ¶
Package create provides create commands.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HTTPProxyCmd ¶
HTTPProxyCmd returns create command of HTTPProxy.
Types ¶
type HTTPProxyOptions ¶
type HTTPProxyOptions struct {
Name string
Port int
Rules []string
TLS bool
AutoCert bool
CaCertFile string
CertFiles []string
KeyFiles []string
// contains filtered or unexported fields
}
HTTPProxyOptions are the options to create a HTTPProxy.
func (*HTTPProxyOptions) Complete ¶
func (o *HTTPProxyOptions) Complete(args []string)
Complete completes all the required options.
func (*HTTPProxyOptions) Parse ¶
func (o *HTTPProxyOptions) Parse() error
Parse parses all the optional options.
func (*HTTPProxyOptions) Translate ¶
func (o *HTTPProxyOptions) Translate() (*specs.HTTPServerSpec, []*specs.PipelineSpec)
Translate translates HTTPProxyOptions to HTTPServerSpec and PipelineSpec.
Click to show internal directories.
Click to hide internal directories.