Documentation ¶
Index ¶
- Variables
- func ApplyDefaultsToKasConfigurationFile(cfg *kascfg.ConfigurationFile)
- func LoadConfigurationFile(configFile string) (*kascfg.ConfigurationFile, error)
- func NewCommand() *cobra.Command
- type App
- type ConfiguredApp
- type GatewayKasResponse
- func (*GatewayKasResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GatewayKasResponse) GetError() *GatewayKasResponse_Error
- func (x *GatewayKasResponse) GetHeader() *GatewayKasResponse_Header
- func (x *GatewayKasResponse) GetMessage() *GatewayKasResponse_Message
- func (m *GatewayKasResponse) GetMsg() isGatewayKasResponse_Msg
- func (x *GatewayKasResponse) GetNoTunnel() *GatewayKasResponse_NoTunnel
- func (x *GatewayKasResponse) GetTrailer() *GatewayKasResponse_Trailer
- func (x *GatewayKasResponse) GetTunnelReady() *GatewayKasResponse_TunnelReady
- func (*GatewayKasResponse) ProtoMessage()
- func (x *GatewayKasResponse) ProtoReflect() protoreflect.Message
- func (x *GatewayKasResponse) Reset()
- func (x *GatewayKasResponse) String() string
- func (m *GatewayKasResponse) Validate() error
- func (m *GatewayKasResponse) ValidateAll() error
- type GatewayKasResponseMultiError
- type GatewayKasResponseValidationError
- func (e GatewayKasResponseValidationError) Cause() error
- func (e GatewayKasResponseValidationError) Error() string
- func (e GatewayKasResponseValidationError) ErrorName() string
- func (e GatewayKasResponseValidationError) Field() string
- func (e GatewayKasResponseValidationError) Key() bool
- func (e GatewayKasResponseValidationError) Reason() string
- type GatewayKasResponse_Error
- func (*GatewayKasResponse_Error) Descriptor() ([]byte, []int)deprecated
- func (x *GatewayKasResponse_Error) GetStatus() *status.Status
- func (*GatewayKasResponse_Error) ProtoMessage()
- func (x *GatewayKasResponse_Error) ProtoReflect() protoreflect.Message
- func (x *GatewayKasResponse_Error) Reset()
- func (x *GatewayKasResponse_Error) String() string
- func (m *GatewayKasResponse_Error) Validate() error
- func (m *GatewayKasResponse_Error) ValidateAll() error
- type GatewayKasResponse_ErrorMultiError
- type GatewayKasResponse_ErrorValidationError
- func (e GatewayKasResponse_ErrorValidationError) Cause() error
- func (e GatewayKasResponse_ErrorValidationError) Error() string
- func (e GatewayKasResponse_ErrorValidationError) ErrorName() string
- func (e GatewayKasResponse_ErrorValidationError) Field() string
- func (e GatewayKasResponse_ErrorValidationError) Key() bool
- func (e GatewayKasResponse_ErrorValidationError) Reason() string
- type GatewayKasResponse_Error_
- type GatewayKasResponse_Header
- func (*GatewayKasResponse_Header) Descriptor() ([]byte, []int)deprecated
- func (x *GatewayKasResponse_Header) GetMeta() map[string]*prototool.Values
- func (x *GatewayKasResponse_Header) Metadata() metadata.MD
- func (*GatewayKasResponse_Header) ProtoMessage()
- func (x *GatewayKasResponse_Header) ProtoReflect() protoreflect.Message
- func (x *GatewayKasResponse_Header) Reset()
- func (x *GatewayKasResponse_Header) String() string
- func (m *GatewayKasResponse_Header) Validate() error
- func (m *GatewayKasResponse_Header) ValidateAll() error
- type GatewayKasResponse_HeaderMultiError
- type GatewayKasResponse_HeaderValidationError
- func (e GatewayKasResponse_HeaderValidationError) Cause() error
- func (e GatewayKasResponse_HeaderValidationError) Error() string
- func (e GatewayKasResponse_HeaderValidationError) ErrorName() string
- func (e GatewayKasResponse_HeaderValidationError) Field() string
- func (e GatewayKasResponse_HeaderValidationError) Key() bool
- func (e GatewayKasResponse_HeaderValidationError) Reason() string
- type GatewayKasResponse_Header_
- type GatewayKasResponse_Message
- func (*GatewayKasResponse_Message) Descriptor() ([]byte, []int)deprecated
- func (x *GatewayKasResponse_Message) GetData() []byte
- func (*GatewayKasResponse_Message) ProtoMessage()
- func (x *GatewayKasResponse_Message) ProtoReflect() protoreflect.Message
- func (x *GatewayKasResponse_Message) Reset()
- func (x *GatewayKasResponse_Message) String() string
- func (m *GatewayKasResponse_Message) Validate() error
- func (m *GatewayKasResponse_Message) ValidateAll() error
- type GatewayKasResponse_MessageMultiError
- type GatewayKasResponse_MessageValidationError
- func (e GatewayKasResponse_MessageValidationError) Cause() error
- func (e GatewayKasResponse_MessageValidationError) Error() string
- func (e GatewayKasResponse_MessageValidationError) ErrorName() string
- func (e GatewayKasResponse_MessageValidationError) Field() string
- func (e GatewayKasResponse_MessageValidationError) Key() bool
- func (e GatewayKasResponse_MessageValidationError) Reason() string
- type GatewayKasResponse_Message_
- type GatewayKasResponse_NoTunnel
- func (*GatewayKasResponse_NoTunnel) Descriptor() ([]byte, []int)deprecated
- func (*GatewayKasResponse_NoTunnel) ProtoMessage()
- func (x *GatewayKasResponse_NoTunnel) ProtoReflect() protoreflect.Message
- func (x *GatewayKasResponse_NoTunnel) Reset()
- func (x *GatewayKasResponse_NoTunnel) String() string
- func (m *GatewayKasResponse_NoTunnel) Validate() error
- func (m *GatewayKasResponse_NoTunnel) ValidateAll() error
- type GatewayKasResponse_NoTunnelMultiError
- type GatewayKasResponse_NoTunnelValidationError
- func (e GatewayKasResponse_NoTunnelValidationError) Cause() error
- func (e GatewayKasResponse_NoTunnelValidationError) Error() string
- func (e GatewayKasResponse_NoTunnelValidationError) ErrorName() string
- func (e GatewayKasResponse_NoTunnelValidationError) Field() string
- func (e GatewayKasResponse_NoTunnelValidationError) Key() bool
- func (e GatewayKasResponse_NoTunnelValidationError) Reason() string
- type GatewayKasResponse_NoTunnel_
- type GatewayKasResponse_Trailer
- func (*GatewayKasResponse_Trailer) Descriptor() ([]byte, []int)deprecated
- func (x *GatewayKasResponse_Trailer) GetMeta() map[string]*prototool.Values
- func (x *GatewayKasResponse_Trailer) Metadata() metadata.MD
- func (*GatewayKasResponse_Trailer) ProtoMessage()
- func (x *GatewayKasResponse_Trailer) ProtoReflect() protoreflect.Message
- func (x *GatewayKasResponse_Trailer) Reset()
- func (x *GatewayKasResponse_Trailer) String() string
- func (m *GatewayKasResponse_Trailer) Validate() error
- func (m *GatewayKasResponse_Trailer) ValidateAll() error
- type GatewayKasResponse_TrailerMultiError
- type GatewayKasResponse_TrailerValidationError
- func (e GatewayKasResponse_TrailerValidationError) Cause() error
- func (e GatewayKasResponse_TrailerValidationError) Error() string
- func (e GatewayKasResponse_TrailerValidationError) ErrorName() string
- func (e GatewayKasResponse_TrailerValidationError) Field() string
- func (e GatewayKasResponse_TrailerValidationError) Key() bool
- func (e GatewayKasResponse_TrailerValidationError) Reason() string
- type GatewayKasResponse_Trailer_
- type GatewayKasResponse_TunnelReady
- func (*GatewayKasResponse_TunnelReady) Descriptor() ([]byte, []int)deprecated
- func (*GatewayKasResponse_TunnelReady) ProtoMessage()
- func (x *GatewayKasResponse_TunnelReady) ProtoReflect() protoreflect.Message
- func (x *GatewayKasResponse_TunnelReady) Reset()
- func (x *GatewayKasResponse_TunnelReady) String() string
- func (m *GatewayKasResponse_TunnelReady) Validate() error
- func (m *GatewayKasResponse_TunnelReady) ValidateAll() error
- type GatewayKasResponse_TunnelReadyMultiError
- type GatewayKasResponse_TunnelReadyValidationError
- func (e GatewayKasResponse_TunnelReadyValidationError) Cause() error
- func (e GatewayKasResponse_TunnelReadyValidationError) Error() string
- func (e GatewayKasResponse_TunnelReadyValidationError) ErrorName() string
- func (e GatewayKasResponse_TunnelReadyValidationError) Field() string
- func (e GatewayKasResponse_TunnelReadyValidationError) Key() bool
- func (e GatewayKasResponse_TunnelReadyValidationError) Reason() string
- type GatewayKasResponse_TunnelReady_
- type SentryHub
- type StartStreaming
- func (*StartStreaming) Descriptor() ([]byte, []int)deprecated
- func (*StartStreaming) ProtoMessage()
- func (x *StartStreaming) ProtoReflect() protoreflect.Message
- func (x *StartStreaming) Reset()
- func (x *StartStreaming) String() string
- func (m *StartStreaming) Validate() error
- func (m *StartStreaming) ValidateAll() error
- type StartStreamingMultiError
- type StartStreamingValidationError
- func (e StartStreamingValidationError) Cause() error
- func (e StartStreamingValidationError) Error() string
- func (e StartStreamingValidationError) ErrorName() string
- func (e StartStreamingValidationError) Field() string
- func (e StartStreamingValidationError) Key() bool
- func (e StartStreamingValidationError) Reason() string
- type TraceDualWriter
Constants ¶
This section is empty.
Variables ¶
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 ¶
Types ¶
type ConfiguredApp ¶
type ConfiguredApp struct { Log *zap.Logger Configuration *kascfg.ConfigurationFile }
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 (x *GatewayKasResponse) GetError() *GatewayKasResponse_Error
func (*GatewayKasResponse) GetHeader ¶
func (x *GatewayKasResponse) GetHeader() *GatewayKasResponse_Header
func (*GatewayKasResponse) GetMessage ¶
func (x *GatewayKasResponse) GetMessage() *GatewayKasResponse_Message
func (*GatewayKasResponse) GetMsg ¶
func (m *GatewayKasResponse) GetMsg() isGatewayKasResponse_Msg
func (*GatewayKasResponse) GetNoTunnel ¶
func (x *GatewayKasResponse) GetNoTunnel() *GatewayKasResponse_NoTunnel
func (*GatewayKasResponse) GetTrailer ¶
func (x *GatewayKasResponse) GetTrailer() *GatewayKasResponse_Trailer
func (*GatewayKasResponse) GetTunnelReady ¶
func (x *GatewayKasResponse) GetTunnelReady() *GatewayKasResponse_TunnelReady
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 ¶
func (m GatewayKasResponseMultiError) Error() string
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 ¶
func (e GatewayKasResponseValidationError) Cause() error
Cause function returns cause value.
func (GatewayKasResponseValidationError) Error ¶
func (e GatewayKasResponseValidationError) Error() string
Error satisfies the builtin error interface
func (GatewayKasResponseValidationError) ErrorName ¶
func (e GatewayKasResponseValidationError) ErrorName() string
ErrorName returns error name.
func (GatewayKasResponseValidationError) Field ¶
func (e GatewayKasResponseValidationError) Field() string
Field function returns field value.
func (GatewayKasResponseValidationError) Key ¶
func (e GatewayKasResponseValidationError) Key() bool
Key function returns key value.
func (GatewayKasResponseValidationError) Reason ¶
func (e GatewayKasResponseValidationError) Reason() string
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 ¶
func (m GatewayKasResponse_ErrorMultiError) Error() string
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 ¶
func (e GatewayKasResponse_ErrorValidationError) Cause() error
Cause function returns cause value.
func (GatewayKasResponse_ErrorValidationError) Error ¶
func (e GatewayKasResponse_ErrorValidationError) Error() string
Error satisfies the builtin error interface
func (GatewayKasResponse_ErrorValidationError) ErrorName ¶
func (e GatewayKasResponse_ErrorValidationError) ErrorName() string
ErrorName returns error name.
func (GatewayKasResponse_ErrorValidationError) Field ¶
func (e GatewayKasResponse_ErrorValidationError) Field() string
Field function returns field value.
func (GatewayKasResponse_ErrorValidationError) Key ¶
func (e GatewayKasResponse_ErrorValidationError) Key() bool
Key function returns key value.
func (GatewayKasResponse_ErrorValidationError) Reason ¶
func (e GatewayKasResponse_ErrorValidationError) Reason() string
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 (x *GatewayKasResponse_Header) GetMeta() map[string]*prototool.Values
func (*GatewayKasResponse_Header) Metadata ¶
func (x *GatewayKasResponse_Header) Metadata() metadata.MD
func (*GatewayKasResponse_Header) ProtoMessage ¶
func (*GatewayKasResponse_Header) ProtoMessage()
func (*GatewayKasResponse_Header) ProtoReflect ¶
func (x *GatewayKasResponse_Header) ProtoReflect() protoreflect.Message
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 ¶
func (m GatewayKasResponse_HeaderMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GatewayKasResponse_HeaderMultiError) Error ¶
func (m GatewayKasResponse_HeaderMultiError) Error() string
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 ¶
func (e GatewayKasResponse_HeaderValidationError) Cause() error
Cause function returns cause value.
func (GatewayKasResponse_HeaderValidationError) Error ¶
func (e GatewayKasResponse_HeaderValidationError) Error() string
Error satisfies the builtin error interface
func (GatewayKasResponse_HeaderValidationError) ErrorName ¶
func (e GatewayKasResponse_HeaderValidationError) ErrorName() string
ErrorName returns error name.
func (GatewayKasResponse_HeaderValidationError) Field ¶
func (e GatewayKasResponse_HeaderValidationError) Field() string
Field function returns field value.
func (GatewayKasResponse_HeaderValidationError) Key ¶
func (e GatewayKasResponse_HeaderValidationError) Key() bool
Key function returns key value.
func (GatewayKasResponse_HeaderValidationError) Reason ¶
func (e GatewayKasResponse_HeaderValidationError) Reason() string
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 (x *GatewayKasResponse_Message) ProtoReflect() protoreflect.Message
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 ¶
func (m GatewayKasResponse_MessageMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GatewayKasResponse_MessageMultiError) Error ¶
func (m GatewayKasResponse_MessageMultiError) Error() string
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 ¶
func (e GatewayKasResponse_MessageValidationError) Cause() error
Cause function returns cause value.
func (GatewayKasResponse_MessageValidationError) Error ¶
func (e GatewayKasResponse_MessageValidationError) Error() string
Error satisfies the builtin error interface
func (GatewayKasResponse_MessageValidationError) ErrorName ¶
func (e GatewayKasResponse_MessageValidationError) ErrorName() string
ErrorName returns error name.
func (GatewayKasResponse_MessageValidationError) Field ¶
func (e GatewayKasResponse_MessageValidationError) Field() string
Field function returns field value.
func (GatewayKasResponse_MessageValidationError) Key ¶
func (e GatewayKasResponse_MessageValidationError) Key() bool
Key function returns key value.
func (GatewayKasResponse_MessageValidationError) Reason ¶
func (e GatewayKasResponse_MessageValidationError) Reason() string
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 (x *GatewayKasResponse_NoTunnel) ProtoReflect() protoreflect.Message
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 ¶
func (m GatewayKasResponse_NoTunnelMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GatewayKasResponse_NoTunnelMultiError) Error ¶
func (m GatewayKasResponse_NoTunnelMultiError) Error() string
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 ¶
func (e GatewayKasResponse_NoTunnelValidationError) Cause() error
Cause function returns cause value.
func (GatewayKasResponse_NoTunnelValidationError) Error ¶
func (e GatewayKasResponse_NoTunnelValidationError) Error() string
Error satisfies the builtin error interface
func (GatewayKasResponse_NoTunnelValidationError) ErrorName ¶
func (e GatewayKasResponse_NoTunnelValidationError) ErrorName() string
ErrorName returns error name.
func (GatewayKasResponse_NoTunnelValidationError) Field ¶
func (e GatewayKasResponse_NoTunnelValidationError) Field() string
Field function returns field value.
func (GatewayKasResponse_NoTunnelValidationError) Key ¶
func (e GatewayKasResponse_NoTunnelValidationError) Key() bool
Key function returns key value.
func (GatewayKasResponse_NoTunnelValidationError) Reason ¶
func (e GatewayKasResponse_NoTunnelValidationError) Reason() string
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 (x *GatewayKasResponse_Trailer) GetMeta() map[string]*prototool.Values
func (*GatewayKasResponse_Trailer) Metadata ¶
func (x *GatewayKasResponse_Trailer) Metadata() metadata.MD
func (*GatewayKasResponse_Trailer) ProtoMessage ¶
func (*GatewayKasResponse_Trailer) ProtoMessage()
func (*GatewayKasResponse_Trailer) ProtoReflect ¶
func (x *GatewayKasResponse_Trailer) ProtoReflect() protoreflect.Message
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 ¶
func (m GatewayKasResponse_TrailerMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GatewayKasResponse_TrailerMultiError) Error ¶
func (m GatewayKasResponse_TrailerMultiError) Error() string
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 ¶
func (e GatewayKasResponse_TrailerValidationError) Cause() error
Cause function returns cause value.
func (GatewayKasResponse_TrailerValidationError) Error ¶
func (e GatewayKasResponse_TrailerValidationError) Error() string
Error satisfies the builtin error interface
func (GatewayKasResponse_TrailerValidationError) ErrorName ¶
func (e GatewayKasResponse_TrailerValidationError) ErrorName() string
ErrorName returns error name.
func (GatewayKasResponse_TrailerValidationError) Field ¶
func (e GatewayKasResponse_TrailerValidationError) Field() string
Field function returns field value.
func (GatewayKasResponse_TrailerValidationError) Key ¶
func (e GatewayKasResponse_TrailerValidationError) Key() bool
Key function returns key value.
func (GatewayKasResponse_TrailerValidationError) Reason ¶
func (e GatewayKasResponse_TrailerValidationError) Reason() string
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 (x *GatewayKasResponse_TunnelReady) ProtoReflect() protoreflect.Message
func (*GatewayKasResponse_TunnelReady) Reset ¶
func (x *GatewayKasResponse_TunnelReady) Reset()
func (*GatewayKasResponse_TunnelReady) String ¶
func (x *GatewayKasResponse_TunnelReady) String() 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 ¶
func (m GatewayKasResponse_TunnelReadyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GatewayKasResponse_TunnelReadyMultiError) Error ¶
func (m GatewayKasResponse_TunnelReadyMultiError) Error() string
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 ¶
func (e GatewayKasResponse_TunnelReadyValidationError) Cause() error
Cause function returns cause value.
func (GatewayKasResponse_TunnelReadyValidationError) Error ¶
func (e GatewayKasResponse_TunnelReadyValidationError) Error() string
Error satisfies the builtin error interface
func (GatewayKasResponse_TunnelReadyValidationError) ErrorName ¶
func (e GatewayKasResponse_TunnelReadyValidationError) ErrorName() string
ErrorName returns error name.
func (GatewayKasResponse_TunnelReadyValidationError) Field ¶
func (e GatewayKasResponse_TunnelReadyValidationError) Field() string
Field function returns field value.
func (GatewayKasResponse_TunnelReadyValidationError) Key ¶
func (e GatewayKasResponse_TunnelReadyValidationError) Key() bool
Key function returns key value.
func (GatewayKasResponse_TunnelReadyValidationError) Reason ¶
func (e GatewayKasResponse_TunnelReadyValidationError) Reason() string
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 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 ¶
func (e StartStreamingValidationError) Cause() error
Cause function returns cause value.
func (StartStreamingValidationError) Error ¶
func (e StartStreamingValidationError) Error() string
Error satisfies the builtin error interface
func (StartStreamingValidationError) ErrorName ¶
func (e StartStreamingValidationError) ErrorName() string
ErrorName returns error name.
func (StartStreamingValidationError) Field ¶
func (e StartStreamingValidationError) Field() string
Field function returns field value.
func (StartStreamingValidationError) Key ¶
func (e StartStreamingValidationError) Key() bool
Key function returns key value.
func (StartStreamingValidationError) Reason ¶
func (e StartStreamingValidationError) Reason() string
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
Source Files ¶
- agent_rpc_api.go
- app.go
- app_agent_server.go
- app_api_server.go
- app_internal_server.go
- app_private_api_server.go
- configured_app.go
- defaulting.go
- doc.go
- kasapp.extra_methods.go
- kasapp.pb.go
- kasapp.pb.validate.go
- router.go
- router_agent.go
- router_kas.go
- router_kas_stream_forwarder.go
- router_kas_tunnel_finder.go
- rpc_api.go
- server_api.go