apiserver

package
v0.0.0-test Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2025 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package apiserver provides the command for the apiserver.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCommand

func NewCommand(opt CommandOption) *cobra.Command

NewCommand creates a new apiserver command.

Types

type CommandOption

type CommandOption struct {
	// contains filtered or unexported fields
}

CommandOption contains the options for the apiserver command.

func (*CommandOption) Prepare

func (opt *CommandOption) Prepare(_ *cobra.Command, _ []string) error

Prepare prepares the command.

func (*CommandOption) Run

func (opt *CommandOption) Run(_ *cobra.Command, _ []string) error

Run runs the command.

Jump to

Keyboard shortcuts

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