Versions in this module Expand all Collapse all v0 v0.2.3 Oct 16, 2025 Changes in this version + var CurrentLogLevel = LogLevelInfo + var LogOutput io.Writer = os.Stdout + func CheckHarborLogin(registry string) error + func LogDebug(format string, args ...interface{}) + func LogError(format string, args ...interface{}) + func LogFatal(format string, args ...interface{}) + func LogInfo(format string, args ...interface{}) + func LogWarning(format string, args ...interface{}) + func MirrorArtifacts(manifest *ArtifactManifest, cacheDir, targetRegistry string, ...) error + func NewDynactlKeychain() authn.Keychain + func PullArtifacts(manifest *ArtifactManifest, outputDir string, options PullOptions) error + func PullManifestFromRegistry(reference, outputDir string) error + func SaveRegistryCredential(registry string, cred RegistryCredential) error + func SetLogLevel(verbosity int) + type ArtifactManifest struct + Artifacts Artifacts + Charts []Chart + CustomerID string + CustomerName string + Images []string + LicenseExpiry *string + LicenseGeneratedAt *string + MaxUsers *int + Models []string + OnboardingDate string + ReleaseVersion string + SPOC SPOC + func LoadManifest(filename string) (*ArtifactManifest, error) + type Artifacts struct + ChartsRoot string + ImagesRoot string + ModelsRoot string + type Chart struct + AppVersion string + Filename string + HarborPath string + Name string + SHA256 string + SizeBytes int64 + Version string + type Component struct + Digest string + MediaType string + Name string + Tag string + Type string + URI string + type ContainerResourceSummary struct + LimitsCPU string + LimitsGPU string + LimitsMemory string + Name string + RequestsCPU string + RequestsGPU string + RequestsMemory string + type DeploymentResourceSummary struct + Containers []ContainerResourceSummary + Name string + Pods int32 + type KubernetesChecker struct + func NewKubernetesChecker() (*KubernetesChecker, error) + func (kc *KubernetesChecker) CheckClusterRBAC() (string, error) + func (kc *KubernetesChecker) CheckKubernetesVersion() (string, error) + func (kc *KubernetesChecker) CheckNamespaceRBAC(namespace string) (string, error) + func (kc *KubernetesChecker) CheckResources(outputFormat string) (string, error) + func (kc *KubernetesChecker) CheckStorageCapacity() (string, error) + func (kc *KubernetesChecker) CheckStorageClassesCompatibility() (string, error) + func (kc *KubernetesChecker) GetNodeResourceUsage(nodeName string) (*NodeResourceUsage, error) + func (kc *KubernetesChecker) ListDeploymentResourceSummaries(namespace string) ([]DeploymentResourceSummary, error) + func (kc *KubernetesChecker) ListNodeInstanceTypes() (map[string]string, error) + type LogLevel int + const LogLevelDebug + const LogLevelError + const LogLevelInfo + const LogLevelWarning + func LogLevelFromString(level string) LogLevel + type MirrorOptions struct + IncludeCharts bool + IncludeImages bool + IncludeModels bool + func MirrorOptionsFromPull(opts PullOptions) MirrorOptions + func NormalizeMirrorOptions(opts MirrorOptions) MirrorOptions + type NodeResourceUsage struct + CPUAllocatable float64 + CPULimits float64 + CPULimitsPercent float64 + CPURequests float64 + CPURequestsPercent float64 + GPUAllocatable int64 + GPULimits int64 + GPURequests int64 + MemoryAllocatable float64 + MemoryLimits float64 + MemoryLimitsPercent float64 + MemoryRequests float64 + MemoryRequestsPercent float64 + Name string + type PullOptions struct + IncludeCharts bool + IncludeImages bool + IncludeModels bool + func NormalizePullOptions(opts PullOptions) PullOptions + type PullResult struct + Duration time.Duration + Errors []string + FailedCount int + SuccessCount int + TotalArtifacts int + type RegistryCredential struct + AccessToken string + IdentityToken string + Password string + Username string + func GetRegistryCredential(registry string) (RegistryCredential, bool, error) + type SPOC struct + Email string + Name string