Documentation
¶
Overview ¶
Copyright (c) Microsoft Corporation. Licensed under the Apache License, Version 2.0.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Advertise ¶
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.