kubectl

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ActionAnnotations

func ActionAnnotations(opts AnnotationOpts) carapace.Action

ActionAnnotations completes annotations

key (value)
another (value2)

func ActionApiGroups

func ActionApiGroups() carapace.Action

ActionApiGroups completes api groups

authorization.k8s.io
autoscaling

func ActionApiResourceResources

func ActionApiResourceResources(opts ApiResourceResourcesOpts) carapace.Action

ActionApiResourceResources completes api resources and resources separately

apiservices/v1.admissionregistration.k8s.io
endpoints/kubernetes

func ActionApiResources

func ActionApiResources() carapace.Action

ActionApiResources completes api resources

apiservices
endpoints

func ActionClusters

func ActionClusters() carapace.Action

ActionClusters completes clusters

minikube
another

func ActionContainers

func ActionContainers(opts ContainerOpts) carapace.Action

ActionContainers completes containers

func ActionContexts

func ActionContexts() carapace.Action

ActionContexts completes contexts

minikube
another

func ActionDryRunModes

func ActionDryRunModes() carapace.Action

ActionDryRunModes completes dry run modes

none
server

func ActionLabels

func ActionLabels(opts LabelOpts) carapace.Action

ActionLabels completes labels

func ActionNamespaceServiceAccounts

func ActionNamespaceServiceAccounts() carapace.Action

ActionNamespaceServiceAccounts completes namespaces and serviceaccounts separately

default (Namespace)
kube-public (Namespace)

func ActionOutputFormats

func ActionOutputFormats() carapace.Action

ActionOutputFormats completes output formats

json
yaml

func ActionResourceVerbs

func ActionResourceVerbs() carapace.Action

ActionResourceVerbs completes resource verbs

get
list

func ActionResources

func ActionResources(opts ResourceOpts) carapace.Action

ActionResources completes resources TODO example

func ActionValidationModes

func ActionValidationModes() carapace.Action

ActionValidationModes completes validation modes

strict
warn

Types

type AnnotationOpts

type AnnotationOpts struct {
	Namespace string
	Resource  string
}

type ApiResourceResourcesOpts

type ApiResourceResourcesOpts struct {
	Namespace string
}

type ContainerOpts

type ContainerOpts struct {
	Namespace string
	Resource  string
}

type LabelOpts

type LabelOpts struct {
	Namespace string
	Resource  string
}

type ResourceOpts

type ResourceOpts struct {
	Context   string
	Namespace string
	Types     string
}

Jump to

Keyboard shortcuts

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