internalversion

package
v0.0.0-...-23f0366 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2017 License: Apache-2.0 Imports: 6 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 BrokerClient

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

BrokerClient is used to interact with features provided by the sdkbroker.broker.k8s.io group.

func New

func New(c rest.Interface) *BrokerClient

New creates a new BrokerClient for the given RESTClient.

func NewForConfig

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

NewForConfig creates a new BrokerClient for the given config.

func NewForConfigOrDie

func NewForConfigOrDie(c *rest.Config) *BrokerClient

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

func (*BrokerClient) RESTClient

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

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

func (*BrokerClient) ServiceInstances

func (c *BrokerClient) ServiceInstances(namespace string) ServiceInstanceInterface

type BrokerInterface

type BrokerInterface interface {
	RESTClient() rest.Interface
	ServiceInstancesGetter
}

type ServiceInstanceExpansion

type ServiceInstanceExpansion interface{}

type ServiceInstanceInterface

type ServiceInstanceInterface interface {
	Create(*broker.ServiceInstance) (*broker.ServiceInstance, error)
	Update(*broker.ServiceInstance) (*broker.ServiceInstance, error)
	UpdateStatus(*broker.ServiceInstance) (*broker.ServiceInstance, error)
	Delete(name string, options *v1.DeleteOptions) error
	DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
	Get(name string, options v1.GetOptions) (*broker.ServiceInstance, error)
	List(opts v1.ListOptions) (*broker.ServiceInstanceList, error)
	Watch(opts v1.ListOptions) (watch.Interface, error)
	Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *broker.ServiceInstance, err error)
	ServiceInstanceExpansion
}

ServiceInstanceInterface has methods to work with ServiceInstance resources.

type ServiceInstancesGetter

type ServiceInstancesGetter interface {
	ServiceInstances(namespace string) ServiceInstanceInterface
}

ServiceInstancesGetter has a method to return a ServiceInstanceInterface. 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