v1

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2019 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 AppExpansion

type AppExpansion interface{}

type AppInterface

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

AppInterface has methods to work with App resources.

type AppsGetter

type AppsGetter interface {
	Apps(namespace string) AppInterface
}

AppsGetter has a method to return a AppInterface. A group's client should implement this interface.

type ExternalServiceExpansion

type ExternalServiceExpansion interface{}

type ExternalServiceInterface

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

ExternalServiceInterface has methods to work with ExternalService resources.

type ExternalServicesGetter

type ExternalServicesGetter interface {
	ExternalServices(namespace string) ExternalServiceInterface
}

ExternalServicesGetter has a method to return a ExternalServiceInterface. A group's client should implement this interface.

type RioV1Client

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

RioV1Client is used to interact with features provided by the rio.cattle.io group.

func New

func New(c rest.Interface) *RioV1Client

New creates a new RioV1Client for the given RESTClient.

func NewForConfig

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

NewForConfig creates a new RioV1Client for the given config.

func NewForConfigOrDie

func NewForConfigOrDie(c *rest.Config) *RioV1Client

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

func (*RioV1Client) Apps

func (c *RioV1Client) Apps(namespace string) AppInterface

func (*RioV1Client) ExternalServices

func (c *RioV1Client) ExternalServices(namespace string) ExternalServiceInterface

func (*RioV1Client) RESTClient

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

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

func (*RioV1Client) Routers

func (c *RioV1Client) Routers(namespace string) RouterInterface

func (*RioV1Client) Services

func (c *RioV1Client) Services(namespace string) ServiceInterface

type RioV1Interface

type RioV1Interface interface {
	RESTClient() rest.Interface
	AppsGetter
	ExternalServicesGetter
	RoutersGetter
	ServicesGetter
}

type RouterExpansion

type RouterExpansion interface{}

type RouterInterface

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

RouterInterface has methods to work with Router resources.

type RoutersGetter

type RoutersGetter interface {
	Routers(namespace string) RouterInterface
}

RoutersGetter has a method to return a RouterInterface. A group's client should implement this interface.

type ServiceExpansion

type ServiceExpansion interface{}

type ServiceInterface

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

ServiceInterface has methods to work with Service resources.

type ServicesGetter

type ServicesGetter interface {
	Services(namespace string) ServiceInterface
}

ServicesGetter has a method to return a ServiceInterface. 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