bolttools

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2017 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

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 (b *BoltClient) SetContainer(name, containerId, sandboxId, image, rootImageVolumeName string, labels, annotations map[string]string, attempt uint32, clock clockwork.Clock) error

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

Jump to

Keyboard shortcuts

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