model

package
v1.3.0-rc2 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2019 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	RancherKind     = "Rancher"
	ClusterKind     = "Cluster"
	ProjectKind     = "Project"
	JobKind         = "Job"
	CronJobKind     = "CronJob"
	DeploymentKind  = "Deployment"
	DaemonSetKind   = "DaemonSet"
	StatefulSetKind = "StatefulSet"
)

Types of Descriptors which are expected values of the field 'kind'

Variables

This section is empty.

Functions

This section is empty.

Types

type Catalog

type Catalog struct {
	Name     string `yaml:"name"`
	URL      string `yaml:"url"`
	Branch   string `yaml:"branch,omitempty"`
	Username string `yaml:"username,omitempty"`
	Password string `yaml:"password,omitempty"`
}

Catalog is a template source to be used by Apps

type Rancher

type Rancher struct {
	APIVersion string          `yaml:"api_version"`
	Kind       string          `yaml:"kind"`
	Metadata   RancherMetadata `yaml:"metadata"`
	Catalogs   []Catalog       `yaml:"catalogs,omitempty"`
}

Rancher represents global members

type RancherMetadata

type RancherMetadata struct {
	RancherURL string `yaml:"rancher_url,omitempty"`
	AccessKey  string `yaml:"access_key,omitempty"`
	SecretKey  string `yaml:"secret_key,omitempty"`
	TokenKey   string `yaml:"token_key,omitempty"`
}

RancherMetadata are global meta informations

Jump to

Keyboard shortcuts

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