istio: istio.io/istio/mixer/adapter/circonus/config Index | Files

package config

import "istio.io/istio/mixer/adapter/circonus/config"

Index

Package Files

config.pb.go

Variables

var (
    ErrInvalidLengthConfig = fmt.Errorf("proto: negative length found during unmarshaling")
    ErrIntOverflowConfig   = fmt.Errorf("proto: integer overflow")
)
var Params_MetricInfo_Type_name = map[int32]string{
    0:  "UNKNOWN",
    1:  "COUNTER",
    2:  "GAUGE",
    3:  "DISTRIBUTION",
}
var Params_MetricInfo_Type_value = map[string]int32{
    "UNKNOWN":      0,
    "COUNTER":      1,
    "GAUGE":        2,
    "DISTRIBUTION": 3,
}

type Params Uses

type Params struct {
    // Circonus SubmissionURL to HTTPTrap check
    SubmissionUrl      string               `protobuf:"bytes,1,opt,name=submission_url,json=submissionUrl,proto3" json:"submission_url,omitempty"`
    SubmissionInterval time.Duration        `protobuf:"bytes,2,opt,name=submission_interval,json=submissionInterval,proto3,stdduration" json:"submission_interval"`
    Metrics            []*Params_MetricInfo `protobuf:"bytes,3,rep,name=metrics,proto3" json:"metrics,omitempty"`
}

Configuration format for the Circonus adapter.

func (*Params) Descriptor Uses

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

func (*Params) Marshal Uses

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

func (*Params) MarshalTo Uses

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

func (*Params) MarshalToSizedBuffer Uses

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

func (*Params) ProtoMessage Uses

func (*Params) ProtoMessage()

func (*Params) Reset Uses

func (m *Params) Reset()

func (*Params) Size Uses

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

func (*Params) String Uses

func (this *Params) String() string

func (*Params) Unmarshal Uses

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

func (*Params) XXX_DiscardUnknown Uses

func (m *Params) XXX_DiscardUnknown()

func (*Params) XXX_Marshal Uses

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

func (*Params) XXX_Merge Uses

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

func (*Params) XXX_Size Uses

func (m *Params) XXX_Size() int

func (*Params) XXX_Unmarshal Uses

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

type Params_MetricInfo Uses

type Params_MetricInfo struct {
    // name
    Name string                 `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    Type Params_MetricInfo_Type `protobuf:"varint,2,opt,name=type,proto3,enum=adapter.circonus.config.Params_MetricInfo_Type" json:"type,omitempty"`
}

Describes how to represent a metric

func (*Params_MetricInfo) Descriptor Uses

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

func (*Params_MetricInfo) Marshal Uses

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

func (*Params_MetricInfo) MarshalTo Uses

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

func (*Params_MetricInfo) MarshalToSizedBuffer Uses

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

func (*Params_MetricInfo) ProtoMessage Uses

func (*Params_MetricInfo) ProtoMessage()

func (*Params_MetricInfo) Reset Uses

func (m *Params_MetricInfo) Reset()

func (*Params_MetricInfo) Size Uses

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

func (*Params_MetricInfo) String Uses

func (this *Params_MetricInfo) String() string

func (*Params_MetricInfo) Unmarshal Uses

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

func (*Params_MetricInfo) XXX_DiscardUnknown Uses

func (m *Params_MetricInfo) XXX_DiscardUnknown()

func (*Params_MetricInfo) XXX_Marshal Uses

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

func (*Params_MetricInfo) XXX_Merge Uses

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

func (*Params_MetricInfo) XXX_Size Uses

func (m *Params_MetricInfo) XXX_Size() int

func (*Params_MetricInfo) XXX_Unmarshal Uses

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

type Params_MetricInfo_Type Uses

type Params_MetricInfo_Type int32

The type of metric.

const (
    UNKNOWN      Params_MetricInfo_Type = 0
    COUNTER      Params_MetricInfo_Type = 1
    GAUGE        Params_MetricInfo_Type = 2
    DISTRIBUTION Params_MetricInfo_Type = 3
)

func (Params_MetricInfo_Type) EnumDescriptor Uses

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

func (Params_MetricInfo_Type) String Uses

func (x Params_MetricInfo_Type) String() string

Package config imports 11 packages (graph) and is imported by 4 packages. Updated 2019-10-16. Refresh now. Tools for package owners.