routes

package
v1.13.0 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Overview

Package routes provides a networkservice chain elements that sets the routes in the kernel interfaces from the connection context

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewClient

NewClient creates a NetworkServiceClient that will put the routes from the connection context into

the kernel network namespace kernel interface being inserted iff the
selected mechanism for the connection is a kernel mechanism
           Client
+- - - - - - - - - - - - - - - -+         +---------------------------+
|                               |         |  kernel network namespace |
                                          |                           |
|                               |         |                           |
                                          |                           |
|                               |         |                           |
                                          |                           |
|                               |         |                           |
                                +--------- ---------+                 |
|                               |         |                           |
                                          |                           |
|                               |         |                           |
                                          |      routes.Client()      |
|                               |         |                           |
                                          |                           |
|                               |         |                           |
+- - - - - - - - - - - - - - - -+         +---------------------------+

func NewServer

NewServer creates a NetworkServiceServer that will put the routes from the connection context into

connection context into the kernel network namespace kernel interface being inserted iff the
selected mechanism for the connection is a kernel mechanism
                                                     Endpoint
+- - - - - - - - - - - - - - - -+         +---------------------------+
|    kernel network namespace   |         |                           |
                                          |                           |
|                               |         |                           |
                                          |                           |
|                               |         |                           |
                                          |                           |
|                               |         |                           |
                      +--------- ---------+                           |
|                               |         |                           |
                                          |                           |
|                               |         |                           |
    routes.NewServer()                    |                           |
|                               |         |                           |
                                          |                           |
|                               |         |                           |
+- - - - - - - - - - - - - - - -+         +---------------------------+

Types

This section is empty.

Jump to

Keyboard shortcuts

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