statefulset

package
v0.0.17 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2020 License: Apache-2.0 Imports: 5 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(client k8sclient.Client) Client

func (Client) Create

func (c Client) Create(set appsv1.StatefulSet) error

Create provides a thin wrapper and client.Client to create appsv1.StatefulSet types

func (Client) CreateOrUpdate

func (c Client) CreateOrUpdate(set appsv1.StatefulSet) error

CreateOrUpdate will either Create the stateful set if it doesn't exist, or Update it if it does

func (Client) Delete

func (c Client) Delete(set appsv1.StatefulSet) error

Delete provides a thin wrapper and client.Client to delete appsv1.StatefulSet types

func (Client) Get

Get provides a thin wrapper and client.Client to access appsv1.StatefulSet types

func (Client) Update

func (c Client) Update(set appsv1.StatefulSet) error

Update provides a thin wrapper and client.Client to update appsv1.StatefulSet types

Jump to

Keyboard shortcuts

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