renderer

package
v1.0.0-2021-10-26-20-1... Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2021 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Overview

Copyright Contributors to the Open Cluster Management project

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RenderCRDs

func RenderCRDs() ([]*unstructured.Unstructured, []error)

func RenderTemplates

func RenderTemplates(backplaneConfig *v1alpha1.MultiClusterEngine, images map[string]string) ([]*unstructured.Unstructured, []error)

Types

type Global

type Global struct {
	ImageOverrides map[string]string `yaml:"imageOverrides" structs:"imageOverrides"`
	PullPolicy     string            `yaml:"pullPolicy" structs:"pullPolicy"`
	PullSecret     string            `yaml:"pullSecret" structs:"pullSecret"`
	Namespace      string            `yaml:"namespace" structs:"namespace"`
}

type HubConfig

type HubConfig struct {
	NodeSelector map[string]string   `yaml:"nodeSelector" structs:"nodeSelector"`
	ProxyConfigs map[string]string   `yaml:"proxyConfigs" structs:"proxyConfigs"`
	ReplicaCount int                 `yaml:"replicaCount" structs:"replicaCount"`
	Tolerations  []corev1.Toleration `yaml:"tolerations" structs:"tolerations"`
}

type Values

type Values struct {
	Global    Global    `yaml:"global" structs:"global"`
	HubConfig HubConfig `yaml:"hubconfig" structs:"hubconfig"`
	Org       string    `yaml:"org" structs:"org"`
}

Jump to

Keyboard shortcuts

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