mechanisms

package
v1.13.2-rc.1 Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2024 License: Apache-2.0 Imports: 7 Imported by: 19

Documentation

Overview

Package mechanisms provides a simple shim to allow the attempt to select a mechanism based on the MechanismPreference expressed in the Request.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewClient

NewClient - returns a new mechanisms networkservicemesh.NetworkServiceClient

func NewServer

NewServer - returns new NetworkServiceServer chain element that will attempt to meet the request.MechanismPreferences using

the provided maps of MechanismType to NetworkServiceServer
- mechanisms
      key:    mechanismType
      value:  NetworkServiceServer that only handles the work for the specified mechanismType
              Note: Supplied NetworkServiceServer elements should not call next.Server(ctx).{Request,Close} themselves

Types

This section is empty.

Directories

Path Synopsis
Package checkmechanism provides TestSuites for use with implementations of a mechanism networkservice chain element.
Package checkmechanism provides TestSuites for use with implementations of a mechanism networkservice chain element.
Package kernel provides the necessary mechanisms to request and inject a kernel interface.
Package kernel provides the necessary mechanisms to request and inject a kernel interface.
vlan
Package vlan provides server chain element setting vlan id on the kernel mechanism
Package vlan provides server chain element setting vlan id on the kernel mechanism
Package recvfd provides a NetworkService{Client,Server} chain element that looks at Connection.Mechanism.Parameters[common.InodeURL] with scheme 'inode' and receives the fds (if possible) and converts them to scheme file.
Package recvfd provides a NetworkService{Client,Server} chain element that looks at Connection.Mechanism.Parameters[common.InodeURL] with scheme 'inode' and receives the fds (if possible) and converts them to scheme file.
Package sendfd provides a NetworkService{Client,Server} chain element that looks at the Connection.Mechanism and Request.MechanismPreferences and if they have the Parameters[common.InodeURL] with scheme 'file' converts them to scheme inode and sends them over the connection as fds if possible.
Package sendfd provides a NetworkService{Client,Server} chain element that looks at the Connection.Mechanism and Request.MechanismPreferences and if they have the Parameters[common.InodeURL] with scheme 'file' converts them to scheme inode and sends them over the connection as fds if possible.
vxlan
vni
Package vni provides networkservice.NetworkService{Client,Server} chain elements for setting SrcIP/DstIP/VNI for the vxlan mechanism
Package vni provides networkservice.NetworkService{Client,Server} chain elements for setting SrcIP/DstIP/VNI for the vxlan mechanism

Jump to

Keyboard shortcuts

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