vcluster

package
v0.0.0-...-317aa01 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	VCLUSTER_BIN = "vcluster"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Ingresses

type Ingresses struct {
	Enabled          bool   `yaml:"enabled"`
	PathType         string `yaml:"pathType"`
	ApiVersion       string `yaml:"apiVersion"`
	IngressClassName string `yaml:"ingressClassName"`
	Host             string `yaml:"host"`
}

type NetworkPolicies

type NetworkPolicies struct {
	Enabled bool `yaml:"enabled"`
}

type Openshift

type Openshift struct {
	Enable bool `yaml:"enable"`
}

type Secrets

type Secrets struct {
	Enabled bool `yaml:"enabled"`
	All     bool `yaml:"all"`
}

type ServiceAccounts

type ServiceAccounts struct {
	Enabled bool `yaml:"enabled"`
}

type Services

type Services struct {
	SyncServiceSelector bool `yaml:"syncServiceSelector"`
}

type Sync

type Sync struct {
	NetworkPolicies NetworkPolicies `yaml:"networkpolicies"`
	ServiceAccounts ServiceAccounts `yaml:"serviceaccounts"`
	Services        Services        `yaml:"services"`
	Ingresses       Ingresses       `yaml:"ingresses"`
	Secrets         Secrets         `yaml:"secrets"`
}

type ValuesTemplate

type ValuesTemplate struct {
	Openshift Openshift `yaml:"openshift"`
	Sync      Sync      `yaml:"sync"`
}

Available values for vcluster helm chart: https://artifacthub.io/packages/helm/loft/vcluster

type Vcluster

type Vcluster interface {
	InitializeVCluster(clusterName string, targetNamespace string, host string) (kubeconfigPath string, err error)
}

func NewVclusterController

func NewVclusterController(dir string, kube *client.CustomClient) Vcluster

Jump to

Keyboard shortcuts

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