api

package module
v0.0.0-...-228f33a Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2021 License: MIT Imports: 11 Imported by: 64

README

Build Status

The Things Network V2 API

Warning: This API and SDK clients are for the V2 of The Things Network. If you are using The Things Stack (V3), please have a look at https://www.thethingsindustries.com/docs/reference/api/

Languages

Language Status Maintainer
C structs only (no gRPC) core team
C# nothing yet; help wanted you?
C++ nothing yet; help wanted you?
Go sdk available core team
Java sdk available @cambierr
Javascript sdk available core team
Objective-C nothing yet; help wanted you?
PHP files generated; not tested; help wanted you?
Python files generated; tested; help wanted you?
Ruby files generated; not tested; help wanted you?
Swift files generated; not tested; help wanted you?
Rust help wanted (#18) you?

Updating the generated files

  1. Install Docker
  2. Run make clean all

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthApi        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowApi          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupApi = fmt.Errorf("proto: unexpected end of group")
)

Functions

func NotEmptyAndValidID

func NotEmptyAndValidID(id string, argument string) error

NotEmptyAndValidID checks if the ID is not empty AND has a valid format

func NotNilAndValid

func NotNilAndValid(in interface{}, argument string) error

NotNilAndValid checks if the given interface is not nil AND validates it

func ValidID

func ValidID(id string) bool

ValidID returns true if the given ID is a valid application or device ID

func Validate

func Validate(in interface{}) error

Validate the given object if it implements the Validator interface Must not be called with nil values!

Types

type ComponentStats

type ComponentStats struct {
	Uptime               uint64                      `protobuf:"varint,1,opt,name=uptime,proto3" json:"uptime,omitempty"`
	Cpu                  *ComponentStats_CPUStats    `protobuf:"bytes,2,opt,name=cpu,proto3" json:"cpu,omitempty"`
	Memory               *ComponentStats_MemoryStats `protobuf:"bytes,3,opt,name=memory,proto3" json:"memory,omitempty"`
	Goroutines           uint64                      `protobuf:"varint,4,opt,name=goroutines,proto3" json:"goroutines,omitempty"`
	GcCpuFraction        float32                     `protobuf:"fixed32,5,opt,name=gc_cpu_fraction,json=gcCpuFraction,proto3" json:"gc_cpu_fraction,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                    `json:"-"`
	XXX_sizecache        int32                       `json:"-"`
}

func NewPopulatedComponentStats

func NewPopulatedComponentStats(r randyApi, easy bool) *ComponentStats

func (*ComponentStats) Descriptor

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

func (*ComponentStats) Equal

func (this *ComponentStats) Equal(that interface{}) bool

func (*ComponentStats) GetCpu

func (*ComponentStats) GetGcCpuFraction

func (m *ComponentStats) GetGcCpuFraction() float32

func (*ComponentStats) GetGoroutines

func (m *ComponentStats) GetGoroutines() uint64

func (*ComponentStats) GetMemory

func (*ComponentStats) GetUptime

func (m *ComponentStats) GetUptime() uint64

func (*ComponentStats) Marshal

func (m *ComponentStats) Marshal() (dAtA []byte, err error)

func (*ComponentStats) MarshalTo

func (m *ComponentStats) MarshalTo(dAtA []byte) (int, error)

func (*ComponentStats) MarshalToSizedBuffer

func (m *ComponentStats) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ComponentStats) ProtoMessage

func (*ComponentStats) ProtoMessage()

func (*ComponentStats) Reset

func (m *ComponentStats) Reset()

func (*ComponentStats) Size

func (m *ComponentStats) Size() (n int)

func (*ComponentStats) String

func (this *ComponentStats) String() string

func (*ComponentStats) Unmarshal

func (m *ComponentStats) Unmarshal(dAtA []byte) error

func (*ComponentStats) XXX_DiscardUnknown

func (m *ComponentStats) XXX_DiscardUnknown()

func (*ComponentStats) XXX_Marshal

func (m *ComponentStats) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ComponentStats) XXX_Merge

func (m *ComponentStats) XXX_Merge(src proto.Message)

func (*ComponentStats) XXX_Size

func (m *ComponentStats) XXX_Size() int

func (*ComponentStats) XXX_Unmarshal

func (m *ComponentStats) XXX_Unmarshal(b []byte) error

type ComponentStats_CPUStats

type ComponentStats_CPUStats struct {
	User                 float32  `protobuf:"fixed32,1,opt,name=user,proto3" json:"user,omitempty"`
	System               float32  `protobuf:"fixed32,2,opt,name=system,proto3" json:"system,omitempty"`
	Idle                 float32  `protobuf:"fixed32,3,opt,name=idle,proto3" json:"idle,omitempty"`
	Percentage           float32  `protobuf:"fixed32,4,opt,name=percentage,proto3" json:"percentage,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func NewPopulatedComponentStats_CPUStats

func NewPopulatedComponentStats_CPUStats(r randyApi, easy bool) *ComponentStats_CPUStats

func (*ComponentStats_CPUStats) Descriptor

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

func (*ComponentStats_CPUStats) Equal

func (this *ComponentStats_CPUStats) Equal(that interface{}) bool

func (*ComponentStats_CPUStats) GetIdle

func (m *ComponentStats_CPUStats) GetIdle() float32

func (*ComponentStats_CPUStats) GetPercentage

func (m *ComponentStats_CPUStats) GetPercentage() float32

func (*ComponentStats_CPUStats) GetSystem

func (m *ComponentStats_CPUStats) GetSystem() float32

func (*ComponentStats_CPUStats) GetUser

func (m *ComponentStats_CPUStats) GetUser() float32

func (*ComponentStats_CPUStats) Marshal

func (m *ComponentStats_CPUStats) Marshal() (dAtA []byte, err error)

func (*ComponentStats_CPUStats) MarshalTo

func (m *ComponentStats_CPUStats) MarshalTo(dAtA []byte) (int, error)

func (*ComponentStats_CPUStats) MarshalToSizedBuffer

func (m *ComponentStats_CPUStats) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ComponentStats_CPUStats) ProtoMessage

func (*ComponentStats_CPUStats) ProtoMessage()

func (*ComponentStats_CPUStats) Reset

func (m *ComponentStats_CPUStats) Reset()

func (*ComponentStats_CPUStats) Size

func (m *ComponentStats_CPUStats) Size() (n int)

func (*ComponentStats_CPUStats) String

func (this *ComponentStats_CPUStats) String() string

func (*ComponentStats_CPUStats) Unmarshal

func (m *ComponentStats_CPUStats) Unmarshal(dAtA []byte) error

func (*ComponentStats_CPUStats) XXX_DiscardUnknown

func (m *ComponentStats_CPUStats) XXX_DiscardUnknown()

func (*ComponentStats_CPUStats) XXX_Marshal

func (m *ComponentStats_CPUStats) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ComponentStats_CPUStats) XXX_Merge

func (m *ComponentStats_CPUStats) XXX_Merge(src proto.Message)

func (*ComponentStats_CPUStats) XXX_Size

func (m *ComponentStats_CPUStats) XXX_Size() int

func (*ComponentStats_CPUStats) XXX_Unmarshal

func (m *ComponentStats_CPUStats) XXX_Unmarshal(b []byte) error

type ComponentStats_MemoryStats

type ComponentStats_MemoryStats struct {
	Memory               uint64   `protobuf:"varint,1,opt,name=memory,proto3" json:"memory,omitempty"`
	Swap                 uint64   `protobuf:"varint,2,opt,name=swap,proto3" json:"swap,omitempty"`
	Heap                 uint64   `protobuf:"varint,10,opt,name=heap,proto3" json:"heap,omitempty"`
	Stack                uint64   `protobuf:"varint,11,opt,name=stack,proto3" json:"stack,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func NewPopulatedComponentStats_MemoryStats

func NewPopulatedComponentStats_MemoryStats(r randyApi, easy bool) *ComponentStats_MemoryStats

func (*ComponentStats_MemoryStats) Descriptor

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

func (*ComponentStats_MemoryStats) Equal

func (this *ComponentStats_MemoryStats) Equal(that interface{}) bool

func (*ComponentStats_MemoryStats) GetHeap

func (m *ComponentStats_MemoryStats) GetHeap() uint64

func (*ComponentStats_MemoryStats) GetMemory

func (m *ComponentStats_MemoryStats) GetMemory() uint64

func (*ComponentStats_MemoryStats) GetStack

func (m *ComponentStats_MemoryStats) GetStack() uint64

func (*ComponentStats_MemoryStats) GetSwap

func (m *ComponentStats_MemoryStats) GetSwap() uint64

func (*ComponentStats_MemoryStats) Marshal

func (m *ComponentStats_MemoryStats) Marshal() (dAtA []byte, err error)

func (*ComponentStats_MemoryStats) MarshalTo

func (m *ComponentStats_MemoryStats) MarshalTo(dAtA []byte) (int, error)

func (*ComponentStats_MemoryStats) MarshalToSizedBuffer

func (m *ComponentStats_MemoryStats) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ComponentStats_MemoryStats) ProtoMessage

func (*ComponentStats_MemoryStats) ProtoMessage()

func (*ComponentStats_MemoryStats) Reset

func (m *ComponentStats_MemoryStats) Reset()

func (*ComponentStats_MemoryStats) Size

func (m *ComponentStats_MemoryStats) Size() (n int)

func (*ComponentStats_MemoryStats) String

func (this *ComponentStats_MemoryStats) String() string

func (*ComponentStats_MemoryStats) Unmarshal

func (m *ComponentStats_MemoryStats) Unmarshal(dAtA []byte) error

func (*ComponentStats_MemoryStats) XXX_DiscardUnknown

func (m *ComponentStats_MemoryStats) XXX_DiscardUnknown()

func (*ComponentStats_MemoryStats) XXX_Marshal

func (m *ComponentStats_MemoryStats) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ComponentStats_MemoryStats) XXX_Merge

func (m *ComponentStats_MemoryStats) XXX_Merge(src proto.Message)

func (*ComponentStats_MemoryStats) XXX_Size

func (m *ComponentStats_MemoryStats) XXX_Size() int

func (*ComponentStats_MemoryStats) XXX_Unmarshal

func (m *ComponentStats_MemoryStats) XXX_Unmarshal(b []byte) error

type Percentiles

type Percentiles struct {
	Percentile1          float32  `protobuf:"fixed32,1,opt,name=percentile1,proto3" json:"percentile1,omitempty"`
	Percentile5          float32  `protobuf:"fixed32,2,opt,name=percentile5,proto3" json:"percentile5,omitempty"`
	Percentile10         float32  `protobuf:"fixed32,3,opt,name=percentile10,proto3" json:"percentile10,omitempty"`
	Percentile25         float32  `protobuf:"fixed32,4,opt,name=percentile25,proto3" json:"percentile25,omitempty"`
	Percentile50         float32  `protobuf:"fixed32,5,opt,name=percentile50,proto3" json:"percentile50,omitempty"`
	Percentile75         float32  `protobuf:"fixed32,6,opt,name=percentile75,proto3" json:"percentile75,omitempty"`
	Percentile90         float32  `protobuf:"fixed32,7,opt,name=percentile90,proto3" json:"percentile90,omitempty"`
	Percentile95         float32  `protobuf:"fixed32,8,opt,name=percentile95,proto3" json:"percentile95,omitempty"`
	Percentile99         float32  `protobuf:"fixed32,9,opt,name=percentile99,proto3" json:"percentile99,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func NewPopulatedPercentiles

func NewPopulatedPercentiles(r randyApi, easy bool) *Percentiles

func (*Percentiles) Descriptor

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

func (*Percentiles) Equal

func (this *Percentiles) Equal(that interface{}) bool

func (*Percentiles) GetPercentile1

func (m *Percentiles) GetPercentile1() float32

func (*Percentiles) GetPercentile10

func (m *Percentiles) GetPercentile10() float32

func (*Percentiles) GetPercentile25

func (m *Percentiles) GetPercentile25() float32

func (*Percentiles) GetPercentile5

func (m *Percentiles) GetPercentile5() float32

func (*Percentiles) GetPercentile50

func (m *Percentiles) GetPercentile50() float32

func (*Percentiles) GetPercentile75

func (m *Percentiles) GetPercentile75() float32

func (*Percentiles) GetPercentile90

func (m *Percentiles) GetPercentile90() float32

func (*Percentiles) GetPercentile95

func (m *Percentiles) GetPercentile95() float32

func (*Percentiles) GetPercentile99

func (m *Percentiles) GetPercentile99() float32

func (*Percentiles) Marshal

func (m *Percentiles) Marshal() (dAtA []byte, err error)

func (*Percentiles) MarshalTo

func (m *Percentiles) MarshalTo(dAtA []byte) (int, error)

func (*Percentiles) MarshalToSizedBuffer

func (m *Percentiles) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Percentiles) ProtoMessage

func (*Percentiles) ProtoMessage()

func (*Percentiles) Reset

func (m *Percentiles) Reset()

func (*Percentiles) Size

func (m *Percentiles) Size() (n int)

func (*Percentiles) String

func (this *Percentiles) String() string

func (*Percentiles) Unmarshal

func (m *Percentiles) Unmarshal(dAtA []byte) error

func (*Percentiles) XXX_DiscardUnknown

func (m *Percentiles) XXX_DiscardUnknown()

func (*Percentiles) XXX_Marshal

func (m *Percentiles) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Percentiles) XXX_Merge

func (m *Percentiles) XXX_Merge(src proto.Message)

func (*Percentiles) XXX_Size

func (m *Percentiles) XXX_Size() int

func (*Percentiles) XXX_Unmarshal

func (m *Percentiles) XXX_Unmarshal(b []byte) error

type Rates

type Rates struct {
	Rate1                float32  `protobuf:"fixed32,1,opt,name=rate1,proto3" json:"rate1,omitempty"`
	Rate5                float32  `protobuf:"fixed32,2,opt,name=rate5,proto3" json:"rate5,omitempty"`
	Rate15               float32  `protobuf:"fixed32,3,opt,name=rate15,proto3" json:"rate15,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func NewPopulatedRates

func NewPopulatedRates(r randyApi, easy bool) *Rates

func (*Rates) Descriptor

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

func (*Rates) Equal

func (this *Rates) Equal(that interface{}) bool

func (*Rates) GetRate1

func (m *Rates) GetRate1() float32

func (*Rates) GetRate15

func (m *Rates) GetRate15() float32

func (*Rates) GetRate5

func (m *Rates) GetRate5() float32

func (*Rates) Marshal

func (m *Rates) Marshal() (dAtA []byte, err error)

func (*Rates) MarshalTo

func (m *Rates) MarshalTo(dAtA []byte) (int, error)

func (*Rates) MarshalToSizedBuffer

func (m *Rates) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Rates) ProtoMessage

func (*Rates) ProtoMessage()

func (*Rates) Reset

func (m *Rates) Reset()

func (*Rates) Size

func (m *Rates) Size() (n int)

func (*Rates) String

func (this *Rates) String() string

func (*Rates) Unmarshal

func (m *Rates) Unmarshal(dAtA []byte) error

func (*Rates) XXX_DiscardUnknown

func (m *Rates) XXX_DiscardUnknown()

func (*Rates) XXX_Marshal

func (m *Rates) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Rates) XXX_Merge

func (m *Rates) XXX_Merge(src proto.Message)

func (*Rates) XXX_Size

func (m *Rates) XXX_Size() int

func (*Rates) XXX_Unmarshal

func (m *Rates) XXX_Unmarshal(b []byte) error

type SystemStats

type SystemStats struct {
	Load                 *SystemStats_Loadstats   `protobuf:"bytes,1,opt,name=load,proto3" json:"load,omitempty"`
	Cpu                  *SystemStats_CPUStats    `protobuf:"bytes,2,opt,name=cpu,proto3" json:"cpu,omitempty"`
	Memory               *SystemStats_MemoryStats `protobuf:"bytes,3,opt,name=memory,proto3" json:"memory,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                 `json:"-"`
	XXX_sizecache        int32                    `json:"-"`
}

func NewPopulatedSystemStats

func NewPopulatedSystemStats(r randyApi, easy bool) *SystemStats

func (*SystemStats) Descriptor

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

func (*SystemStats) Equal

func (this *SystemStats) Equal(that interface{}) bool

func (*SystemStats) GetCpu

func (m *SystemStats) GetCpu() *SystemStats_CPUStats

func (*SystemStats) GetLoad

func (m *SystemStats) GetLoad() *SystemStats_Loadstats

func (*SystemStats) GetMemory

func (m *SystemStats) GetMemory() *SystemStats_MemoryStats

func (*SystemStats) Marshal

func (m *SystemStats) Marshal() (dAtA []byte, err error)

func (*SystemStats) MarshalTo

func (m *SystemStats) MarshalTo(dAtA []byte) (int, error)

func (*SystemStats) MarshalToSizedBuffer

func (m *SystemStats) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SystemStats) ProtoMessage

func (*SystemStats) ProtoMessage()

func (*SystemStats) Reset

func (m *SystemStats) Reset()

func (*SystemStats) Size

func (m *SystemStats) Size() (n int)

func (*SystemStats) String

func (this *SystemStats) String() string

func (*SystemStats) Unmarshal

func (m *SystemStats) Unmarshal(dAtA []byte) error

func (*SystemStats) XXX_DiscardUnknown

func (m *SystemStats) XXX_DiscardUnknown()

func (*SystemStats) XXX_Marshal

func (m *SystemStats) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SystemStats) XXX_Merge

func (m *SystemStats) XXX_Merge(src proto.Message)

func (*SystemStats) XXX_Size

func (m *SystemStats) XXX_Size() int

func (*SystemStats) XXX_Unmarshal

func (m *SystemStats) XXX_Unmarshal(b []byte) error

type SystemStats_CPUStats

type SystemStats_CPUStats struct {
	User                 float32  `protobuf:"fixed32,1,opt,name=user,proto3" json:"user,omitempty"`
	System               float32  `protobuf:"fixed32,2,opt,name=system,proto3" json:"system,omitempty"`
	Idle                 float32  `protobuf:"fixed32,3,opt,name=idle,proto3" json:"idle,omitempty"`
	Percentage           float32  `protobuf:"fixed32,4,opt,name=percentage,proto3" json:"percentage,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func NewPopulatedSystemStats_CPUStats

func NewPopulatedSystemStats_CPUStats(r randyApi, easy bool) *SystemStats_CPUStats

func (*SystemStats_CPUStats) Descriptor

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

func (*SystemStats_CPUStats) Equal

func (this *SystemStats_CPUStats) Equal(that interface{}) bool

func (*SystemStats_CPUStats) GetIdle

func (m *SystemStats_CPUStats) GetIdle() float32

func (*SystemStats_CPUStats) GetPercentage

func (m *SystemStats_CPUStats) GetPercentage() float32

func (*SystemStats_CPUStats) GetSystem

func (m *SystemStats_CPUStats) GetSystem() float32

func (*SystemStats_CPUStats) GetUser

func (m *SystemStats_CPUStats) GetUser() float32

func (*SystemStats_CPUStats) Marshal

func (m *SystemStats_CPUStats) Marshal() (dAtA []byte, err error)

func (*SystemStats_CPUStats) MarshalTo

func (m *SystemStats_CPUStats) MarshalTo(dAtA []byte) (int, error)

func (*SystemStats_CPUStats) MarshalToSizedBuffer

func (m *SystemStats_CPUStats) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SystemStats_CPUStats) ProtoMessage

func (*SystemStats_CPUStats) ProtoMessage()

func (*SystemStats_CPUStats) Reset

func (m *SystemStats_CPUStats) Reset()

func (*SystemStats_CPUStats) Size

func (m *SystemStats_CPUStats) Size() (n int)

func (*SystemStats_CPUStats) String

func (this *SystemStats_CPUStats) String() string

func (*SystemStats_CPUStats) Unmarshal

func (m *SystemStats_CPUStats) Unmarshal(dAtA []byte) error

func (*SystemStats_CPUStats) XXX_DiscardUnknown

func (m *SystemStats_CPUStats) XXX_DiscardUnknown()

func (*SystemStats_CPUStats) XXX_Marshal

func (m *SystemStats_CPUStats) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SystemStats_CPUStats) XXX_Merge

func (m *SystemStats_CPUStats) XXX_Merge(src proto.Message)

func (*SystemStats_CPUStats) XXX_Size

func (m *SystemStats_CPUStats) XXX_Size() int

func (*SystemStats_CPUStats) XXX_Unmarshal

func (m *SystemStats_CPUStats) XXX_Unmarshal(b []byte) error

type SystemStats_Loadstats

type SystemStats_Loadstats struct {
	Load1                float32  `protobuf:"fixed32,1,opt,name=load1,proto3" json:"load1,omitempty"`
	Load5                float32  `protobuf:"fixed32,2,opt,name=load5,proto3" json:"load5,omitempty"`
	Load15               float32  `protobuf:"fixed32,3,opt,name=load15,proto3" json:"load15,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func NewPopulatedSystemStats_Loadstats

func NewPopulatedSystemStats_Loadstats(r randyApi, easy bool) *SystemStats_Loadstats

func (*SystemStats_Loadstats) Descriptor

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

func (*SystemStats_Loadstats) Equal

func (this *SystemStats_Loadstats) Equal(that interface{}) bool

func (*SystemStats_Loadstats) GetLoad1

func (m *SystemStats_Loadstats) GetLoad1() float32

func (*SystemStats_Loadstats) GetLoad15

func (m *SystemStats_Loadstats) GetLoad15() float32

func (*SystemStats_Loadstats) GetLoad5

func (m *SystemStats_Loadstats) GetLoad5() float32

func (*SystemStats_Loadstats) Marshal

func (m *SystemStats_Loadstats) Marshal() (dAtA []byte, err error)

func (*SystemStats_Loadstats) MarshalTo

func (m *SystemStats_Loadstats) MarshalTo(dAtA []byte) (int, error)

func (*SystemStats_Loadstats) MarshalToSizedBuffer

func (m *SystemStats_Loadstats) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SystemStats_Loadstats) ProtoMessage

func (*SystemStats_Loadstats) ProtoMessage()

func (*SystemStats_Loadstats) Reset

func (m *SystemStats_Loadstats) Reset()

func (*SystemStats_Loadstats) Size

func (m *SystemStats_Loadstats) Size() (n int)

func (*SystemStats_Loadstats) String

func (this *SystemStats_Loadstats) String() string

func (*SystemStats_Loadstats) Unmarshal

func (m *SystemStats_Loadstats) Unmarshal(dAtA []byte) error

func (*SystemStats_Loadstats) XXX_DiscardUnknown

func (m *SystemStats_Loadstats) XXX_DiscardUnknown()

func (*SystemStats_Loadstats) XXX_Marshal

func (m *SystemStats_Loadstats) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SystemStats_Loadstats) XXX_Merge

func (m *SystemStats_Loadstats) XXX_Merge(src proto.Message)

func (*SystemStats_Loadstats) XXX_Size

func (m *SystemStats_Loadstats) XXX_Size() int

func (*SystemStats_Loadstats) XXX_Unmarshal

func (m *SystemStats_Loadstats) XXX_Unmarshal(b []byte) error

type SystemStats_MemoryStats

type SystemStats_MemoryStats struct {
	Total                uint64   `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"`
	Available            uint64   `protobuf:"varint,2,opt,name=available,proto3" json:"available,omitempty"`
	Used                 uint64   `protobuf:"varint,3,opt,name=used,proto3" json:"used,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func NewPopulatedSystemStats_MemoryStats

func NewPopulatedSystemStats_MemoryStats(r randyApi, easy bool) *SystemStats_MemoryStats

func (*SystemStats_MemoryStats) Descriptor

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

func (*SystemStats_MemoryStats) Equal

func (this *SystemStats_MemoryStats) Equal(that interface{}) bool

func (*SystemStats_MemoryStats) GetAvailable

func (m *SystemStats_MemoryStats) GetAvailable() uint64

func (*SystemStats_MemoryStats) GetTotal

func (m *SystemStats_MemoryStats) GetTotal() uint64

func (*SystemStats_MemoryStats) GetUsed

func (m *SystemStats_MemoryStats) GetUsed() uint64

func (*SystemStats_MemoryStats) Marshal

func (m *SystemStats_MemoryStats) Marshal() (dAtA []byte, err error)

func (*SystemStats_MemoryStats) MarshalTo

func (m *SystemStats_MemoryStats) MarshalTo(dAtA []byte) (int, error)

func (*SystemStats_MemoryStats) MarshalToSizedBuffer

func (m *SystemStats_MemoryStats) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SystemStats_MemoryStats) ProtoMessage

func (*SystemStats_MemoryStats) ProtoMessage()

func (*SystemStats_MemoryStats) Reset

func (m *SystemStats_MemoryStats) Reset()

func (*SystemStats_MemoryStats) Size

func (m *SystemStats_MemoryStats) Size() (n int)

func (*SystemStats_MemoryStats) String

func (this *SystemStats_MemoryStats) String() string

func (*SystemStats_MemoryStats) Unmarshal

func (m *SystemStats_MemoryStats) Unmarshal(dAtA []byte) error

func (*SystemStats_MemoryStats) XXX_DiscardUnknown

func (m *SystemStats_MemoryStats) XXX_DiscardUnknown()

func (*SystemStats_MemoryStats) XXX_Marshal

func (m *SystemStats_MemoryStats) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SystemStats_MemoryStats) XXX_Merge

func (m *SystemStats_MemoryStats) XXX_Merge(src proto.Message)

func (*SystemStats_MemoryStats) XXX_Size

func (m *SystemStats_MemoryStats) XXX_Size() int

func (*SystemStats_MemoryStats) XXX_Unmarshal

func (m *SystemStats_MemoryStats) XXX_Unmarshal(b []byte) error

type Validator

type Validator interface {
	// Returns the validation error or nil if valid
	Validate() error
}

Validator interface is used to validate protos

Directories

Path Synopsis
Package discovery is a reverse proxy.
Package discovery is a reverse proxy.
discoveryclient
Package discoveryclient is a generated GoMock package.
Package discoveryclient is a generated GoMock package.
Package handler is a reverse proxy.
Package handler is a reverse proxy.
Package logfields helps extracting well-known fields from proto messages.
Package logfields helps extracting well-known fields from proto messages.
Package networkserver is a generated GoMock package.
Package networkserver is a generated GoMock package.
lorawan
Package lorawan is a generated GoMock package.
Package lorawan is a generated GoMock package.
reference

Jump to

Keyboard shortcuts

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