model

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2020 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cluster

type Cluster struct {
	APIVersion string                 `yaml:"api_version"`
	Kind       string                 `yaml:"kind"`
	Metadata   ClusterMetadata        `yaml:"metadata"`
	Catalogs   []rancherModel.Catalog `yaml:"catalogs,omitempty"`
}

Cluster represents global members

type ClusterMetadata

type ClusterMetadata struct {
	Name       string `yaml:"name"`
	ID         string `yaml:"id,omitempty"`
	RancherURL string `yaml:"rancher_url,omitempty"`
	AccessKey  string `yaml:"access_key,omitempty"`
	SecretKey  string `yaml:"secret_key,omitempty"`
	TokenKey   string `yaml:"token_key,omitempty"`
}

ClusterrMetadata are global meta informations

Jump to

Keyboard shortcuts

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