mechanisms

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2021 License: Apache-2.0 Imports: 6 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.
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 Code generated by "-output vni_map.gen.go -type Map<vniKey,*vniKey> -output vni_map.gen.go -type Map<vniKey,*vniKey>"; DO NOT EDIT.
Package vni provides networkservice.NetworkService{Client,Server} chain elements for setting SrcIP/DstIP/VNI for the vxlan mechanism Code generated by "-output vni_map.gen.go -type Map<vniKey,*vniKey> -output vni_map.gen.go -type Map<vniKey,*vniKey>"; DO NOT EDIT.

Jump to

Keyboard shortcuts

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