agent

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2024 License: Apache-2.0 Imports: 31 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ApiserverNetworkProxyLabelAddon = "open-cluster-management.io/addon"
	AgentSecretName                 = "cluster-proxy-open-cluster-management.io-proxy-agent-signer-client-cert"
	AgentCASecretName               = "cluster-proxy-ca"
)
View Source
const (
	ProxyAgentSignerName = "open-cluster-management.io/proxy-agent-signer"
)

Variables

Functions

func CustomSignerWithExpiry added in v0.1.4

func CustomSignerWithExpiry(customSignerName string, caKey, caData []byte, duration time.Duration) agent.CSRSignerFunc

func GetClusterProxyValueFunc added in v0.1.4

func GetClusterProxyValueFunc(
	runtimeClient client.Client,
	nativeClient kubernetes.Interface,
	signerNamespace string,
	caCertData []byte,
	v1CSRSupported bool,
	enableKubeApiProxy bool,
) addonfactory.GetValuesFunc

func NewAgentAddon added in v0.1.4

func NewAgentAddon(
	signer selfsigned.SelfSigner,
	signerNamespace string,
	v1CSRSupported bool,
	runtimeClient client.Client,
	nativeClient kubernetes.Interface,
	agentInstallAll bool,
	enableKubeApiProxy bool,
	addonClient addonclient.Interface) (agent.AgentAddon, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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