Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCommandStartPorchServer ¶
func NewCommandStartPorchServer(ctx context.Context, defaults *PorchServerOptions) *cobra.Command
NewCommandStartPorchServer provides a CLI handler for 'start master' command with a default PorchServerOptions.
Types ¶
type PorchServerOptions ¶
type PorchServerOptions struct { RecommendedOptions *genericoptions.RecommendedOptions LocalStandaloneDebugging bool // Enables local standalone running/debugging of the apiserver. CacheDirectory string CoreAPIKubeconfigPath string FunctionRunnerAddress string StdOut io.Writer StdErr io.Writer }
PorchServerOptions contains state for master/api server
func NewPorchServerOptions ¶
func NewPorchServerOptions(out, errOut io.Writer) *PorchServerOptions
NewPorchServerOptions returns a new PorchServerOptions
func (*PorchServerOptions) AddFlags ¶
func (o *PorchServerOptions) AddFlags(fs *pflag.FlagSet)
func (*PorchServerOptions) Complete ¶
func (o *PorchServerOptions) Complete() error
Complete fills in fields required to have valid data
func (*PorchServerOptions) Config ¶
func (o *PorchServerOptions) Config() (*apiserver.Config, error)
Config returns config for the api server given PorchServerOptions
func (PorchServerOptions) RunPorchServer ¶
func (o PorchServerOptions) RunPorchServer(ctx context.Context) error
RunPorchServer starts a new PorchServer given PorchServerOptions
func (PorchServerOptions) Validate ¶
func (o PorchServerOptions) Validate(args []string) error
Validate validates PorchServerOptions
Click to show internal directories.
Click to hide internal directories.