model

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2019 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 {
	ID                   string    `json:"id"`
	Environment          string    `json:"environment"`
	ServerURL            string    `json:"server_url"`
	ClusterAuthorityData string    `json:"cluster_authority_data"`
	Deleted              bool      `json:"deleted" sql:",notnull"`
	Active               bool      `json:"active" sql:",notnull"`
	DateCreated          time.Time `json:"date_created"`
	DateModified         time.Time `json:"date_modified"`
}

Cluster contains a single cluster object returned from the pharos API server.

Jump to

Keyboard shortcuts

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