Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ContainerUpdater ¶
type DockerContainerUpdater ¶
type DockerContainerUpdater struct {
// contains filtered or unexported fields
}
func NewDockerContainerUpdater ¶
func NewDockerContainerUpdater(dCli docker.Client) *DockerContainerUpdater
func (*DockerContainerUpdater) UpdateContainer ¶
type ExecUpdater ¶
type ExecUpdater struct {
// contains filtered or unexported fields
}
func NewExecUpdater ¶
func NewExecUpdater(kCli k8s.Client) *ExecUpdater
func (*ExecUpdater) UpdateContainer ¶
type FakeContainerUpdater ¶
type FakeContainerUpdater struct { UpdateErrs []error Calls []UpdateContainerCall }
func (*FakeContainerUpdater) SetUpdateErr ¶ added in v0.10.0
func (cu *FakeContainerUpdater) SetUpdateErr(err error)
func (*FakeContainerUpdater) UpdateContainer ¶
type SyncletManager ¶
type SyncletManager struct {
// contains filtered or unexported fields
}
func NewSyncletManager ¶
func NewSyncletManager(kCli k8s.Client, syncletImageRef sidecar.SyncletImageRef) SyncletManager
func NewSyncletManagerForTests ¶
func NewSyncletManagerForTests(kCli k8s.Client, sCli synclet.SyncletClient, fake *synclet.TestSyncletClient) SyncletManager
func (SyncletManager) ClientForPod ¶
func (sm SyncletManager) ClientForPod(ctx context.Context, podID k8s.PodID, ns k8s.Namespace) (synclet.SyncletClient, error)
type SyncletUpdater ¶
type SyncletUpdater struct {
// contains filtered or unexported fields
}
func NewSyncletUpdater ¶
func NewSyncletUpdater(sm SyncletManager) *SyncletUpdater
func (*SyncletUpdater) UpdateContainer ¶
type UpdateContainerCall ¶
Click to show internal directories.
Click to hide internal directories.