kubernetes

package
v0.0.0-...-6dbf550 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client represents the wrapper of kubernetes API client

func NewClient

func NewClient() (*Client, error)

NewClient returns Client struct

func (*Client) ListJobs

func (c *Client) ListJobs(namespace string) (*batchv1.JobList, error)

ListJobs returns the list of Jobs

Jump to

Keyboard shortcuts

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