envoy_service_tap_v2alpha

package
v0.9.4 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2020 License: Apache-2.0 Imports: 25 Imported by: 30

Documentation

Index

Constants

This section is empty.

Variables

View Source
var OutputSink_Format_name = map[int32]string{
	0: "JSON_BODY_AS_BYTES",
	1: "JSON_BODY_AS_STRING",
	2: "PROTO_BINARY",
	3: "PROTO_BINARY_LENGTH_DELIMITED",
	4: "PROTO_TEXT",
}
View Source
var OutputSink_Format_value = map[string]int32{
	"JSON_BODY_AS_BYTES":            0,
	"JSON_BODY_AS_STRING":           1,
	"PROTO_BINARY":                  2,
	"PROTO_BINARY_LENGTH_DELIMITED": 3,
	"PROTO_TEXT":                    4,
}

Functions

func RegisterTapDiscoveryServiceServer added in v0.8.2

func RegisterTapDiscoveryServiceServer(s *grpc.Server, srv TapDiscoveryServiceServer)

func RegisterTapSinkServiceServer added in v0.8.2

func RegisterTapSinkServiceServer(s *grpc.Server, srv TapSinkServiceServer)

Types

type FilePerTapSink

type FilePerTapSink struct {
	PathPrefix           string   `protobuf:"bytes,1,opt,name=path_prefix,json=pathPrefix,proto3" json:"path_prefix,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*FilePerTapSink) Descriptor

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

func (*FilePerTapSink) GetPathPrefix

func (m *FilePerTapSink) GetPathPrefix() string

func (*FilePerTapSink) ProtoMessage

func (*FilePerTapSink) ProtoMessage()

func (*FilePerTapSink) Reset

func (m *FilePerTapSink) Reset()

func (*FilePerTapSink) String

func (m *FilePerTapSink) String() string

func (*FilePerTapSink) Validate

func (m *FilePerTapSink) Validate() error

Validate checks the field values on FilePerTapSink with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*FilePerTapSink) XXX_DiscardUnknown

func (m *FilePerTapSink) XXX_DiscardUnknown()

func (*FilePerTapSink) XXX_Marshal

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

func (*FilePerTapSink) XXX_Merge

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

func (*FilePerTapSink) XXX_Size

func (m *FilePerTapSink) XXX_Size() int

func (*FilePerTapSink) XXX_Unmarshal

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

type FilePerTapSinkValidationError

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

FilePerTapSinkValidationError is the validation error returned by FilePerTapSink.Validate if the designated constraints aren't met.

func (FilePerTapSinkValidationError) Cause

Cause function returns cause value.

func (FilePerTapSinkValidationError) Error

Error satisfies the builtin error interface

func (FilePerTapSinkValidationError) ErrorName added in v0.7.0

func (e FilePerTapSinkValidationError) ErrorName() string

ErrorName returns error name.

func (FilePerTapSinkValidationError) Field

Field function returns field value.

func (FilePerTapSinkValidationError) Key

Key function returns key value.

func (FilePerTapSinkValidationError) Reason

Reason function returns reason value.

type HttpHeadersMatch

type HttpHeadersMatch struct {
	Headers              []*route.HeaderMatcher `protobuf:"bytes,1,rep,name=headers,proto3" json:"headers,omitempty"`
	XXX_NoUnkeyedLiteral struct{}               `json:"-"`
	XXX_unrecognized     []byte                 `json:"-"`
	XXX_sizecache        int32                  `json:"-"`
}

func (*HttpHeadersMatch) Descriptor

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

func (*HttpHeadersMatch) GetHeaders

func (m *HttpHeadersMatch) GetHeaders() []*route.HeaderMatcher

func (*HttpHeadersMatch) ProtoMessage

func (*HttpHeadersMatch) ProtoMessage()

func (*HttpHeadersMatch) Reset

func (m *HttpHeadersMatch) Reset()

func (*HttpHeadersMatch) String

func (m *HttpHeadersMatch) String() string

func (*HttpHeadersMatch) Validate

func (m *HttpHeadersMatch) Validate() error

Validate checks the field values on HttpHeadersMatch with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*HttpHeadersMatch) XXX_DiscardUnknown

func (m *HttpHeadersMatch) XXX_DiscardUnknown()

func (*HttpHeadersMatch) XXX_Marshal

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

func (*HttpHeadersMatch) XXX_Merge

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

func (*HttpHeadersMatch) XXX_Size

func (m *HttpHeadersMatch) XXX_Size() int

func (*HttpHeadersMatch) XXX_Unmarshal

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

type HttpHeadersMatchValidationError

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

HttpHeadersMatchValidationError is the validation error returned by HttpHeadersMatch.Validate if the designated constraints aren't met.

func (HttpHeadersMatchValidationError) Cause

Cause function returns cause value.

func (HttpHeadersMatchValidationError) Error

Error satisfies the builtin error interface

func (HttpHeadersMatchValidationError) ErrorName added in v0.7.0

ErrorName returns error name.

func (HttpHeadersMatchValidationError) Field

Field function returns field value.

func (HttpHeadersMatchValidationError) Key

Key function returns key value.

func (HttpHeadersMatchValidationError) Reason

Reason function returns reason value.

type MatchPredicate

type MatchPredicate struct {
	// Types that are valid to be assigned to Rule:
	//	*MatchPredicate_OrMatch
	//	*MatchPredicate_AndMatch
	//	*MatchPredicate_NotMatch
	//	*MatchPredicate_AnyMatch
	//	*MatchPredicate_HttpRequestHeadersMatch
	//	*MatchPredicate_HttpRequestTrailersMatch
	//	*MatchPredicate_HttpResponseHeadersMatch
	//	*MatchPredicate_HttpResponseTrailersMatch
	Rule                 isMatchPredicate_Rule `protobuf_oneof:"rule"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

func (*MatchPredicate) Descriptor

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

func (*MatchPredicate) GetAndMatch

func (m *MatchPredicate) GetAndMatch() *MatchPredicate_MatchSet

func (*MatchPredicate) GetAnyMatch

func (m *MatchPredicate) GetAnyMatch() bool

func (*MatchPredicate) GetHttpRequestHeadersMatch

func (m *MatchPredicate) GetHttpRequestHeadersMatch() *HttpHeadersMatch

func (*MatchPredicate) GetHttpRequestTrailersMatch

func (m *MatchPredicate) GetHttpRequestTrailersMatch() *HttpHeadersMatch

func (*MatchPredicate) GetHttpResponseHeadersMatch

func (m *MatchPredicate) GetHttpResponseHeadersMatch() *HttpHeadersMatch

func (*MatchPredicate) GetHttpResponseTrailersMatch

func (m *MatchPredicate) GetHttpResponseTrailersMatch() *HttpHeadersMatch

func (*MatchPredicate) GetNotMatch

func (m *MatchPredicate) GetNotMatch() *MatchPredicate

func (*MatchPredicate) GetOrMatch

func (m *MatchPredicate) GetOrMatch() *MatchPredicate_MatchSet

func (*MatchPredicate) GetRule

func (m *MatchPredicate) GetRule() isMatchPredicate_Rule

func (*MatchPredicate) ProtoMessage

func (*MatchPredicate) ProtoMessage()

func (*MatchPredicate) Reset

func (m *MatchPredicate) Reset()

func (*MatchPredicate) String

func (m *MatchPredicate) String() string

func (*MatchPredicate) Validate

func (m *MatchPredicate) Validate() error

Validate checks the field values on MatchPredicate with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*MatchPredicate) XXX_DiscardUnknown

func (m *MatchPredicate) XXX_DiscardUnknown()

func (*MatchPredicate) XXX_Marshal

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

func (*MatchPredicate) XXX_Merge

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

func (*MatchPredicate) XXX_OneofWrappers added in v0.9.0

func (*MatchPredicate) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*MatchPredicate) XXX_Size

func (m *MatchPredicate) XXX_Size() int

func (*MatchPredicate) XXX_Unmarshal

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

type MatchPredicateValidationError

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

MatchPredicateValidationError is the validation error returned by MatchPredicate.Validate if the designated constraints aren't met.

func (MatchPredicateValidationError) Cause

Cause function returns cause value.

func (MatchPredicateValidationError) Error

Error satisfies the builtin error interface

func (MatchPredicateValidationError) ErrorName added in v0.7.0

func (e MatchPredicateValidationError) ErrorName() string

ErrorName returns error name.

func (MatchPredicateValidationError) Field

Field function returns field value.

func (MatchPredicateValidationError) Key

Key function returns key value.

func (MatchPredicateValidationError) Reason

Reason function returns reason value.

type MatchPredicate_AndMatch

type MatchPredicate_AndMatch struct {
	AndMatch *MatchPredicate_MatchSet `protobuf:"bytes,2,opt,name=and_match,json=andMatch,proto3,oneof"`
}

type MatchPredicate_AnyMatch

type MatchPredicate_AnyMatch struct {
	AnyMatch bool `protobuf:"varint,4,opt,name=any_match,json=anyMatch,proto3,oneof"`
}

type MatchPredicate_HttpRequestHeadersMatch

type MatchPredicate_HttpRequestHeadersMatch struct {
	HttpRequestHeadersMatch *HttpHeadersMatch `protobuf:"bytes,5,opt,name=http_request_headers_match,json=httpRequestHeadersMatch,proto3,oneof"`
}

type MatchPredicate_HttpRequestTrailersMatch

type MatchPredicate_HttpRequestTrailersMatch struct {
	HttpRequestTrailersMatch *HttpHeadersMatch `protobuf:"bytes,6,opt,name=http_request_trailers_match,json=httpRequestTrailersMatch,proto3,oneof"`
}

type MatchPredicate_HttpResponseHeadersMatch

type MatchPredicate_HttpResponseHeadersMatch struct {
	HttpResponseHeadersMatch *HttpHeadersMatch `protobuf:"bytes,7,opt,name=http_response_headers_match,json=httpResponseHeadersMatch,proto3,oneof"`
}

type MatchPredicate_HttpResponseTrailersMatch

type MatchPredicate_HttpResponseTrailersMatch struct {
	HttpResponseTrailersMatch *HttpHeadersMatch `protobuf:"bytes,8,opt,name=http_response_trailers_match,json=httpResponseTrailersMatch,proto3,oneof"`
}

type MatchPredicate_MatchSet

type MatchPredicate_MatchSet struct {
	Rules                []*MatchPredicate `protobuf:"bytes,1,rep,name=rules,proto3" json:"rules,omitempty"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

func (*MatchPredicate_MatchSet) Descriptor

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

func (*MatchPredicate_MatchSet) GetRules

func (m *MatchPredicate_MatchSet) GetRules() []*MatchPredicate

func (*MatchPredicate_MatchSet) ProtoMessage

func (*MatchPredicate_MatchSet) ProtoMessage()

func (*MatchPredicate_MatchSet) Reset

func (m *MatchPredicate_MatchSet) Reset()

func (*MatchPredicate_MatchSet) String

func (m *MatchPredicate_MatchSet) String() string

func (*MatchPredicate_MatchSet) Validate

func (m *MatchPredicate_MatchSet) Validate() error

Validate checks the field values on MatchPredicate_MatchSet with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*MatchPredicate_MatchSet) XXX_DiscardUnknown

func (m *MatchPredicate_MatchSet) XXX_DiscardUnknown()

func (*MatchPredicate_MatchSet) XXX_Marshal

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

func (*MatchPredicate_MatchSet) XXX_Merge

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

func (*MatchPredicate_MatchSet) XXX_Size

func (m *MatchPredicate_MatchSet) XXX_Size() int

func (*MatchPredicate_MatchSet) XXX_Unmarshal

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

type MatchPredicate_MatchSetValidationError

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

MatchPredicate_MatchSetValidationError is the validation error returned by MatchPredicate_MatchSet.Validate if the designated constraints aren't met.

func (MatchPredicate_MatchSetValidationError) Cause

Cause function returns cause value.

func (MatchPredicate_MatchSetValidationError) Error

Error satisfies the builtin error interface

func (MatchPredicate_MatchSetValidationError) ErrorName added in v0.7.0

ErrorName returns error name.

func (MatchPredicate_MatchSetValidationError) Field

Field function returns field value.

func (MatchPredicate_MatchSetValidationError) Key

Key function returns key value.

func (MatchPredicate_MatchSetValidationError) Reason

Reason function returns reason value.

type MatchPredicate_NotMatch

type MatchPredicate_NotMatch struct {
	NotMatch *MatchPredicate `protobuf:"bytes,3,opt,name=not_match,json=notMatch,proto3,oneof"`
}

type MatchPredicate_OrMatch

type MatchPredicate_OrMatch struct {
	OrMatch *MatchPredicate_MatchSet `protobuf:"bytes,1,opt,name=or_match,json=orMatch,proto3,oneof"`
}

type OutputConfig

type OutputConfig struct {
	Sinks                []*OutputSink         `protobuf:"bytes,1,rep,name=sinks,proto3" json:"sinks,omitempty"`
	MaxBufferedRxBytes   *wrappers.UInt32Value `protobuf:"bytes,2,opt,name=max_buffered_rx_bytes,json=maxBufferedRxBytes,proto3" json:"max_buffered_rx_bytes,omitempty"`
	MaxBufferedTxBytes   *wrappers.UInt32Value `protobuf:"bytes,3,opt,name=max_buffered_tx_bytes,json=maxBufferedTxBytes,proto3" json:"max_buffered_tx_bytes,omitempty"`
	Streaming            bool                  `protobuf:"varint,4,opt,name=streaming,proto3" json:"streaming,omitempty"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

func (*OutputConfig) Descriptor

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

func (*OutputConfig) GetMaxBufferedRxBytes

func (m *OutputConfig) GetMaxBufferedRxBytes() *wrappers.UInt32Value

func (*OutputConfig) GetMaxBufferedTxBytes

func (m *OutputConfig) GetMaxBufferedTxBytes() *wrappers.UInt32Value

func (*OutputConfig) GetSinks

func (m *OutputConfig) GetSinks() []*OutputSink

func (*OutputConfig) GetStreaming added in v0.6.9

func (m *OutputConfig) GetStreaming() bool

func (*OutputConfig) ProtoMessage

func (*OutputConfig) ProtoMessage()

func (*OutputConfig) Reset

func (m *OutputConfig) Reset()

func (*OutputConfig) String

func (m *OutputConfig) String() string

func (*OutputConfig) Validate

func (m *OutputConfig) Validate() error

Validate checks the field values on OutputConfig with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*OutputConfig) XXX_DiscardUnknown

func (m *OutputConfig) XXX_DiscardUnknown()

func (*OutputConfig) XXX_Marshal

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

func (*OutputConfig) XXX_Merge

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

func (*OutputConfig) XXX_Size

func (m *OutputConfig) XXX_Size() int

func (*OutputConfig) XXX_Unmarshal

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

type OutputConfigValidationError

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

OutputConfigValidationError is the validation error returned by OutputConfig.Validate if the designated constraints aren't met.

func (OutputConfigValidationError) Cause

Cause function returns cause value.

func (OutputConfigValidationError) Error

Error satisfies the builtin error interface

func (OutputConfigValidationError) ErrorName added in v0.7.0

func (e OutputConfigValidationError) ErrorName() string

ErrorName returns error name.

func (OutputConfigValidationError) Field

Field function returns field value.

func (OutputConfigValidationError) Key

Key function returns key value.

func (OutputConfigValidationError) Reason

Reason function returns reason value.

type OutputSink

type OutputSink struct {
	Format OutputSink_Format `protobuf:"varint,1,opt,name=format,proto3,enum=envoy.service.tap.v2alpha.OutputSink_Format" json:"format,omitempty"`
	// Types that are valid to be assigned to OutputSinkType:
	//	*OutputSink_StreamingAdmin
	//	*OutputSink_FilePerTap
	//	*OutputSink_StreamingGrpc
	OutputSinkType       isOutputSink_OutputSinkType `protobuf_oneof:"output_sink_type"`
	XXX_NoUnkeyedLiteral struct{}                    `json:"-"`
	XXX_unrecognized     []byte                      `json:"-"`
	XXX_sizecache        int32                       `json:"-"`
}

func (*OutputSink) Descriptor

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

func (*OutputSink) GetFilePerTap

func (m *OutputSink) GetFilePerTap() *FilePerTapSink

func (*OutputSink) GetFormat

func (m *OutputSink) GetFormat() OutputSink_Format

func (*OutputSink) GetOutputSinkType

func (m *OutputSink) GetOutputSinkType() isOutputSink_OutputSinkType

func (*OutputSink) GetStreamingAdmin

func (m *OutputSink) GetStreamingAdmin() *StreamingAdminSink

func (*OutputSink) GetStreamingGrpc added in v0.8.2

func (m *OutputSink) GetStreamingGrpc() *StreamingGrpcSink

func (*OutputSink) ProtoMessage

func (*OutputSink) ProtoMessage()

func (*OutputSink) Reset

func (m *OutputSink) Reset()

func (*OutputSink) String

func (m *OutputSink) String() string

func (*OutputSink) Validate

func (m *OutputSink) Validate() error

Validate checks the field values on OutputSink with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*OutputSink) XXX_DiscardUnknown

func (m *OutputSink) XXX_DiscardUnknown()

func (*OutputSink) XXX_Marshal

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

func (*OutputSink) XXX_Merge

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

func (*OutputSink) XXX_OneofWrappers added in v0.9.0

func (*OutputSink) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*OutputSink) XXX_Size

func (m *OutputSink) XXX_Size() int

func (*OutputSink) XXX_Unmarshal

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

type OutputSinkValidationError

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

OutputSinkValidationError is the validation error returned by OutputSink.Validate if the designated constraints aren't met.

func (OutputSinkValidationError) Cause

func (e OutputSinkValidationError) Cause() error

Cause function returns cause value.

func (OutputSinkValidationError) Error

Error satisfies the builtin error interface

func (OutputSinkValidationError) ErrorName added in v0.7.0

func (e OutputSinkValidationError) ErrorName() string

ErrorName returns error name.

func (OutputSinkValidationError) Field

Field function returns field value.

func (OutputSinkValidationError) Key

Key function returns key value.

func (OutputSinkValidationError) Reason

func (e OutputSinkValidationError) Reason() string

Reason function returns reason value.

type OutputSink_FilePerTap

type OutputSink_FilePerTap struct {
	FilePerTap *FilePerTapSink `protobuf:"bytes,3,opt,name=file_per_tap,json=filePerTap,proto3,oneof"`
}

type OutputSink_Format

type OutputSink_Format int32
const (
	OutputSink_JSON_BODY_AS_BYTES            OutputSink_Format = 0
	OutputSink_JSON_BODY_AS_STRING           OutputSink_Format = 1
	OutputSink_PROTO_BINARY                  OutputSink_Format = 2
	OutputSink_PROTO_BINARY_LENGTH_DELIMITED OutputSink_Format = 3
	OutputSink_PROTO_TEXT                    OutputSink_Format = 4
)

func (OutputSink_Format) EnumDescriptor

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

func (OutputSink_Format) String

func (x OutputSink_Format) String() string

type OutputSink_StreamingAdmin

type OutputSink_StreamingAdmin struct {
	StreamingAdmin *StreamingAdminSink `protobuf:"bytes,2,opt,name=streaming_admin,json=streamingAdmin,proto3,oneof"`
}

type OutputSink_StreamingGrpc added in v0.8.2

type OutputSink_StreamingGrpc struct {
	StreamingGrpc *StreamingGrpcSink `protobuf:"bytes,4,opt,name=streaming_grpc,json=streamingGrpc,proto3,oneof"`
}

type StreamTapsRequest added in v0.8.2

type StreamTapsRequest struct {
	Identifier           *StreamTapsRequest_Identifier `protobuf:"bytes,1,opt,name=identifier,proto3" json:"identifier,omitempty"`
	TraceId              uint64                        `protobuf:"varint,2,opt,name=trace_id,json=traceId,proto3" json:"trace_id,omitempty"`
	Trace                *v2alpha.TraceWrapper         `protobuf:"bytes,3,opt,name=trace,proto3" json:"trace,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                      `json:"-"`
	XXX_unrecognized     []byte                        `json:"-"`
	XXX_sizecache        int32                         `json:"-"`
}

func (*StreamTapsRequest) Descriptor added in v0.8.2

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

func (*StreamTapsRequest) GetIdentifier added in v0.8.2

func (m *StreamTapsRequest) GetIdentifier() *StreamTapsRequest_Identifier

func (*StreamTapsRequest) GetTrace added in v0.8.2

func (m *StreamTapsRequest) GetTrace() *v2alpha.TraceWrapper

func (*StreamTapsRequest) GetTraceId added in v0.8.2

func (m *StreamTapsRequest) GetTraceId() uint64

func (*StreamTapsRequest) ProtoMessage added in v0.8.2

func (*StreamTapsRequest) ProtoMessage()

func (*StreamTapsRequest) Reset added in v0.8.2

func (m *StreamTapsRequest) Reset()

func (*StreamTapsRequest) String added in v0.8.2

func (m *StreamTapsRequest) String() string

func (*StreamTapsRequest) Validate added in v0.8.2

func (m *StreamTapsRequest) Validate() error

Validate checks the field values on StreamTapsRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*StreamTapsRequest) XXX_DiscardUnknown added in v0.8.2

func (m *StreamTapsRequest) XXX_DiscardUnknown()

func (*StreamTapsRequest) XXX_Marshal added in v0.8.2

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

func (*StreamTapsRequest) XXX_Merge added in v0.8.2

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

func (*StreamTapsRequest) XXX_Size added in v0.8.2

func (m *StreamTapsRequest) XXX_Size() int

func (*StreamTapsRequest) XXX_Unmarshal added in v0.8.2

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

type StreamTapsRequestValidationError added in v0.8.2

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

StreamTapsRequestValidationError is the validation error returned by StreamTapsRequest.Validate if the designated constraints aren't met.

func (StreamTapsRequestValidationError) Cause added in v0.8.2

Cause function returns cause value.

func (StreamTapsRequestValidationError) Error added in v0.8.2

Error satisfies the builtin error interface

func (StreamTapsRequestValidationError) ErrorName added in v0.8.2

ErrorName returns error name.

func (StreamTapsRequestValidationError) Field added in v0.8.2

Field function returns field value.

func (StreamTapsRequestValidationError) Key added in v0.8.2

Key function returns key value.

func (StreamTapsRequestValidationError) Reason added in v0.8.2

Reason function returns reason value.

type StreamTapsRequest_Identifier added in v0.8.2

type StreamTapsRequest_Identifier struct {
	Node                 *core.Node `protobuf:"bytes,1,opt,name=node,proto3" json:"node,omitempty"`
	TapId                string     `protobuf:"bytes,2,opt,name=tap_id,json=tapId,proto3" json:"tap_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
	XXX_unrecognized     []byte     `json:"-"`
	XXX_sizecache        int32      `json:"-"`
}

func (*StreamTapsRequest_Identifier) Descriptor added in v0.8.2

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

func (*StreamTapsRequest_Identifier) GetNode added in v0.8.2

func (m *StreamTapsRequest_Identifier) GetNode() *core.Node

func (*StreamTapsRequest_Identifier) GetTapId added in v0.8.2

func (m *StreamTapsRequest_Identifier) GetTapId() string

func (*StreamTapsRequest_Identifier) ProtoMessage added in v0.8.2

func (*StreamTapsRequest_Identifier) ProtoMessage()

func (*StreamTapsRequest_Identifier) Reset added in v0.8.2

func (m *StreamTapsRequest_Identifier) Reset()

func (*StreamTapsRequest_Identifier) String added in v0.8.2

func (*StreamTapsRequest_Identifier) Validate added in v0.8.2

func (m *StreamTapsRequest_Identifier) Validate() error

Validate checks the field values on StreamTapsRequest_Identifier with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*StreamTapsRequest_Identifier) XXX_DiscardUnknown added in v0.8.2

func (m *StreamTapsRequest_Identifier) XXX_DiscardUnknown()

func (*StreamTapsRequest_Identifier) XXX_Marshal added in v0.8.2

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

func (*StreamTapsRequest_Identifier) XXX_Merge added in v0.8.2

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

func (*StreamTapsRequest_Identifier) XXX_Size added in v0.8.2

func (m *StreamTapsRequest_Identifier) XXX_Size() int

func (*StreamTapsRequest_Identifier) XXX_Unmarshal added in v0.8.2

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

type StreamTapsRequest_IdentifierValidationError added in v0.8.2

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

StreamTapsRequest_IdentifierValidationError is the validation error returned by StreamTapsRequest_Identifier.Validate if the designated constraints aren't met.

func (StreamTapsRequest_IdentifierValidationError) Cause added in v0.8.2

Cause function returns cause value.

func (StreamTapsRequest_IdentifierValidationError) Error added in v0.8.2

Error satisfies the builtin error interface

func (StreamTapsRequest_IdentifierValidationError) ErrorName added in v0.8.2

ErrorName returns error name.

func (StreamTapsRequest_IdentifierValidationError) Field added in v0.8.2

Field function returns field value.

func (StreamTapsRequest_IdentifierValidationError) Key added in v0.8.2

Key function returns key value.

func (StreamTapsRequest_IdentifierValidationError) Reason added in v0.8.2

Reason function returns reason value.

type StreamTapsResponse added in v0.8.2

type StreamTapsResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*StreamTapsResponse) Descriptor added in v0.8.2

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

func (*StreamTapsResponse) ProtoMessage added in v0.8.2

func (*StreamTapsResponse) ProtoMessage()

func (*StreamTapsResponse) Reset added in v0.8.2

func (m *StreamTapsResponse) Reset()

func (*StreamTapsResponse) String added in v0.8.2

func (m *StreamTapsResponse) String() string

func (*StreamTapsResponse) Validate added in v0.8.2

func (m *StreamTapsResponse) Validate() error

Validate checks the field values on StreamTapsResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*StreamTapsResponse) XXX_DiscardUnknown added in v0.8.2

func (m *StreamTapsResponse) XXX_DiscardUnknown()

func (*StreamTapsResponse) XXX_Marshal added in v0.8.2

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

func (*StreamTapsResponse) XXX_Merge added in v0.8.2

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

func (*StreamTapsResponse) XXX_Size added in v0.8.2

func (m *StreamTapsResponse) XXX_Size() int

func (*StreamTapsResponse) XXX_Unmarshal added in v0.8.2

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

type StreamTapsResponseValidationError added in v0.8.2

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

StreamTapsResponseValidationError is the validation error returned by StreamTapsResponse.Validate if the designated constraints aren't met.

func (StreamTapsResponseValidationError) Cause added in v0.8.2

Cause function returns cause value.

func (StreamTapsResponseValidationError) Error added in v0.8.2

Error satisfies the builtin error interface

func (StreamTapsResponseValidationError) ErrorName added in v0.8.2

ErrorName returns error name.

func (StreamTapsResponseValidationError) Field added in v0.8.2

Field function returns field value.

func (StreamTapsResponseValidationError) Key added in v0.8.2

Key function returns key value.

func (StreamTapsResponseValidationError) Reason added in v0.8.2

Reason function returns reason value.

type StreamingAdminSink

type StreamingAdminSink struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*StreamingAdminSink) Descriptor

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

func (*StreamingAdminSink) ProtoMessage

func (*StreamingAdminSink) ProtoMessage()

func (*StreamingAdminSink) Reset

func (m *StreamingAdminSink) Reset()

func (*StreamingAdminSink) String

func (m *StreamingAdminSink) String() string

func (*StreamingAdminSink) Validate

func (m *StreamingAdminSink) Validate() error

Validate checks the field values on StreamingAdminSink with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*StreamingAdminSink) XXX_DiscardUnknown

func (m *StreamingAdminSink) XXX_DiscardUnknown()

func (*StreamingAdminSink) XXX_Marshal

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

func (*StreamingAdminSink) XXX_Merge

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

func (*StreamingAdminSink) XXX_Size

func (m *StreamingAdminSink) XXX_Size() int

func (*StreamingAdminSink) XXX_Unmarshal

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

type StreamingAdminSinkValidationError

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

StreamingAdminSinkValidationError is the validation error returned by StreamingAdminSink.Validate if the designated constraints aren't met.

func (StreamingAdminSinkValidationError) Cause

Cause function returns cause value.

func (StreamingAdminSinkValidationError) Error

Error satisfies the builtin error interface

func (StreamingAdminSinkValidationError) ErrorName added in v0.7.0

ErrorName returns error name.

func (StreamingAdminSinkValidationError) Field

Field function returns field value.

func (StreamingAdminSinkValidationError) Key

Key function returns key value.

func (StreamingAdminSinkValidationError) Reason

Reason function returns reason value.

type StreamingGrpcSink added in v0.8.2

type StreamingGrpcSink struct {
	TapId                string            `protobuf:"bytes,1,opt,name=tap_id,json=tapId,proto3" json:"tap_id,omitempty"`
	GrpcService          *core.GrpcService `protobuf:"bytes,2,opt,name=grpc_service,json=grpcService,proto3" json:"grpc_service,omitempty"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

func (*StreamingGrpcSink) Descriptor added in v0.8.2

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

func (*StreamingGrpcSink) GetGrpcService added in v0.8.2

func (m *StreamingGrpcSink) GetGrpcService() *core.GrpcService

func (*StreamingGrpcSink) GetTapId added in v0.8.2

func (m *StreamingGrpcSink) GetTapId() string

func (*StreamingGrpcSink) ProtoMessage added in v0.8.2

func (*StreamingGrpcSink) ProtoMessage()

func (*StreamingGrpcSink) Reset added in v0.8.2

func (m *StreamingGrpcSink) Reset()

func (*StreamingGrpcSink) String added in v0.8.2

func (m *StreamingGrpcSink) String() string

func (*StreamingGrpcSink) Validate added in v0.8.2

func (m *StreamingGrpcSink) Validate() error

Validate checks the field values on StreamingGrpcSink with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*StreamingGrpcSink) XXX_DiscardUnknown added in v0.8.2

func (m *StreamingGrpcSink) XXX_DiscardUnknown()

func (*StreamingGrpcSink) XXX_Marshal added in v0.8.2

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

func (*StreamingGrpcSink) XXX_Merge added in v0.8.2

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

func (*StreamingGrpcSink) XXX_Size added in v0.8.2

func (m *StreamingGrpcSink) XXX_Size() int

func (*StreamingGrpcSink) XXX_Unmarshal added in v0.8.2

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

type StreamingGrpcSinkValidationError added in v0.8.2

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

StreamingGrpcSinkValidationError is the validation error returned by StreamingGrpcSink.Validate if the designated constraints aren't met.

func (StreamingGrpcSinkValidationError) Cause added in v0.8.2

Cause function returns cause value.

func (StreamingGrpcSinkValidationError) Error added in v0.8.2

Error satisfies the builtin error interface

func (StreamingGrpcSinkValidationError) ErrorName added in v0.8.2

ErrorName returns error name.

func (StreamingGrpcSinkValidationError) Field added in v0.8.2

Field function returns field value.

func (StreamingGrpcSinkValidationError) Key added in v0.8.2

Key function returns key value.

func (StreamingGrpcSinkValidationError) Reason added in v0.8.2

Reason function returns reason value.

type TapConfig

type TapConfig struct {
	MatchConfig          *MatchPredicate                `protobuf:"bytes,1,opt,name=match_config,json=matchConfig,proto3" json:"match_config,omitempty"`
	OutputConfig         *OutputConfig                  `protobuf:"bytes,2,opt,name=output_config,json=outputConfig,proto3" json:"output_config,omitempty"`
	TapEnabled           *core.RuntimeFractionalPercent `protobuf:"bytes,3,opt,name=tap_enabled,json=tapEnabled,proto3" json:"tap_enabled,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                       `json:"-"`
	XXX_unrecognized     []byte                         `json:"-"`
	XXX_sizecache        int32                          `json:"-"`
}

func (*TapConfig) Descriptor

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

func (*TapConfig) GetMatchConfig

func (m *TapConfig) GetMatchConfig() *MatchPredicate

func (*TapConfig) GetOutputConfig

func (m *TapConfig) GetOutputConfig() *OutputConfig

func (*TapConfig) GetTapEnabled added in v0.8.2

func (m *TapConfig) GetTapEnabled() *core.RuntimeFractionalPercent

func (*TapConfig) ProtoMessage

func (*TapConfig) ProtoMessage()

func (*TapConfig) Reset

func (m *TapConfig) Reset()

func (*TapConfig) String

func (m *TapConfig) String() string

func (*TapConfig) Validate

func (m *TapConfig) Validate() error

Validate checks the field values on TapConfig with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*TapConfig) XXX_DiscardUnknown

func (m *TapConfig) XXX_DiscardUnknown()

func (*TapConfig) XXX_Marshal

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

func (*TapConfig) XXX_Merge

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

func (*TapConfig) XXX_Size

func (m *TapConfig) XXX_Size() int

func (*TapConfig) XXX_Unmarshal

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

type TapConfigValidationError

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

TapConfigValidationError is the validation error returned by TapConfig.Validate if the designated constraints aren't met.

func (TapConfigValidationError) Cause

func (e TapConfigValidationError) Cause() error

Cause function returns cause value.

func (TapConfigValidationError) Error

func (e TapConfigValidationError) Error() string

Error satisfies the builtin error interface

func (TapConfigValidationError) ErrorName added in v0.7.0

func (e TapConfigValidationError) ErrorName() string

ErrorName returns error name.

func (TapConfigValidationError) Field

func (e TapConfigValidationError) Field() string

Field function returns field value.

func (TapConfigValidationError) Key

Key function returns key value.

func (TapConfigValidationError) Reason

func (e TapConfigValidationError) Reason() string

Reason function returns reason value.

type TapDiscoveryServiceClient added in v0.8.2

type TapDiscoveryServiceClient interface {
	StreamTapConfigs(ctx context.Context, opts ...grpc.CallOption) (TapDiscoveryService_StreamTapConfigsClient, error)
	DeltaTapConfigs(ctx context.Context, opts ...grpc.CallOption) (TapDiscoveryService_DeltaTapConfigsClient, error)
	FetchTapConfigs(ctx context.Context, in *v2.DiscoveryRequest, opts ...grpc.CallOption) (*v2.DiscoveryResponse, error)
}

TapDiscoveryServiceClient is the client API for TapDiscoveryService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewTapDiscoveryServiceClient added in v0.8.2

func NewTapDiscoveryServiceClient(cc *grpc.ClientConn) TapDiscoveryServiceClient

type TapDiscoveryServiceServer added in v0.8.2

type TapDiscoveryServiceServer interface {
	StreamTapConfigs(TapDiscoveryService_StreamTapConfigsServer) error
	DeltaTapConfigs(TapDiscoveryService_DeltaTapConfigsServer) error
	FetchTapConfigs(context.Context, *v2.DiscoveryRequest) (*v2.DiscoveryResponse, error)
}

TapDiscoveryServiceServer is the server API for TapDiscoveryService service.

type TapDiscoveryService_DeltaTapConfigsClient added in v0.8.2

type TapDiscoveryService_DeltaTapConfigsClient interface {
	Send(*v2.DeltaDiscoveryRequest) error
	Recv() (*v2.DeltaDiscoveryResponse, error)
	grpc.ClientStream
}

type TapDiscoveryService_DeltaTapConfigsServer added in v0.8.2

type TapDiscoveryService_DeltaTapConfigsServer interface {
	Send(*v2.DeltaDiscoveryResponse) error
	Recv() (*v2.DeltaDiscoveryRequest, error)
	grpc.ServerStream
}

type TapDiscoveryService_StreamTapConfigsClient added in v0.8.2

type TapDiscoveryService_StreamTapConfigsClient interface {
	Send(*v2.DiscoveryRequest) error
	Recv() (*v2.DiscoveryResponse, error)
	grpc.ClientStream
}

type TapDiscoveryService_StreamTapConfigsServer added in v0.8.2

type TapDiscoveryService_StreamTapConfigsServer interface {
	Send(*v2.DiscoveryResponse) error
	Recv() (*v2.DiscoveryRequest, error)
	grpc.ServerStream
}

type TapResource added in v0.8.2

type TapResource struct {
	Name                 string     `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Config               *TapConfig `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"`
	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
	XXX_unrecognized     []byte     `json:"-"`
	XXX_sizecache        int32      `json:"-"`
}

func (*TapResource) Descriptor added in v0.8.2

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

func (*TapResource) GetConfig added in v0.8.2

func (m *TapResource) GetConfig() *TapConfig

func (*TapResource) GetName added in v0.8.2

func (m *TapResource) GetName() string

func (*TapResource) ProtoMessage added in v0.8.2

func (*TapResource) ProtoMessage()

func (*TapResource) Reset added in v0.8.2

func (m *TapResource) Reset()

func (*TapResource) String added in v0.8.2

func (m *TapResource) String() string

func (*TapResource) Validate added in v0.8.2

func (m *TapResource) Validate() error

Validate checks the field values on TapResource with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*TapResource) XXX_DiscardUnknown added in v0.8.2

func (m *TapResource) XXX_DiscardUnknown()

func (*TapResource) XXX_Marshal added in v0.8.2

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

func (*TapResource) XXX_Merge added in v0.8.2

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

func (*TapResource) XXX_Size added in v0.8.2

func (m *TapResource) XXX_Size() int

func (*TapResource) XXX_Unmarshal added in v0.8.2

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

type TapResourceValidationError added in v0.8.2

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

TapResourceValidationError is the validation error returned by TapResource.Validate if the designated constraints aren't met.

func (TapResourceValidationError) Cause added in v0.8.2

Cause function returns cause value.

func (TapResourceValidationError) Error added in v0.8.2

Error satisfies the builtin error interface

func (TapResourceValidationError) ErrorName added in v0.8.2

func (e TapResourceValidationError) ErrorName() string

ErrorName returns error name.

func (TapResourceValidationError) Field added in v0.8.2

Field function returns field value.

func (TapResourceValidationError) Key added in v0.8.2

Key function returns key value.

func (TapResourceValidationError) Reason added in v0.8.2

Reason function returns reason value.

type TapSinkServiceClient added in v0.8.2

type TapSinkServiceClient interface {
	StreamTaps(ctx context.Context, opts ...grpc.CallOption) (TapSinkService_StreamTapsClient, error)
}

TapSinkServiceClient is the client API for TapSinkService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewTapSinkServiceClient added in v0.8.2

func NewTapSinkServiceClient(cc *grpc.ClientConn) TapSinkServiceClient

type TapSinkServiceServer added in v0.8.2

type TapSinkServiceServer interface {
	StreamTaps(TapSinkService_StreamTapsServer) error
}

TapSinkServiceServer is the server API for TapSinkService service.

type TapSinkService_StreamTapsClient added in v0.8.2

type TapSinkService_StreamTapsClient interface {
	Send(*StreamTapsRequest) error
	CloseAndRecv() (*StreamTapsResponse, error)
	grpc.ClientStream
}

type TapSinkService_StreamTapsServer added in v0.8.2

type TapSinkService_StreamTapsServer interface {
	SendAndClose(*StreamTapsResponse) error
	Recv() (*StreamTapsRequest, error)
	grpc.ServerStream
}

type UnimplementedTapDiscoveryServiceServer added in v0.9.1

type UnimplementedTapDiscoveryServiceServer struct {
}

UnimplementedTapDiscoveryServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedTapDiscoveryServiceServer) DeltaTapConfigs added in v0.9.1

func (*UnimplementedTapDiscoveryServiceServer) FetchTapConfigs added in v0.9.1

func (*UnimplementedTapDiscoveryServiceServer) StreamTapConfigs added in v0.9.1

type UnimplementedTapSinkServiceServer added in v0.9.1

type UnimplementedTapSinkServiceServer struct {
}

UnimplementedTapSinkServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedTapSinkServiceServer) StreamTaps added in v0.9.1

Jump to

Keyboard shortcuts

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