kubernetes

package
v0.0.0-...-e59a93b Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2022 License: MIT Imports: 16 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
}

func NewClient

func NewClient(opts *options.Options) (*Client, error)

NewClient creates a new client to get data from kubernetes masters

func (*Client) GetReplicaSetInfo

func (c *Client) GetReplicaSetInfo(namespace string, replicaset string) (types.UID, error)

func (*Client) GetRolloutInfo

func (c *Client) GetRolloutInfo(namespace string, rolloutName string) (string, error)

func (*Client) IsHealthy

func (c *Client) IsHealthy() bool

IsHealthy returns whether the kubernetes client is able to get a list of all pods

func (*Client) PatchConfigmap

func (c *Client) PatchConfigmap(configmap string, namespace string, rollout string, newRs string, uid types.UID)

Jump to

Keyboard shortcuts

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