extensions

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2019 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BackupInterface added in v0.3.0

BackupInterface declares interactions with the Backup objects.

type BackupScheduledInterface added in v0.4.0

BackupScheduledInterface declares interactions with the Backup objects.

type Client

type Client struct {
	RestClient rest.Interface
}

Client for interacting with Operator objects.

func NewForConfig

func NewForConfig(c *rest.Config) (*Client, error)

NewForConfig returns a client for interacting with Extensions objects.

func (*Client) Backups added in v0.3.0

func (c *Client) Backups(namespace string) BackupInterface

Backups within a namespace.

func (*Client) Execs

func (c *Client) Execs(namespace string) ExecInterface

Execs within a namespace.

func (*Client) Schedules added in v0.4.0

func (c *Client) Schedules(namespace string) BackupScheduledInterface

Schedules within a namespace.

type ClientInterface

type ClientInterface interface {
	Backups(namespace string) BackupInterface
	Execs(namespace string) ExecInterface
	Schedules(namespace string) BackupScheduledInterface
}

ClientInterface for interacting with AWS subclients.

type ExecInterface

type ExecInterface interface {
	List(opts metav1.ListOptions) (*extensionsv1beta1.ExecList, error)
	Get(name string, options metav1.GetOptions) (*extensionsv1beta1.Exec, error)
	Create(*extensionsv1beta1.Exec) (*extensionsv1beta1.Exec, error)
	Watch(opts metav1.ListOptions) (watch.Interface, error)
}

ExecInterface declares interactions with the Exec objects.

Jump to

Keyboard shortcuts

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