kasapp

package
v16.7.0-rc3 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2023 License: MIT Imports: 116 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_cmd_kas_kasapp_kasapp_proto protoreflect.FileDescriptor

Functions

func ApplyDefaultsToKasConfigurationFile

func ApplyDefaultsToKasConfigurationFile(cfg *kascfg.ConfigurationFile)

func LoadConfigurationFile

func LoadConfigurationFile(configFile string) (*kascfg.ConfigurationFile, error)

func NewCommand

func NewCommand() *cobra.Command

Types

type App

type App struct {
	ConfigurationFile string
}

func (*App) Run

func (a *App) Run(ctx context.Context) (retErr error)

type ConfiguredApp

type ConfiguredApp struct {
	Log           *zap.Logger
	Configuration *kascfg.ConfigurationFile
}

func (*ConfiguredApp) Run

func (a *ConfiguredApp) Run(ctx context.Context) (retErr error)

type GatewayKasResponse

type GatewayKasResponse struct {

	// Types that are assignable to Msg:
	//
	//	*GatewayKasResponse_TunnelReady_
	//	*GatewayKasResponse_Header_
	//	*GatewayKasResponse_Message_
	//	*GatewayKasResponse_Trailer_
	//	*GatewayKasResponse_Error_
	//	*GatewayKasResponse_NoTunnel_
	Msg isGatewayKasResponse_Msg `protobuf_oneof:"msg"`
	// contains filtered or unexported fields
}

func (*GatewayKasResponse) Descriptor deprecated

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

Deprecated: Use GatewayKasResponse.ProtoReflect.Descriptor instead.

func (*GatewayKasResponse) GetError

func (*GatewayKasResponse) GetHeader

func (*GatewayKasResponse) GetMessage

func (*GatewayKasResponse) GetMsg

func (m *GatewayKasResponse) GetMsg() isGatewayKasResponse_Msg

func (*GatewayKasResponse) GetNoTunnel

func (*GatewayKasResponse) GetTrailer

func (*GatewayKasResponse) GetTunnelReady

func (*GatewayKasResponse) ProtoMessage

func (*GatewayKasResponse) ProtoMessage()

func (*GatewayKasResponse) ProtoReflect

func (x *GatewayKasResponse) ProtoReflect() protoreflect.Message

func (*GatewayKasResponse) Reset

func (x *GatewayKasResponse) Reset()

func (*GatewayKasResponse) String

func (x *GatewayKasResponse) String() string

func (*GatewayKasResponse) Validate

func (m *GatewayKasResponse) Validate() error

Validate checks the field values on GatewayKasResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GatewayKasResponse) ValidateAll

func (m *GatewayKasResponse) ValidateAll() error

ValidateAll checks the field values on GatewayKasResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GatewayKasResponseMultiError, or nil if none found.

type GatewayKasResponseMultiError

type GatewayKasResponseMultiError []error

GatewayKasResponseMultiError is an error wrapping multiple validation errors returned by GatewayKasResponse.ValidateAll() if the designated constraints aren't met.

func (GatewayKasResponseMultiError) AllErrors

func (m GatewayKasResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GatewayKasResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type GatewayKasResponseValidationError

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

GatewayKasResponseValidationError is the validation error returned by GatewayKasResponse.Validate if the designated constraints aren't met.

func (GatewayKasResponseValidationError) Cause

Cause function returns cause value.

func (GatewayKasResponseValidationError) Error

Error satisfies the builtin error interface

func (GatewayKasResponseValidationError) ErrorName

ErrorName returns error name.

func (GatewayKasResponseValidationError) Field

Field function returns field value.

func (GatewayKasResponseValidationError) Key

Key function returns key value.

func (GatewayKasResponseValidationError) Reason

Reason function returns reason value.

type GatewayKasResponse_Error

type GatewayKasResponse_Error struct {
	Status *status.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*GatewayKasResponse_Error) Descriptor deprecated

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

Deprecated: Use GatewayKasResponse_Error.ProtoReflect.Descriptor instead.

func (*GatewayKasResponse_Error) GetStatus

func (x *GatewayKasResponse_Error) GetStatus() *status.Status

func (*GatewayKasResponse_Error) ProtoMessage

func (*GatewayKasResponse_Error) ProtoMessage()

func (*GatewayKasResponse_Error) ProtoReflect

func (x *GatewayKasResponse_Error) ProtoReflect() protoreflect.Message

func (*GatewayKasResponse_Error) Reset

func (x *GatewayKasResponse_Error) Reset()

func (*GatewayKasResponse_Error) String

func (x *GatewayKasResponse_Error) String() string

func (*GatewayKasResponse_Error) Validate

func (m *GatewayKasResponse_Error) Validate() error

Validate checks the field values on GatewayKasResponse_Error with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GatewayKasResponse_Error) ValidateAll

func (m *GatewayKasResponse_Error) ValidateAll() error

ValidateAll checks the field values on GatewayKasResponse_Error with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GatewayKasResponse_ErrorMultiError, or nil if none found.

type GatewayKasResponse_ErrorMultiError

type GatewayKasResponse_ErrorMultiError []error

GatewayKasResponse_ErrorMultiError is an error wrapping multiple validation errors returned by GatewayKasResponse_Error.ValidateAll() if the designated constraints aren't met.

func (GatewayKasResponse_ErrorMultiError) AllErrors

func (m GatewayKasResponse_ErrorMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GatewayKasResponse_ErrorMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type GatewayKasResponse_ErrorValidationError

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

GatewayKasResponse_ErrorValidationError is the validation error returned by GatewayKasResponse_Error.Validate if the designated constraints aren't met.

func (GatewayKasResponse_ErrorValidationError) Cause

Cause function returns cause value.

func (GatewayKasResponse_ErrorValidationError) Error

Error satisfies the builtin error interface

func (GatewayKasResponse_ErrorValidationError) ErrorName

ErrorName returns error name.

func (GatewayKasResponse_ErrorValidationError) Field

Field function returns field value.

func (GatewayKasResponse_ErrorValidationError) Key

Key function returns key value.

func (GatewayKasResponse_ErrorValidationError) Reason

Reason function returns reason value.

type GatewayKasResponse_Error_

type GatewayKasResponse_Error_ struct {
	Error *GatewayKasResponse_Error `protobuf:"bytes,5,opt,name=error,proto3,oneof"`
}

type GatewayKasResponse_Header

type GatewayKasResponse_Header struct {
	Meta map[string]*prototool.Values `` /* 149-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*GatewayKasResponse_Header) Descriptor deprecated

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

Deprecated: Use GatewayKasResponse_Header.ProtoReflect.Descriptor instead.

func (*GatewayKasResponse_Header) GetMeta

func (*GatewayKasResponse_Header) Metadata

func (x *GatewayKasResponse_Header) Metadata() metadata.MD

func (*GatewayKasResponse_Header) ProtoMessage

func (*GatewayKasResponse_Header) ProtoMessage()

func (*GatewayKasResponse_Header) ProtoReflect

func (*GatewayKasResponse_Header) Reset

func (x *GatewayKasResponse_Header) Reset()

func (*GatewayKasResponse_Header) String

func (x *GatewayKasResponse_Header) String() string

func (*GatewayKasResponse_Header) Validate

func (m *GatewayKasResponse_Header) Validate() error

Validate checks the field values on GatewayKasResponse_Header with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GatewayKasResponse_Header) ValidateAll

func (m *GatewayKasResponse_Header) ValidateAll() error

ValidateAll checks the field values on GatewayKasResponse_Header with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GatewayKasResponse_HeaderMultiError, or nil if none found.

type GatewayKasResponse_HeaderMultiError

type GatewayKasResponse_HeaderMultiError []error

GatewayKasResponse_HeaderMultiError is an error wrapping multiple validation errors returned by GatewayKasResponse_Header.ValidateAll() if the designated constraints aren't met.

func (GatewayKasResponse_HeaderMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (GatewayKasResponse_HeaderMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type GatewayKasResponse_HeaderValidationError

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

GatewayKasResponse_HeaderValidationError is the validation error returned by GatewayKasResponse_Header.Validate if the designated constraints aren't met.

func (GatewayKasResponse_HeaderValidationError) Cause

Cause function returns cause value.

func (GatewayKasResponse_HeaderValidationError) Error

Error satisfies the builtin error interface

func (GatewayKasResponse_HeaderValidationError) ErrorName

ErrorName returns error name.

func (GatewayKasResponse_HeaderValidationError) Field

Field function returns field value.

func (GatewayKasResponse_HeaderValidationError) Key

Key function returns key value.

func (GatewayKasResponse_HeaderValidationError) Reason

Reason function returns reason value.

type GatewayKasResponse_Header_

type GatewayKasResponse_Header_ struct {
	Header *GatewayKasResponse_Header `protobuf:"bytes,2,opt,name=header,proto3,oneof"`
}

type GatewayKasResponse_Message

type GatewayKasResponse_Message struct {
	Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*GatewayKasResponse_Message) Descriptor deprecated

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

Deprecated: Use GatewayKasResponse_Message.ProtoReflect.Descriptor instead.

func (*GatewayKasResponse_Message) GetData

func (x *GatewayKasResponse_Message) GetData() []byte

func (*GatewayKasResponse_Message) ProtoMessage

func (*GatewayKasResponse_Message) ProtoMessage()

func (*GatewayKasResponse_Message) ProtoReflect

func (*GatewayKasResponse_Message) Reset

func (x *GatewayKasResponse_Message) Reset()

func (*GatewayKasResponse_Message) String

func (x *GatewayKasResponse_Message) String() string

func (*GatewayKasResponse_Message) Validate

func (m *GatewayKasResponse_Message) Validate() error

Validate checks the field values on GatewayKasResponse_Message with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GatewayKasResponse_Message) ValidateAll

func (m *GatewayKasResponse_Message) ValidateAll() error

ValidateAll checks the field values on GatewayKasResponse_Message with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GatewayKasResponse_MessageMultiError, or nil if none found.

type GatewayKasResponse_MessageMultiError

type GatewayKasResponse_MessageMultiError []error

GatewayKasResponse_MessageMultiError is an error wrapping multiple validation errors returned by GatewayKasResponse_Message.ValidateAll() if the designated constraints aren't met.

func (GatewayKasResponse_MessageMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (GatewayKasResponse_MessageMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type GatewayKasResponse_MessageValidationError

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

GatewayKasResponse_MessageValidationError is the validation error returned by GatewayKasResponse_Message.Validate if the designated constraints aren't met.

func (GatewayKasResponse_MessageValidationError) Cause

Cause function returns cause value.

func (GatewayKasResponse_MessageValidationError) Error

Error satisfies the builtin error interface

func (GatewayKasResponse_MessageValidationError) ErrorName

ErrorName returns error name.

func (GatewayKasResponse_MessageValidationError) Field

Field function returns field value.

func (GatewayKasResponse_MessageValidationError) Key

Key function returns key value.

func (GatewayKasResponse_MessageValidationError) Reason

Reason function returns reason value.

type GatewayKasResponse_Message_

type GatewayKasResponse_Message_ struct {
	Message *GatewayKasResponse_Message `protobuf:"bytes,3,opt,name=message,proto3,oneof"`
}

type GatewayKasResponse_NoTunnel

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

func (*GatewayKasResponse_NoTunnel) Descriptor deprecated

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

Deprecated: Use GatewayKasResponse_NoTunnel.ProtoReflect.Descriptor instead.

func (*GatewayKasResponse_NoTunnel) ProtoMessage

func (*GatewayKasResponse_NoTunnel) ProtoMessage()

func (*GatewayKasResponse_NoTunnel) ProtoReflect

func (*GatewayKasResponse_NoTunnel) Reset

func (x *GatewayKasResponse_NoTunnel) Reset()

func (*GatewayKasResponse_NoTunnel) String

func (x *GatewayKasResponse_NoTunnel) String() string

func (*GatewayKasResponse_NoTunnel) Validate

func (m *GatewayKasResponse_NoTunnel) Validate() error

Validate checks the field values on GatewayKasResponse_NoTunnel with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GatewayKasResponse_NoTunnel) ValidateAll

func (m *GatewayKasResponse_NoTunnel) ValidateAll() error

ValidateAll checks the field values on GatewayKasResponse_NoTunnel with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GatewayKasResponse_NoTunnelMultiError, or nil if none found.

type GatewayKasResponse_NoTunnelMultiError

type GatewayKasResponse_NoTunnelMultiError []error

GatewayKasResponse_NoTunnelMultiError is an error wrapping multiple validation errors returned by GatewayKasResponse_NoTunnel.ValidateAll() if the designated constraints aren't met.

func (GatewayKasResponse_NoTunnelMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (GatewayKasResponse_NoTunnelMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type GatewayKasResponse_NoTunnelValidationError

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

GatewayKasResponse_NoTunnelValidationError is the validation error returned by GatewayKasResponse_NoTunnel.Validate if the designated constraints aren't met.

func (GatewayKasResponse_NoTunnelValidationError) Cause

Cause function returns cause value.

func (GatewayKasResponse_NoTunnelValidationError) Error

Error satisfies the builtin error interface

func (GatewayKasResponse_NoTunnelValidationError) ErrorName

ErrorName returns error name.

func (GatewayKasResponse_NoTunnelValidationError) Field

Field function returns field value.

func (GatewayKasResponse_NoTunnelValidationError) Key

Key function returns key value.

func (GatewayKasResponse_NoTunnelValidationError) Reason

Reason function returns reason value.

type GatewayKasResponse_NoTunnel_

type GatewayKasResponse_NoTunnel_ struct {
	NoTunnel *GatewayKasResponse_NoTunnel `protobuf:"bytes,6,opt,name=no_tunnel,json=noTunnel,proto3,oneof"`
}

type GatewayKasResponse_Trailer

type GatewayKasResponse_Trailer struct {
	Meta map[string]*prototool.Values `` /* 149-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*GatewayKasResponse_Trailer) Descriptor deprecated

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

Deprecated: Use GatewayKasResponse_Trailer.ProtoReflect.Descriptor instead.

func (*GatewayKasResponse_Trailer) GetMeta

func (*GatewayKasResponse_Trailer) Metadata

func (x *GatewayKasResponse_Trailer) Metadata() metadata.MD

func (*GatewayKasResponse_Trailer) ProtoMessage

func (*GatewayKasResponse_Trailer) ProtoMessage()

func (*GatewayKasResponse_Trailer) ProtoReflect

func (*GatewayKasResponse_Trailer) Reset

func (x *GatewayKasResponse_Trailer) Reset()

func (*GatewayKasResponse_Trailer) String

func (x *GatewayKasResponse_Trailer) String() string

func (*GatewayKasResponse_Trailer) Validate

func (m *GatewayKasResponse_Trailer) Validate() error

Validate checks the field values on GatewayKasResponse_Trailer with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GatewayKasResponse_Trailer) ValidateAll

func (m *GatewayKasResponse_Trailer) ValidateAll() error

ValidateAll checks the field values on GatewayKasResponse_Trailer with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GatewayKasResponse_TrailerMultiError, or nil if none found.

type GatewayKasResponse_TrailerMultiError

type GatewayKasResponse_TrailerMultiError []error

GatewayKasResponse_TrailerMultiError is an error wrapping multiple validation errors returned by GatewayKasResponse_Trailer.ValidateAll() if the designated constraints aren't met.

func (GatewayKasResponse_TrailerMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (GatewayKasResponse_TrailerMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type GatewayKasResponse_TrailerValidationError

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

GatewayKasResponse_TrailerValidationError is the validation error returned by GatewayKasResponse_Trailer.Validate if the designated constraints aren't met.

func (GatewayKasResponse_TrailerValidationError) Cause

Cause function returns cause value.

func (GatewayKasResponse_TrailerValidationError) Error

Error satisfies the builtin error interface

func (GatewayKasResponse_TrailerValidationError) ErrorName

ErrorName returns error name.

func (GatewayKasResponse_TrailerValidationError) Field

Field function returns field value.

func (GatewayKasResponse_TrailerValidationError) Key

Key function returns key value.

func (GatewayKasResponse_TrailerValidationError) Reason

Reason function returns reason value.

type GatewayKasResponse_Trailer_

type GatewayKasResponse_Trailer_ struct {
	Trailer *GatewayKasResponse_Trailer `protobuf:"bytes,4,opt,name=trailer,proto3,oneof"`
}

type GatewayKasResponse_TunnelReady

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

func (*GatewayKasResponse_TunnelReady) Descriptor deprecated

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

Deprecated: Use GatewayKasResponse_TunnelReady.ProtoReflect.Descriptor instead.

func (*GatewayKasResponse_TunnelReady) ProtoMessage

func (*GatewayKasResponse_TunnelReady) ProtoMessage()

func (*GatewayKasResponse_TunnelReady) ProtoReflect

func (*GatewayKasResponse_TunnelReady) Reset

func (x *GatewayKasResponse_TunnelReady) Reset()

func (*GatewayKasResponse_TunnelReady) String

func (*GatewayKasResponse_TunnelReady) Validate

func (m *GatewayKasResponse_TunnelReady) Validate() error

Validate checks the field values on GatewayKasResponse_TunnelReady with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GatewayKasResponse_TunnelReady) ValidateAll

func (m *GatewayKasResponse_TunnelReady) ValidateAll() error

ValidateAll checks the field values on GatewayKasResponse_TunnelReady with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GatewayKasResponse_TunnelReadyMultiError, or nil if none found.

type GatewayKasResponse_TunnelReadyMultiError

type GatewayKasResponse_TunnelReadyMultiError []error

GatewayKasResponse_TunnelReadyMultiError is an error wrapping multiple validation errors returned by GatewayKasResponse_TunnelReady.ValidateAll() if the designated constraints aren't met.

func (GatewayKasResponse_TunnelReadyMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (GatewayKasResponse_TunnelReadyMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type GatewayKasResponse_TunnelReadyValidationError

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

GatewayKasResponse_TunnelReadyValidationError is the validation error returned by GatewayKasResponse_TunnelReady.Validate if the designated constraints aren't met.

func (GatewayKasResponse_TunnelReadyValidationError) Cause

Cause function returns cause value.

func (GatewayKasResponse_TunnelReadyValidationError) Error

Error satisfies the builtin error interface

func (GatewayKasResponse_TunnelReadyValidationError) ErrorName

ErrorName returns error name.

func (GatewayKasResponse_TunnelReadyValidationError) Field

Field function returns field value.

func (GatewayKasResponse_TunnelReadyValidationError) Key

Key function returns key value.

func (GatewayKasResponse_TunnelReadyValidationError) Reason

Reason function returns reason value.

type GatewayKasResponse_TunnelReady_

type GatewayKasResponse_TunnelReady_ struct {
	TunnelReady *GatewayKasResponse_TunnelReady `protobuf:"bytes,1,opt,name=tunnel_ready,json=tunnelReady,proto3,oneof"`
}

type SentryHub

type SentryHub interface {
	CaptureEvent(event *sentry.Event) *sentry.EventID
}

type StartStreaming

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

func (*StartStreaming) Descriptor deprecated

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

Deprecated: Use StartStreaming.ProtoReflect.Descriptor instead.

func (*StartStreaming) ProtoMessage

func (*StartStreaming) ProtoMessage()

func (*StartStreaming) ProtoReflect

func (x *StartStreaming) ProtoReflect() protoreflect.Message

func (*StartStreaming) Reset

func (x *StartStreaming) Reset()

func (*StartStreaming) String

func (x *StartStreaming) String() string

func (*StartStreaming) Validate

func (m *StartStreaming) Validate() error

Validate checks the field values on StartStreaming with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*StartStreaming) ValidateAll

func (m *StartStreaming) ValidateAll() error

ValidateAll checks the field values on StartStreaming with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in StartStreamingMultiError, or nil if none found.

type StartStreamingMultiError

type StartStreamingMultiError []error

StartStreamingMultiError is an error wrapping multiple validation errors returned by StartStreaming.ValidateAll() if the designated constraints aren't met.

func (StartStreamingMultiError) AllErrors

func (m StartStreamingMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (StartStreamingMultiError) Error

func (m StartStreamingMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type StartStreamingValidationError

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

StartStreamingValidationError is the validation error returned by StartStreaming.Validate if the designated constraints aren't met.

func (StartStreamingValidationError) Cause

Cause function returns cause value.

func (StartStreamingValidationError) Error

Error satisfies the builtin error interface

func (StartStreamingValidationError) ErrorName

func (e StartStreamingValidationError) ErrorName() string

ErrorName returns error name.

func (StartStreamingValidationError) Field

Field function returns field value.

func (StartStreamingValidationError) Key

Key function returns key value.

func (StartStreamingValidationError) Reason

Reason function returns reason value.

type TraceDualWriter added in v16.7.0

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

func (*TraceDualWriter) ExportSpans added in v16.7.0

func (tdw *TraceDualWriter) ExportSpans(ctx context.Context, spans []tracesdk.ReadOnlySpan) error

func (*TraceDualWriter) Shutdown added in v16.7.0

func (tdw *TraceDualWriter) Shutdown(ctx context.Context) error

Jump to

Keyboard shortcuts

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