log_stream_plugin

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2019 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthDoer

type AuthDoer struct {
	Client Doer
	// contains filtered or unexported fields
}

func (*AuthDoer) Do

func (d *AuthDoer) Do(req *http.Request) (*http.Response, error)

type Base64DecodedEnvelope

type Base64DecodedEnvelope struct {
	Envelope__Base64DecodedLog
	Timestamp      int64                            `json:"timestamp,omitempty"`
	SourceId       string                           `json:"source_id,omitempty"`
	InstanceId     string                           `json:"instance_id,omitempty"`
	DeprecatedTags map[string]*loggregator_v2.Value `json:"deprecated_tags,omitempty"`
	Tags           map[string]string                `json:"tags,omitempty"`
}

type Base64DecodedLog

type Base64DecodedLog struct {
	Payload string                  `json:"payload,omitempty"`
	Type    loggregator_v2.Log_Type `json:"type,omitempty"`
}

type DedupeWriter

type DedupeWriter struct {
	// contains filtered or unexported fields
}

func NewDedupeWriter

func NewDedupeWriter(writer io.Writer) *DedupeWriter

func (*DedupeWriter) Write

func (s *DedupeWriter) Write(p []byte) (n int, err error)

type Doer

type Doer interface {
	Do(req *http.Request) (*http.Response, error)
}

func NewDoer

func NewDoer(accessToken string, insecureSkipVerify bool) Doer

type Envelope__Base64DecodedLog

type Envelope__Base64DecodedLog struct {
	Log *Base64DecodedLog `json:"log"`
}

Jump to

Keyboard shortcuts

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