Documentation ¶
Overview ¶
Kubelet interactions with cAdvisor.
Index ¶
- type Fake
- func (c *Fake) ContainerInfo(name string, req *cadvisorApi.ContainerInfoRequest) (*cadvisorApi.ContainerInfo, error)
- func (c *Fake) DockerContainer(name string, req *cadvisorApi.ContainerInfoRequest) (cadvisorApi.ContainerInfo, error)
- func (c *Fake) DockerImagesFsInfo() (cadvisorApiV2.FsInfo, error)
- func (c *Fake) MachineInfo() (*cadvisorApi.MachineInfo, error)
- type Interface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Fake ¶
type Fake struct { }
Fake cAdvisor implementation.
func (*Fake) ContainerInfo ¶
func (c *Fake) ContainerInfo(name string, req *cadvisorApi.ContainerInfoRequest) (*cadvisorApi.ContainerInfo, error)
func (*Fake) DockerContainer ¶
func (c *Fake) DockerContainer(name string, req *cadvisorApi.ContainerInfoRequest) (cadvisorApi.ContainerInfo, error)
func (*Fake) DockerImagesFsInfo ¶
func (c *Fake) DockerImagesFsInfo() (cadvisorApiV2.FsInfo, error)
func (*Fake) MachineInfo ¶
func (c *Fake) MachineInfo() (*cadvisorApi.MachineInfo, error)
type Interface ¶
type Interface interface { DockerContainer(name string, req *cadvisorApi.ContainerInfoRequest) (cadvisorApi.ContainerInfo, error) ContainerInfo(name string, req *cadvisorApi.ContainerInfoRequest) (*cadvisorApi.ContainerInfo, error) MachineInfo() (*cadvisorApi.MachineInfo, error) // Returns usage information about the filesystem holding Docker images. DockerImagesFsInfo() (cadvisorApiV2.FsInfo, error) }
Interface is an abstract interface for testability. It abstracts the interface to cAdvisor.
Click to show internal directories.
Click to hide internal directories.