rcclient

package
v0.0.0-...-8f37b9b Latest Latest
Warning

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

Go to latest
Published: Dec 25, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NoneModule

func NoneModule() fxutil.Module

NoneModule return a None optional type for rcclient.Component.

This helper allows code that needs a disabled Optional type for rcclient to get it. The helper is split from the implementation to avoid linking with the dependencies from rcclient.

Types

type Component

type Component interface {
	// SubscribeAgentTask subscribe the remote-config client to AGENT_TASK
	SubscribeAgentTask()
	// Subscribe is the generic way to start listening to a specific product update
	// Component can also automatically subscribe to updates by returning a `ListenerProvider` struct
	Subscribe(product data.Product, fn func(update map[string]state.RawConfig, applyStateCallback func(string, state.ApplyStatus)))
}

Component is the component type.

type Params

type Params struct {
	AgentName     string
	AgentVersion  string
	IsSystemProbe bool
}

Params is the input parameter struct for the RC client Component.

Directories

Path Synopsis
Package rcclientimpl is a remote config client that can run within the agent to receive configurations.
Package rcclientimpl is a remote config client that can run within the agent to receive configurations.
Package types provides the different types used by other component to provider remote-config task listeners.
Package types provides the different types used by other component to provider remote-config task listeners.

Jump to

Keyboard shortcuts

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