kubernetes

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: May 16, 2022 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Overview

package kubernetes implements a steampipe plugin for kubernetes.

This plugin provides data that Steampipe uses to present foreign tables that represent kubernetes resources.

Index

Constants

View Source
const (
	ColumnDescriptionTitle = "Title of the resource."
	ColumnDescriptionAkas  = "Array of globally unique identifier strings (also known as) for the resource."
	ColumnDescriptionTags  = "A map of tags for the resource. This includes both labels and annotations."
)

Variables

View Source
var ConfigSchema = map[string]*schema.Attribute{
	"config_paths": {
		Type: schema.TypeList,
		Elem: &schema.Attribute{Type: schema.TypeString},
	},
	"config_path": {
		Type: schema.TypeString,
	},
	"config_context": {
		Type: schema.TypeString,
	},
}

Functions

func ConfigInstance

func ConfigInstance() interface{}

func GetConfig

func GetConfig(connection *plugin.Connection) kubernetesConfig

GetConfig :: retrieve and cast connection config from query data

func GetNewClientset

func GetNewClientset(ctx context.Context, d *plugin.QueryData) (*kubernetes.Clientset, error)

GetNewClientset :: gets client for querying k8s apis for the provided context

func Plugin

func Plugin(ctx context.Context) *plugin.Plugin

Plugin creates this (k8s) plugin

Types

This section is empty.

Jump to

Keyboard shortcuts

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