Documentation
¶
Index ¶
- Variables
- func NewBackend(name v1.BackendName, driver v1.Driver, ctx v1.Nanokube) v1.Backend
- func NewNanokube(ctx context.Context) v1.Nanokube
- type BackendImpl
- func (b *BackendImpl) ContainerFsInfo(context.Context) (cadvisorv2.FsInfo, error)
- func (b *BackendImpl) ContainerInfoV2(name string, options cadvisorv2.RequestOptions) (map[string]cadvisorv2.ContainerInfo, error)
- func (b *BackendImpl) Context() v1.Nanokube
- func (b *BackendImpl) Driver() v1.Driver
- func (b *BackendImpl) GetDirFsInfo(path string) (cadvisorv2.FsInfo, error)
- func (b *BackendImpl) GetRequestedContainersInfo(containerName string, options cadvisorv2.RequestOptions) (map[string]*cadvisorv1.ContainerInfo, error)
- func (b *BackendImpl) ImagesFsInfo(context.Context) (cadvisorv2.FsInfo, error)
- func (b *BackendImpl) MachineInfo() (*cadvisorv1.MachineInfo, error)
- func (b *BackendImpl) Manager() v1.Manager
- func (b *BackendImpl) Name() v1.BackendName
- func (b *BackendImpl) Nanokube() v1.Nanokube
- func (b *BackendImpl) Network() v1.Network
- func (b *BackendImpl) Ready() <-chan struct{}
- func (b *BackendImpl) Reconcile(obj interface{}, deleted bool)
- func (b *BackendImpl) RootFsInfo() (cadvisorv2.FsInfo, error)
- func (b *BackendImpl) Services() []*restful.WebService
- func (b *BackendImpl) Start() error
- func (b *BackendImpl) VersionInfo() (*cadvisorv1.VersionInfo, error)
- func (b *BackendImpl) WithBaseURL(baseURL *url.URL) v1.Backend
- type Command
- func (c *Command) ApiServerCommand() *cobra.Command
- func (c *Command) Cancel(err error)
- func (c *Command) ControllerManagerCommand() *cobra.Command
- func (c *Command) KubeletCommand() *cobra.Command
- func (c *Command) Nano() v1.Nanokube
- func (c *Command) RunCommand() *cobra.Command
- func (c *Command) SchedulerCommand() *cobra.Command
- func (c *Command) StartHooksDone() <-chan struct{}
- func (c *Command) With(cmd *cobra.Command) *Command
Constants ¶
This section is empty.
Variables ¶
View Source
var FeatureGates = map[string]bool{ string(features.KubeletInUserNamespace): true, string(apifeatures.WatchList): false, string(features.TranslateStreamCloseWebsocketRequests): false, string(features.PortForwardWebsockets): false, string(features.ExtendWebSocketsToKubelet): false, }
Functions ¶
func NewBackend ¶
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 ¶
func NewNanokubeCommand ¶
func (*Command) ApiServerCommand ¶
func (*Command) ControllerManagerCommand ¶
func (*Command) KubeletCommand ¶
func (*Command) RunCommand ¶
func (*Command) SchedulerCommand ¶
func (*Command) StartHooksDone ¶
func (c *Command) StartHooksDone() <-chan struct{}
Click to show internal directories.
Click to hide internal directories.