Documentation ¶
Overview ¶
Package feature contains generated bindings for API file feature.api.
Contents:
2 messages
Index ¶
- Constants
- func AllMessages() []api.Message
- type FeatureEnableDisable
- func (*FeatureEnableDisable) GetCrcString() string
- func (*FeatureEnableDisable) GetMessageName() string
- func (*FeatureEnableDisable) GetMessageType() api.MessageType
- func (m *FeatureEnableDisable) Marshal(b []byte) ([]byte, error)
- func (m *FeatureEnableDisable) Reset()
- func (m *FeatureEnableDisable) Size() (size int)
- func (m *FeatureEnableDisable) Unmarshal(b []byte) error
- type FeatureEnableDisableReply
- func (*FeatureEnableDisableReply) GetCrcString() string
- func (*FeatureEnableDisableReply) GetMessageName() string
- func (*FeatureEnableDisableReply) GetMessageType() api.MessageType
- func (m *FeatureEnableDisableReply) Marshal(b []byte) ([]byte, error)
- func (m *FeatureEnableDisableReply) Reset()
- func (m *FeatureEnableDisableReply) Size() (size int)
- func (m *FeatureEnableDisableReply) Unmarshal(b []byte) error
- type RPCService
Constants ¶
View Source
const ( APIFile = "feature" APIVersion = "1.0.2" VersionCrc = 0x8a6e6da1 )
Variables ¶
This section is empty.
Functions ¶
func AllMessages ¶
Messages returns list of all messages in this module.
Types ¶
type FeatureEnableDisable ¶
type FeatureEnableDisable struct { SwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"` Enable bool `binapi:"bool,name=enable" json:"enable,omitempty"` ArcName string `binapi:"string[64],name=arc_name" json:"arc_name,omitempty"` FeatureName string `binapi:"string[64],name=feature_name" json:"feature_name,omitempty"` }
FeatureEnableDisable defines message 'feature_enable_disable'.
func (*FeatureEnableDisable) GetCrcString ¶
func (*FeatureEnableDisable) GetCrcString() string
func (*FeatureEnableDisable) GetMessageName ¶
func (*FeatureEnableDisable) GetMessageName() string
func (*FeatureEnableDisable) GetMessageType ¶
func (*FeatureEnableDisable) GetMessageType() api.MessageType
func (*FeatureEnableDisable) Marshal ¶
func (m *FeatureEnableDisable) Marshal(b []byte) ([]byte, error)
func (*FeatureEnableDisable) Reset ¶
func (m *FeatureEnableDisable) Reset()
func (*FeatureEnableDisable) Size ¶
func (m *FeatureEnableDisable) Size() (size int)
func (*FeatureEnableDisable) Unmarshal ¶
func (m *FeatureEnableDisable) Unmarshal(b []byte) error
type FeatureEnableDisableReply ¶
type FeatureEnableDisableReply struct {
Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}
FeatureEnableDisableReply defines message 'feature_enable_disable_reply'.
func (*FeatureEnableDisableReply) GetCrcString ¶
func (*FeatureEnableDisableReply) GetCrcString() string
func (*FeatureEnableDisableReply) GetMessageName ¶
func (*FeatureEnableDisableReply) GetMessageName() string
func (*FeatureEnableDisableReply) GetMessageType ¶
func (*FeatureEnableDisableReply) GetMessageType() api.MessageType
func (*FeatureEnableDisableReply) Marshal ¶
func (m *FeatureEnableDisableReply) Marshal(b []byte) ([]byte, error)
func (*FeatureEnableDisableReply) Reset ¶
func (m *FeatureEnableDisableReply) Reset()
func (*FeatureEnableDisableReply) Size ¶
func (m *FeatureEnableDisableReply) Size() (size int)
func (*FeatureEnableDisableReply) Unmarshal ¶
func (m *FeatureEnableDisableReply) Unmarshal(b []byte) error
type RPCService ¶
type RPCService interface {
FeatureEnableDisable(ctx context.Context, in *FeatureEnableDisable) (*FeatureEnableDisableReply, error)
}
RPCService defines RPC service feature.
func NewServiceClient ¶
func NewServiceClient(conn api.Connection) RPCService
Click to show internal directories.
Click to hide internal directories.