utils

package
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2019 License: Apache-2.0 Imports: 15 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ForceChmod

func ForceChmod(instance *remote.InstanceInfo, filePath string, perms string) error

func GCEClientAndDriverSetup

func GCEClientAndDriverSetup(instance *remote.InstanceInfo) (*remote.TestContext, error)

func GetBlockSizeInGb added in v0.6.0

func GetBlockSizeInGb(instance *remote.InstanceInfo, devicePath string) (int64, error)

func GetFSSizeInGb added in v0.6.0

func GetFSSizeInGb(instance *remote.InstanceInfo, mountPath string) (int64, error)

func ReadFile

func ReadFile(instance *remote.InstanceInfo, filePath string) (string, error)

func RmAll

func RmAll(instance *remote.InstanceInfo, filePath string) error

func SetupProwConfig

func SetupProwConfig(resourceType string) (project, serviceAccount string)

func WriteFile

func WriteFile(instance *remote.InstanceInfo, filePath, fileContents string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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