extensions

package
v3.2.17+incompatible Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2021 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package extensions provides the Teleport client with additional functionality such as the means for configuring access to extra services that may be supported by a teleport cluster.

For instance, in certain cases the cluster's proxy server may implement Docker registry or Helm chart repository support, in which case Docker and Helm clients will be configured with proper access credentials upon successful tsh login.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDockerConfigurator

func NewDockerConfigurator() *dockerConfigurator

NewDockerConfigurator returns a new instance of a Docker configurator.

func NewHelmConfigurator

func NewHelmConfigurator() *helmConfigurator

NewHelmConfigurator returns a new instance of a Helm configurator.

Types

type Config

type Config struct {
	// ProxyAddress is the address of web proxy that provides the service.
	ProxyAddress string
	// CertificatePath is the full path to the client certificate file.
	CertificatePath string
	// KeyPath is the full path to the client private key file.
	KeyPath string
}

Config represents a service configuration parameters.

type Configurator

type Configurator interface {
	// Configure performs necessary service configuration.
	Configure(Config) error
	// Deconfigure removes configuration for the service.
	Deconfigure(Config) error
	// Stringer returns human-friendly description of the configurator.
	fmt.Stringer
}

Configurator defines an interface for configuring additional services provided by a Teleport server such as a Docker registry or Helm chart repository.

Jump to

Keyboard shortcuts

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