clusterinfo

package
v1.13.1-rc.3 Latest Latest
Warning

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

Go to latest
Published: May 29, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package clusterinfo provides a chain element that appends clusterinfo labels into the request.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewServer

func NewServer(opts ...Option) networkservice.NetworkServiceServer

NewServer - returns a new clusterinfo NetworkServiceServer that adds clusterinfo labels into request from the cluterinfo configuration.

func WithConfigPath

func WithConfigPath(p string) func(o *clusterinfoServer)

WithConfigPath replaces defeault clusterinfo config file path

Types

type Option

type Option = func(*clusterinfoServer)

Option overrides default configuration

Jump to

Keyboard shortcuts

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