kubernetes

package
v0.0.0-...-2bc12df Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2021 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Overview

Package kubernetes presents a filesystem hierarchy for Kubernetes resources.

It uses uses contexts from ~/.kube/config to access Kubernetes APIs.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Root

type Root struct {
	plugin.EntryBase
}

Root of the Kubernetes plugin

func (*Root) ChildSchemas

func (r *Root) ChildSchemas() []*plugin.EntrySchema

ChildSchemas returns the root's child schemas

func (*Root) Init

func (r *Root) Init(map[string]interface{}) error

Init for root

func (*Root) List

func (r *Root) List(ctx context.Context) ([]plugin.Entry, error)

List returns available contexts.

func (*Root) Schema

func (r *Root) Schema() *plugin.EntrySchema

Schema returns the root's schema

func (*Root) WrappedTypes

func (r *Root) WrappedTypes() plugin.SchemaMap

WrappedTypes implements plugin.Root#WrappedTypes

Jump to

Keyboard shortcuts

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