apis

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2021 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 Action

type Action string

type CatalogMeta

type CatalogMeta struct {
	Catalog *model.Catalog `json:"catalog"`
}

type CatalogRequest

type CatalogRequest struct {
	CatalogType
	Method Action `json:"method"`
}

type CatalogType

type CatalogType struct {
	Name     string `json:"name"`
	Desc     string `json:"desc,omitempty"`
	UpdateAt int64  `json:"updateAt,omitempty"`
	Type     string `json:"type,omitempty"`
	Url      string `json:"url,omitempty"`
	Token    string `json:"token,omitempty"`
}

type ClusterMeta

type ClusterMeta struct {
	Cluster *model.Cluster `json:"cluster"`
}

type ClusterRequest

type ClusterRequest struct {
	ClusterType
	Method Action `json:"method"`
}

type ClusterType

type ClusterType struct {
	Name       string `json:"name"`
	Desc       string `json:"desc,omitempty"`
	UpdateAt   int64  `json:"updateAt,omitempty"`
	Kubeconfig string `json:"kubeconfig"`
}

type ClusterVelaStatus

type ClusterVelaStatus struct {
	Installed bool `json:"installed"`
}

type ClustersMeta

type ClustersMeta struct {
	Clusters []string `json:"clusters"`
}

Jump to

Keyboard shortcuts

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