state

package
v0.0.5-alpha Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Copyright (c) Microsoft Corporation. Licensed under the MIT License.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Advertise(ctx context.Context, r routing.Router, containerdStore containerd.Store, filesChan <-chan string)

Advertise advertises images and files to the given routing.Router. It listens for events from the containerd.Store and filesChan channel to trigger the advertisement. The function runs until the context is done or an error occurs.

Parameters: - ctx: The context.Context used for cancellation and deadline propagation. - r: The routing.Router used for advertising files. - containerdStore: The containerd.Store used for subscribing to events and advertising images. - filesChan: The channel that provides the files to be advertised.

Returns: None.

Types

This section is empty.

Jump to

Keyboard shortcuts

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