Documentation ¶
Overview ¶
This package has the automatically generated typed clients.
Index ¶
- func GetInvolvedObjectNameFieldLabel(version string) string
- type ComponentStatusExpansion
- type ComponentStatusInterface
- type ComponentStatusesGetter
- type ConfigMapExpansion
- type ConfigMapInterface
- type ConfigMapsGetter
- type CoreClient
- func (c *CoreClient) ComponentStatuses() ComponentStatusInterface
- func (c *CoreClient) ConfigMaps(namespace string) ConfigMapInterface
- func (c *CoreClient) Endpoints(namespace string) EndpointsInterface
- func (c *CoreClient) Events(namespace string) EventInterface
- func (c *CoreClient) GetRESTClient() *rest.RESTClient
- func (c *CoreClient) LimitRanges(namespace string) LimitRangeInterface
- func (c *CoreClient) Namespaces() NamespaceInterface
- func (c *CoreClient) Nodes() NodeInterface
- func (c *CoreClient) PersistentVolumeClaims(namespace string) PersistentVolumeClaimInterface
- func (c *CoreClient) PersistentVolumes() PersistentVolumeInterface
- func (c *CoreClient) PodTemplates(namespace string) PodTemplateInterface
- func (c *CoreClient) Pods(namespace string) PodInterface
- func (c *CoreClient) ReplicationControllers(namespace string) ReplicationControllerInterface
- func (c *CoreClient) ResourceQuotas(namespace string) ResourceQuotaInterface
- func (c *CoreClient) Secrets(namespace string) SecretInterface
- func (c *CoreClient) ServiceAccounts(namespace string) ServiceAccountInterface
- func (c *CoreClient) Services(namespace string) ServiceInterface
- type CoreInterface
- type EndpointsExpansion
- type EndpointsGetter
- type EndpointsInterface
- type EventExpansion
- type EventInterface
- type EventSinkImpl
- type EventsGetter
- 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(*v1.ComponentStatus) (*v1.ComponentStatus, error) Update(*v1.ComponentStatus) (*v1.ComponentStatus, error) Delete(name string, options *api.DeleteOptions) error DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error Get(name string) (*v1.ComponentStatus, error) List(opts api.ListOptions) (*v1.ComponentStatusList, error) Watch(opts api.ListOptions) (watch.Interface, error) Patch(name string, pt api.PatchType, data []byte, subresources ...string) (result *v1.ComponentStatus, err 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(*v1.ConfigMap) (*v1.ConfigMap, error) Update(*v1.ConfigMap) (*v1.ConfigMap, error) Delete(name string, options *api.DeleteOptions) error DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error Get(name string) (*v1.ConfigMap, error) List(opts api.ListOptions) (*v1.ConfigMapList, error) Watch(opts api.ListOptions) (watch.Interface, error) Patch(name string, pt api.PatchType, data []byte, subresources ...string) (result *v1.ConfigMap, err 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 {
*rest.RESTClient
}
CoreClient is used to interact with features provided by the Core group.
func New ¶
func New(c *rest.RESTClient) *CoreClient
New creates a new CoreClient for the given RESTClient.
func NewForConfig ¶
func NewForConfig(c *rest.Config) (*CoreClient, error)
NewForConfig creates a new CoreClient for the given config.
func NewForConfigOrDie ¶
func NewForConfigOrDie(c *rest.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) GetRESTClient ¶
func (c *CoreClient) GetRESTClient() *rest.RESTClient
GetRESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
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 CoreInterface ¶
type CoreInterface interface { GetRESTClient() *rest.RESTClient ComponentStatusesGetter ConfigMapsGetter EndpointsGetter EventsGetter LimitRangesGetter NamespacesGetter NodesGetter PersistentVolumesGetter PersistentVolumeClaimsGetter PodsGetter PodTemplatesGetter ReplicationControllersGetter ResourceQuotasGetter SecretsGetter ServicesGetter ServiceAccountsGetter }
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(*v1.Endpoints) (*v1.Endpoints, error) Update(*v1.Endpoints) (*v1.Endpoints, error) Delete(name string, options *api.DeleteOptions) error DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error Get(name string) (*v1.Endpoints, error) List(opts api.ListOptions) (*v1.EndpointsList, error) Watch(opts api.ListOptions) (watch.Interface, error) Patch(name string, pt api.PatchType, data []byte, subresources ...string) (result *v1.Endpoints, err 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 *v1.Event) (*v1.Event, error) // UpdateWithEventNamespace is the same as a Update, except that it sends the request to the event.Namespace. UpdateWithEventNamespace(event *v1.Event) (*v1.Event, error) PatchWithEventNamespace(event *v1.Event, data []byte) (*v1.Event, error) // Search finds events about the specified object Search(objOrRef runtime.Object) (*v1.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(*v1.Event) (*v1.Event, error) Update(*v1.Event) (*v1.Event, error) Delete(name string, options *api.DeleteOptions) error DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error Get(name string) (*v1.Event, error) List(opts api.ListOptions) (*v1.EventList, error) Watch(opts api.ListOptions) (watch.Interface, error) Patch(name string, pt api.PatchType, data []byte, subresources ...string) (result *v1.Event, err 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 LimitRangeExpansion ¶
type LimitRangeExpansion interface{}
type LimitRangeInterface ¶
type LimitRangeInterface interface { Create(*v1.LimitRange) (*v1.LimitRange, error) Update(*v1.LimitRange) (*v1.LimitRange, error) Delete(name string, options *api.DeleteOptions) error DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error Get(name string) (*v1.LimitRange, error) List(opts api.ListOptions) (*v1.LimitRangeList, error) Watch(opts api.ListOptions) (watch.Interface, error) Patch(name string, pt api.PatchType, data []byte, subresources ...string) (result *v1.LimitRange, err 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 ¶
The NamespaceExpansion interface allows manually adding extra methods to the NamespaceInterface.
type NamespaceInterface ¶
type NamespaceInterface interface { Create(*v1.Namespace) (*v1.Namespace, error) Update(*v1.Namespace) (*v1.Namespace, error) UpdateStatus(*v1.Namespace) (*v1.Namespace, error) Delete(name string, options *api.DeleteOptions) error DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error Get(name string) (*v1.Namespace, error) List(opts api.ListOptions) (*v1.NamespaceList, error) Watch(opts api.ListOptions) (watch.Interface, error) Patch(name string, pt api.PatchType, data []byte, subresources ...string) (result *v1.Namespace, err 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(*v1.Node) (*v1.Node, error) Update(*v1.Node) (*v1.Node, error) UpdateStatus(*v1.Node) (*v1.Node, error) Delete(name string, options *api.DeleteOptions) error DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error Get(name string) (*v1.Node, error) List(opts api.ListOptions) (*v1.NodeList, error) Watch(opts api.ListOptions) (watch.Interface, error) Patch(name string, pt api.PatchType, data []byte, subresources ...string) (result *v1.Node, err 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(*v1.PersistentVolumeClaim) (*v1.PersistentVolumeClaim, error) Update(*v1.PersistentVolumeClaim) (*v1.PersistentVolumeClaim, error) UpdateStatus(*v1.PersistentVolumeClaim) (*v1.PersistentVolumeClaim, error) Delete(name string, options *api.DeleteOptions) error DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error Get(name string) (*v1.PersistentVolumeClaim, error) List(opts api.ListOptions) (*v1.PersistentVolumeClaimList, error) Watch(opts api.ListOptions) (watch.Interface, error) Patch(name string, pt api.PatchType, data []byte, subresources ...string) (result *v1.PersistentVolumeClaim, err 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(*v1.PersistentVolume) (*v1.PersistentVolume, error) Update(*v1.PersistentVolume) (*v1.PersistentVolume, error) UpdateStatus(*v1.PersistentVolume) (*v1.PersistentVolume, error) Delete(name string, options *api.DeleteOptions) error DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error Get(name string) (*v1.PersistentVolume, error) List(opts api.ListOptions) (*v1.PersistentVolumeList, error) Watch(opts api.ListOptions) (watch.Interface, error) Patch(name string, pt api.PatchType, data []byte, subresources ...string) (result *v1.PersistentVolume, err 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 *v1.Binding) error Evict(eviction *policy.Eviction) error GetLogs(name string, opts *v1.PodLogOptions) *rest.Request }
The PodExpansion interface allows manually adding extra methods to the PodInterface.
type PodInterface ¶
type PodInterface interface { Create(*v1.Pod) (*v1.Pod, error) Update(*v1.Pod) (*v1.Pod, error) UpdateStatus(*v1.Pod) (*v1.Pod, error) Delete(name string, options *api.DeleteOptions) error DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error Get(name string) (*v1.Pod, error) List(opts api.ListOptions) (*v1.PodList, error) Watch(opts api.ListOptions) (watch.Interface, error) Patch(name string, pt api.PatchType, data []byte, subresources ...string) (result *v1.Pod, err error) PodExpansion }
PodInterface has methods to work with Pod resources.
type PodTemplateExpansion ¶
type PodTemplateExpansion interface{}
type PodTemplateInterface ¶
type PodTemplateInterface interface { Create(*v1.PodTemplate) (*v1.PodTemplate, error) Update(*v1.PodTemplate) (*v1.PodTemplate, error) Delete(name string, options *api.DeleteOptions) error DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error Get(name string) (*v1.PodTemplate, error) List(opts api.ListOptions) (*v1.PodTemplateList, error) Watch(opts api.ListOptions) (watch.Interface, error) Patch(name string, pt api.PatchType, data []byte, subresources ...string) (result *v1.PodTemplate, err 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(*v1.ReplicationController) (*v1.ReplicationController, error) Update(*v1.ReplicationController) (*v1.ReplicationController, error) UpdateStatus(*v1.ReplicationController) (*v1.ReplicationController, error) Delete(name string, options *api.DeleteOptions) error DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error Get(name string) (*v1.ReplicationController, error) List(opts api.ListOptions) (*v1.ReplicationControllerList, error) Watch(opts api.ListOptions) (watch.Interface, error) Patch(name string, pt api.PatchType, data []byte, subresources ...string) (result *v1.ReplicationController, err 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(*v1.ResourceQuota) (*v1.ResourceQuota, error) Update(*v1.ResourceQuota) (*v1.ResourceQuota, error) UpdateStatus(*v1.ResourceQuota) (*v1.ResourceQuota, error) Delete(name string, options *api.DeleteOptions) error DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error Get(name string) (*v1.ResourceQuota, error) List(opts api.ListOptions) (*v1.ResourceQuotaList, error) Watch(opts api.ListOptions) (watch.Interface, error) Patch(name string, pt api.PatchType, data []byte, subresources ...string) (result *v1.ResourceQuota, err 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(*v1.Secret) (*v1.Secret, error) Update(*v1.Secret) (*v1.Secret, error) Delete(name string, options *api.DeleteOptions) error DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error Get(name string) (*v1.Secret, error) List(opts api.ListOptions) (*v1.SecretList, error) Watch(opts api.ListOptions) (watch.Interface, error) Patch(name string, pt api.PatchType, data []byte, subresources ...string) (result *v1.Secret, err 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(*v1.ServiceAccount) (*v1.ServiceAccount, error) Update(*v1.ServiceAccount) (*v1.ServiceAccount, error) Delete(name string, options *api.DeleteOptions) error DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error Get(name string) (*v1.ServiceAccount, error) List(opts api.ListOptions) (*v1.ServiceAccountList, error) Watch(opts api.ListOptions) (watch.Interface, error) Patch(name string, pt api.PatchType, data []byte, subresources ...string) (result *v1.ServiceAccount, err 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) rest.ResponseWrapper
}
The ServiceExpansion interface allows manually adding extra methods to the ServiceInterface.
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 *api.DeleteOptions) error DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error Get(name string) (*v1.Service, error) List(opts api.ListOptions) (*v1.ServiceList, error) Watch(opts api.ListOptions) (watch.Interface, error) Patch(name string, pt api.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.
Source Files ¶
- componentstatus.go
- configmap.go
- core_client.go
- doc.go
- endpoints.go
- event.go
- event_expansion.go
- generated_expansion.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