clouddriver

package
v1.1.4 Latest Latest
Warning

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

Go to latest
Published: May 9, 2019 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AWSAccount

type AWSAccount struct {
	Name      string      `json:"name,omitempty" mapstructure:"name"`
	AccountID string      `json:"accountId,omitempty" mapstructure:"accountId"`
	Regions   []AWSRegion `json:"regions,omitempty" mapstructure:"regions"`
}

AWSAccount settings

type AWSRegion

type AWSRegion struct {
	Name string `json:"name,omitempty" mapstructure:"name"`
}

AWSRegion settings

type Clouddriver

type Clouddriver struct {
	DockerRegistry struct {
		Enabled  bool            `json:"enabled,omitempty" mapstructure:"enabled"`
		Accounts []DockerAccount `json:"accounts,omitempty" mapstructure:"accounts"`
	} `json:"dockerRegistry,omitempty" mapstructure:"dockerRegistry"`

	Kubernetes struct {
		Enabled  bool                `json:"enabled,omitempty" mapstructure:"enabled"`
		Accounts []KubernetesAccount `json:"accounts,omitempty" mapstructure:"accounts"`
	} `json:"kubernetes,omitempty" mapstructure:"kubernetes"`

	AWS struct {
		Enabled           bool         `json:"enabled,omitempty" mapstructure:"enabled"`
		DefaultAssumeRole string       `json:"defaultAssumeRole,omitempty" mapstructure:"defaultAssumeRole"`
		DefaultRegions    []AWSRegion  `json:"defaultRegions,omitempty" mapstructure:"defaultRegions"`
		Accounts          []AWSAccount `json:"accounts,omitempty" mapstructure:"accounts"`
	} `json:"aws,omitempty" mapstructure:"aws"`

	GCP struct {
		Enabled  bool         `json:"enabled,omitempty" mapstructure:"enabled"`
		Accounts []GCPAccount `json:"accounts,omitempty" mapstructure:"accounts"`
	} `json:"google,omitempty" mapstructure:"google"`

	Artifacts struct {
		Github struct {
			Enabled bool                  `json:"enabled,omitempty" mapstructure:"enabled"`
			Account GithubArtifactAccount `json:"accounts,omitempty" mapstructure:"accounts"`
		} `json:"github,omitempty" mapstructure:"github"`
	} `json:"artifacts,omitempty" mapstructure:"artifacts"`
}

Clouddriver mirrors clouddriver.yaml files on disk

type DockerAccount

type DockerAccount struct {
	Name         string   `json:"name,omitempty" mapstructure:"name"`
	Username     string   `json:"username,omitempty" mapstructure:"username"`
	PasswordFile string   `json:"passwordFile,omitempty" mapstructure:"passwordFile"`
	Address      string   `json:"address,omitempty" mapstructure:"address"`
	Repositories []string `json:"repositories,omitempty" mapstructure:"repositories"`
}

DockerAccount settings

type DockerRegistry

type DockerRegistry struct {
	AccountName string `json:"accountName,omitempty" mapstructure:"accountName"`
}

DockerRegistry settings

type GCPAccount

type GCPAccount struct {
	Name     string `json:"name,omitempty" mapstructure:"name"`
	Project  string `json:"project,omitempty" mapstructure:"project"`
	JSONPath string `json:"jsonPath,omitempty" mapstructure:"jsonPath"`
}

GCPAccount settings

type GithubArtifactAccount

type GithubArtifactAccount struct {
	Name                 string `json:"name,omitempty" mapstructure:"name"`
	Username             string `json:"username,omitempty" mapstructure:"username"`
	Password             string `json:"password,omitempty" mapstructure:"password"`
	UsernamePasswordFile string `json:"usernamePasswordFile,omitempty" mapstructure:"usernamePasswordFile"`
	Token                string `json:"token,omitempty" mapstructure:"token"`
	TokenFile            string `json:"tokenFile,omitempty" mapstructure:"tokenFile"`
}

GithubArtifactAccount settings

type KubernetesAccount

type KubernetesAccount struct {
	Name             string           `json:"name,omitempty" mapstructure:"name"`
	Namespaces       []string         `json:"namespaces,omitempty" mapstructure:"namespaces"`
	KubeconfigFile   string           `json:"kubeconfigFile,omitempty" mapstructure:"kubeconfigFile"`
	ProviderVersion  string           `json:"providerVersion,omitempty" mapstructure:"providerVersion"`
	ServiceAccount   bool             `json:"serviceAccount,omitempty" mapstructure:"serviceAccount"`
	DockerRegistries []DockerRegistry `json:"dockerRegistries,omitempty" mapstructure:"dockerRegistries"`
}

KubernetesAccount settings

Jump to

Keyboard shortcuts

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