Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AppsVersionToKubeVersion ¶
AppsVersionToKubeVersion defines the version mapping between the Apps component and kube
func DeepCopySchema ¶
DeepCopySchema делает глубокую копию структуры spec.Schema
func NewCommandStartAppsServer ¶
func NewCommandStartAppsServer(ctx context.Context, defaults *AppsServerOptions) *cobra.Command
NewCommandStartAppsServer provides a CLI handler for the 'start apps-server' command
Types ¶
type AppsServerOptions ¶
type AppsServerOptions struct { RecommendedOptions *genericoptions.RecommendedOptions StdOut io.Writer StdErr io.Writer AlternateDNS []string // Add a field to store the configuration path ResourceConfigPath string // Add a field to store the configuration ResourceConfig *config.ResourceConfig }
AppsServerOptions holds the state for the Apps API server
func NewAppsServerOptions ¶
func NewAppsServerOptions(out, errOut io.Writer) *AppsServerOptions
NewAppsServerOptions returns a new instance of AppsServerOptions
func (*AppsServerOptions) Complete ¶
func (o *AppsServerOptions) Complete() error
Complete fills in the fields that are not set
func (*AppsServerOptions) Config ¶
func (o *AppsServerOptions) Config() (*apiserver.Config, error)
Config returns the configuration for the API server based on AppsServerOptions
func (AppsServerOptions) RunAppsServer ¶
func (o AppsServerOptions) RunAppsServer(ctx context.Context) error
RunAppsServer launches a new AppsServer based on AppsServerOptions
func (AppsServerOptions) Validate ¶
func (o AppsServerOptions) Validate(args []string) error
Validate checks the correctness of the options
Click to show internal directories.
Click to hide internal directories.