rancher

package
v0.3.0-preview1 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2021 License: Apache-2.0 Imports: 14 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var UpdateRancherUISettings = map[string]string{
	"ui-dashboard-index":   settings.DefaultDashboardUIURL,
	"ui-offline-preferred": "false",
	"ui-pl":                "Harvester",
}

Functions

func Register

func Register(ctx context.Context, management *config.Management, options config.Options) error

Types

type Handler

type Handler struct {
	RancherSettings rancherv3.SettingClient
	Services        ctlcorev1.ServiceClient
	Configmaps      ctlcorev1.ConfigMapClient
	Namespace       string
}

func (*Handler) RancherSettingOnChange added in v0.3.0

func (h *Handler) RancherSettingOnChange(key string, setting *rancherv3api.Setting) (*rancherv3api.Setting, error)

type VIPConfig added in v0.3.0

type VIPConfig struct {
	Enabled        string             `json:"enabled,omitempty"`
	ServiceType    corev1.ServiceType `json:"serviceType,omitempty"`
	IP             string             `json:"ip,omitempty"`
	Mode           string             `json:"mode,omitempty"`
	HwAddress      string             `json:"hwAddress,omitempty"`
	LoadBalancerIP string             `json:"loadBalancerIP,omitempty"`
}

Jump to

Keyboard shortcuts

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