dvo

package
v0.0.0-...-17ef94a Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	// CLUSTERS_V1_PATH is a path to the OCM clusters service
	METRICS_API_PATH = "/metrics"
)

Variables

View Source
var (
	// ErrClusterIdNotFound is an error describing the cluster ID can not be found
	ErrClusterIdNotFound = fmt.Errorf("OCM did not return a valid cluster ID: pull-secret may be invalid OR cluster's owner is disabled/banned in OCM")
)

Functions

This section is empty.

Types

type DvoClient

type DvoClient interface {
	GetMetrics() ([]byte, error)
}

type DvoClientBuilder

type DvoClientBuilder interface {
	New(c client.Client) (DvoClient, error)
}

DvoClientBuilder enables implementation of a DVO client.

func NewBuilder

func NewBuilder() DvoClientBuilder

NewBuilder creates a new DvoClientBuilder instance

Directories

Path Synopsis
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.

Jump to

Keyboard shortcuts

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