units

package
v0.0.0-...-f4cebfc Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package units is a generated protocol buffer package.

It is generated from these files:

pb/moby/units/units.proto

It has these top-level messages:

Ulimit
Rlimit

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Rlimit

type Rlimit struct {
	// Type int `json:"type,omitempty"`
	Type int32 `protobuf:"varint,1,opt,name=type,proto3" json:"type,omitempty"`
	// Hard uint64 `json:"hard,omitempty"`
	Hard uint64 `protobuf:"varint,2,opt,name=hard,proto3" json:"hard,omitempty"`
	// Soft uint64 `json:"soft,omitempty"`
	Soft uint64 `protobuf:"varint,3,opt,name=soft,proto3" json:"soft,omitempty"`
}

Rlimit specifies the resources limits, such as max open files. type Rlimit struct

func (*Rlimit) Descriptor

func (*Rlimit) Descriptor() ([]byte, []int)

func (*Rlimit) GetHard

func (m *Rlimit) GetHard() uint64

func (*Rlimit) GetSoft

func (m *Rlimit) GetSoft() uint64

func (*Rlimit) GetType

func (m *Rlimit) GetType() int32

func (*Rlimit) ProtoMessage

func (*Rlimit) ProtoMessage()

func (*Rlimit) Reset

func (m *Rlimit) Reset()

func (*Rlimit) String

func (m *Rlimit) String() string

type Ulimit

type Ulimit struct {
	// Name sstring
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Hard int64
	Hard int64 `protobuf:"varint,2,opt,name=hard,proto3" json:"hard,omitempty"`
	// Soft int64
	Soft int64 `protobuf:"varint,3,opt,name=soft,proto3" json:"soft,omitempty"`
}

Ulimit is a human friendly version of Rlimit. type Ulimit struct

func (*Ulimit) Descriptor

func (*Ulimit) Descriptor() ([]byte, []int)

func (*Ulimit) GetHard

func (m *Ulimit) GetHard() int64

func (*Ulimit) GetName

func (m *Ulimit) GetName() string

func (*Ulimit) GetSoft

func (m *Ulimit) GetSoft() int64

func (*Ulimit) ProtoMessage

func (*Ulimit) ProtoMessage()

func (*Ulimit) Reset

func (m *Ulimit) Reset()

func (*Ulimit) String

func (m *Ulimit) String() string

Jump to

Keyboard shortcuts

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