system

package
v1.6.8 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var SystemServiceError_ErrorCode_name = map[int32]string{
	0: "OK",
	1: "INTERNAL_ERROR",
	2: "BACKEND_REQUIRED",
	3: "LIMIT_REACHED",
}
View Source
var SystemServiceError_ErrorCode_value = map[string]int32{
	"OK":               0,
	"INTERNAL_ERROR":   1,
	"BACKEND_REQUIRED": 2,
	"LIMIT_REACHED":    3,
}

Functions

This section is empty.

Types

type GetSystemStatsRequest

type GetSystemStatsRequest struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetSystemStatsRequest) Descriptor

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

func (*GetSystemStatsRequest) ProtoMessage

func (*GetSystemStatsRequest) ProtoMessage()

func (*GetSystemStatsRequest) Reset

func (m *GetSystemStatsRequest) Reset()

func (*GetSystemStatsRequest) String

func (m *GetSystemStatsRequest) String() string

func (*GetSystemStatsRequest) XXX_DiscardUnknown

func (m *GetSystemStatsRequest) XXX_DiscardUnknown()

func (*GetSystemStatsRequest) XXX_Marshal

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

func (*GetSystemStatsRequest) XXX_Merge

func (dst *GetSystemStatsRequest) XXX_Merge(src proto.Message)

func (*GetSystemStatsRequest) XXX_Size

func (m *GetSystemStatsRequest) XXX_Size() int

func (*GetSystemStatsRequest) XXX_Unmarshal

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

type GetSystemStatsResponse

type GetSystemStatsResponse struct {
	// CPU used by this instance, in mcycles.
	Cpu *SystemStat `protobuf:"bytes,1,opt,name=cpu" json:"cpu,omitempty"`
	// Physical memory (RAM) used by this instance, in megabytes.
	Memory               *SystemStat `protobuf:"bytes,2,opt,name=memory" json:"memory,omitempty"`
	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
	XXX_unrecognized     []byte      `json:"-"`
	XXX_sizecache        int32       `json:"-"`
}

func (*GetSystemStatsResponse) Descriptor

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

func (*GetSystemStatsResponse) GetCpu

func (m *GetSystemStatsResponse) GetCpu() *SystemStat

func (*GetSystemStatsResponse) GetMemory

func (m *GetSystemStatsResponse) GetMemory() *SystemStat

func (*GetSystemStatsResponse) ProtoMessage

func (*GetSystemStatsResponse) ProtoMessage()

func (*GetSystemStatsResponse) Reset

func (m *GetSystemStatsResponse) Reset()

func (*GetSystemStatsResponse) String

func (m *GetSystemStatsResponse) String() string

func (*GetSystemStatsResponse) XXX_DiscardUnknown

func (m *GetSystemStatsResponse) XXX_DiscardUnknown()

func (*GetSystemStatsResponse) XXX_Marshal

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

func (*GetSystemStatsResponse) XXX_Merge

func (dst *GetSystemStatsResponse) XXX_Merge(src proto.Message)

func (*GetSystemStatsResponse) XXX_Size

func (m *GetSystemStatsResponse) XXX_Size() int

func (*GetSystemStatsResponse) XXX_Unmarshal

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

type StartBackgroundRequestRequest

type StartBackgroundRequestRequest struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*StartBackgroundRequestRequest) Descriptor

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

func (*StartBackgroundRequestRequest) ProtoMessage

func (*StartBackgroundRequestRequest) ProtoMessage()

func (*StartBackgroundRequestRequest) Reset

func (m *StartBackgroundRequestRequest) Reset()

func (*StartBackgroundRequestRequest) String

func (*StartBackgroundRequestRequest) XXX_DiscardUnknown

func (m *StartBackgroundRequestRequest) XXX_DiscardUnknown()

func (*StartBackgroundRequestRequest) XXX_Marshal

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

func (*StartBackgroundRequestRequest) XXX_Merge

func (dst *StartBackgroundRequestRequest) XXX_Merge(src proto.Message)

func (*StartBackgroundRequestRequest) XXX_Size

func (m *StartBackgroundRequestRequest) XXX_Size() int

func (*StartBackgroundRequestRequest) XXX_Unmarshal

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

type StartBackgroundRequestResponse

type StartBackgroundRequestResponse struct {
	// Every /_ah/background request will have an X-AppEngine-BackgroundRequest
	// header, whose value will be equal to this parameter, the request_id.
	RequestId            *string  `protobuf:"bytes,1,opt,name=request_id,json=requestId" json:"request_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*StartBackgroundRequestResponse) Descriptor

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

func (*StartBackgroundRequestResponse) GetRequestId

func (m *StartBackgroundRequestResponse) GetRequestId() string

func (*StartBackgroundRequestResponse) ProtoMessage

func (*StartBackgroundRequestResponse) ProtoMessage()

func (*StartBackgroundRequestResponse) Reset

func (m *StartBackgroundRequestResponse) Reset()

func (*StartBackgroundRequestResponse) String

func (*StartBackgroundRequestResponse) XXX_DiscardUnknown

func (m *StartBackgroundRequestResponse) XXX_DiscardUnknown()

func (*StartBackgroundRequestResponse) XXX_Marshal

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

func (*StartBackgroundRequestResponse) XXX_Merge

func (dst *StartBackgroundRequestResponse) XXX_Merge(src proto.Message)

func (*StartBackgroundRequestResponse) XXX_Size

func (m *StartBackgroundRequestResponse) XXX_Size() int

func (*StartBackgroundRequestResponse) XXX_Unmarshal

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

type SystemServiceError

type SystemServiceError struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*SystemServiceError) Descriptor

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

func (*SystemServiceError) ProtoMessage

func (*SystemServiceError) ProtoMessage()

func (*SystemServiceError) Reset

func (m *SystemServiceError) Reset()

func (*SystemServiceError) String

func (m *SystemServiceError) String() string

func (*SystemServiceError) XXX_DiscardUnknown

func (m *SystemServiceError) XXX_DiscardUnknown()

func (*SystemServiceError) XXX_Marshal

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

func (*SystemServiceError) XXX_Merge

func (dst *SystemServiceError) XXX_Merge(src proto.Message)

func (*SystemServiceError) XXX_Size

func (m *SystemServiceError) XXX_Size() int

func (*SystemServiceError) XXX_Unmarshal

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

type SystemServiceError_ErrorCode

type SystemServiceError_ErrorCode int32
const (
	SystemServiceError_OK               SystemServiceError_ErrorCode = 0
	SystemServiceError_INTERNAL_ERROR   SystemServiceError_ErrorCode = 1
	SystemServiceError_BACKEND_REQUIRED SystemServiceError_ErrorCode = 2
	SystemServiceError_LIMIT_REACHED    SystemServiceError_ErrorCode = 3
)

func (SystemServiceError_ErrorCode) Enum

func (SystemServiceError_ErrorCode) EnumDescriptor

func (SystemServiceError_ErrorCode) EnumDescriptor() ([]byte, []int)

func (SystemServiceError_ErrorCode) String

func (*SystemServiceError_ErrorCode) UnmarshalJSON

func (x *SystemServiceError_ErrorCode) UnmarshalJSON(data []byte) error

type SystemStat

type SystemStat struct {
	// Instaneous value of this stat.
	Current *float64 `protobuf:"fixed64,1,opt,name=current" json:"current,omitempty"`
	// Average over time, if this stat has an instaneous value.
	Average1M  *float64 `protobuf:"fixed64,3,opt,name=average1m" json:"average1m,omitempty"`
	Average10M *float64 `protobuf:"fixed64,4,opt,name=average10m" json:"average10m,omitempty"`
	// Total value, if the stat accumulates over time.
	Total *float64 `protobuf:"fixed64,2,opt,name=total" json:"total,omitempty"`
	// Rate over time, if this stat accumulates.
	Rate1M               *float64 `protobuf:"fixed64,5,opt,name=rate1m" json:"rate1m,omitempty"`
	Rate10M              *float64 `protobuf:"fixed64,6,opt,name=rate10m" json:"rate10m,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*SystemStat) Descriptor

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

func (*SystemStat) GetAverage10M

func (m *SystemStat) GetAverage10M() float64

func (*SystemStat) GetAverage1M

func (m *SystemStat) GetAverage1M() float64

func (*SystemStat) GetCurrent

func (m *SystemStat) GetCurrent() float64

func (*SystemStat) GetRate10M

func (m *SystemStat) GetRate10M() float64

func (*SystemStat) GetRate1M

func (m *SystemStat) GetRate1M() float64

func (*SystemStat) GetTotal

func (m *SystemStat) GetTotal() float64

func (*SystemStat) ProtoMessage

func (*SystemStat) ProtoMessage()

func (*SystemStat) Reset

func (m *SystemStat) Reset()

func (*SystemStat) String

func (m *SystemStat) String() string

func (*SystemStat) XXX_DiscardUnknown

func (m *SystemStat) XXX_DiscardUnknown()

func (*SystemStat) XXX_Marshal

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

func (*SystemStat) XXX_Merge

func (dst *SystemStat) XXX_Merge(src proto.Message)

func (*SystemStat) XXX_Size

func (m *SystemStat) XXX_Size() int

func (*SystemStat) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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