v1

package
v0.0.0-...-b4926d4 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2018 License: Apache-2.0 Imports: 7 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 GlooV1Client

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

GlooV1Client is used to interact with features provided by the gloo.solo.io group.

func New

func New(c rest.Interface) *GlooV1Client

New creates a new GlooV1Client for the given RESTClient.

func NewForConfig

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

NewForConfig creates a new GlooV1Client for the given config.

func NewForConfigOrDie

func NewForConfigOrDie(c *rest.Config) *GlooV1Client

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

func (*GlooV1Client) RESTClient

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

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

func (*GlooV1Client) Upstreams

func (c *GlooV1Client) Upstreams(namespace string) UpstreamInterface

func (*GlooV1Client) VirtualHosts

func (c *GlooV1Client) VirtualHosts(namespace string) VirtualHostInterface

type GlooV1Interface

type GlooV1Interface interface {
	RESTClient() rest.Interface
	UpstreamsGetter
	VirtualHostsGetter
}

type UpstreamExpansion

type UpstreamExpansion interface{}

type UpstreamInterface

type UpstreamInterface interface {
	Create(*v1.Upstream) (*v1.Upstream, error)
	Update(*v1.Upstream) (*v1.Upstream, error)
	Delete(name string, options *meta_v1.DeleteOptions) error
	DeleteCollection(options *meta_v1.DeleteOptions, listOptions meta_v1.ListOptions) error
	Get(name string, options meta_v1.GetOptions) (*v1.Upstream, error)
	List(opts meta_v1.ListOptions) (*v1.UpstreamList, error)
	Watch(opts meta_v1.ListOptions) (watch.Interface, error)
	Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1.Upstream, err error)
	UpstreamExpansion
}

UpstreamInterface has methods to work with Upstream resources.

type UpstreamsGetter

type UpstreamsGetter interface {
	Upstreams(namespace string) UpstreamInterface
}

UpstreamsGetter has a method to return a UpstreamInterface. A group's client should implement this interface.

type VirtualHostExpansion

type VirtualHostExpansion interface{}

type VirtualHostInterface

type VirtualHostInterface interface {
	Create(*v1.VirtualHost) (*v1.VirtualHost, error)
	Update(*v1.VirtualHost) (*v1.VirtualHost, error)
	Delete(name string, options *meta_v1.DeleteOptions) error
	DeleteCollection(options *meta_v1.DeleteOptions, listOptions meta_v1.ListOptions) error
	Get(name string, options meta_v1.GetOptions) (*v1.VirtualHost, error)
	List(opts meta_v1.ListOptions) (*v1.VirtualHostList, error)
	Watch(opts meta_v1.ListOptions) (watch.Interface, error)
	Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1.VirtualHost, err error)
	VirtualHostExpansion
}

VirtualHostInterface has methods to work with VirtualHost resources.

type VirtualHostsGetter

type VirtualHostsGetter interface {
	VirtualHosts(namespace string) VirtualHostInterface
}

VirtualHostsGetter has a method to return a VirtualHostInterface. 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