k8stest

package
v1.5.2 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2018 License: MIT Imports: 1 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 {
	ScalesGetFunc    func(kind, name string) (*client.Scale, error)
	ScalesUpdateFunc func(kind string, scale *client.Scale) error
}

func (Client) Client

func (c Client) Client(string) (client.Client, error)

Client returns itself.

func (Client) Scales

func (c Client) Scales(namespace string) client.ScalesInterface

func (Client) Update

func (Client) Update(client.Config) error

func (Client) Versions

func (c Client) Versions() (client.APIVersions, error)

type Scales

type Scales struct {
	ScalesGetFunc    func(kind, name string) (*client.Scale, error)
	ScalesUpdateFunc func(kind string, scale *client.Scale) error
}

func (Scales) Get

func (s Scales) Get(kind, name string) (*client.Scale, error)

func (Scales) Update

func (s Scales) Update(kind string, scale *client.Scale) error

Jump to

Keyboard shortcuts

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