pkg

package
v1.36.0 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2026 License: Apache-2.0 Imports: 92 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

func NewBackend

func NewBackend(name v1.BackendName, driver v1.Driver, ctx v1.Nanokube) v1.Backend

func NewNanokube

func NewNanokube(ctx context.Context) v1.Nanokube

Types

type BackendImpl

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

func (*BackendImpl) ContainerFsInfo

func (b *BackendImpl) ContainerFsInfo(context.Context) (cadvisorv2.FsInfo, error)

func (*BackendImpl) ContainerInfoV2

func (b *BackendImpl) ContainerInfoV2(name string, options cadvisorv2.RequestOptions) (map[string]cadvisorv2.ContainerInfo, error)

func (*BackendImpl) Context

func (b *BackendImpl) Context() v1.Nanokube

func (*BackendImpl) Driver

func (b *BackendImpl) Driver() v1.Driver

func (*BackendImpl) GetDirFsInfo

func (b *BackendImpl) GetDirFsInfo(path string) (cadvisorv2.FsInfo, error)

func (*BackendImpl) GetRequestedContainersInfo

func (b *BackendImpl) GetRequestedContainersInfo(containerName string, options cadvisorv2.RequestOptions) (map[string]*cadvisorv1.ContainerInfo, error)

func (*BackendImpl) ImagesFsInfo

func (b *BackendImpl) ImagesFsInfo(context.Context) (cadvisorv2.FsInfo, error)

func (*BackendImpl) MachineInfo

func (b *BackendImpl) MachineInfo() (*cadvisorv1.MachineInfo, error)

func (*BackendImpl) Manager

func (b *BackendImpl) Manager() v1.Manager

func (*BackendImpl) Name

func (b *BackendImpl) Name() v1.BackendName

func (*BackendImpl) Nanokube

func (b *BackendImpl) Nanokube() v1.Nanokube

func (*BackendImpl) Network

func (b *BackendImpl) Network() v1.Network

func (*BackendImpl) Ready

func (b *BackendImpl) Ready() <-chan struct{}

func (*BackendImpl) Reconcile

func (b *BackendImpl) Reconcile(obj interface{}, deleted bool)

func (*BackendImpl) RootFsInfo

func (b *BackendImpl) RootFsInfo() (cadvisorv2.FsInfo, error)

func (*BackendImpl) Services

func (b *BackendImpl) Services() []*restful.WebService

func (*BackendImpl) Start

func (b *BackendImpl) Start() error

func (*BackendImpl) VersionInfo

func (b *BackendImpl) VersionInfo() (*cadvisorv1.VersionInfo, error)

func (*BackendImpl) WithBaseURL

func (b *BackendImpl) WithBaseURL(baseURL *url.URL) v1.Backend

type Command

type Command struct {
	*cobra.Command
	// contains filtered or unexported fields
}

func NewNanokubeCommand

func NewNanokubeCommand(ctx context.Context) *Command

func (*Command) ApiServerCommand

func (c *Command) ApiServerCommand() *cobra.Command

func (*Command) Cancel

func (c *Command) Cancel(err error)

func (*Command) ControllerManagerCommand

func (c *Command) ControllerManagerCommand() *cobra.Command

func (*Command) KubeletCommand

func (c *Command) KubeletCommand() *cobra.Command

func (*Command) Nano

func (c *Command) Nano() v1.Nanokube

func (*Command) RunCommand

func (c *Command) RunCommand() *cobra.Command

func (*Command) SchedulerCommand

func (c *Command) SchedulerCommand() *cobra.Command

func (*Command) StartHooksDone

func (c *Command) StartHooksDone() <-chan struct{}

func (*Command) With

func (c *Command) With(cmd *cobra.Command) *Command

Directories

Path Synopsis
driver

Jump to

Keyboard shortcuts

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