managed

package
v0.31.0 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2020 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AdaptFunc

func AdaptFunc(
	labels map[string]string,
	users []string,
	namespace string,
	timestamp string,
	secretPasswordName string,
	migrationUser string,
	nodeselector map[string]string,
	tolerations []corev1.Toleration,
	features []string,
) zitadel.AdaptFunc

func BackupList

func BackupList() func(monitor mntr.Monitor, desired *tree.Tree) ([]string, error)

func SecretsFunc

func SecretsFunc() secret.Func

Types

type Current

type Current struct {
	Common  *tree.Common `yaml:",inline"`
	Current struct {
		URL       string
		Port      string
		ReadyFunc zitadel.EnsureFunc
	}
}

func (*Current) GetPort

func (c *Current) GetPort() string

func (*Current) GetReadyQuery

func (c *Current) GetReadyQuery() zitadel.EnsureFunc

func (*Current) GetURL

func (c *Current) GetURL() string

type DesiredV0

type DesiredV0 struct {
	Common *tree.Common `yaml:",inline"`
	Spec   Spec
}

type Spec

type Spec struct {
	Verbose         bool
	ReplicaCount    int                   `yaml:"replicaCount,omitempty"`
	StorageCapacity string                `yaml:"storageCapacity,omitempty"`
	StorageClass    string                `yaml:"storageClass,omitempty"`
	NodeSelector    map[string]string     `yaml:"nodeSelector,omitempty"`
	Tolerations     []corev1.Toleration   `yaml:"tolerations,omitempty"`
	ClusterDns      string                `yaml:"clusterDNS,omitempty"`
	Backups         map[string]*tree.Tree `yaml:"backups,omitempty"`
	Resources       *k8s.Resources        `yaml:"resources,omitempty"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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