deployer

package
v0.16.0 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2023 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// ServiceAccountNameKey is the key of the required annotation for SecretTypeServiceAccountToken secrets
	ServiceAccountNameKey = "service-account.name"
	// ServiceAccountUIDKey is the key of the required annotation for SecretTypeServiceAccountToken secrets
	ServiceAccountUIDKey = "service-account.uid"
)

default values

Variables

This section is empty.

Functions

This section is empty.

Types

type Deployer

type Deployer struct {
	// contains filtered or unexported fields
}

func NewDeployer

func NewDeployer(syncMode, childAPIServerURL, systemNamespace string, saTokenAutoGen bool) *Deployer

func (*Deployer) Run

func (d *Deployer) Run(
	ctx context.Context,
	parentDedicatedKubeConfig *rest.Config,
	childKubeClientSet kubernetes.Interface,
	dedicatedNamespace *string,
	clusterID *types.UID, workers int,
	kubeQPS float32,
	kubeBurst int32,
) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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