watchdogv1

package
v2.18.0 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2023 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLength        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflow          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroup = fmt.Errorf("proto: unexpected end of group")
)
View Source
var File_aperture_watchdog_v1_watchdog_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type HeapResult

type HeapResult struct {
	Limit        uint64 `protobuf:"varint,1,opt,name=limit,proto3" json:"limit,omitempty"`
	HeapMarked   uint64 `protobuf:"varint,2,opt,name=heap_marked,json=heapMarked,proto3" json:"heap_marked,omitempty"`
	Threshold    uint64 `protobuf:"varint,3,opt,name=threshold,proto3" json:"threshold,omitempty"`
	CurrGogc     int32  `protobuf:"varint,4,opt,name=curr_gogc,json=currGogc,proto3" json:"curr_gogc,omitempty"`
	OriginalGogc int32  `protobuf:"varint,5,opt,name=original_gogc,json=originalGogc,proto3" json:"original_gogc,omitempty"`
	TotalAlloc   uint64 `protobuf:"varint,6,opt,name=total_alloc,json=totalAlloc,proto3" json:"total_alloc,omitempty"`
	Sys          uint64 `protobuf:"varint,7,opt,name=sys,proto3" json:"sys,omitempty"`
	Mallocs      uint64 `protobuf:"varint,8,opt,name=mallocs,proto3" json:"mallocs,omitempty"`
	Frees        uint64 `protobuf:"varint,9,opt,name=frees,proto3" json:"frees,omitempty"`
	HeapAlloc    uint64 `protobuf:"varint,10,opt,name=heap_alloc,json=heapAlloc,proto3" json:"heap_alloc,omitempty"`
	HeapSys      uint64 `protobuf:"varint,11,opt,name=heap_sys,json=heapSys,proto3" json:"heap_sys,omitempty"`
	HeapIdle     uint64 `protobuf:"varint,12,opt,name=heap_idle,json=heapIdle,proto3" json:"heap_idle,omitempty"`
	HeapInuse    uint64 `protobuf:"varint,13,opt,name=heap_inuse,json=heapInuse,proto3" json:"heap_inuse,omitempty"`
	HeapReleased uint64 `protobuf:"varint,14,opt,name=heap_released,json=heapReleased,proto3" json:"heap_released,omitempty"`
	HeapObjects  uint64 `protobuf:"varint,15,opt,name=heap_objects,json=heapObjects,proto3" json:"heap_objects,omitempty"`
	NextGc       uint64 `protobuf:"varint,16,opt,name=next_gc,json=nextGc,proto3" json:"next_gc,omitempty"`
	LastGc       uint64 `protobuf:"varint,17,opt,name=last_gc,json=lastGc,proto3" json:"last_gc,omitempty"`
	PauseTotalNs uint64 `protobuf:"varint,18,opt,name=pause_total_ns,json=pauseTotalNs,proto3" json:"pause_total_ns,omitempty"`
	NumGc        uint32 `protobuf:"varint,19,opt,name=num_gc,json=numGc,proto3" json:"num_gc,omitempty"`
	NumForcedGc  uint32 `protobuf:"varint,20,opt,name=num_forced_gc,json=numForcedGc,proto3" json:"num_forced_gc,omitempty"`
	// contains filtered or unexported fields
}

func (*HeapResult) Descriptor deprecated

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

Deprecated: Use HeapResult.ProtoReflect.Descriptor instead.

func (*HeapResult) GetCurrGogc

func (x *HeapResult) GetCurrGogc() int32

func (*HeapResult) GetFrees

func (x *HeapResult) GetFrees() uint64

func (*HeapResult) GetHeapAlloc

func (x *HeapResult) GetHeapAlloc() uint64

func (*HeapResult) GetHeapIdle

func (x *HeapResult) GetHeapIdle() uint64

func (*HeapResult) GetHeapInuse

func (x *HeapResult) GetHeapInuse() uint64

func (*HeapResult) GetHeapMarked

func (x *HeapResult) GetHeapMarked() uint64

func (*HeapResult) GetHeapObjects

func (x *HeapResult) GetHeapObjects() uint64

func (*HeapResult) GetHeapReleased

func (x *HeapResult) GetHeapReleased() uint64

func (*HeapResult) GetHeapSys

func (x *HeapResult) GetHeapSys() uint64

func (*HeapResult) GetLastGc

func (x *HeapResult) GetLastGc() uint64

func (*HeapResult) GetLimit

func (x *HeapResult) GetLimit() uint64

func (*HeapResult) GetMallocs

func (x *HeapResult) GetMallocs() uint64

func (*HeapResult) GetNextGc

func (x *HeapResult) GetNextGc() uint64

func (*HeapResult) GetNumForcedGc

func (x *HeapResult) GetNumForcedGc() uint32

func (*HeapResult) GetNumGc

func (x *HeapResult) GetNumGc() uint32

func (*HeapResult) GetOriginalGogc

func (x *HeapResult) GetOriginalGogc() int32

func (*HeapResult) GetPauseTotalNs

func (x *HeapResult) GetPauseTotalNs() uint64

func (*HeapResult) GetSys

func (x *HeapResult) GetSys() uint64

func (*HeapResult) GetThreshold

func (x *HeapResult) GetThreshold() uint64

func (*HeapResult) GetTotalAlloc

func (x *HeapResult) GetTotalAlloc() uint64

func (*HeapResult) MarshalJSON

func (msg *HeapResult) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*HeapResult) MarshalToSizedBufferVT added in v2.7.0

func (m *HeapResult) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*HeapResult) MarshalToVT added in v2.7.0

func (m *HeapResult) MarshalToVT(dAtA []byte) (int, error)

func (*HeapResult) MarshalVT added in v2.7.0

func (m *HeapResult) MarshalVT() (dAtA []byte, err error)

func (*HeapResult) ProtoMessage

func (*HeapResult) ProtoMessage()

func (*HeapResult) ProtoReflect

func (x *HeapResult) ProtoReflect() protoreflect.Message

func (*HeapResult) Reset

func (x *HeapResult) Reset()

func (*HeapResult) SizeVT added in v2.7.0

func (m *HeapResult) SizeVT() (n int)

func (*HeapResult) String

func (x *HeapResult) String() string

func (*HeapResult) UnmarshalJSON

func (msg *HeapResult) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*HeapResult) UnmarshalVT added in v2.7.0

func (m *HeapResult) UnmarshalVT(dAtA []byte) error

func (*HeapResult) Validate

func (m *HeapResult) Validate() error

Validate checks the field values on HeapResult with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*HeapResult) ValidateAll

func (m *HeapResult) ValidateAll() error

ValidateAll checks the field values on HeapResult with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in HeapResultMultiError, or nil if none found.

type HeapResultMultiError

type HeapResultMultiError []error

HeapResultMultiError is an error wrapping multiple validation errors returned by HeapResult.ValidateAll() if the designated constraints aren't met.

func (HeapResultMultiError) AllErrors

func (m HeapResultMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (HeapResultMultiError) Error

func (m HeapResultMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type HeapResultValidationError

type HeapResultValidationError struct {
	// contains filtered or unexported fields
}

HeapResultValidationError is the validation error returned by HeapResult.Validate if the designated constraints aren't met.

func (HeapResultValidationError) Cause

func (e HeapResultValidationError) Cause() error

Cause function returns cause value.

func (HeapResultValidationError) Error

Error satisfies the builtin error interface

func (HeapResultValidationError) ErrorName

func (e HeapResultValidationError) ErrorName() string

ErrorName returns error name.

func (HeapResultValidationError) Field

Field function returns field value.

func (HeapResultValidationError) Key

Key function returns key value.

func (HeapResultValidationError) Reason

func (e HeapResultValidationError) Reason() string

Reason function returns reason value.

type WatchdogResult

type WatchdogResult struct {
	Total       uint64               `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"`
	Used        uint64               `protobuf:"varint,2,opt,name=used,proto3" json:"used,omitempty"`
	Threshold   uint64               `protobuf:"varint,3,opt,name=threshold,proto3" json:"threshold,omitempty"`
	ForceGcTook *durationpb.Duration `protobuf:"bytes,4,opt,name=force_gc_took,json=forceGcTook,proto3" json:"force_gc_took,omitempty"`
	// contains filtered or unexported fields
}

func (*WatchdogResult) Descriptor deprecated

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

Deprecated: Use WatchdogResult.ProtoReflect.Descriptor instead.

func (*WatchdogResult) GetForceGcTook

func (x *WatchdogResult) GetForceGcTook() *durationpb.Duration

func (*WatchdogResult) GetThreshold

func (x *WatchdogResult) GetThreshold() uint64

func (*WatchdogResult) GetTotal

func (x *WatchdogResult) GetTotal() uint64

func (*WatchdogResult) GetUsed

func (x *WatchdogResult) GetUsed() uint64

func (*WatchdogResult) MarshalJSON

func (msg *WatchdogResult) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*WatchdogResult) MarshalToSizedBufferVT added in v2.7.0

func (m *WatchdogResult) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*WatchdogResult) MarshalToVT added in v2.7.0

func (m *WatchdogResult) MarshalToVT(dAtA []byte) (int, error)

func (*WatchdogResult) MarshalVT added in v2.7.0

func (m *WatchdogResult) MarshalVT() (dAtA []byte, err error)

func (*WatchdogResult) ProtoMessage

func (*WatchdogResult) ProtoMessage()

func (*WatchdogResult) ProtoReflect

func (x *WatchdogResult) ProtoReflect() protoreflect.Message

func (*WatchdogResult) Reset

func (x *WatchdogResult) Reset()

func (*WatchdogResult) SizeVT added in v2.7.0

func (m *WatchdogResult) SizeVT() (n int)

func (*WatchdogResult) String

func (x *WatchdogResult) String() string

func (*WatchdogResult) UnmarshalJSON

func (msg *WatchdogResult) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*WatchdogResult) UnmarshalVT added in v2.7.0

func (m *WatchdogResult) UnmarshalVT(dAtA []byte) error

func (*WatchdogResult) Validate

func (m *WatchdogResult) Validate() error

Validate checks the field values on WatchdogResult with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*WatchdogResult) ValidateAll

func (m *WatchdogResult) ValidateAll() error

ValidateAll checks the field values on WatchdogResult with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in WatchdogResultMultiError, or nil if none found.

type WatchdogResultMultiError

type WatchdogResultMultiError []error

WatchdogResultMultiError is an error wrapping multiple validation errors returned by WatchdogResult.ValidateAll() if the designated constraints aren't met.

func (WatchdogResultMultiError) AllErrors

func (m WatchdogResultMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (WatchdogResultMultiError) Error

func (m WatchdogResultMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type WatchdogResultValidationError

type WatchdogResultValidationError struct {
	// contains filtered or unexported fields
}

WatchdogResultValidationError is the validation error returned by WatchdogResult.Validate if the designated constraints aren't met.

func (WatchdogResultValidationError) Cause

Cause function returns cause value.

func (WatchdogResultValidationError) Error

Error satisfies the builtin error interface

func (WatchdogResultValidationError) ErrorName

func (e WatchdogResultValidationError) ErrorName() string

ErrorName returns error name.

func (WatchdogResultValidationError) Field

Field function returns field value.

func (WatchdogResultValidationError) Key

Key function returns key value.

func (WatchdogResultValidationError) Reason

Reason function returns reason value.

Jump to

Keyboard shortcuts

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