schema

package
v0.0.0-...-61b3cb0 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2018 License: Apache-2.0 Imports: 5 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/cluster",
		SubContext:       true,
		SubContextSchema: "/v3/schemas/cluster",
	}

	Schemas = factory.Schemas(&Version).
			Init(namespaceTypes).
			Init(persistentVolumeTypes).
			Init(storageClassTypes)
)

Functions

This section is empty.

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