flow

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: 7 Imported by: 0

Documentation

Overview

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

Contents:

8 messages

Index

Constants

View Source
const (
	APIFile    = "flow"
	APIVersion = "0.0.2"
	VersionCrc = 0x140d3585
)

Variables

This section is empty.

Functions

func AllMessages

func AllMessages() []api.Message

Messages returns list of all messages in this module.

Types

type FlowAdd

type FlowAdd struct {
	Flow flow_types.FlowRule `binapi:"flow_rule,name=flow" json:"flow,omitempty"`
}

FlowAdd defines message 'flow_add'. InProgress: the message form may change in the future versions

func (*FlowAdd) GetCrcString

func (*FlowAdd) GetCrcString() string

func (*FlowAdd) GetMessageName

func (*FlowAdd) GetMessageName() string

func (*FlowAdd) GetMessageType

func (*FlowAdd) GetMessageType() api.MessageType

func (*FlowAdd) Marshal

func (m *FlowAdd) Marshal(b []byte) ([]byte, error)

func (*FlowAdd) Reset

func (m *FlowAdd) Reset()

func (*FlowAdd) Size

func (m *FlowAdd) Size() (size int)

func (*FlowAdd) Unmarshal

func (m *FlowAdd) Unmarshal(b []byte) error

type FlowAddReply

type FlowAddReply struct {
	Retval    int32  `binapi:"i32,name=retval" json:"retval,omitempty"`
	FlowIndex uint32 `binapi:"u32,name=flow_index" json:"flow_index,omitempty"`
}

FlowAddReply defines message 'flow_add_reply'. InProgress: the message form may change in the future versions

func (*FlowAddReply) GetCrcString

func (*FlowAddReply) GetCrcString() string

func (*FlowAddReply) GetMessageName

func (*FlowAddReply) GetMessageName() string

func (*FlowAddReply) GetMessageType

func (*FlowAddReply) GetMessageType() api.MessageType

func (*FlowAddReply) Marshal

func (m *FlowAddReply) Marshal(b []byte) ([]byte, error)

func (*FlowAddReply) Reset

func (m *FlowAddReply) Reset()

func (*FlowAddReply) Size

func (m *FlowAddReply) Size() (size int)

func (*FlowAddReply) Unmarshal

func (m *FlowAddReply) Unmarshal(b []byte) error

type FlowDel

type FlowDel struct {
	FlowIndex uint32 `binapi:"u32,name=flow_index" json:"flow_index,omitempty"`
}

FlowDel defines message 'flow_del'. InProgress: the message form may change in the future versions

func (*FlowDel) GetCrcString

func (*FlowDel) GetCrcString() string

func (*FlowDel) GetMessageName

func (*FlowDel) GetMessageName() string

func (*FlowDel) GetMessageType

func (*FlowDel) GetMessageType() api.MessageType

func (*FlowDel) Marshal

func (m *FlowDel) Marshal(b []byte) ([]byte, error)

func (*FlowDel) Reset

func (m *FlowDel) Reset()

func (*FlowDel) Size

func (m *FlowDel) Size() (size int)

func (*FlowDel) Unmarshal

func (m *FlowDel) Unmarshal(b []byte) error

type FlowDelReply

type FlowDelReply struct {
	Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}

FlowDelReply defines message 'flow_del_reply'. InProgress: the message form may change in the future versions

func (*FlowDelReply) GetCrcString

func (*FlowDelReply) GetCrcString() string

func (*FlowDelReply) GetMessageName

func (*FlowDelReply) GetMessageName() string

func (*FlowDelReply) GetMessageType

func (*FlowDelReply) GetMessageType() api.MessageType

func (*FlowDelReply) Marshal

func (m *FlowDelReply) Marshal(b []byte) ([]byte, error)

func (*FlowDelReply) Reset

func (m *FlowDelReply) Reset()

func (*FlowDelReply) Size

func (m *FlowDelReply) Size() (size int)

func (*FlowDelReply) Unmarshal

func (m *FlowDelReply) Unmarshal(b []byte) error

type FlowDisable

type FlowDisable struct {
	FlowIndex uint32 `binapi:"u32,name=flow_index" json:"flow_index,omitempty"`
	HwIfIndex uint32 `binapi:"u32,name=hw_if_index" json:"hw_if_index,omitempty"`
}

FlowDisable defines message 'flow_disable'. InProgress: the message form may change in the future versions

func (*FlowDisable) GetCrcString

func (*FlowDisable) GetCrcString() string

func (*FlowDisable) GetMessageName

func (*FlowDisable) GetMessageName() string

func (*FlowDisable) GetMessageType

func (*FlowDisable) GetMessageType() api.MessageType

func (*FlowDisable) Marshal

func (m *FlowDisable) Marshal(b []byte) ([]byte, error)

func (*FlowDisable) Reset

func (m *FlowDisable) Reset()

func (*FlowDisable) Size

func (m *FlowDisable) Size() (size int)

func (*FlowDisable) Unmarshal

func (m *FlowDisable) Unmarshal(b []byte) error

type FlowDisableReply

type FlowDisableReply struct {
	Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}

FlowDisableReply defines message 'flow_disable_reply'. InProgress: the message form may change in the future versions

func (*FlowDisableReply) GetCrcString

func (*FlowDisableReply) GetCrcString() string

func (*FlowDisableReply) GetMessageName

func (*FlowDisableReply) GetMessageName() string

func (*FlowDisableReply) GetMessageType

func (*FlowDisableReply) GetMessageType() api.MessageType

func (*FlowDisableReply) Marshal

func (m *FlowDisableReply) Marshal(b []byte) ([]byte, error)

func (*FlowDisableReply) Reset

func (m *FlowDisableReply) Reset()

func (*FlowDisableReply) Size

func (m *FlowDisableReply) Size() (size int)

func (*FlowDisableReply) Unmarshal

func (m *FlowDisableReply) Unmarshal(b []byte) error

type FlowEnable

type FlowEnable struct {
	FlowIndex uint32 `binapi:"u32,name=flow_index" json:"flow_index,omitempty"`
	HwIfIndex uint32 `binapi:"u32,name=hw_if_index" json:"hw_if_index,omitempty"`
}

FlowEnable defines message 'flow_enable'. InProgress: the message form may change in the future versions

func (*FlowEnable) GetCrcString

func (*FlowEnable) GetCrcString() string

func (*FlowEnable) GetMessageName

func (*FlowEnable) GetMessageName() string

func (*FlowEnable) GetMessageType

func (*FlowEnable) GetMessageType() api.MessageType

func (*FlowEnable) Marshal

func (m *FlowEnable) Marshal(b []byte) ([]byte, error)

func (*FlowEnable) Reset

func (m *FlowEnable) Reset()

func (*FlowEnable) Size

func (m *FlowEnable) Size() (size int)

func (*FlowEnable) Unmarshal

func (m *FlowEnable) Unmarshal(b []byte) error

type FlowEnableReply

type FlowEnableReply struct {
	Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}

FlowEnableReply defines message 'flow_enable_reply'. InProgress: the message form may change in the future versions

func (*FlowEnableReply) GetCrcString

func (*FlowEnableReply) GetCrcString() string

func (*FlowEnableReply) GetMessageName

func (*FlowEnableReply) GetMessageName() string

func (*FlowEnableReply) GetMessageType

func (*FlowEnableReply) GetMessageType() api.MessageType

func (*FlowEnableReply) Marshal

func (m *FlowEnableReply) Marshal(b []byte) ([]byte, error)

func (*FlowEnableReply) Reset

func (m *FlowEnableReply) Reset()

func (*FlowEnableReply) Size

func (m *FlowEnableReply) Size() (size int)

func (*FlowEnableReply) Unmarshal

func (m *FlowEnableReply) Unmarshal(b []byte) error

type RPCService

type RPCService interface {
	FlowAdd(ctx context.Context, in *FlowAdd) (*FlowAddReply, error)
	FlowDel(ctx context.Context, in *FlowDel) (*FlowDelReply, error)
	FlowDisable(ctx context.Context, in *FlowDisable) (*FlowDisableReply, error)
	FlowEnable(ctx context.Context, in *FlowEnable) (*FlowEnableReply, error)
}

RPCService defines RPC service flow.

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