Documentation ¶
Index ¶
- Variables
- func ApplyFlagsFns(fs *pflag.FlagSet) *pflag.FlagSet
- func ApplyRecommendedConfigFns(in *pkgserver.RecommendedConfig) *pkgserver.RecommendedConfig
- func NewCommandStartTiltServer(defaults *TiltServerOptions, stopCh <-chan struct{}) *cobra.Command
- func SetOpenAPIDefinitions(name, version string, defs openapicommon.GetOpenAPIDefinitions)
- type ServerOptions
- type TiltServerOptions
- func (o *TiltServerOptions) Complete() error
- func (o *TiltServerOptions) Config() (*apiserver.Config, error)
- func (o TiltServerOptions) GetRESTOptions(resource schema.GroupResource) (generic.RESTOptions, error)
- func (o TiltServerOptions) RunTiltServer(stopCh <-chan struct{}) (<-chan struct{}, error)
- func (o TiltServerOptions) Validate(args []string) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( EtcdPath string RecommendedConfigFns []func(*pkgserver.RecommendedConfig) *pkgserver.RecommendedConfig ServerOptionsFns []func(server *ServerOptions) *ServerOptions FlagsFns []func(fs *pflag.FlagSet) *pflag.FlagSet NewCommandStartServer = NewCommandStartTiltServer )
Functions ¶
func ApplyRecommendedConfigFns ¶
func ApplyRecommendedConfigFns(in *pkgserver.RecommendedConfig) *pkgserver.RecommendedConfig
func NewCommandStartTiltServer ¶
func NewCommandStartTiltServer(defaults *TiltServerOptions, stopCh <-chan struct{}) *cobra.Command
NewCommandStartTiltServer provides a CLI handler for 'start master' command with a default TiltServerOptions.
func SetOpenAPIDefinitions ¶
func SetOpenAPIDefinitions(name, version string, defs openapicommon.GetOpenAPIDefinitions)
Types ¶
type ServerOptions ¶
type ServerOptions = TiltServerOptions
func ApplyServerOptionsFns ¶
func ApplyServerOptionsFns(in *ServerOptions) *ServerOptions
type TiltServerOptions ¶
type TiltServerOptions struct { ServingOptions *genericoptions.DeprecatedInsecureServingOptions Codec runtime.Codec StdOut io.Writer StdErr io.Writer }
TiltServerOptions contains state for master/api server
func NewTiltServerOptions ¶
func NewTiltServerOptions(out, errOut io.Writer, codec runtime.Codec) *TiltServerOptions
NewTiltServerOptions returns a new TiltServerOptions
func (*TiltServerOptions) Complete ¶
func (o *TiltServerOptions) Complete() error
Complete fills in fields required to have valid data
func (*TiltServerOptions) Config ¶
func (o *TiltServerOptions) Config() (*apiserver.Config, error)
Config returns config for the api server given TiltServerOptions
func (TiltServerOptions) GetRESTOptions ¶
func (o TiltServerOptions) GetRESTOptions(resource schema.GroupResource) (generic.RESTOptions, error)
func (TiltServerOptions) RunTiltServer ¶
func (o TiltServerOptions) RunTiltServer(stopCh <-chan struct{}) (<-chan struct{}, error)
RunTiltServer starts a new TiltServer given TiltServerOptions
func (TiltServerOptions) Validate ¶
func (o TiltServerOptions) Validate(args []string) error
Validate validates TiltServerOptions
Click to show internal directories.
Click to hide internal directories.