k8s

package
v0.0.24 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2020 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Resource added in v0.0.8

type Resource struct {
	Name       string
	Operations []string
}

type WebHookClient

type WebHookClient struct {
	// contains filtered or unexported fields
}

func NewWebHookClient

func NewWebHookClient(client *kubernetes.Clientset) *WebHookClient

NewWebHookClient constructs a new WebHookClient with the specified output of *kubernetes.Clientset

func (*WebHookClient) GenerateServiceItem added in v0.0.23

func (w *WebHookClient) GenerateServiceItem(ns, name string, path *string, port *int32) printer.PrintServiceItem

func (*WebHookClient) Run

func (w *WebHookClient) Run(args []string) (*printer.PrintModel, error)

Run args[0]: self executable args[1]: may be 'webhookname' or '--kubeconfig'

Jump to

Keyboard shortcuts

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