generated

package
v3.0.0-alpha1+incompat... Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2018 License: Apache-2.0 Imports: 4 Imported by: 21

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ConfigPath = "/.devspace/generated.yaml"

ConfigPath is the relative generated config path

Functions

func SaveConfig

func SaveConfig(config *Config) error

SaveConfig saves the config to the filesystem

Types

type CloudConfig

type CloudConfig struct {
	DevSpaceID   int                              `yaml:"devSpaceID"`
	ProviderName string                           `yaml:"providerName"`
	Name         string                           `yaml:"name"`
	Targets      map[string]*DevSpaceTargetConfig `yaml:"targets"`
}

CloudConfig holds the information to authenticate with the cloud provider

type Config

type Config struct {
	ChartHashs             map[string]string `yaml:"chartHashs"`
	DockerLatestTimestamps map[string]int64  `yaml:"dockerLatestTimestamps"`
	ImageTags              map[string]string `yaml:"imageTags"`
	Cloud                  *CloudConfig      `yaml:"cloud,omitempty"`
}

Config specifies the runtime config struct

func LoadConfig

func LoadConfig() (*Config, error)

LoadConfig loads the config from the filesystem

type DevSpaceTargetConfig

type DevSpaceTargetConfig struct {
	TargetName          string
	Namespace           string
	ServiceAccountToken string
	CaCert              string
	Server              string

	Domain *string
}

DevSpaceTargetConfig holds the information to connect to a devspace target

Jump to

Keyboard shortcuts

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