mcpclient

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2025 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckClusterDeploymentStatuses

func CheckClusterDeploymentStatuses(ctx context.Context, url string, clusterRef *corev1.ObjectReference,
	logger logr.Logger) (string, error)

func CheckInstallation

func CheckInstallation(ctx context.Context, url string, logger logr.Logger) (string, error)

func CheckProfileDeploymentOnCluster

func CheckProfileDeploymentOnCluster(ctx context.Context, url string, clusterRef,
	profileRef *corev1.ObjectReference, logger logr.Logger) (string, error)

Types

type DeploymentError

type DeploymentError struct {
	ProfileName string   `json:"profileName" jsonschema:"The name of the Sveltos profile that is failing"`
	ProfileKind string   `json:"profileKind" jsonschema:"The profile kind (ClusterProfile vs Profile)"`
	Causes      []string `json:"causes" jsonschema:"The reason for the deployment failure"`
}

DeploymentError represents a single deployment failure for a Sveltos profile.

type DeploymentErrors

type DeploymentErrors struct {
	Errors []DeploymentError `` /* 132-byte string literal not displayed */
}

type SveltosInstallationResult

type SveltosInstallationResult struct {
	IsCorrectlyInstalled bool   `json:"is_correctly_installed"`
	Details              string `json:"details,omitempty"`
}

SveltosInstallationResult reports the outcome of the Sveltos installation verification.

Jump to

Keyboard shortcuts

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