Documentation ¶
Index ¶
- func NewCommandStartTiltServer(defaults *TiltServerOptions, stopCh <-chan struct{}) *cobra.Command
- type RecommendedConfigFn
- type TiltServerOptions
- func (o *TiltServerOptions) ApplyRecommendedConfigFns(in *pkgserver.RecommendedConfig) *pkgserver.RecommendedConfig
- 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) LoopbackClientConfig() *rest.Config
- func (o TiltServerOptions) RunTiltServer(stopCh <-chan struct{}) (<-chan struct{}, error)
- func (o TiltServerOptions) Validate(args []string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCommandStartTiltServer ¶
func NewCommandStartTiltServer(defaults *TiltServerOptions, stopCh <-chan struct{}) *cobra.Command
NewCommandStartTiltServer provides a CLI handler for 'start master' command with a default TiltServerOptions.
Types ¶
type RecommendedConfigFn ¶ added in v0.2.0
type RecommendedConfigFn func(*pkgserver.RecommendedConfig) *pkgserver.RecommendedConfig
func SetOpenAPIDefinitionFn ¶ added in v0.2.0
func SetOpenAPIDefinitionFn(scheme *runtime.Scheme, name, version string, defs openapicommon.GetOpenAPIDefinitions) RecommendedConfigFn
type TiltServerOptions ¶
type TiltServerOptions struct { ServingOptions *genericoptions.DeprecatedInsecureServingOptions ConnProvider apiserver.ConnProvider // contains filtered or unexported fields }
TiltServerOptions contains state for master/api server
func NewTiltServerOptions ¶
func NewTiltServerOptions( out, errOut io.Writer, scheme *runtime.Scheme, codecs serializer.CodecFactory, codec runtime.Codec, recommendedConfigFns []RecommendedConfigFn, apis map[schema.GroupVersionResource]apiserver.StorageProvider, serving *genericoptions.DeprecatedInsecureServingOptions, connProvider apiserver.ConnProvider) *TiltServerOptions
NewTiltServerOptions returns a new TiltServerOptions
func (*TiltServerOptions) ApplyRecommendedConfigFns ¶ added in v0.2.0
func (o *TiltServerOptions) ApplyRecommendedConfigFns(in *pkgserver.RecommendedConfig) *pkgserver.RecommendedConfig
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) LoopbackClientConfig ¶ added in v0.2.0
func (o TiltServerOptions) LoopbackClientConfig() *rest.Config
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.