schema

package
v0.0.0-...-7c47f85 Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2019 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:   "management.cattle.io",
		Path:    "/v3",
	}

	Schemas = factory.Schemas(&Version).
			Init(nativeNodeTypes).
			Init(nodeTypes).
			Init(authzTypes).
			Init(clusterTypes).
			Init(catalogTypes).
			Init(authnTypes).
			Init(tokens).
			Init(schemaTypes).
			Init(userTypes).
			Init(projectNetworkPolicyTypes).
			Init(logTypes).
			Init(globalTypes).
			Init(rkeTypes).
			Init(alertTypes).
			Init(composeType).
			Init(projectCatalogTypes).
			Init(clusterCatalogTypes).
			Init(multiClusterAppTypes).
			Init(globalDNSTypes).
			Init(kontainerTypes).
			Init(etcdBackupTypes).
			Init(clusterScanTypes).
			Init(monitorTypes).
			Init(credTypes).
			Init(mgmtSecretTypes).
			Init(clusterTemplateTypes).
			Init(driverMetadataTypes)

	TokenSchemas = factory.Schemas(&Version).
					Init(tokens)
)

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