unversioned

package
v0.0.0-...-35ad561 Latest Latest
Warning

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

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

Documentation

Overview

Package unversioned has the automatically generated clients for unversioned resources.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetInvolvedObjectNameFieldLabel

func GetInvolvedObjectNameFieldLabel(version string) string

Returns the appropriate field label to use for name of the involved object as per the given API version.

Types

type ComponentStatusExpansion

type ComponentStatusExpansion interface{}

type ComponentStatusInterface

type ComponentStatusInterface interface {
	Create(*api.ComponentStatus) (*api.ComponentStatus, error)
	Update(*api.ComponentStatus) (*api.ComponentStatus, error)
	Delete(name string, options *api.DeleteOptions) error
	DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error
	Get(name string) (*api.ComponentStatus, error)
	List(opts api.ListOptions) (*api.ComponentStatusList, error)
	Watch(opts api.ListOptions) (watch.Interface, error)
	ComponentStatusExpansion
}

ComponentStatusInterface has methods to work with ComponentStatus resources.

type ComponentStatusesGetter

type ComponentStatusesGetter interface {
	ComponentStatuses() ComponentStatusInterface
}

ComponentStatusesGetter has a method to return a ComponentStatusInterface. A group's client should implement this interface.

type ConfigMapExpansion

type ConfigMapExpansion interface{}

type ConfigMapInterface

type ConfigMapInterface interface {
	Create(*api.ConfigMap) (*api.ConfigMap, error)
	Update(*api.ConfigMap) (*api.ConfigMap, error)
	Delete(name string, options *api.DeleteOptions) error
	DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error
	Get(name string) (*api.ConfigMap, error)
	List(opts api.ListOptions) (*api.ConfigMapList, error)
	Watch(opts api.ListOptions) (watch.Interface, error)
	ConfigMapExpansion
}

ConfigMapInterface has methods to work with ConfigMap resources.

type ConfigMapsGetter

type ConfigMapsGetter interface {
	ConfigMaps(namespace string) ConfigMapInterface
}

ConfigMapsGetter has a method to return a ConfigMapInterface. A group's client should implement this interface.

type CoreClient

type CoreClient struct {
	*unversioned.RESTClient
}

CoreClient is used to interact with features provided by the Core group.

func New

New creates a new CoreClient for the given RESTClient.

func NewForConfig

func NewForConfig(c *unversioned.Config) (*CoreClient, error)

NewForConfig creates a new CoreClient for the given config.

func NewForConfigOrDie

func NewForConfigOrDie(c *unversioned.Config) *CoreClient

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

func (*CoreClient) ComponentStatuses

func (c *CoreClient) ComponentStatuses() ComponentStatusInterface

func (*CoreClient) ConfigMaps

func (c *CoreClient) ConfigMaps(namespace string) ConfigMapInterface

func (*CoreClient) Endpoints

func (c *CoreClient) Endpoints(namespace string) EndpointsInterface

func (*CoreClient) Events

func (c *CoreClient) Events(namespace string) EventInterface

func (*CoreClient) LimitRanges

func (c *CoreClient) LimitRanges(namespace string) LimitRangeInterface

func (*CoreClient) Namespaces

func (c *CoreClient) Namespaces() NamespaceInterface

func (*CoreClient) Nodes

func (c *CoreClient) Nodes() NodeInterface

func (*CoreClient) PersistentVolumeClaims

func (c *CoreClient) PersistentVolumeClaims(namespace string) PersistentVolumeClaimInterface

func (*CoreClient) PersistentVolumes

func (c *CoreClient) PersistentVolumes() PersistentVolumeInterface

func (*CoreClient) PodTemplates

func (c *CoreClient) PodTemplates(namespace string) PodTemplateInterface

func (*CoreClient) Pods

func (c *CoreClient) Pods(namespace string) PodInterface

func (*CoreClient) ReplicationControllers

func (c *CoreClient) ReplicationControllers(namespace string) ReplicationControllerInterface

func (*CoreClient) ResourceQuotas

func (c *CoreClient) ResourceQuotas(namespace string) ResourceQuotaInterface

func (*CoreClient) Secrets

func (c *CoreClient) Secrets(namespace string) SecretInterface

func (*CoreClient) ServiceAccounts

func (c *CoreClient) ServiceAccounts(namespace string) ServiceAccountInterface

func (*CoreClient) Services

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

type EndpointsExpansion

type EndpointsExpansion interface{}

type EndpointsGetter

type EndpointsGetter interface {
	Endpoints(namespace string) EndpointsInterface
}

EndpointsGetter has a method to return a EndpointsInterface. A group's client should implement this interface.

type EndpointsInterface

type EndpointsInterface interface {
	Create(*api.Endpoints) (*api.Endpoints, error)
	Update(*api.Endpoints) (*api.Endpoints, error)
	Delete(name string, options *api.DeleteOptions) error
	DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error
	Get(name string) (*api.Endpoints, error)
	List(opts api.ListOptions) (*api.EndpointsList, error)
	Watch(opts api.ListOptions) (watch.Interface, error)
	EndpointsExpansion
}

EndpointsInterface has methods to work with Endpoints resources.

type EventExpansion

type EventExpansion interface {
	// CreateWithEventNamespace is the same as a Create, except that it sends the request to the event.Namespace.
	CreateWithEventNamespace(event *api.Event) (*api.Event, error)
	// UpdateWithEventNamespace is the same as a Update, except that it sends the request to the event.Namespace.
	UpdateWithEventNamespace(event *api.Event) (*api.Event, error)
	Patch(event *api.Event, data []byte) (*api.Event, error)
	// Search finds events about the specified object
	Search(objOrRef runtime.Object) (*api.EventList, error)
	// Returns the appropriate field selector based on the API version being used to communicate with the server.
	// The returned field selector can be used with List and Watch to filter desired events.
	GetFieldSelector(involvedObjectName, involvedObjectNamespace, involvedObjectKind, involvedObjectUID *string) fields.Selector
}

The EventExpansion interface allows manually adding extra methods to the EventInterface.

type EventInterface

type EventInterface interface {
	Create(*api.Event) (*api.Event, error)
	Update(*api.Event) (*api.Event, error)
	Delete(name string, options *api.DeleteOptions) error
	DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error
	Get(name string) (*api.Event, error)
	List(opts api.ListOptions) (*api.EventList, error)
	Watch(opts api.ListOptions) (watch.Interface, error)
	EventExpansion
}

EventInterface has methods to work with Event resources.

type EventSinkImpl

type EventSinkImpl struct {
	Interface EventInterface
}

TODO: This is a temporary arrangement and will be removed once all clients are moved to use the clientset.

func (*EventSinkImpl) Create

func (e *EventSinkImpl) Create(event *api.Event) (*api.Event, error)

func (*EventSinkImpl) Patch

func (e *EventSinkImpl) Patch(event *api.Event, data []byte) (*api.Event, error)

func (*EventSinkImpl) Update

func (e *EventSinkImpl) Update(event *api.Event) (*api.Event, error)

type EventsGetter

type EventsGetter interface {
	Events(namespace string) EventInterface
}

EventsGetter has a method to return a EventInterface. A group's client should implement this interface.

type LimitRangeExpansion

type LimitRangeExpansion interface{}

type LimitRangeInterface

type LimitRangeInterface interface {
	Create(*api.LimitRange) (*api.LimitRange, error)
	Update(*api.LimitRange) (*api.LimitRange, error)
	Delete(name string, options *api.DeleteOptions) error
	DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error
	Get(name string) (*api.LimitRange, error)
	List(opts api.ListOptions) (*api.LimitRangeList, error)
	Watch(opts api.ListOptions) (watch.Interface, error)
	LimitRangeExpansion
}

LimitRangeInterface has methods to work with LimitRange resources.

type LimitRangesGetter

type LimitRangesGetter interface {
	LimitRanges(namespace string) LimitRangeInterface
}

LimitRangesGetter has a method to return a LimitRangeInterface. A group's client should implement this interface.

type NamespaceExpansion

type NamespaceExpansion interface {
	Finalize(item *api.Namespace) (*api.Namespace, error)
}

The NamespaceExpansion interface allows manually adding extra methods to the NamespaceInterface.

type NamespaceInterface

type NamespaceInterface interface {
	Create(*api.Namespace) (*api.Namespace, error)
	Update(*api.Namespace) (*api.Namespace, error)
	UpdateStatus(*api.Namespace) (*api.Namespace, error)
	Delete(name string, options *api.DeleteOptions) error
	DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error
	Get(name string) (*api.Namespace, error)
	List(opts api.ListOptions) (*api.NamespaceList, error)
	Watch(opts api.ListOptions) (watch.Interface, error)
	NamespaceExpansion
}

NamespaceInterface has methods to work with Namespace resources.

type NamespacesGetter

type NamespacesGetter interface {
	Namespaces() NamespaceInterface
}

NamespacesGetter has a method to return a NamespaceInterface. A group's client should implement this interface.

type NodeExpansion

type NodeExpansion interface{}

type NodeInterface

type NodeInterface interface {
	Create(*api.Node) (*api.Node, error)
	Update(*api.Node) (*api.Node, error)
	UpdateStatus(*api.Node) (*api.Node, error)
	Delete(name string, options *api.DeleteOptions) error
	DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error
	Get(name string) (*api.Node, error)
	List(opts api.ListOptions) (*api.NodeList, error)
	Watch(opts api.ListOptions) (watch.Interface, error)
	NodeExpansion
}

NodeInterface has methods to work with Node resources.

type NodesGetter

type NodesGetter interface {
	Nodes() NodeInterface
}

NodesGetter has a method to return a NodeInterface. A group's client should implement this interface.

type PersistentVolumeClaimExpansion

type PersistentVolumeClaimExpansion interface{}

type PersistentVolumeClaimInterface

PersistentVolumeClaimInterface has methods to work with PersistentVolumeClaim resources.

type PersistentVolumeClaimsGetter

type PersistentVolumeClaimsGetter interface {
	PersistentVolumeClaims(namespace string) PersistentVolumeClaimInterface
}

PersistentVolumeClaimsGetter has a method to return a PersistentVolumeClaimInterface. A group's client should implement this interface.

type PersistentVolumeExpansion

type PersistentVolumeExpansion interface{}

type PersistentVolumeInterface

type PersistentVolumeInterface interface {
	Create(*api.PersistentVolume) (*api.PersistentVolume, error)
	Update(*api.PersistentVolume) (*api.PersistentVolume, error)
	UpdateStatus(*api.PersistentVolume) (*api.PersistentVolume, error)
	Delete(name string, options *api.DeleteOptions) error
	DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error
	Get(name string) (*api.PersistentVolume, error)
	List(opts api.ListOptions) (*api.PersistentVolumeList, error)
	Watch(opts api.ListOptions) (watch.Interface, error)
	PersistentVolumeExpansion
}

PersistentVolumeInterface has methods to work with PersistentVolume resources.

type PersistentVolumesGetter

type PersistentVolumesGetter interface {
	PersistentVolumes() PersistentVolumeInterface
}

PersistentVolumesGetter has a method to return a PersistentVolumeInterface. A group's client should implement this interface.

type PodExpansion

type PodExpansion interface {
	Bind(binding *api.Binding) error
	GetLogs(name string, opts *api.PodLogOptions) *unversioned.Request
}

The PodExpansion interface allows manually adding extra methods to the PodInterface.

type PodInterface

type PodInterface interface {
	Create(*api.Pod) (*api.Pod, error)
	Update(*api.Pod) (*api.Pod, error)
	UpdateStatus(*api.Pod) (*api.Pod, error)
	Delete(name string, options *api.DeleteOptions) error
	DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error
	Get(name string) (*api.Pod, error)
	List(opts api.ListOptions) (*api.PodList, error)
	Watch(opts api.ListOptions) (watch.Interface, error)
	PodExpansion
}

PodInterface has methods to work with Pod resources.

type PodTemplateExpansion

type PodTemplateExpansion interface{}

type PodTemplateInterface

type PodTemplateInterface interface {
	Create(*api.PodTemplate) (*api.PodTemplate, error)
	Update(*api.PodTemplate) (*api.PodTemplate, error)
	Delete(name string, options *api.DeleteOptions) error
	DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error
	Get(name string) (*api.PodTemplate, error)
	List(opts api.ListOptions) (*api.PodTemplateList, error)
	Watch(opts api.ListOptions) (watch.Interface, error)
	PodTemplateExpansion
}

PodTemplateInterface has methods to work with PodTemplate resources.

type PodTemplatesGetter

type PodTemplatesGetter interface {
	PodTemplates(namespace string) PodTemplateInterface
}

PodTemplatesGetter has a method to return a PodTemplateInterface. A group's client should implement this interface.

type PodsGetter

type PodsGetter interface {
	Pods(namespace string) PodInterface
}

PodsGetter has a method to return a PodInterface. A group's client should implement this interface.

type ReplicationControllerExpansion

type ReplicationControllerExpansion interface{}

type ReplicationControllerInterface

ReplicationControllerInterface has methods to work with ReplicationController resources.

type ReplicationControllersGetter

type ReplicationControllersGetter interface {
	ReplicationControllers(namespace string) ReplicationControllerInterface
}

ReplicationControllersGetter has a method to return a ReplicationControllerInterface. A group's client should implement this interface.

type ResourceQuotaExpansion

type ResourceQuotaExpansion interface{}

type ResourceQuotaInterface

type ResourceQuotaInterface interface {
	Create(*api.ResourceQuota) (*api.ResourceQuota, error)
	Update(*api.ResourceQuota) (*api.ResourceQuota, error)
	UpdateStatus(*api.ResourceQuota) (*api.ResourceQuota, error)
	Delete(name string, options *api.DeleteOptions) error
	DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error
	Get(name string) (*api.ResourceQuota, error)
	List(opts api.ListOptions) (*api.ResourceQuotaList, error)
	Watch(opts api.ListOptions) (watch.Interface, error)
	ResourceQuotaExpansion
}

ResourceQuotaInterface has methods to work with ResourceQuota resources.

type ResourceQuotasGetter

type ResourceQuotasGetter interface {
	ResourceQuotas(namespace string) ResourceQuotaInterface
}

ResourceQuotasGetter has a method to return a ResourceQuotaInterface. A group's client should implement this interface.

type SecretExpansion

type SecretExpansion interface{}

type SecretInterface

type SecretInterface interface {
	Create(*api.Secret) (*api.Secret, error)
	Update(*api.Secret) (*api.Secret, error)
	Delete(name string, options *api.DeleteOptions) error
	DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error
	Get(name string) (*api.Secret, error)
	List(opts api.ListOptions) (*api.SecretList, error)
	Watch(opts api.ListOptions) (watch.Interface, error)
	SecretExpansion
}

SecretInterface has methods to work with Secret resources.

type SecretsGetter

type SecretsGetter interface {
	Secrets(namespace string) SecretInterface
}

SecretsGetter has a method to return a SecretInterface. A group's client should implement this interface.

type ServiceAccountExpansion

type ServiceAccountExpansion interface{}

type ServiceAccountInterface

type ServiceAccountInterface interface {
	Create(*api.ServiceAccount) (*api.ServiceAccount, error)
	Update(*api.ServiceAccount) (*api.ServiceAccount, error)
	Delete(name string, options *api.DeleteOptions) error
	DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error
	Get(name string) (*api.ServiceAccount, error)
	List(opts api.ListOptions) (*api.ServiceAccountList, error)
	Watch(opts api.ListOptions) (watch.Interface, error)
	ServiceAccountExpansion
}

ServiceAccountInterface has methods to work with ServiceAccount resources.

type ServiceAccountsGetter

type ServiceAccountsGetter interface {
	ServiceAccounts(namespace string) ServiceAccountInterface
}

ServiceAccountsGetter has a method to return a ServiceAccountInterface. A group's client should implement this interface.

type ServiceExpansion

type ServiceExpansion interface {
	ProxyGet(scheme, name, port, path string, params map[string]string) unversioned.ResponseWrapper
}

The ServiceExpansion interface allows manually adding extra methods to the ServiceInterface.

type ServiceInterface

type ServiceInterface interface {
	Create(*api.Service) (*api.Service, error)
	Update(*api.Service) (*api.Service, error)
	UpdateStatus(*api.Service) (*api.Service, error)
	Delete(name string, options *api.DeleteOptions) error
	DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error
	Get(name string) (*api.Service, error)
	List(opts api.ListOptions) (*api.ServiceList, error)
	Watch(opts api.ListOptions) (watch.Interface, 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.

Jump to

Keyboard shortcuts

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