volumecontrol

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type VolumeControl

type VolumeControl struct {
	// contains filtered or unexported fields
}

func NewClient

func NewClient(endpoint string) *VolumeControl

func (*VolumeControl) Finalize

func (vc *VolumeControl) Finalize(
	fuseMountPointDir string, force bool) error

func (*VolumeControl) Initialize

func (vc *VolumeControl) Initialize(
	fuseSourcePath string, allowedExecutables []*api.ExternalAllowedExecutable,
	csiVolumeHandle string, localFuseMountsHostRootDirectory string,
	disableUsageControl bool) (string, error)

func (*VolumeControl) Start

func (vc *VolumeControl) Start(
	podNamespace string, podName string,
	pvcKey string, allowedExecutables map[string]*api.Executable,
	dataContainerName string, messageQueueConfig *api.MessageQueue) (
	*api.StartResponse, error)

func (*VolumeControl) Stop

func (vc *VolumeControl) Stop(
	podNamespace string, podName string,
	mountPointToExecutablePaths map[string]*api.ExecutablePaths,
	mountPoint string) error

func (*VolumeControl) UpdateAllowedExecutables

func (vc *VolumeControl) UpdateAllowedExecutables(
	podNamespace string, podName string,
	executablesDiffs map[string]*api.ExecutablesDiffs) (
	map[string]string, error)

func (*VolumeControl) UpdateMessageQueueConfigurations

func (vc *VolumeControl) UpdateMessageQueueConfigurations(
	podNamespace string, podName string,
	executablesDiffs map[string]*api.MessageQueue) (
	map[string]string, error)

Jump to

Keyboard shortcuts

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