unversioned

package
v0.0.0-...-a7f0406 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2020 License: Apache-2.0 Imports: 5 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

This section is empty.

Types

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)
}

ComponentStatusInterface has methods to work with ComponentStatus resources.

type ComponentStatusNamespacer

type ComponentStatusNamespacer interface {
	ComponentStatus(namespace string) ComponentStatusInterface
}

ComponentStatusNamespacer has methods to work with ComponentStatus resources in a namespace

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)
}

EndpointsInterface has methods to work with Endpoints resources.

type EndpointsNamespacer

type EndpointsNamespacer interface {
	Endpoints(namespace string) EndpointsInterface
}

EndpointsNamespacer has methods to work with Endpoints resources in a namespace

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)
}

EventInterface has methods to work with Event resources.

type EventNamespacer

type EventNamespacer interface {
	Events(namespace string) EventInterface
}

EventNamespacer has methods to work with Event resources in a namespace

type LegacyClient

type LegacyClient struct {
	*unversioned.RESTClient
}

LegacyClient is used to interact with features provided by the Legacy group.

func New

New creates a new LegacyClient for the given RESTClient.

func NewForConfig

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

NewForConfig creates a new LegacyClient for the given config.

func NewForConfigOrDie

func NewForConfigOrDie(c *unversioned.Config) *LegacyClient

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

func (*LegacyClient) ComponentStatus

func (c *LegacyClient) ComponentStatus(namespace string) ComponentStatusInterface

func (*LegacyClient) Endpoints

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

func (*LegacyClient) Events

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

func (*LegacyClient) LimitRanges

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

func (*LegacyClient) Namespaces

func (c *LegacyClient) Namespaces(namespace string) NamespaceInterface

func (*LegacyClient) Nodes

func (c *LegacyClient) Nodes(namespace string) NodeInterface

func (*LegacyClient) PersistentVolumeClaims

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

func (*LegacyClient) PersistentVolumes

func (c *LegacyClient) PersistentVolumes(namespace string) PersistentVolumeInterface

func (*LegacyClient) PodTemplates

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

func (*LegacyClient) Pods

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

func (*LegacyClient) ReplicationControllers

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

func (*LegacyClient) ResourceQuotas

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

func (*LegacyClient) Secrets

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

func (*LegacyClient) ServiceAccounts

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

func (*LegacyClient) Services

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

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)
}

LimitRangeInterface has methods to work with LimitRange resources.

type LimitRangeNamespacer

type LimitRangeNamespacer interface {
	LimitRanges(namespace string) LimitRangeInterface
}

LimitRangeNamespacer has methods to work with LimitRange resources in a namespace

type NamespaceInterface

type NamespaceInterface interface {
	Create(*api.Namespace) (*api.Namespace, error)
	Update(*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)
}

NamespaceInterface has methods to work with Namespace resources.

type NamespaceNamespacer

type NamespaceNamespacer interface {
	Namespaces(namespace string) NamespaceInterface
}

NamespaceNamespacer has methods to work with Namespace resources in a namespace

type NodeInterface

type NodeInterface interface {
	Create(*api.Node) (*api.Node, error)
	Update(*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)
}

NodeInterface has methods to work with Node resources.

type NodeNamespacer

type NodeNamespacer interface {
	Nodes(namespace string) NodeInterface
}

NodeNamespacer has methods to work with Node resources in a namespace

type PersistentVolumeClaimInterface

type PersistentVolumeClaimInterface interface {
	Create(*api.PersistentVolumeClaim) (*api.PersistentVolumeClaim, error)
	Update(*api.PersistentVolumeClaim) (*api.PersistentVolumeClaim, error)
	Delete(name string, options *api.DeleteOptions) error
	DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error
	Get(name string) (*api.PersistentVolumeClaim, error)
	List(opts api.ListOptions) (*api.PersistentVolumeClaimList, error)
	Watch(opts api.ListOptions) (watch.Interface, error)
}

PersistentVolumeClaimInterface has methods to work with PersistentVolumeClaim resources.

type PersistentVolumeClaimNamespacer

type PersistentVolumeClaimNamespacer interface {
	PersistentVolumeClaims(namespace string) PersistentVolumeClaimInterface
}

PersistentVolumeClaimNamespacer has methods to work with PersistentVolumeClaim resources in a namespace

type PersistentVolumeInterface

type PersistentVolumeInterface interface {
	Create(*api.PersistentVolume) (*api.PersistentVolume, error)
	Update(*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)
}

PersistentVolumeInterface has methods to work with PersistentVolume resources.

type PersistentVolumeNamespacer

type PersistentVolumeNamespacer interface {
	PersistentVolumes(namespace string) PersistentVolumeInterface
}

PersistentVolumeNamespacer has methods to work with PersistentVolume resources in a namespace

type PodInterface

type PodInterface interface {
	Create(*api.Pod) (*api.Pod, error)
	Update(*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)
}

PodInterface has methods to work with Pod resources.

type PodNamespacer

type PodNamespacer interface {
	Pods(namespace string) PodInterface
}

PodNamespacer has methods to work with Pod resources in a namespace

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)
}

PodTemplateInterface has methods to work with PodTemplate resources.

type PodTemplateNamespacer

type PodTemplateNamespacer interface {
	PodTemplates(namespace string) PodTemplateInterface
}

PodTemplateNamespacer has methods to work with PodTemplate resources in a namespace

type ReplicationControllerInterface

type ReplicationControllerInterface interface {
	Create(*api.ReplicationController) (*api.ReplicationController, error)
	Update(*api.ReplicationController) (*api.ReplicationController, error)
	Delete(name string, options *api.DeleteOptions) error
	DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error
	Get(name string) (*api.ReplicationController, error)
	List(opts api.ListOptions) (*api.ReplicationControllerList, error)
	Watch(opts api.ListOptions) (watch.Interface, error)
}

ReplicationControllerInterface has methods to work with ReplicationController resources.

type ReplicationControllerNamespacer

type ReplicationControllerNamespacer interface {
	ReplicationControllers(namespace string) ReplicationControllerInterface
}

ReplicationControllerNamespacer has methods to work with ReplicationController resources in a namespace

type ResourceQuotaInterface

type ResourceQuotaInterface interface {
	Create(*api.ResourceQuota) (*api.ResourceQuota, error)
	Update(*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)
}

ResourceQuotaInterface has methods to work with ResourceQuota resources.

type ResourceQuotaNamespacer

type ResourceQuotaNamespacer interface {
	ResourceQuotas(namespace string) ResourceQuotaInterface
}

ResourceQuotaNamespacer has methods to work with ResourceQuota resources in a namespace

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)
}

SecretInterface has methods to work with Secret resources.

type SecretNamespacer

type SecretNamespacer interface {
	Secrets(namespace string) SecretInterface
}

SecretNamespacer has methods to work with Secret resources in a namespace

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)
}

ServiceAccountInterface has methods to work with ServiceAccount resources.

type ServiceAccountNamespacer

type ServiceAccountNamespacer interface {
	ServiceAccounts(namespace string) ServiceAccountInterface
}

ServiceAccountNamespacer has methods to work with ServiceAccount resources in a namespace

type ServiceInterface

type ServiceInterface interface {
	Create(*api.Service) (*api.Service, error)
	Update(*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)
}

ServiceInterface has methods to work with Service resources.

type ServiceNamespacer

type ServiceNamespacer interface {
	Services(namespace string) ServiceInterface
}

ServiceNamespacer has methods to work with Service resources in a namespace

Jump to

Keyboard shortcuts

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