client

package
v0.20.0 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2026 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ClusterScheme is the scheme used in garden runtime and unmanaged seed clusters.
	ClusterScheme = runtime.NewScheme()

	// ClusterSerializer is a YAML serializer using the 'ClusterScheme'.
	ClusterSerializer = json.NewSerializerWithOptions(json.DefaultMetaFactory, ClusterScheme, ClusterScheme, json.SerializerOptions{Yaml: true, Pretty: false, Strict: false})
	// ClusterCodec is a codec factory using the 'ClusterScheme'.
	ClusterCodec = serializer.NewCodecFactory(ClusterScheme)
)

Functions

This section is empty.

Types

type ClusterAccess

type ClusterAccess struct {
	// contains filtered or unexported fields
}

ClusterAccess contains clients for various connected Kubernetes clusters.

func NewClusterAccess

func NewClusterAccess(log logr.Logger, main, issuer, dns kubernetes.Interface) *ClusterAccess

NewClusterAccess returns a new instance of ClusterAccess for all clusters.

func (*ClusterAccess) DNSClient

func (a *ClusterAccess) DNSClient() client.Client

DNSClient returns client for the cluster used for DNSEntries or DNSRecords.

func (*ClusterAccess) IssuerClient

func (a *ClusterAccess) IssuerClient() client.Client

IssuerClient returns client for the cluster containing provided issuers.

func (*ClusterAccess) MainClient

func (a *ClusterAccess) MainClient() client.Client

MainClient returns client for the main cluster containing certificate and source resources.

Jump to

Keyboard shortcuts

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