package blkiodev

import "github.com/ory/dockertest/v3/docker/types/blkiodev"

Index

Types

type ThrottleDevice

type ThrottleDevice struct {
	Path string
	Rate uint64
}

ThrottleDevice is a structure that holds device:rate_per_second pair

func (*ThrottleDevice) String

func (t *ThrottleDevice) String() string

type WeightDevice

type WeightDevice struct {
	Path   string
	Weight uint16
}

WeightDevice is a structure that holds device:weight pair

func (*WeightDevice) String

func (w *WeightDevice) String() string

Source Files

blkio.go

Version
v3.6.2
Published
Oct 18, 2020
Platform
linux/amd64
Imports
1 packages
Last checked
1 hour ago

Tools for package owners.