cleanup

package
v1.13.2 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2024 License: Apache-2.0 Imports: 10 Imported by: 2

Documentation

Overview

Package cleanup provides networkservice.NetworkService chain elements to clean up resources before termination

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewClient

NewClient - returns a cleanup client chain element

Types

type Option

type Option func(*options)

Option - options for the cleanup chain element

func WithDoneChan

func WithDoneChan(doneCh chan struct{}) Option

WithDoneChan - receives a channel to notify the end of cleaning

func WithoutGRPCCall

func WithoutGRPCCall() Option

WithoutGRPCCall - closes client connection to prevent calling requests/closes on other endpoints

Jump to

Keyboard shortcuts

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