canary

package
v0.0.0-...-7b8e0ff Latest Latest
Warning

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

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

Documentation

Overview

Copyright © 2019 Banzai Cloud

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewInstallCommand

func NewInstallCommand(cli cli.CLI, options *InstallOptions) *cobra.Command

NewInstallCommand get installCommand

func NewRootCmd

func NewRootCmd(cli cli.CLI) *cobra.Command

func NewUninstallCommand

func NewUninstallCommand(cli cli.CLI, options *UninstallOptions) *cobra.Command

Types

type InstallOptions

type InstallOptions struct {
	DumpResources bool
	// contains filtered or unexported fields
}

func NewInstallOptions

func NewInstallOptions() *InstallOptions

NewInstallOptions get InstallOptions

type UninstallOptions

type UninstallOptions struct {
	DumpResources bool
	// contains filtered or unexported fields
}

func NewUninstallOptions

func NewUninstallOptions() *UninstallOptions

type Values

type Values struct {
	NameOverride         string `json:"nameOverride,omitempty"`
	FullnameOverride     string `json:"fullnameOverride,omitempty"`
	ReplicaCount         int    `json:"replicaCount"`
	UseNamespaceResource bool   `json:"useNamespaceResource"`

	RBAC struct {
		Enabled bool `json:"enabled"`
	} `json:"rbac"`

	PrometheusMetrics struct {
		Enabled   bool `json:"enabled"`
		AuthProxy struct {
			Enabled bool       `json:"enabled"`
			Image   helm.Image `json:"image"`
		} `json:"authProxy"`
	} `json:"prometheusMetrics"`

	Operator struct {
		Resources  corev1.ResourceRequirements `json:"resources,omitempty"`
		Image      helm.Image                  `json:"image"`
		Prometheus struct {
			URL string `json:"url"`
		} `json:"prometheus"`
	} `json:"operator"`
}

func (*Values) SetDefaults

func (values *Values) SetDefaults(releaseName, prometheusURL string)

Jump to

Keyboard shortcuts

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