operations

package
v0.0.0-...-feb71fe Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 License: Apache-2.0 Imports: 34 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConnectToKubernetesAPI

func ConnectToKubernetesAPI(sshClient *ssh.Client) (*client.KubernetesClient, error)

func Edit

func Edit(data []byte) ([]byte, error)

func MirrorDeckhouseToLocalFS

func MirrorDeckhouseToLocalFS(
	mirrorCtx *mirror.Context,
	versions []semver.Version,
) error

func PullExternalModulesToLocalFS

func PullExternalModulesToLocalFS(
	sourceYmlPath, mirrorDirectoryPath, moduleFilterExpression string,
	skipVerifyTLS bool,
) error

func PushDeckhouseToRegistry

func PushDeckhouseToRegistry(mirrorCtx *mirror.Context) error

func PushModulesToRegistry

func PushModulesToRegistry(
	modulesDir string,
	registryPath string,
	authProvider authn.Authenticator,
	insecure, skipVerifyTLS bool,
) error

Types

type ConvergeExporter

type ConvergeExporter struct {
	MetricsPath   string
	ListenAddress string
	CheckInterval time.Duration

	GaugeMetrics   map[string]*prometheus.GaugeVec
	CounterMetrics map[string]*prometheus.CounterVec
	// contains filtered or unexported fields
}

func NewConvergeExporter

func NewConvergeExporter(address, path string, interval time.Duration) *ConvergeExporter

func (*ConvergeExporter) Start

func (c *ConvergeExporter) Start()

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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