v1beta1

package
v0.21.0 Latest Latest
Warning

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

Go to latest
Published: Jun 5, 2020 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Ambassador

type Ambassador struct {
	Deploy       bool               `json:"deploy" yaml:"deploy"`
	ReplicaCount int                `json:"replicaCount,omitempty" yaml:"replicaCount,omitempty"`
	Service      *AmbassadorService `json:"service,omitempty" yaml:"service,omitempty"`
}

type AmbassadorService

type AmbassadorService struct {
	Type           string  `json:"type,omitempty" yaml:"type,omitempty"`
	LoadBalancerIP string  `json:"loadBalancerIP,omitempty" yaml:"loadBalancerIP,omitempty"`
	Ports          []*Port `json:"ports,omitempty" yaml:"ports,omitempty"`
}

type BasicAuth added in v0.21.0

type BasicAuth struct {
	Username *SecretKeySelector `json:"username" yaml:"username"`
	Password *SecretKeySelector `json:"password" yaml:"password"`
}

type KubeStateMetrics

type KubeStateMetrics struct {
	Deploy       bool `json:"deploy" yaml:"deploy"`
	ReplicaCount int  `json:"replicaCount,omitempty" yaml:"replicaCount,omitempty"`
}

type LoggingOperator

type LoggingOperator struct {
	Deploy     bool          `json:"deploy" yaml:"deploy"`
	FluentdPVC *storage.Spec `json:"fluentdStorage,omitempty" yaml:"fluentdStorage,omitempty"`
}

type Logs

type Logs struct {
	Ambassador             bool `json:"ambassador"`
	Grafana                bool `json:"grafana"`
	Argocd                 bool `json:"argocd"`
	KubeStateMetrics       bool `json:"kube-state-metrics" yaml:"kube-state-metrics"`
	PrometheusNodeExporter bool `json:"prometheus-node-exporter"  yaml:"prometheus-node-exporter"`
	PrometheusOperator     bool `json:"prometheus-operator" yaml:"prometheus-operator"`
	LoggingOperator        bool `json:"logging-operator" yaml:"logging-operator"`
	Loki                   bool `json:"loki"`
	Prometheus             bool `json:"prometheus"`
}

type Loki

type Loki struct {
	Deploy        bool          `json:"deploy" yaml:"deploy"`
	Logs          *Logs         `json:"logs,omitempty" yaml:"logs,omitempty"`
	Storage       *storage.Spec `json:"storage,omitempty" yaml:"storage,omitempty"`
	ClusterOutput bool          `json:"clusterOutput,omitempty" yaml:"clusterOutput,omitempty"`
}

type Metadata

type Metadata struct {
	Name      string `json:"name,omitempty" yaml:"name,omitempty"`
	Namespace string `json:"namespace,omitempty" yaml:"namespace,omitempty"`
}

type Metrics

type Metrics struct {
	Ambassador                bool `json:"ambassador"`
	Argocd                    bool `json:"argocd"`
	KubeStateMetrics          bool `json:"kube-state-metrics" yaml:"kube-state-metrics"`
	PrometheusNodeExporter    bool `json:"prometheus-node-exporter" yaml:"prometheus-node-exporter"`
	PrometheusSystemdExporter bool `json:"prometheus-systemd-exporter" yaml:"prometheus-systemd-exporter"`
	APIServer                 bool `json:"api-server" yaml:"api-server"`
	PrometheusOperator        bool `json:"prometheus-operator" yaml:"prometheus-operator"`
	LoggingOperator           bool `json:"logging-operator" yaml:"logging-operator"`
	Loki                      bool `json:"loki"`
	Boom                      bool `json:"boom" yaml:"boom"`
	Orbiter                   bool `json:"orbiter" yaml:"orbiter"`
}

type Port

type Port struct {
	Name       string `json:"name,omitempty" yaml:"name,omitempty"`
	Port       uint16 `json:"port,omitempty" yaml:"port,omitempty"`
	TargetPort uint16 `json:"targetPort,omitempty" yaml:"targetPort,omitempty"`
	NodePort   uint16 `json:"nodePort,omitempty" yaml:"nodePort,omitempty"`
}

type PostApply

type PostApply struct {
	Deploy bool   `json:"deploy,omitempty" yaml:"deploy,omitempty"`
	Folder string `json:"folder,omitempty" yaml:"folder,omitempty"`
}

type PreApply

type PreApply struct {
	Deploy bool   `json:"deploy,omitempty" yaml:"deploy,omitempty"`
	Folder string `json:"folder,omitempty" yaml:"folder,omitempty"`
}

type Prometheus

type Prometheus struct {
	Deploy      bool          `json:"deploy" yaml:"deploy"`
	Metrics     *Metrics      `json:"metrics,omitempty" yaml:"metrics,omitempty"`
	Storage     *storage.Spec `json:"storage,omitempty" yaml:"storage,omitempty"`
	RemoteWrite *RemoteWrite  `json:"remoteWrite,omitempty" yaml:"remoteWrite,omitempty"`
}

type PrometheusNodeExporter

type PrometheusNodeExporter struct {
	Deploy bool `json:"deploy" yaml:"deploy"`
}

type PrometheusOperator

type PrometheusOperator struct {
	Deploy bool `json:"deploy" yaml:"deploy"`
}

type PrometheusSystemdExporter added in v0.21.0

type PrometheusSystemdExporter struct {
	Deploy bool `json:"deploy" yaml:"deploy"`
}

type RemoteWrite added in v0.21.0

type RemoteWrite struct {
	URL       string     `json:"url" yaml:"url"`
	BasicAuth *BasicAuth `json:"basicAuth,omitempty" yaml:"basicAuth,omitempty"`
}

type SecretKeySelector added in v0.21.0

type SecretKeySelector struct {
	Name string `json:"name" yaml:"name"`
	Key  string `json:"key" yaml:"key"`
}

type Toolset

type Toolset struct {
	APIVersion string       `json:"apiVersion,omitempty" yaml:"apiVersion,omitempty"`
	Kind       string       `json:"kind,omitempty" yaml:"kind,omitempty"`
	Metadata   *Metadata    `json:"metadata,omitempty" yaml:"metadata,omitempty"`
	Spec       *ToolsetSpec `json:"spec,omitempty" yaml:"spec,omitempty"`
}

func New added in v0.21.0

func New(masterkey string) *Toolset

func ReplaceMasterkey added in v0.21.0

func ReplaceMasterkey(toolset *Toolset, masterkey string) *Toolset

func (*Toolset) InitSecretLists added in v0.21.0

func (t *Toolset) InitSecretLists(masterkey string) error

type ToolsetMetadata

type ToolsetMetadata struct {
	APIVersion string    `json:"apiVersion,omitempty" yaml:"apiVersion,omitempty"`
	Kind       string    `json:"kind,omitempty" yaml:"kind,omitempty"`
	Metadata   *Metadata `json:"metadata,omitempty" yaml:"metadata,omitempty"`
}

type ToolsetSpec

type ToolsetSpec struct {
	BoomVersion               string                     `json:"boomVersion,omitempty" yaml:"boomVersion,omitempty"`
	ForceApply                bool                       `json:"forceApply,omitempty" yaml:"forceApply,omitempty"`
	CurrentStateFolder        string                     `json:"currentStatePath,omitempty" yaml:"currentStatePath,omitempty"`
	PreApply                  *PreApply                  `json:"preApply,omitempty" yaml:"preApply,omitempty"`
	PostApply                 *PostApply                 `json:"postApply,omitempty" yaml:"postApply,omitempty"`
	PrometheusOperator        *PrometheusOperator        `json:"prometheus-operator,omitempty" yaml:"prometheus-operator,omitempty"`
	LoggingOperator           *LoggingOperator           `json:"logging-operator,omitempty" yaml:"logging-operator,omitempty"`
	PrometheusNodeExporter    *PrometheusNodeExporter    `json:"prometheus-node-exporter,omitempty" yaml:"prometheus-node-exporter,omitempty"`
	PrometheusSystemdExporter *PrometheusSystemdExporter `json:"prometheus-systemd-exporter,omitempty" yaml:"prometheus-systemd-exporter,omitempty"`
	Grafana                   *grafana.Grafana           `json:"grafana,omitempty" yaml:"grafana,omitempty"`
	Ambassador                *Ambassador                `json:"ambassador,omitempty" yaml:"ambassador,omitempty"`
	KubeStateMetrics          *KubeStateMetrics          `json:"kube-state-metrics,omitempty" yaml:"kube-state-metrics,omitempty"`
	Argocd                    *argocd.Argocd             `json:"argocd,omitempty" yaml:"argocd,omitempty"`
	Prometheus                *Prometheus                `json:"prometheus,omitempty" yaml:"prometheus,omitempty"`
	Loki                      *Loki                      `json:"loki,omitempty" yaml:"loki,omitempty"`
}

func (*ToolsetSpec) MarshalYAML

func (t *ToolsetSpec) MarshalYAML() (interface{}, error)

Jump to

Keyboard shortcuts

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