v1

package
v0.0.0-...-0eb5dd4 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2018 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

This package has the automatically generated typed clients.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LessorV1Client

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

LessorV1Client is used to interact with features provided by the lessor.io group.

func New

New creates a new LessorV1Client for the given RESTClient.

func NewForConfig

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

NewForConfig creates a new LessorV1Client for the given config.

func NewForConfigOrDie

func NewForConfigOrDie(c *rest.Config) *LessorV1Client

NewForConfigOrDie creates a new LessorV1Client for the given config and panics if there is an error in the config.

func (*LessorV1Client) RESTClient

func (c *LessorV1Client) RESTClient() rest.Interface

RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.

func (*LessorV1Client) Tenants

func (c *LessorV1Client) Tenants(namespace string) TenantInterface

type LessorV1Interface

type LessorV1Interface interface {
	RESTClient() rest.Interface
	TenantsGetter
}

type TenantExpansion

type TenantExpansion interface{}

type TenantInterface

type TenantInterface interface {
	Create(*v1.Tenant) (*v1.Tenant, error)
	Update(*v1.Tenant) (*v1.Tenant, error)
	Delete(name string, options *metav1.DeleteOptions) error
	DeleteCollection(options *metav1.DeleteOptions, listOptions metav1.ListOptions) error
	Get(name string, options metav1.GetOptions) (*v1.Tenant, error)
	List(opts metav1.ListOptions) (*v1.TenantList, error)
	Watch(opts metav1.ListOptions) (watch.Interface, error)
	Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1.Tenant, err error)
	TenantExpansion
}

TenantInterface has methods to work with Tenant resources.

type TenantsGetter

type TenantsGetter interface {
	Tenants(namespace string) TenantInterface
}

TenantsGetter has a method to return a TenantInterface. A group's client should implement this interface.

Directories

Path Synopsis
Package fake has the automatically generated clients.
Package fake has the automatically generated clients.

Jump to

Keyboard shortcuts

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