carbonapi_v2_pb

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2018 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package carbonapi_v2_pb is a generated protocol buffer package.

It is generated from these files:

carbonapi_v2_pb.proto

It has these top-level messages:

FetchResponse
MultiFetchResponse
GlobMatch
GlobResponse
Retention
InfoResponse
ServerInfoResponse
ZipperInfoResponse
ListMetricsResponse
MetricDetails
MetricDetailsResponse

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthCarbonapiV2Pb = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowCarbonapiV2Pb   = fmt.Errorf("proto: integer overflow")
)

Functions

This section is empty.

Types

type FetchResponse

type FetchResponse struct {
	Name      string    `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	StartTime int32     `protobuf:"varint,2,opt,name=startTime,proto3" json:"startTime,omitempty"`
	StopTime  int32     `protobuf:"varint,3,opt,name=stopTime,proto3" json:"stopTime,omitempty"`
	StepTime  int32     `protobuf:"varint,4,opt,name=stepTime,proto3" json:"stepTime,omitempty"`
	Values    []float64 `protobuf:"fixed64,5,rep,packed,name=values" json:"values,omitempty"`
	IsAbsent  []bool    `protobuf:"varint,6,rep,packed,name=isAbsent" json:"isAbsent,omitempty"`
}

func (*FetchResponse) Descriptor

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

func (*FetchResponse) Equal added in v0.2.2

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

func (*FetchResponse) GetIsAbsent

func (m *FetchResponse) GetIsAbsent() []bool

func (*FetchResponse) GetName

func (m *FetchResponse) GetName() string

func (*FetchResponse) GetStartTime

func (m *FetchResponse) GetStartTime() int32

func (*FetchResponse) GetStepTime

func (m *FetchResponse) GetStepTime() int32

func (*FetchResponse) GetStopTime

func (m *FetchResponse) GetStopTime() int32

func (*FetchResponse) GetValues

func (m *FetchResponse) GetValues() []float64

func (*FetchResponse) GoString added in v0.2.2

func (this *FetchResponse) GoString() string

func (*FetchResponse) Marshal

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

func (*FetchResponse) MarshalTo

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

func (*FetchResponse) ProtoMessage

func (*FetchResponse) ProtoMessage()

func (*FetchResponse) Reset

func (m *FetchResponse) Reset()

func (*FetchResponse) Size

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

func (*FetchResponse) String

func (this *FetchResponse) String() string

func (*FetchResponse) Unmarshal

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

type GlobMatch

type GlobMatch struct {
	Path   string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
	IsLeaf bool   `protobuf:"varint,2,opt,name=isLeaf,proto3" json:"isLeaf,omitempty"`
}

func (*GlobMatch) Descriptor

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

func (*GlobMatch) Equal added in v0.2.2

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

func (*GlobMatch) GetIsLeaf

func (m *GlobMatch) GetIsLeaf() bool

func (*GlobMatch) GetPath

func (m *GlobMatch) GetPath() string

func (*GlobMatch) GoString added in v0.2.2

func (this *GlobMatch) GoString() string

func (*GlobMatch) Marshal

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

func (*GlobMatch) MarshalTo

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

func (*GlobMatch) ProtoMessage

func (*GlobMatch) ProtoMessage()

func (*GlobMatch) Reset

func (m *GlobMatch) Reset()

func (*GlobMatch) Size

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

func (*GlobMatch) String

func (this *GlobMatch) String() string

func (*GlobMatch) Unmarshal

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

type GlobResponse

type GlobResponse struct {
	Name    string      `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Matches []GlobMatch `protobuf:"bytes,2,rep,name=matches" json:"matches"`
}

func (*GlobResponse) Descriptor

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

func (*GlobResponse) Equal added in v0.2.2

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

func (*GlobResponse) GetMatches

func (m *GlobResponse) GetMatches() []GlobMatch

func (*GlobResponse) GetName

func (m *GlobResponse) GetName() string

func (*GlobResponse) GoString added in v0.2.2

func (this *GlobResponse) GoString() string

func (*GlobResponse) Marshal

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

func (*GlobResponse) MarshalTo

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

func (*GlobResponse) ProtoMessage

func (*GlobResponse) ProtoMessage()

func (*GlobResponse) Reset

func (m *GlobResponse) Reset()

func (*GlobResponse) Size

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

func (*GlobResponse) String

func (this *GlobResponse) String() string

func (*GlobResponse) Unmarshal

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

type InfoResponse

type InfoResponse struct {
	Name              string      `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	AggregationMethod string      `protobuf:"bytes,2,opt,name=aggregationMethod,proto3" json:"aggregationMethod,omitempty"`
	MaxRetention      int32       `protobuf:"varint,3,opt,name=maxRetention,proto3" json:"maxRetention,omitempty"`
	XFilesFactor      float32     `protobuf:"fixed32,4,opt,name=xFilesFactor,proto3" json:"xFilesFactor,omitempty"`
	Retentions        []Retention `protobuf:"bytes,5,rep,name=retentions" json:"retentions"`
}

func (*InfoResponse) Descriptor

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

func (*InfoResponse) Equal added in v0.2.2

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

func (*InfoResponse) GetAggregationMethod

func (m *InfoResponse) GetAggregationMethod() string

func (*InfoResponse) GetMaxRetention

func (m *InfoResponse) GetMaxRetention() int32

func (*InfoResponse) GetName

func (m *InfoResponse) GetName() string

func (*InfoResponse) GetRetentions

func (m *InfoResponse) GetRetentions() []Retention

func (*InfoResponse) GetXFilesFactor

func (m *InfoResponse) GetXFilesFactor() float32

func (*InfoResponse) GoString added in v0.2.2

func (this *InfoResponse) GoString() string

func (*InfoResponse) Marshal

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

func (*InfoResponse) MarshalTo

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

func (*InfoResponse) ProtoMessage

func (*InfoResponse) ProtoMessage()

func (*InfoResponse) Reset

func (m *InfoResponse) Reset()

func (*InfoResponse) Size

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

func (*InfoResponse) String

func (this *InfoResponse) String() string

func (*InfoResponse) Unmarshal

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

type ListMetricsResponse

type ListMetricsResponse struct {
	Metrics []string `protobuf:"bytes,1,rep,name=Metrics" json:"Metrics,omitempty"`
}

func (*ListMetricsResponse) Descriptor

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

func (*ListMetricsResponse) Equal added in v0.2.2

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

func (*ListMetricsResponse) GetMetrics

func (m *ListMetricsResponse) GetMetrics() []string

func (*ListMetricsResponse) GoString added in v0.2.2

func (this *ListMetricsResponse) GoString() string

func (*ListMetricsResponse) Marshal

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

func (*ListMetricsResponse) MarshalTo

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

func (*ListMetricsResponse) ProtoMessage

func (*ListMetricsResponse) ProtoMessage()

func (*ListMetricsResponse) Reset

func (m *ListMetricsResponse) Reset()

func (*ListMetricsResponse) Size

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

func (*ListMetricsResponse) String

func (this *ListMetricsResponse) String() string

func (*ListMetricsResponse) Unmarshal

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

type MetricDetails

type MetricDetails struct {
	Size_   int64 `protobuf:"varint,2,opt,name=Size,proto3" json:"Size,omitempty"`
	ModTime int64 `protobuf:"varint,3,opt,name=ModTime,proto3" json:"ModTime,omitempty"`
	ATime   int64 `protobuf:"varint,4,opt,name=ATime,proto3" json:"ATime,omitempty"`
	RdTime  int64 `protobuf:"varint,5,opt,name=RdTime,proto3" json:"RdTime,omitempty"`
}

MetricDetails and MetricDetailsResponse is not guaranteed to stay the same in future releases But we'll do our best to make them stable and only to extend them if that's necessary

func (*MetricDetails) Descriptor

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

func (*MetricDetails) Equal added in v0.2.2

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

func (*MetricDetails) GetATime

func (m *MetricDetails) GetATime() int64

func (*MetricDetails) GetModTime

func (m *MetricDetails) GetModTime() int64

func (*MetricDetails) GetRdTime

func (m *MetricDetails) GetRdTime() int64

func (*MetricDetails) GetSize_

func (m *MetricDetails) GetSize_() int64

func (*MetricDetails) GoString added in v0.2.2

func (this *MetricDetails) GoString() string

func (*MetricDetails) Marshal

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

func (*MetricDetails) MarshalTo

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

func (*MetricDetails) ProtoMessage

func (*MetricDetails) ProtoMessage()

func (*MetricDetails) Reset

func (m *MetricDetails) Reset()

func (*MetricDetails) Size

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

func (*MetricDetails) String

func (this *MetricDetails) String() string

func (*MetricDetails) Unmarshal

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

type MetricDetailsResponse

type MetricDetailsResponse struct {
	Metrics    map[string]*MetricDetails `` /* 141-byte string literal not displayed */
	FreeSpace  uint64                    `protobuf:"varint,2,opt,name=FreeSpace,proto3" json:"FreeSpace,omitempty"`
	TotalSpace uint64                    `protobuf:"varint,3,opt,name=TotalSpace,proto3" json:"TotalSpace,omitempty"`
}

func (*MetricDetailsResponse) Descriptor

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

func (*MetricDetailsResponse) Equal added in v0.2.2

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

func (*MetricDetailsResponse) GetFreeSpace

func (m *MetricDetailsResponse) GetFreeSpace() uint64

func (*MetricDetailsResponse) GetMetrics

func (m *MetricDetailsResponse) GetMetrics() map[string]*MetricDetails

func (*MetricDetailsResponse) GetTotalSpace

func (m *MetricDetailsResponse) GetTotalSpace() uint64

func (*MetricDetailsResponse) GoString added in v0.2.2

func (this *MetricDetailsResponse) GoString() string

func (*MetricDetailsResponse) Marshal

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

func (*MetricDetailsResponse) MarshalTo

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

func (*MetricDetailsResponse) ProtoMessage

func (*MetricDetailsResponse) ProtoMessage()

func (*MetricDetailsResponse) Reset

func (m *MetricDetailsResponse) Reset()

func (*MetricDetailsResponse) Size

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

func (*MetricDetailsResponse) String

func (this *MetricDetailsResponse) String() string

func (*MetricDetailsResponse) Unmarshal

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

type MultiFetchResponse

type MultiFetchResponse struct {
	Metrics []FetchResponse `protobuf:"bytes,1,rep,name=metrics" json:"metrics"`
}

func (*MultiFetchResponse) Descriptor

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

func (*MultiFetchResponse) Equal added in v0.2.2

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

func (*MultiFetchResponse) GetMetrics

func (m *MultiFetchResponse) GetMetrics() []FetchResponse

func (*MultiFetchResponse) GoString added in v0.2.2

func (this *MultiFetchResponse) GoString() string

func (*MultiFetchResponse) Marshal

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

func (*MultiFetchResponse) MarshalTo

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

func (*MultiFetchResponse) ProtoMessage

func (*MultiFetchResponse) ProtoMessage()

func (*MultiFetchResponse) Reset

func (m *MultiFetchResponse) Reset()

func (*MultiFetchResponse) Size

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

func (*MultiFetchResponse) String

func (this *MultiFetchResponse) String() string

func (*MultiFetchResponse) Unmarshal

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

type Retention

type Retention struct {
	SecondsPerPoint int32 `protobuf:"varint,1,opt,name=secondsPerPoint,proto3" json:"secondsPerPoint,omitempty"`
	NumberOfPoints  int32 `protobuf:"varint,2,opt,name=numberOfPoints,proto3" json:"numberOfPoints,omitempty"`
}

func (*Retention) Descriptor

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

func (*Retention) Equal added in v0.2.2

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

func (*Retention) GetNumberOfPoints

func (m *Retention) GetNumberOfPoints() int32

func (*Retention) GetSecondsPerPoint

func (m *Retention) GetSecondsPerPoint() int32

func (*Retention) GoString added in v0.2.2

func (this *Retention) GoString() string

func (*Retention) Marshal

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

func (*Retention) MarshalTo

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

func (*Retention) ProtoMessage

func (*Retention) ProtoMessage()

func (*Retention) Reset

func (m *Retention) Reset()

func (*Retention) Size

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

func (*Retention) String

func (this *Retention) String() string

func (*Retention) Unmarshal

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

type ServerInfoResponse

type ServerInfoResponse struct {
	Server string        `protobuf:"bytes,1,opt,name=server,proto3" json:"server,omitempty"`
	Info   *InfoResponse `protobuf:"bytes,2,opt,name=info" json:"info,omitempty"`
}

func (*ServerInfoResponse) Descriptor

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

func (*ServerInfoResponse) Equal added in v0.2.2

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

func (*ServerInfoResponse) GetInfo

func (m *ServerInfoResponse) GetInfo() *InfoResponse

func (*ServerInfoResponse) GetServer

func (m *ServerInfoResponse) GetServer() string

func (*ServerInfoResponse) GoString added in v0.2.2

func (this *ServerInfoResponse) GoString() string

func (*ServerInfoResponse) Marshal

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

func (*ServerInfoResponse) MarshalTo

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

func (*ServerInfoResponse) ProtoMessage

func (*ServerInfoResponse) ProtoMessage()

func (*ServerInfoResponse) Reset

func (m *ServerInfoResponse) Reset()

func (*ServerInfoResponse) Size

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

func (*ServerInfoResponse) String

func (this *ServerInfoResponse) String() string

func (*ServerInfoResponse) Unmarshal

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

type ZipperInfoResponse

type ZipperInfoResponse struct {
	Responses []ServerInfoResponse `protobuf:"bytes,1,rep,name=responses" json:"responses"`
}

func (*ZipperInfoResponse) Descriptor

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

func (*ZipperInfoResponse) Equal added in v0.2.2

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

func (*ZipperInfoResponse) GetResponses

func (m *ZipperInfoResponse) GetResponses() []ServerInfoResponse

func (*ZipperInfoResponse) GoString added in v0.2.2

func (this *ZipperInfoResponse) GoString() string

func (*ZipperInfoResponse) Marshal

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

func (*ZipperInfoResponse) MarshalTo

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

func (*ZipperInfoResponse) ProtoMessage

func (*ZipperInfoResponse) ProtoMessage()

func (*ZipperInfoResponse) Reset

func (m *ZipperInfoResponse) Reset()

func (*ZipperInfoResponse) Size

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

func (*ZipperInfoResponse) String

func (this *ZipperInfoResponse) String() string

func (*ZipperInfoResponse) Unmarshal

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

Jump to

Keyboard shortcuts

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