Documentation

Overview

Package wiretest contains utilites for testing Alluxio file system wire types.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RandomBits

func RandomBits() wire.Bits

RandomBits generates a random instace of wire.Bits.

func RandomBlockInfo

func RandomBlockInfo() wire.BlockInfo

RandomBlockInfo generates a random instance of wire.BlockInfo.

func RandomBlockLocation

func RandomBlockLocation() wire.BlockLocation

RandomBlockLocation generates a random instance of wire.BlockLocation.

func RandomBool

func RandomBool() bool

RandomBool generates a random bool.

func RandomBytes

func RandomBytes() []byte

RandomBytes generates a random byte slice.

func RandomFileBlockInfo

func RandomFileBlockInfo() wire.FileBlockInfo

RandomFileBlockInfo generates a random instance of wire.FileBlockInfo.

func RandomFileInfo

func RandomFileInfo() wire.FileInfo

RandomFileInfo generates a random instance of wire.FileInfo.

func RandomLoadMetadataType

func RandomLoadMetadataType() wire.LoadMetadataType

RandomLoadMetadataType generates a random instance of wire.LoadMetadataType.

func RandomMode

func RandomMode() wire.Mode

RandomMode generates a random instance of wire.Mode.

func RandomReadType

func RandomReadType() wire.ReadType

RandomReadType generates a random instance of wire.ReadType.

func RandomString

func RandomString() string

RandomString generates a random string.

func RandomTTLAction

func RandomTTLAction() wire.TTLAction

RandomTTLAction generates a random instance of wire.TTLAction.

func RandomWorkerNetAddress

func RandomWorkerNetAddress() wire.WorkerNetAddress

RandomWorkerNetAddress generates a random instance of wire.WorkerNetAddress.

func RandomWriteType

func RandomWriteType() wire.WriteType

RandomWriteType generates a random instance of wire.WriteType.

Types

This section is empty.