kubernetes

package
v1.4.1 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2023 License: Apache-2.0 Imports: 15 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WhoAmI added in v0.10.0

func WhoAmI(config *rest.Config) (string, error)

Types

type ConfigMapReader

type ConfigMapReader interface {
	ReadConfigMap(namespace string, name string) (*unstructured.Unstructured, error)
}

type K8STypeLookup added in v0.11.0

type K8STypeLookup interface {
	ResourceForReferable(obj Referable) (*schema.GroupVersionResource, error)
	ResourceForKind(gvk schema.GroupVersionKind) (*schema.GroupVersionResource, error)
	KindForResource(gvr schema.GroupVersionResource) (*schema.GroupVersionKind, error)
}

func ResourceLookup added in v0.11.0

func ResourceLookup(restMapper meta.RESTMapper) K8STypeLookup

type Referable

type Referable interface {
	GroupVersionResource() (*schema.GroupVersionResource, error)
	GroupVersionKind() (*schema.GroupVersionKind, error)
}

type SecretReader

type SecretReader interface {
	ReadSecret(namespace string, name string) (*unstructured.Unstructured, error)
}

Directories

Path Synopsis
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.

Jump to

Keyboard shortcuts

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