Documentation ¶
Index ¶
- type BoltClient
- func (b *BoltClient) Close() error
- func (b *BoltClient) EnsureImageSchema() error
- func (b *BoltClient) EnsureSandboxSchema() error
- func (b *BoltClient) EnsureVirtualizationSchema() error
- func (b *BoltClient) GetContainerInfo(containerId string) (*metadata.ContainerInfo, error)
- func (b *BoltClient) GetImageName(volumeName string) (string, error)
- func (b *BoltClient) GetPodNetworkConfigurationAsBytes(podId string) ([]byte, error)
- func (b *BoltClient) GetPodSandboxAnnotations(podId string) (map[string]string, error)
- func (b *BoltClient) GetPodSandboxContainerID(podId string) (string, error)
- func (b *BoltClient) GetPodSandboxStatus(podId string) (*kubeapi.PodSandboxStatus, error)
- func (b *BoltClient) ListPodSandbox(filter *kubeapi.PodSandboxFilter) ([]*kubeapi.PodSandbox, error)
- func (b *BoltClient) RemoveContainer(containerId string) error
- func (b *BoltClient) RemoveImage(volumeName string) error
- func (b *BoltClient) RemovePodSandbox(podId string) error
- func (b *BoltClient) SetContainer(name, containerId, sandboxId, image, rootImageVolumeName string, ...) error
- func (b *BoltClient) SetImageName(volumeName, imageName string) error
- func (b *BoltClient) SetPodSandbox(config *kubeapi.PodSandboxConfig, networkConfiguration []byte, ...) error
- func (b *BoltClient) UpdatePodState(podId string, state byte) error
- func (b *BoltClient) UpdateStartedAt(containerId string, startedAt string) error
- func (b *BoltClient) UpdateState(containerId string, state byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BoltClient ¶
type BoltClient struct {
// contains filtered or unexported fields
}
func NewBoltClient ¶
func NewBoltClient(path string) (*BoltClient, error)
func NewFakeBoltClient ¶
func NewFakeBoltClient() (*BoltClient, error)
func (*BoltClient) Close ¶
func (b *BoltClient) Close() error
func (*BoltClient) EnsureImageSchema ¶
func (b *BoltClient) EnsureImageSchema() error
func (*BoltClient) EnsureSandboxSchema ¶
func (b *BoltClient) EnsureSandboxSchema() error
func (*BoltClient) EnsureVirtualizationSchema ¶
func (b *BoltClient) EnsureVirtualizationSchema() error
func (*BoltClient) GetContainerInfo ¶
func (b *BoltClient) GetContainerInfo(containerId string) (*metadata.ContainerInfo, error)
func (*BoltClient) GetImageName ¶
func (b *BoltClient) GetImageName(volumeName string) (string, error)
func (*BoltClient) GetPodNetworkConfigurationAsBytes ¶
func (b *BoltClient) GetPodNetworkConfigurationAsBytes(podId string) ([]byte, error)
func (*BoltClient) GetPodSandboxAnnotations ¶
func (b *BoltClient) GetPodSandboxAnnotations(podId string) (map[string]string, error)
func (*BoltClient) GetPodSandboxContainerID ¶
func (b *BoltClient) GetPodSandboxContainerID(podId string) (string, error)
func (*BoltClient) GetPodSandboxStatus ¶
func (b *BoltClient) GetPodSandboxStatus(podId string) (*kubeapi.PodSandboxStatus, error)
func (*BoltClient) ListPodSandbox ¶
func (b *BoltClient) ListPodSandbox(filter *kubeapi.PodSandboxFilter) ([]*kubeapi.PodSandbox, error)
func (*BoltClient) RemoveContainer ¶
func (b *BoltClient) RemoveContainer(containerId string) error
func (*BoltClient) RemoveImage ¶
func (b *BoltClient) RemoveImage(volumeName string) error
func (*BoltClient) RemovePodSandbox ¶
func (b *BoltClient) RemovePodSandbox(podId string) error
func (*BoltClient) SetContainer ¶
func (*BoltClient) SetImageName ¶
func (b *BoltClient) SetImageName(volumeName, imageName string) error
func (*BoltClient) SetPodSandbox ¶
func (b *BoltClient) SetPodSandbox(config *kubeapi.PodSandboxConfig, networkConfiguration []byte, state kubeapi.PodSandboxState, clock clockwork.Clock) error
func (*BoltClient) UpdatePodState ¶
func (b *BoltClient) UpdatePodState(podId string, state byte) error
func (*BoltClient) UpdateStartedAt ¶
func (b *BoltClient) UpdateStartedAt(containerId string, startedAt string) error
func (*BoltClient) UpdateState ¶
func (b *BoltClient) UpdateState(containerId string, state byte) error
Click to show internal directories.
Click to hide internal directories.