utils

package
v0.41.3 Latest Latest
Warning

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

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

Documentation

Overview

Package utils provides utility functions for lifecycle handlers.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PrismCentralKonnectorClient

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

PrismCentralKonnectorClient wraps the Prism Central Konnector client.

func NewPrismCentralKonnectorClient

func NewPrismCentralKonnectorClient(credentials *prismgoclient.Credentials, additionalTrustBundle string,
	clientOpts ...konnectorprismgoclient.ClientOption,
) (*PrismCentralKonnectorClient, error)

NewPrismCentralKonnectorClient creates a new Prism Konnector client that is used to call the Konnector APIs.

func (*PrismCentralKonnectorClient) GetClusterRegistration

func (pc *PrismCentralKonnectorClient) GetClusterRegistration(
	ctx context.Context,
	clusterUUID string,
) (*konnectorprismgoclient.K8sClusterRegistration, error)

GetClusterRegistration retrieves the cluster registration from Prism Central.

Jump to

Keyboard shortcuts

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