Documentation
¶
Overview ¶
Package unversioned has the automatically generated clients for unversioned resources.
Index ¶
- func GetInvolvedObjectNameFieldLabel(version string) string
- type ComponentStatusExpansion
- type ComponentStatusInterface
- type ComponentStatusesGetter
- type EndpointsExpansion
- type EndpointsGetter
- type EndpointsInterface
- type EventExpansion
- type EventInterface
- type EventSinkImpl
- type EventsGetter
- type LegacyClient
- func (c *LegacyClient) ComponentStatuses() ComponentStatusInterface
- func (c *LegacyClient) Endpoints(namespace string) EndpointsInterface
- func (c *LegacyClient) Events(namespace string) EventInterface
- func (c *LegacyClient) LimitRanges(namespace string) LimitRangeInterface
- func (c *LegacyClient) Namespaces() NamespaceInterface
- func (c *LegacyClient) Nodes() NodeInterface
- func (c *LegacyClient) PersistentVolumeClaims(namespace string) PersistentVolumeClaimInterface
- func (c *LegacyClient) PersistentVolumes() PersistentVolumeInterface
- func (c *LegacyClient) PodTemplates(namespace string) PodTemplateInterface
- func (c *LegacyClient) Pods(namespace string) PodInterface
- func (c *LegacyClient) ReplicationControllers(namespace string) ReplicationControllerInterface
- func (c *LegacyClient) ResourceQuotas(namespace string) ResourceQuotaInterface
- func (c *LegacyClient) Secrets(namespace string) SecretInterface
- func (c *LegacyClient) ServiceAccounts(namespace string) ServiceAccountInterface
- func (c *LegacyClient) Services(namespace string) ServiceInterface
- type LegacyInterface
- type LimitRangeExpansion
- type LimitRangeInterface
- type LimitRangesGetter
- type NamespaceExpansion
- type NamespaceInterface
- type NamespacesGetter
- type NodeExpansion
- type NodeInterface
- type NodesGetter
- type PersistentVolumeClaimExpansion
- type PersistentVolumeClaimInterface
- type PersistentVolumeClaimsGetter
- type PersistentVolumeExpansion
- type PersistentVolumeInterface
- type PersistentVolumesGetter
- type PodExpansion
- type PodInterface
- type PodTemplateExpansion
- type PodTemplateInterface
- type PodTemplatesGetter
- type PodsGetter
- type ReplicationControllerExpansion
- type ReplicationControllerInterface
- type ReplicationControllersGetter
- type ResourceQuotaExpansion
- type ResourceQuotaInterface
- type ResourceQuotasGetter
- type SecretExpansion
- type SecretInterface
- type SecretsGetter
- type ServiceAccountExpansion
- type ServiceAccountInterface
- type ServiceAccountsGetter
- type ServiceExpansion
- type ServiceInterface
- type ServicesGetter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetInvolvedObjectNameFieldLabel ¶
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 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 }
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.
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 LegacyClient ¶
type LegacyClient struct {
*unversioned.RESTClient
}
LegacyClient is used to interact with features provided by the Legacy group.
func New ¶
func New(c *unversioned.RESTClient) *LegacyClient
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) ComponentStatuses ¶
func (c *LegacyClient) ComponentStatuses() 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() NamespaceInterface
func (*LegacyClient) Nodes ¶
func (c *LegacyClient) Nodes() NodeInterface
func (*LegacyClient) PersistentVolumeClaims ¶
func (c *LegacyClient) PersistentVolumeClaims(namespace string) PersistentVolumeClaimInterface
func (*LegacyClient) PersistentVolumes ¶
func (c *LegacyClient) PersistentVolumes() 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 LegacyInterface ¶
type LegacyInterface interface { ComponentStatusesGetter EndpointsGetter EventsGetter LimitRangesGetter NamespacesGetter NodesGetter PersistentVolumesGetter PersistentVolumeClaimsGetter PodsGetter PodTemplatesGetter ReplicationControllersGetter ResourceQuotasGetter SecretsGetter ServicesGetter ServiceAccountsGetter }
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 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 ¶
type PersistentVolumeClaimInterface interface { Create(*api.PersistentVolumeClaim) (*api.PersistentVolumeClaim, error) Update(*api.PersistentVolumeClaim) (*api.PersistentVolumeClaim, error) UpdateStatus(*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) PersistentVolumeClaimExpansion }
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 }
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 ¶
type ReplicationControllerInterface interface { Create(*api.ReplicationController) (*api.ReplicationController, error) Update(*api.ReplicationController) (*api.ReplicationController, error) UpdateStatus(*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) ReplicationControllerExpansion }
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
}
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.
Source Files
¶
- componentstatus.go
- doc.go
- endpoints.go
- event.go
- event_expansion.go
- generated_expansion.go
- legacy_client.go
- limitrange.go
- namespace.go
- namespace_expansion.go
- node.go
- persistentvolume.go
- persistentvolumeclaim.go
- pod.go
- pod_expansion.go
- podtemplate.go
- replicationcontroller.go
- resourcequota.go
- secret.go
- service.go
- service_expansion.go
- serviceaccount.go