v1

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2019 License: Apache-2.0 Imports: 7 Imported by: 58

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 ConfigurationExpansion

type ConfigurationExpansion interface{}

type ConfigurationInterface

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

ConfigurationInterface has methods to work with Configuration resources.

type ConfigurationsGetter

type ConfigurationsGetter interface {
	Configurations(namespace string) ConfigurationInterface
}

ConfigurationsGetter has a method to return a ConfigurationInterface. A group's client should implement this interface.

type RevisionExpansion

type RevisionExpansion interface{}

type RevisionInterface

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

RevisionInterface has methods to work with Revision resources.

type RevisionsGetter

type RevisionsGetter interface {
	Revisions(namespace string) RevisionInterface
}

RevisionsGetter has a method to return a RevisionInterface. A group's client should implement this interface.

type RouteExpansion

type RouteExpansion interface{}

type RouteInterface

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

RouteInterface has methods to work with Route resources.

type RoutesGetter

type RoutesGetter interface {
	Routes(namespace string) RouteInterface
}

RoutesGetter has a method to return a RouteInterface. 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.

type ServingV1Client

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

ServingV1Client is used to interact with features provided by the serving.knative.dev group.

func New

New creates a new ServingV1Client for the given RESTClient.

func NewForConfig

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

NewForConfig creates a new ServingV1Client for the given config.

func NewForConfigOrDie

func NewForConfigOrDie(c *rest.Config) *ServingV1Client

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

func (*ServingV1Client) Configurations

func (c *ServingV1Client) Configurations(namespace string) ConfigurationInterface

func (*ServingV1Client) RESTClient

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

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

func (*ServingV1Client) Revisions

func (c *ServingV1Client) Revisions(namespace string) RevisionInterface

func (*ServingV1Client) Routes

func (c *ServingV1Client) Routes(namespace string) RouteInterface

func (*ServingV1Client) Services

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

type ServingV1Interface

type ServingV1Interface interface {
	RESTClient() rest.Interface
	ConfigurationsGetter
	RevisionsGetter
	RoutesGetter
	ServicesGetter
}

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