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

package config

import "istio.io/istio/mixer/adapter/cloudwatch/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_MetricDatum_Unit_name = map[int32]string{
    0:  "None",
    1:  "Seconds",
    2:  "Microseconds",
    3:  "Milliseconds",
    4:  "Count",
    5:  "Bytes",
    6:  "Kilobytes",
    7:  "Megabytes",
    8:  "Gigabytes",
    9:  "Terabytes",
    10: "Bits",
    11: "Kilobits",
    12: "Megabits",
    13: "Gigabits",
    14: "Terabits",
    15: "Percent",
    16: "Bytes_Second",
    17: "Kilobytes_Second",
    18: "Megabytes_Second",
    19: "Gigabytes_Second",
    20: "Terabytes_Second",
    21: "Bits_Second",
    22: "Kilobits_Second",
    23: "Megabits_Second",
    24: "Gigabits_Second",
    25: "Terabits_Second",
    26: "Count_Second",
}
var Params_MetricDatum_Unit_value = map[string]int32{
    "None":             0,
    "Seconds":          1,
    "Microseconds":     2,
    "Milliseconds":     3,
    "Count":            4,
    "Bytes":            5,
    "Kilobytes":        6,
    "Megabytes":        7,
    "Gigabytes":        8,
    "Terabytes":        9,
    "Bits":             10,
    "Kilobits":         11,
    "Megabits":         12,
    "Gigabits":         13,
    "Terabits":         14,
    "Percent":          15,
    "Bytes_Second":     16,
    "Kilobytes_Second": 17,
    "Megabytes_Second": 18,
    "Gigabytes_Second": 19,
    "Terabytes_Second": 20,
    "Bits_Second":      21,
    "Kilobits_Second":  22,
    "Megabits_Second":  23,
    "Gigabits_Second":  24,
    "Terabits_Second":  25,
    "Count_Second":     26,
}

type Params Uses

type Params struct {
    // CloudWatch metric namespace.
    Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
    // A map of Istio metric name to CloudWatch metric info.
    MetricInfo map[string]*Params_MetricDatum `protobuf:"bytes,2,rep,name=metric_info,json=metricInfo,proto3" json:"metric_info,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
    // The name of the log group in cloudwatchlogs.
    LogGroupName string `protobuf:"bytes,4,opt,name=log_group_name,json=logGroupName,proto3" json:"log_group_name,omitempty"`
    // The name of the log stream in cloudwatchlogs.
    LogStreamName string `protobuf:"bytes,5,opt,name=log_stream_name,json=logStreamName,proto3" json:"log_stream_name,omitempty"`
    // A map of Istio logentry name to CloudWatch logentry info.
    Logs map[string]*Params_LogInfo `protobuf:"bytes,6,rep,name=logs,proto3" json:"logs,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
}

Configuration for the `cloudwatch` adapter.

func (*Params) Descriptor Uses

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

func (*Params) Equal Uses

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

func (*Params) GetLogGroupName Uses

func (m *Params) GetLogGroupName() string

func (*Params) GetLogStreamName Uses

func (m *Params) GetLogStreamName() string

func (*Params) GetLogs Uses

func (m *Params) GetLogs() map[string]*Params_LogInfo

func (*Params) GetMetricInfo Uses

func (m *Params) GetMetricInfo() map[string]*Params_MetricDatum

func (*Params) GetNamespace Uses

func (m *Params) GetNamespace() string

func (*Params) GoString Uses

func (this *Params) GoString() string

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_LogInfo Uses

type Params_LogInfo struct {
    // A golang text/template template that will be executed to construct the payload for this log entry.
    // It will be given the full set of variables for the log to use to construct its result.
    PayloadTemplate string `protobuf:"bytes,1,opt,name=payload_template,json=payloadTemplate,proto3" json:"payload_template,omitempty"`
}

func (*Params_LogInfo) Descriptor Uses

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

func (*Params_LogInfo) Equal Uses

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

func (*Params_LogInfo) GetPayloadTemplate Uses

func (m *Params_LogInfo) GetPayloadTemplate() string

func (*Params_LogInfo) GoString Uses

func (this *Params_LogInfo) GoString() string

func (*Params_LogInfo) Marshal Uses

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

func (*Params_LogInfo) MarshalTo Uses

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

func (*Params_LogInfo) MarshalToSizedBuffer Uses

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

func (*Params_LogInfo) ProtoMessage Uses

func (*Params_LogInfo) ProtoMessage()

func (*Params_LogInfo) Reset Uses

func (m *Params_LogInfo) Reset()

func (*Params_LogInfo) Size Uses

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

func (*Params_LogInfo) String Uses

func (this *Params_LogInfo) String() string

func (*Params_LogInfo) Unmarshal Uses

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

func (*Params_LogInfo) XXX_DiscardUnknown Uses

func (m *Params_LogInfo) XXX_DiscardUnknown()

func (*Params_LogInfo) XXX_Marshal Uses

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

func (*Params_LogInfo) XXX_Merge Uses

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

func (*Params_LogInfo) XXX_Size Uses

func (m *Params_LogInfo) XXX_Size() int

func (*Params_LogInfo) XXX_Unmarshal Uses

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

type Params_MetricDatum Uses

type Params_MetricDatum struct {
    // The unit of the metric. Must be valid cloudwatch unit value.
    // [CloudWatch docs](https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_MetricDatum.html)
    Unit Params_MetricDatum_Unit `protobuf:"varint,3,opt,name=unit,proto3,enum=adapter.cloudwatch.config.Params_MetricDatum_Unit" json:"unit,omitempty"`
}

CloudWatch metric format.

func (*Params_MetricDatum) Descriptor Uses

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

func (*Params_MetricDatum) Equal Uses

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

func (*Params_MetricDatum) GetUnit Uses

func (m *Params_MetricDatum) GetUnit() Params_MetricDatum_Unit

func (*Params_MetricDatum) GoString Uses

func (this *Params_MetricDatum) GoString() string

func (*Params_MetricDatum) Marshal Uses

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

func (*Params_MetricDatum) MarshalTo Uses

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

func (*Params_MetricDatum) MarshalToSizedBuffer Uses

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

func (*Params_MetricDatum) ProtoMessage Uses

func (*Params_MetricDatum) ProtoMessage()

func (*Params_MetricDatum) Reset Uses

func (m *Params_MetricDatum) Reset()

func (*Params_MetricDatum) Size Uses

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

func (*Params_MetricDatum) String Uses

func (this *Params_MetricDatum) String() string

func (*Params_MetricDatum) Unmarshal Uses

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

func (*Params_MetricDatum) XXX_DiscardUnknown Uses

func (m *Params_MetricDatum) XXX_DiscardUnknown()

func (*Params_MetricDatum) XXX_Marshal Uses

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

func (*Params_MetricDatum) XXX_Merge Uses

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

func (*Params_MetricDatum) XXX_Size Uses

func (m *Params_MetricDatum) XXX_Size() int

func (*Params_MetricDatum) XXX_Unmarshal Uses

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

type Params_MetricDatum_Unit Uses

type Params_MetricDatum_Unit int32
const (
    None             Params_MetricDatum_Unit = 0
    Seconds          Params_MetricDatum_Unit = 1
    Microseconds     Params_MetricDatum_Unit = 2
    Milliseconds     Params_MetricDatum_Unit = 3
    Count            Params_MetricDatum_Unit = 4
    Bytes            Params_MetricDatum_Unit = 5
    Kilobytes        Params_MetricDatum_Unit = 6
    Megabytes        Params_MetricDatum_Unit = 7
    Gigabytes        Params_MetricDatum_Unit = 8
    Terabytes        Params_MetricDatum_Unit = 9
    Bits             Params_MetricDatum_Unit = 10
    Kilobits         Params_MetricDatum_Unit = 11
    Megabits         Params_MetricDatum_Unit = 12
    Gigabits         Params_MetricDatum_Unit = 13
    Terabits         Params_MetricDatum_Unit = 14
    Percent          Params_MetricDatum_Unit = 15
    Bytes_Second     Params_MetricDatum_Unit = 16
    Kilobytes_Second Params_MetricDatum_Unit = 17
    Megabytes_Second Params_MetricDatum_Unit = 18
    Gigabytes_Second Params_MetricDatum_Unit = 19
    Terabytes_Second Params_MetricDatum_Unit = 20
    Bits_Second      Params_MetricDatum_Unit = 21
    Kilobits_Second  Params_MetricDatum_Unit = 22
    Megabits_Second  Params_MetricDatum_Unit = 23
    Gigabits_Second  Params_MetricDatum_Unit = 24
    Terabits_Second  Params_MetricDatum_Unit = 25
    Count_Second     Params_MetricDatum_Unit = 26
)

func (Params_MetricDatum_Unit) EnumDescriptor Uses

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

func (Params_MetricDatum_Unit) String Uses

func (x Params_MetricDatum_Unit) String() string

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