carbonzipperpb

package
v0.14.1-0...-915d78e Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package carbonzipperpb is a generated protocol buffer package.

It is generated from these files:

carbonzipper.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 (
	ErrInvalidLengthCarbonzipper = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowCarbonzipper   = 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) 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) 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 (m *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) GetIsLeaf

func (m *GlobMatch) GetIsLeaf() bool

func (*GlobMatch) GetPath

func (m *GlobMatch) GetPath() 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 (m *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,omitempty"`
}

func (*GlobResponse) Descriptor

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

func (*GlobResponse) GetMatches

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

func (*GlobResponse) GetName

func (m *GlobResponse) GetName() 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 (m *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,omitempty"`
}

func (*InfoResponse) Descriptor

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

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) 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 (m *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) GetMetrics

func (m *ListMetricsResponse) GetMetrics() []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 (m *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"`
}

func (*MetricDetails) Descriptor

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

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) 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 (m *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) 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) 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 (m *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,omitempty"`
}

func (*MultiFetchResponse) Descriptor

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

func (*MultiFetchResponse) GetMetrics

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

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 (m *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) GetNumberOfPoints

func (m *Retention) GetNumberOfPoints() int32

func (*Retention) GetSecondsPerPoint

func (m *Retention) GetSecondsPerPoint() int32

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 (m *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) GetInfo

func (m *ServerInfoResponse) GetInfo() *InfoResponse

func (*ServerInfoResponse) GetServer

func (m *ServerInfoResponse) GetServer() 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 (m *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,omitempty"`
}

func (*ZipperInfoResponse) Descriptor

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

func (*ZipperInfoResponse) GetResponses

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

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 (m *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