feature

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package feature contains generated bindings for API file feature.api.

Contents:

2 messages

Index

Constants

View Source
const (
	APIFile    = "feature"
	APIVersion = "1.0.2"
	VersionCrc = 0x8a6e6da1
)

Variables

This section is empty.

Functions

func AllMessages

func AllMessages() []api.Message

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

Jump to

Keyboard shortcuts

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