config

package
v0.0.0-...-a1f2fe4 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2017 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package config is a generated protocol buffer package.

It is generated from these files:

mixer/adapter/stdio/config/config.proto

It has these top-level messages:

Params

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthConfig = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowConfig   = fmt.Errorf("proto: integer overflow")
)
View Source
var Params_Level_name = map[int32]string{
	0: "INFO",
	1: "WARNING",
	2: "ERROR",
}
View Source
var Params_Level_value = map[string]int32{
	"INFO":    0,
	"WARNING": 1,
	"ERROR":   2,
}
View Source
var Params_Stream_name = map[int32]string{
	0: "STDOUT",
	1: "STDERR",
}
View Source
var Params_Stream_value = map[string]int32{
	"STDOUT": 0,
	"STDERR": 1,
}

Functions

This section is empty.

Types

type Params

type Params struct {
	// Selects which standard stream to write to for log entries.
	// STDERR is the default Stream.
	LogStream Params_Stream `` /* 129-byte string literal not displayed */
	// Maps from severity strings as specified in LogEntry instances to
	// the set of levels supported by this adapter.
	SeverityLevels map[string]Params_Level `` /* 224-byte string literal not displayed */
	// The level to assign to metrics being output.
	MetricLevel Params_Level `` /* 134-byte string literal not displayed */
	// Whether to output a console-friendly or json-friendly format
	OutputAsJson bool `protobuf:"varint,4,opt,name=output_as_json,json=outputAsJson,proto3" json:"output_as_json,omitempty"`
}

func (*Params) Descriptor

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

func (*Params) Marshal

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

func (*Params) MarshalTo

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

func (*Params) ProtoMessage

func (*Params) ProtoMessage()

func (*Params) Reset

func (m *Params) Reset()

func (*Params) Size

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

func (*Params) String

func (this *Params) String() string

func (*Params) Unmarshal

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

type Params_Level

type Params_Level int32

Importance level for individual items output by this adapter.

const (
	INFO    Params_Level = 0
	WARNING Params_Level = 1
	ERROR   Params_Level = 2
)

func (Params_Level) EnumDescriptor

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

func (Params_Level) String

func (x Params_Level) String() string

type Params_Stream

type Params_Stream int32

Stream is used to select between different log output sinks.

const (
	STDOUT Params_Stream = 0
	STDERR Params_Stream = 1
)

func (Params_Stream) EnumDescriptor

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

func (Params_Stream) String

func (x Params_Stream) String() string

Jump to

Keyboard shortcuts

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