views

package
v0.0.0-...-562eb29 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 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 ClusterList

type ClusterList []*ClusterView

swagger:ignore ClusterList is a list of cluster models for api

swagger:model views_cluster_list

type ClusterSpec

type ClusterSpec struct {
	Endpoint string `json:"endpoint"`
}

type ClusterView

type ClusterView struct {
	Meta   views.Meta          `json:"meta"`
	Status views.ClusterStatus `json:"status"`
	Spec   ClusterSpec         `json:"spec"`
}

type IView

type IView interface {
	Cluster() *ClusterView
}

type Session

type Session struct {
	Token string `json:"token"`
}

type View

type View struct{}

func (*View) Cluster

func (v *View) Cluster() *ClusterView

Jump to

Keyboard shortcuts

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