Documentation ¶
Overview ¶
Package trace contains generated bindings for API file trace.api.
Contents: - 6 messages
Index ¶
- Constants
- func AllMessages() []api.Message
- type RPCService
- type TraceProfileAdd
- func (*TraceProfileAdd) GetCrcString() string
- func (*TraceProfileAdd) GetMessageName() string
- func (*TraceProfileAdd) GetMessageType() api.MessageType
- func (m *TraceProfileAdd) Marshal(b []byte) ([]byte, error)
- func (m *TraceProfileAdd) Reset()
- func (m *TraceProfileAdd) Size() (size int)
- func (m *TraceProfileAdd) Unmarshal(b []byte) error
- type TraceProfileAddReply
- func (*TraceProfileAddReply) GetCrcString() string
- func (*TraceProfileAddReply) GetMessageName() string
- func (*TraceProfileAddReply) GetMessageType() api.MessageType
- func (m *TraceProfileAddReply) Marshal(b []byte) ([]byte, error)
- func (m *TraceProfileAddReply) Reset()
- func (m *TraceProfileAddReply) Size() (size int)
- func (m *TraceProfileAddReply) Unmarshal(b []byte) error
- type TraceProfileDel
- func (*TraceProfileDel) GetCrcString() string
- func (*TraceProfileDel) GetMessageName() string
- func (*TraceProfileDel) GetMessageType() api.MessageType
- func (m *TraceProfileDel) Marshal(b []byte) ([]byte, error)
- func (m *TraceProfileDel) Reset()
- func (m *TraceProfileDel) Size() (size int)
- func (m *TraceProfileDel) Unmarshal(b []byte) error
- type TraceProfileDelReply
- func (*TraceProfileDelReply) GetCrcString() string
- func (*TraceProfileDelReply) GetMessageName() string
- func (*TraceProfileDelReply) GetMessageType() api.MessageType
- func (m *TraceProfileDelReply) Marshal(b []byte) ([]byte, error)
- func (m *TraceProfileDelReply) Reset()
- func (m *TraceProfileDelReply) Size() (size int)
- func (m *TraceProfileDelReply) Unmarshal(b []byte) error
- type TraceProfileShowConfig
- func (*TraceProfileShowConfig) GetCrcString() string
- func (*TraceProfileShowConfig) GetMessageName() string
- func (*TraceProfileShowConfig) GetMessageType() api.MessageType
- func (m *TraceProfileShowConfig) Marshal(b []byte) ([]byte, error)
- func (m *TraceProfileShowConfig) Reset()
- func (m *TraceProfileShowConfig) Size() (size int)
- func (m *TraceProfileShowConfig) Unmarshal(b []byte) error
- type TraceProfileShowConfigReply
- func (*TraceProfileShowConfigReply) GetCrcString() string
- func (*TraceProfileShowConfigReply) GetMessageName() string
- func (*TraceProfileShowConfigReply) GetMessageType() api.MessageType
- func (m *TraceProfileShowConfigReply) Marshal(b []byte) ([]byte, error)
- func (m *TraceProfileShowConfigReply) Reset()
- func (m *TraceProfileShowConfigReply) Size() (size int)
- func (m *TraceProfileShowConfigReply) Unmarshal(b []byte) error
Constants ¶
const ( APIFile = "trace" APIVersion = "1.0.0" VersionCrc = 0x397cbf90 )
Variables ¶
This section is empty.
Functions ¶
func AllMessages ¶
Messages returns list of all messages in this module.
Types ¶
type RPCService ¶
type RPCService interface { TraceProfileAdd(ctx context.Context, in *TraceProfileAdd) (*TraceProfileAddReply, error) TraceProfileDel(ctx context.Context, in *TraceProfileDel) (*TraceProfileDelReply, error) TraceProfileShowConfig(ctx context.Context, in *TraceProfileShowConfig) (*TraceProfileShowConfigReply, error) }
RPCService defines RPC service trace.
func NewServiceClient ¶
func NewServiceClient(conn api.Connection) RPCService
type TraceProfileAdd ¶
type TraceProfileAdd struct { TraceType uint8 `binapi:"u8,name=trace_type" json:"trace_type,omitempty"` NumElts uint8 `binapi:"u8,name=num_elts" json:"num_elts,omitempty"` TraceTsp uint8 `binapi:"u8,name=trace_tsp" json:"trace_tsp,omitempty"` NodeID uint32 `binapi:"u32,name=node_id" json:"node_id,omitempty"` AppData uint32 `binapi:"u32,name=app_data" json:"app_data,omitempty"` }
iOAM6 Trace - Set the iOAM6 trace profile
- trace_type - Type of trace requested
- num_elts - Number of trace elements to be inserted
- node_id - Trace Node ID
- trace_tsp- Timestamp resolution
- app_data - Application specific opaque
TraceProfileAdd defines message 'trace_profile_add'.
func (*TraceProfileAdd) GetCrcString ¶
func (*TraceProfileAdd) GetCrcString() string
func (*TraceProfileAdd) GetMessageName ¶
func (*TraceProfileAdd) GetMessageName() string
func (*TraceProfileAdd) GetMessageType ¶
func (*TraceProfileAdd) GetMessageType() api.MessageType
func (*TraceProfileAdd) Reset ¶
func (m *TraceProfileAdd) Reset()
func (*TraceProfileAdd) Size ¶
func (m *TraceProfileAdd) Size() (size int)
func (*TraceProfileAdd) Unmarshal ¶
func (m *TraceProfileAdd) Unmarshal(b []byte) error
type TraceProfileAddReply ¶
type TraceProfileAddReply struct {
Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}
TraceProfileAddReply defines message 'trace_profile_add_reply'.
func (*TraceProfileAddReply) GetCrcString ¶
func (*TraceProfileAddReply) GetCrcString() string
func (*TraceProfileAddReply) GetMessageName ¶
func (*TraceProfileAddReply) GetMessageName() string
func (*TraceProfileAddReply) GetMessageType ¶
func (*TraceProfileAddReply) GetMessageType() api.MessageType
func (*TraceProfileAddReply) Marshal ¶
func (m *TraceProfileAddReply) Marshal(b []byte) ([]byte, error)
func (*TraceProfileAddReply) Reset ¶
func (m *TraceProfileAddReply) Reset()
func (*TraceProfileAddReply) Size ¶
func (m *TraceProfileAddReply) Size() (size int)
func (*TraceProfileAddReply) Unmarshal ¶
func (m *TraceProfileAddReply) Unmarshal(b []byte) error
type TraceProfileDel ¶
type TraceProfileDel struct{}
Delete trace Profile TraceProfileDel defines message 'trace_profile_del'.
func (*TraceProfileDel) GetCrcString ¶
func (*TraceProfileDel) GetCrcString() string
func (*TraceProfileDel) GetMessageName ¶
func (*TraceProfileDel) GetMessageName() string
func (*TraceProfileDel) GetMessageType ¶
func (*TraceProfileDel) GetMessageType() api.MessageType
func (*TraceProfileDel) Reset ¶
func (m *TraceProfileDel) Reset()
func (*TraceProfileDel) Size ¶
func (m *TraceProfileDel) Size() (size int)
func (*TraceProfileDel) Unmarshal ¶
func (m *TraceProfileDel) Unmarshal(b []byte) error
type TraceProfileDelReply ¶
type TraceProfileDelReply struct {
Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}
TraceProfileDelReply defines message 'trace_profile_del_reply'.
func (*TraceProfileDelReply) GetCrcString ¶
func (*TraceProfileDelReply) GetCrcString() string
func (*TraceProfileDelReply) GetMessageName ¶
func (*TraceProfileDelReply) GetMessageName() string
func (*TraceProfileDelReply) GetMessageType ¶
func (*TraceProfileDelReply) GetMessageType() api.MessageType
func (*TraceProfileDelReply) Marshal ¶
func (m *TraceProfileDelReply) Marshal(b []byte) ([]byte, error)
func (*TraceProfileDelReply) Reset ¶
func (m *TraceProfileDelReply) Reset()
func (*TraceProfileDelReply) Size ¶
func (m *TraceProfileDelReply) Size() (size int)
func (*TraceProfileDelReply) Unmarshal ¶
func (m *TraceProfileDelReply) Unmarshal(b []byte) error
type TraceProfileShowConfig ¶
type TraceProfileShowConfig struct{}
Show trace Profile TraceProfileShowConfig defines message 'trace_profile_show_config'.
func (*TraceProfileShowConfig) GetCrcString ¶
func (*TraceProfileShowConfig) GetCrcString() string
func (*TraceProfileShowConfig) GetMessageName ¶
func (*TraceProfileShowConfig) GetMessageName() string
func (*TraceProfileShowConfig) GetMessageType ¶
func (*TraceProfileShowConfig) GetMessageType() api.MessageType
func (*TraceProfileShowConfig) Marshal ¶
func (m *TraceProfileShowConfig) Marshal(b []byte) ([]byte, error)
func (*TraceProfileShowConfig) Reset ¶
func (m *TraceProfileShowConfig) Reset()
func (*TraceProfileShowConfig) Size ¶
func (m *TraceProfileShowConfig) Size() (size int)
func (*TraceProfileShowConfig) Unmarshal ¶
func (m *TraceProfileShowConfig) Unmarshal(b []byte) error
type TraceProfileShowConfigReply ¶
type TraceProfileShowConfigReply struct { Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"` TraceType uint8 `binapi:"u8,name=trace_type" json:"trace_type,omitempty"` NumElts uint8 `binapi:"u8,name=num_elts" json:"num_elts,omitempty"` TraceTsp uint8 `binapi:"u8,name=trace_tsp" json:"trace_tsp,omitempty"` NodeID uint32 `binapi:"u32,name=node_id" json:"node_id,omitempty"` AppData uint32 `binapi:"u32,name=app_data" json:"app_data,omitempty"` }
Show trace config response
- retval - return value for request
- trace_type - Type of trace requested
- num_elts - Number of trace elements to be inserted
- node_id - Trace Node ID
- trace_tsp- Timestamp resolution
- app_data - Application specific opaque
TraceProfileShowConfigReply defines message 'trace_profile_show_config_reply'.
func (*TraceProfileShowConfigReply) GetCrcString ¶
func (*TraceProfileShowConfigReply) GetCrcString() string
func (*TraceProfileShowConfigReply) GetMessageName ¶
func (*TraceProfileShowConfigReply) GetMessageName() string
func (*TraceProfileShowConfigReply) GetMessageType ¶
func (*TraceProfileShowConfigReply) GetMessageType() api.MessageType
func (*TraceProfileShowConfigReply) Marshal ¶
func (m *TraceProfileShowConfigReply) Marshal(b []byte) ([]byte, error)
func (*TraceProfileShowConfigReply) Reset ¶
func (m *TraceProfileShowConfigReply) Reset()
func (*TraceProfileShowConfigReply) Size ¶
func (m *TraceProfileShowConfigReply) Size() (size int)
func (*TraceProfileShowConfigReply) Unmarshal ¶
func (m *TraceProfileShowConfigReply) Unmarshal(b []byte) error