kubernetes: k8s.io/kubernetes/pkg/client/clientset_generated/internalclientset/typed/core/internalversion Index | Files | Directories

package internalversion

import "k8s.io/kubernetes/pkg/client/clientset_generated/internalclientset/typed/core/internalversion"

This package has the automatically generated typed clients.

Index

Package 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 node_expansion.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

func GetInvolvedObjectNameFieldLabel Uses

func GetInvolvedObjectNameFieldLabel(version string) string

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

type ComponentStatusExpansion Uses

type ComponentStatusExpansion interface{}

type ComponentStatusInterface Uses

type ComponentStatusInterface interface {
    Create(*core.ComponentStatus) (*core.ComponentStatus, error)
    Update(*core.ComponentStatus) (*core.ComponentStatus, error)
    Delete(name string, options *v1.DeleteOptions) error
    DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
    Get(name string, options v1.GetOptions) (*core.ComponentStatus, error)
    List(opts v1.ListOptions) (*core.ComponentStatusList, error)
    Watch(opts v1.ListOptions) (watch.Interface, error)
    Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *core.ComponentStatus, err error)
    ComponentStatusExpansion
}

ComponentStatusInterface has methods to work with ComponentStatus resources.

type ComponentStatusesGetter Uses

type ComponentStatusesGetter interface {
    ComponentStatuses() ComponentStatusInterface
}

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

type ConfigMapExpansion Uses

type ConfigMapExpansion interface{}

type ConfigMapInterface Uses

type ConfigMapInterface interface {
    Create(*core.ConfigMap) (*core.ConfigMap, error)
    Update(*core.ConfigMap) (*core.ConfigMap, error)
    Delete(name string, options *v1.DeleteOptions) error
    DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
    Get(name string, options v1.GetOptions) (*core.ConfigMap, error)
    List(opts v1.ListOptions) (*core.ConfigMapList, error)
    Watch(opts v1.ListOptions) (watch.Interface, error)
    Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *core.ConfigMap, err error)
    ConfigMapExpansion
}

ConfigMapInterface has methods to work with ConfigMap resources.

type ConfigMapsGetter Uses

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 Uses

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

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

func New Uses

func New(c rest.Interface) *CoreClient

New creates a new CoreClient for the given RESTClient.

func NewForConfig Uses

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

NewForConfig creates a new CoreClient for the given config.

func NewForConfigOrDie Uses

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 Uses

func (c *CoreClient) ComponentStatuses() ComponentStatusInterface

func (*CoreClient) ConfigMaps Uses

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

func (*CoreClient) Endpoints Uses

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

func (*CoreClient) Events Uses

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

func (*CoreClient) LimitRanges Uses

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

func (*CoreClient) Namespaces Uses

func (c *CoreClient) Namespaces() NamespaceInterface

func (*CoreClient) Nodes Uses

func (c *CoreClient) Nodes() NodeInterface

func (*CoreClient) PersistentVolumeClaims Uses

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

func (*CoreClient) PersistentVolumes Uses

func (c *CoreClient) PersistentVolumes() PersistentVolumeInterface

func (*CoreClient) PodTemplates Uses

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

func (*CoreClient) Pods Uses

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

func (*CoreClient) RESTClient Uses

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

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

func (*CoreClient) ReplicationControllers Uses

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

func (*CoreClient) ResourceQuotas Uses

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

func (*CoreClient) Secrets Uses

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

func (*CoreClient) ServiceAccounts Uses

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

func (*CoreClient) Services Uses

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

type CoreInterface Uses

type CoreInterface interface {
    RESTClient() rest.Interface
    ComponentStatusesGetter
    ConfigMapsGetter
    EndpointsGetter
    EventsGetter
    LimitRangesGetter
    NamespacesGetter
    NodesGetter
    PersistentVolumesGetter
    PersistentVolumeClaimsGetter
    PodsGetter
    PodTemplatesGetter
    ReplicationControllersGetter
    ResourceQuotasGetter
    SecretsGetter
    ServicesGetter
    ServiceAccountsGetter
}

type EndpointsExpansion Uses

type EndpointsExpansion interface{}

type EndpointsGetter Uses

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 Uses

type EndpointsInterface interface {
    Create(*core.Endpoints) (*core.Endpoints, error)
    Update(*core.Endpoints) (*core.Endpoints, error)
    Delete(name string, options *v1.DeleteOptions) error
    DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
    Get(name string, options v1.GetOptions) (*core.Endpoints, error)
    List(opts v1.ListOptions) (*core.EndpointsList, error)
    Watch(opts v1.ListOptions) (watch.Interface, error)
    Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *core.Endpoints, err error)
    EndpointsExpansion
}

EndpointsInterface has methods to work with Endpoints resources.

type EventExpansion Uses

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)
    PatchWithEventNamespace(event *api.Event, data []byte) (*api.Event, error)
    // Search finds events about the specified object
    Search(scheme *runtime.Scheme, 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 Uses

type EventInterface interface {
    Create(*core.Event) (*core.Event, error)
    Update(*core.Event) (*core.Event, error)
    Delete(name string, options *v1.DeleteOptions) error
    DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
    Get(name string, options v1.GetOptions) (*core.Event, error)
    List(opts v1.ListOptions) (*core.EventList, error)
    Watch(opts v1.ListOptions) (watch.Interface, error)
    Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *core.Event, err error)
    EventExpansion
}

EventInterface has methods to work with Event resources.

type EventSinkImpl Uses

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 Uses

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

func (*EventSinkImpl) Patch Uses

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

func (*EventSinkImpl) Update Uses

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

type EventsGetter Uses

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 Uses

type LimitRangeExpansion interface{}

type LimitRangeInterface Uses

type LimitRangeInterface interface {
    Create(*core.LimitRange) (*core.LimitRange, error)
    Update(*core.LimitRange) (*core.LimitRange, error)
    Delete(name string, options *v1.DeleteOptions) error
    DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
    Get(name string, options v1.GetOptions) (*core.LimitRange, error)
    List(opts v1.ListOptions) (*core.LimitRangeList, error)
    Watch(opts v1.ListOptions) (watch.Interface, error)
    Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *core.LimitRange, err error)
    LimitRangeExpansion
}

LimitRangeInterface has methods to work with LimitRange resources.

type LimitRangesGetter Uses

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 Uses

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

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

type NamespaceInterface Uses

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

NamespaceInterface has methods to work with Namespace resources.

type NamespacesGetter Uses

type NamespacesGetter interface {
    Namespaces() NamespaceInterface
}

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

type NodeExpansion Uses

type NodeExpansion interface {
    // PatchStatus modifies the status of an existing node. It returns the copy
    // of the node that the server returns, or an error.
    PatchStatus(nodeName string, data []byte) (*api.Node, error)
}

The NodeExpansion interface allows manually adding extra methods to the NodeInterface.

type NodeInterface Uses

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

NodeInterface has methods to work with Node resources.

type NodesGetter Uses

type NodesGetter interface {
    Nodes() NodeInterface
}

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

type PersistentVolumeClaimExpansion Uses

type PersistentVolumeClaimExpansion interface{}

type PersistentVolumeClaimInterface Uses

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

PersistentVolumeClaimInterface has methods to work with PersistentVolumeClaim resources.

type PersistentVolumeClaimsGetter Uses

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 Uses

type PersistentVolumeExpansion interface{}

type PersistentVolumeInterface Uses

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

PersistentVolumeInterface has methods to work with PersistentVolume resources.

type PersistentVolumesGetter Uses

type PersistentVolumesGetter interface {
    PersistentVolumes() PersistentVolumeInterface
}

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

type PodExpansion Uses

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

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

type PodInterface Uses

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

PodInterface has methods to work with Pod resources.

type PodTemplateExpansion Uses

type PodTemplateExpansion interface{}

type PodTemplateInterface Uses

type PodTemplateInterface interface {
    Create(*core.PodTemplate) (*core.PodTemplate, error)
    Update(*core.PodTemplate) (*core.PodTemplate, error)
    Delete(name string, options *v1.DeleteOptions) error
    DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
    Get(name string, options v1.GetOptions) (*core.PodTemplate, error)
    List(opts v1.ListOptions) (*core.PodTemplateList, error)
    Watch(opts v1.ListOptions) (watch.Interface, error)
    Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *core.PodTemplate, err error)
    PodTemplateExpansion
}

PodTemplateInterface has methods to work with PodTemplate resources.

type PodTemplatesGetter Uses

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 Uses

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 Uses

type ReplicationControllerExpansion interface{}

type ReplicationControllerInterface Uses

type ReplicationControllerInterface interface {
    Create(*core.ReplicationController) (*core.ReplicationController, error)
    Update(*core.ReplicationController) (*core.ReplicationController, error)
    UpdateStatus(*core.ReplicationController) (*core.ReplicationController, error)
    Delete(name string, options *v1.DeleteOptions) error
    DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
    Get(name string, options v1.GetOptions) (*core.ReplicationController, error)
    List(opts v1.ListOptions) (*core.ReplicationControllerList, error)
    Watch(opts v1.ListOptions) (watch.Interface, error)
    Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *core.ReplicationController, err error)
    GetScale(replicationControllerName string, options v1.GetOptions) (*autoscaling.Scale, error)
    UpdateScale(replicationControllerName string, scale *autoscaling.Scale) (*autoscaling.Scale, error)

    ReplicationControllerExpansion
}

ReplicationControllerInterface has methods to work with ReplicationController resources.

type ReplicationControllersGetter Uses

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 Uses

type ResourceQuotaExpansion interface{}

type ResourceQuotaInterface Uses

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

ResourceQuotaInterface has methods to work with ResourceQuota resources.

type ResourceQuotasGetter Uses

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 Uses

type SecretExpansion interface{}

type SecretInterface Uses

type SecretInterface interface {
    Create(*core.Secret) (*core.Secret, error)
    Update(*core.Secret) (*core.Secret, error)
    Delete(name string, options *v1.DeleteOptions) error
    DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
    Get(name string, options v1.GetOptions) (*core.Secret, error)
    List(opts v1.ListOptions) (*core.SecretList, error)
    Watch(opts v1.ListOptions) (watch.Interface, error)
    Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *core.Secret, err error)
    SecretExpansion
}

SecretInterface has methods to work with Secret resources.

type SecretsGetter Uses

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 Uses

type ServiceAccountExpansion interface{}

type ServiceAccountInterface Uses

type ServiceAccountInterface interface {
    Create(*core.ServiceAccount) (*core.ServiceAccount, error)
    Update(*core.ServiceAccount) (*core.ServiceAccount, error)
    Delete(name string, options *v1.DeleteOptions) error
    DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
    Get(name string, options v1.GetOptions) (*core.ServiceAccount, error)
    List(opts v1.ListOptions) (*core.ServiceAccountList, error)
    Watch(opts v1.ListOptions) (watch.Interface, error)
    Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *core.ServiceAccount, err error)
    ServiceAccountExpansion
}

ServiceAccountInterface has methods to work with ServiceAccount resources.

type ServiceAccountsGetter Uses

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 Uses

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

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

type ServiceInterface Uses

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

ServiceInterface has methods to work with Service resources.

type ServicesGetter Uses

type ServicesGetter interface {
    Services(namespace string) ServiceInterface
}

ServicesGetter has a method to return a ServiceInterface. A group's client should implement this interface.

Directories

PathSynopsis
fakePackage fake has the automatically generated clients.

Package internalversion imports 15 packages (graph) and is imported by 462 packages. Updated 2018-01-03. Refresh now. Tools for package owners.