schema

package
v0.0.0-...-e5742bd Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2018 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Version = types.APIVersion{
		Version: "v3",
		Group:   "cluster.cattle.io",
		Path:    "/v3/clusters",
	}

	Schemas = factory.Schemas(&Version).
			Init(namespaceTypes).
			Init(nodeTypes).
			Init(volumeTypes)
)

Functions

func NodeTypes

func NodeTypes(version *types.APIVersion, schemas *types.Schemas) *types.Schemas

Types

type CPUInfo

type CPUInfo struct {
	Count int64
}

type KubernetesInfo

type KubernetesInfo struct {
	KubeletVersion   string
	KubeProxyVersion string
}

type MemoryInfo

type MemoryInfo struct {
	MemTotalKiB int64
}

type NodeInfo

type NodeInfo struct {
	CPU        CPUInfo
	Memory     MemoryInfo
	OS         OSInfo
	Kubernetes KubernetesInfo
}

type OSInfo

type OSInfo struct {
	DockerVersion   string
	KernelVersion   string
	OperatingSystem string
}

Jump to

Keyboard shortcuts

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