Documentation ¶
Index ¶
- Variables
- type BaggageRestriction
- func (p *BaggageRestriction) Equals(other *BaggageRestriction) bool
- func (p *BaggageRestriction) GetBaggageKey() string
- func (p *BaggageRestriction) GetMaxValueLength() int32
- func (p *BaggageRestriction) Read(ctx context.Context, iprot thrift.TProtocol) error
- func (p *BaggageRestriction) ReadField1(ctx context.Context, iprot thrift.TProtocol) error
- func (p *BaggageRestriction) ReadField2(ctx context.Context, iprot thrift.TProtocol) error
- func (p *BaggageRestriction) String() string
- func (p *BaggageRestriction) Write(ctx context.Context, oprot thrift.TProtocol) error
- type BaggageRestrictionManager
- type BaggageRestrictionManagerClient
- func NewBaggageRestrictionManagerClient(c thrift.TClient) *BaggageRestrictionManagerClient
- func NewBaggageRestrictionManagerClientFactory(t thrift.TTransport, f thrift.TProtocolFactory) *BaggageRestrictionManagerClient
- func NewBaggageRestrictionManagerClientProtocol(t thrift.TTransport, iprot thrift.TProtocol, oprot thrift.TProtocol) *BaggageRestrictionManagerClient
- func (p *BaggageRestrictionManagerClient) Client_() thrift.TClient
- func (p *BaggageRestrictionManagerClient) GetBaggageRestrictions(ctx context.Context, serviceName string) (_r []*BaggageRestriction, _err error)
- func (p *BaggageRestrictionManagerClient) LastResponseMeta_() thrift.ResponseMeta
- func (p *BaggageRestrictionManagerClient) SetLastResponseMeta_(meta thrift.ResponseMeta)
- type BaggageRestrictionManagerGetBaggageRestrictionsArgs
- func (p *BaggageRestrictionManagerGetBaggageRestrictionsArgs) GetServiceName() string
- func (p *BaggageRestrictionManagerGetBaggageRestrictionsArgs) Read(ctx context.Context, iprot thrift.TProtocol) error
- func (p *BaggageRestrictionManagerGetBaggageRestrictionsArgs) ReadField1(ctx context.Context, iprot thrift.TProtocol) error
- func (p *BaggageRestrictionManagerGetBaggageRestrictionsArgs) String() string
- func (p *BaggageRestrictionManagerGetBaggageRestrictionsArgs) Write(ctx context.Context, oprot thrift.TProtocol) error
- type BaggageRestrictionManagerGetBaggageRestrictionsResult
- func (p *BaggageRestrictionManagerGetBaggageRestrictionsResult) GetSuccess() []*BaggageRestriction
- func (p *BaggageRestrictionManagerGetBaggageRestrictionsResult) IsSetSuccess() bool
- func (p *BaggageRestrictionManagerGetBaggageRestrictionsResult) Read(ctx context.Context, iprot thrift.TProtocol) error
- func (p *BaggageRestrictionManagerGetBaggageRestrictionsResult) ReadField0(ctx context.Context, iprot thrift.TProtocol) error
- func (p *BaggageRestrictionManagerGetBaggageRestrictionsResult) String() string
- func (p *BaggageRestrictionManagerGetBaggageRestrictionsResult) Write(ctx context.Context, oprot thrift.TProtocol) error
- type BaggageRestrictionManagerProcessor
- func (p *BaggageRestrictionManagerProcessor) AddToProcessorMap(key string, processor thrift.TProcessorFunction)
- func (p *BaggageRestrictionManagerProcessor) GetProcessorFunction(key string) (processor thrift.TProcessorFunction, ok bool)
- func (p *BaggageRestrictionManagerProcessor) Process(ctx context.Context, iprot, oprot thrift.TProtocol) (success bool, err thrift.TException)
- func (p *BaggageRestrictionManagerProcessor) ProcessorMap() map[string]thrift.TProcessorFunction
Constants ¶
This section is empty.
Variables ¶
View Source
var BaggageRestrictionManagerGetBaggageRestrictionsResult_Success_DEFAULT []*BaggageRestriction
View Source
var GoUnusedProtection__ int
Functions ¶
This section is empty.
Types ¶
type BaggageRestriction ¶
type BaggageRestriction struct { BaggageKey string `thrift:"baggageKey,1,required" db:"baggageKey" json:"baggageKey"` MaxValueLength int32 `thrift:"maxValueLength,2,required" db:"maxValueLength" json:"maxValueLength"` }
Attributes:
- BaggageKey
- MaxValueLength
func NewBaggageRestriction ¶
func NewBaggageRestriction() *BaggageRestriction
func (*BaggageRestriction) Equals ¶ added in v2.29.0
func (p *BaggageRestriction) Equals(other *BaggageRestriction) bool
func (*BaggageRestriction) GetBaggageKey ¶
func (p *BaggageRestriction) GetBaggageKey() string
func (*BaggageRestriction) GetMaxValueLength ¶
func (p *BaggageRestriction) GetMaxValueLength() int32
func (*BaggageRestriction) ReadField1 ¶ added in v2.29.0
func (*BaggageRestriction) ReadField2 ¶ added in v2.29.0
func (*BaggageRestriction) String ¶
func (p *BaggageRestriction) String() string
type BaggageRestrictionManager ¶
type BaggageRestrictionManager interface { // getBaggageRestrictions retrieves the baggage restrictions for a specific service. // Usually, baggageRestrictions apply to all services however there may be situations // where a baggageKey might only be allowed to be set by a specific service. // // Parameters: // - ServiceName GetBaggageRestrictions(ctx context.Context, serviceName string) (_r []*BaggageRestriction, _err error) }
type BaggageRestrictionManagerClient ¶
type BaggageRestrictionManagerClient struct {
// contains filtered or unexported fields
}
func NewBaggageRestrictionManagerClient ¶ added in v2.29.0
func NewBaggageRestrictionManagerClient(c thrift.TClient) *BaggageRestrictionManagerClient
func NewBaggageRestrictionManagerClientFactory ¶
func NewBaggageRestrictionManagerClientFactory(t thrift.TTransport, f thrift.TProtocolFactory) *BaggageRestrictionManagerClient
func NewBaggageRestrictionManagerClientProtocol ¶
func NewBaggageRestrictionManagerClientProtocol(t thrift.TTransport, iprot thrift.TProtocol, oprot thrift.TProtocol) *BaggageRestrictionManagerClient
func (*BaggageRestrictionManagerClient) Client_ ¶ added in v2.29.0
func (p *BaggageRestrictionManagerClient) Client_() thrift.TClient
func (*BaggageRestrictionManagerClient) GetBaggageRestrictions ¶
func (p *BaggageRestrictionManagerClient) GetBaggageRestrictions(ctx context.Context, serviceName string) (_r []*BaggageRestriction, _err error)
getBaggageRestrictions retrieves the baggage restrictions for a specific service. Usually, baggageRestrictions apply to all services however there may be situations where a baggageKey might only be allowed to be set by a specific service.
Parameters:
- ServiceName
func (*BaggageRestrictionManagerClient) LastResponseMeta_ ¶ added in v2.29.0
func (p *BaggageRestrictionManagerClient) LastResponseMeta_() thrift.ResponseMeta
func (*BaggageRestrictionManagerClient) SetLastResponseMeta_ ¶ added in v2.29.0
func (p *BaggageRestrictionManagerClient) SetLastResponseMeta_(meta thrift.ResponseMeta)
type BaggageRestrictionManagerGetBaggageRestrictionsArgs ¶
type BaggageRestrictionManagerGetBaggageRestrictionsArgs struct {
ServiceName string `thrift:"serviceName,1" db:"serviceName" json:"serviceName"`
}
Attributes:
- ServiceName
func NewBaggageRestrictionManagerGetBaggageRestrictionsArgs ¶
func NewBaggageRestrictionManagerGetBaggageRestrictionsArgs() *BaggageRestrictionManagerGetBaggageRestrictionsArgs
func (*BaggageRestrictionManagerGetBaggageRestrictionsArgs) GetServiceName ¶
func (p *BaggageRestrictionManagerGetBaggageRestrictionsArgs) GetServiceName() string
func (*BaggageRestrictionManagerGetBaggageRestrictionsArgs) ReadField1 ¶ added in v2.29.0
func (*BaggageRestrictionManagerGetBaggageRestrictionsArgs) String ¶
func (p *BaggageRestrictionManagerGetBaggageRestrictionsArgs) String() string
type BaggageRestrictionManagerGetBaggageRestrictionsResult ¶
type BaggageRestrictionManagerGetBaggageRestrictionsResult struct {
Success []*BaggageRestriction `thrift:"success,0" db:"success" json:"success,omitempty"`
}
Attributes:
- Success
func NewBaggageRestrictionManagerGetBaggageRestrictionsResult ¶
func NewBaggageRestrictionManagerGetBaggageRestrictionsResult() *BaggageRestrictionManagerGetBaggageRestrictionsResult
func (*BaggageRestrictionManagerGetBaggageRestrictionsResult) GetSuccess ¶
func (p *BaggageRestrictionManagerGetBaggageRestrictionsResult) GetSuccess() []*BaggageRestriction
func (*BaggageRestrictionManagerGetBaggageRestrictionsResult) IsSetSuccess ¶
func (p *BaggageRestrictionManagerGetBaggageRestrictionsResult) IsSetSuccess() bool
func (*BaggageRestrictionManagerGetBaggageRestrictionsResult) ReadField0 ¶ added in v2.29.0
func (*BaggageRestrictionManagerGetBaggageRestrictionsResult) String ¶
func (p *BaggageRestrictionManagerGetBaggageRestrictionsResult) String() string
type BaggageRestrictionManagerProcessor ¶
type BaggageRestrictionManagerProcessor struct {
// contains filtered or unexported fields
}
func NewBaggageRestrictionManagerProcessor ¶
func NewBaggageRestrictionManagerProcessor(handler BaggageRestrictionManager) *BaggageRestrictionManagerProcessor
func (*BaggageRestrictionManagerProcessor) AddToProcessorMap ¶
func (p *BaggageRestrictionManagerProcessor) AddToProcessorMap(key string, processor thrift.TProcessorFunction)
func (*BaggageRestrictionManagerProcessor) GetProcessorFunction ¶
func (p *BaggageRestrictionManagerProcessor) GetProcessorFunction(key string) (processor thrift.TProcessorFunction, ok bool)
func (*BaggageRestrictionManagerProcessor) Process ¶
func (p *BaggageRestrictionManagerProcessor) Process(ctx context.Context, iprot, oprot thrift.TProtocol) (success bool, err thrift.TException)
func (*BaggageRestrictionManagerProcessor) ProcessorMap ¶
func (p *BaggageRestrictionManagerProcessor) ProcessorMap() map[string]thrift.TProcessorFunction
Click to show internal directories.
Click to hide internal directories.