apiserver

package
v0.0.0-...-66691d1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 29, 2024 License: Apache-2.0 Imports: 31 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCommandStartSphericAPIServer

func NewCommandStartSphericAPIServer(ctx context.Context, defaults *SphericAPIServerOptions) *cobra.Command

func NewResourceConfig

func NewResourceConfig() *serverstorage.ResourceConfig

func SphericVersionToKubeVersion

func SphericVersionToKubeVersion(ver *version.Version) *version.Version

Types

type SphericAPIServerOptions

type SphericAPIServerOptions struct {
	RecommendedOptions *genericoptions.RecommendedOptions
	SphereletConfig    client.SphereletClientConfig

	SharedInformerFactory informers.SharedInformerFactory
}

func NewSphericAPIServerOptions

func NewSphericAPIServerOptions() *SphericAPIServerOptions

func (*SphericAPIServerOptions) AddFlags

func (o *SphericAPIServerOptions) AddFlags(fs *pflag.FlagSet)

func (*SphericAPIServerOptions) Complete

func (o *SphericAPIServerOptions) Complete() error

func (*SphericAPIServerOptions) Config

func (*SphericAPIServerOptions) Run

func (*SphericAPIServerOptions) Validate

func (o *SphericAPIServerOptions) Validate(args []string) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL