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 CoreV1Client
- func (c *CoreV1Client) ComponentStatuses() ComponentStatusInterface
- func (c *CoreV1Client) ConfigMaps(namespace string) ConfigMapInterface
- func (c *CoreV1Client) Endpoints(namespace string) EndpointsInterface
- func (c *CoreV1Client) Events(namespace string) EventInterface
- func (c *CoreV1Client) LimitRanges(namespace string) LimitRangeInterface
- func (c *CoreV1Client) Namespaces() NamespaceInterface
- func (c *CoreV1Client) Nodes() NodeInterface
- func (c *CoreV1Client) PersistentVolumeClaims(namespace string) PersistentVolumeClaimInterface
- func (c *CoreV1Client) PersistentVolumes() PersistentVolumeInterface
- func (c *CoreV1Client) PodTemplates(namespace string) PodTemplateInterface
- func (c *CoreV1Client) Pods(namespace string) PodInterface
- func (c *CoreV1Client) RESTClient() rest.Interface
- func (c *CoreV1Client) ReplicationControllers(namespace string) ReplicationControllerInterface
- func (c *CoreV1Client) ResourceQuotas(namespace string) ResourceQuotaInterface
- func (c *CoreV1Client) Secrets(namespace string) SecretInterface
- func (c *CoreV1Client) ServiceAccounts(namespace string) ServiceAccountInterface
- func (c *CoreV1Client) Services(namespace string) ServiceInterface
- type CoreV1Interface
- 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 *meta_v1.DeleteOptions) error
DeleteCollection(options *meta_v1.DeleteOptions, listOptions meta_v1.ListOptions) error
Get(name string, options meta_v1.GetOptions) (*v1.ComponentStatus, error)
List(opts meta_v1.ListOptions) (*v1.ComponentStatusList, error)
Watch(opts meta_v1.ListOptions) (watch.Interface, error)
Patch(name string, pt types.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 *meta_v1.DeleteOptions) error
DeleteCollection(options *meta_v1.DeleteOptions, listOptions meta_v1.ListOptions) error
Get(name string, options meta_v1.GetOptions) (*v1.ConfigMap, error)
List(opts meta_v1.ListOptions) (*v1.ConfigMapList, error)
Watch(opts meta_v1.ListOptions) (watch.Interface, error)
Patch(name string, pt types.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 CoreV1Client ¶
type CoreV1Client struct {
// contains filtered or unexported fields
}
CoreV1Client is used to interact with features provided by the group.
func New ¶
func New(c rest.Interface) *CoreV1Client
New creates a new CoreV1Client for the given RESTClient.
func NewForConfig ¶
func NewForConfig(c *rest.Config) (*CoreV1Client, error)
NewForConfig creates a new CoreV1Client for the given config.
func NewForConfigOrDie ¶
func NewForConfigOrDie(c *rest.Config) *CoreV1Client
NewForConfigOrDie creates a new CoreV1Client for the given config and panics if there is an error in the config.
func (*CoreV1Client) ComponentStatuses ¶
func (c *CoreV1Client) ComponentStatuses() ComponentStatusInterface
func (*CoreV1Client) ConfigMaps ¶
func (c *CoreV1Client) ConfigMaps(namespace string) ConfigMapInterface
func (*CoreV1Client) Endpoints ¶
func (c *CoreV1Client) Endpoints(namespace string) EndpointsInterface
func (*CoreV1Client) Events ¶
func (c *CoreV1Client) Events(namespace string) EventInterface
func (*CoreV1Client) LimitRanges ¶
func (c *CoreV1Client) LimitRanges(namespace string) LimitRangeInterface
func (*CoreV1Client) Namespaces ¶
func (c *CoreV1Client) Namespaces() NamespaceInterface
func (*CoreV1Client) Nodes ¶
func (c *CoreV1Client) Nodes() NodeInterface
func (*CoreV1Client) PersistentVolumeClaims ¶
func (c *CoreV1Client) PersistentVolumeClaims(namespace string) PersistentVolumeClaimInterface
func (*CoreV1Client) PersistentVolumes ¶
func (c *CoreV1Client) PersistentVolumes() PersistentVolumeInterface
func (*CoreV1Client) PodTemplates ¶
func (c *CoreV1Client) PodTemplates(namespace string) PodTemplateInterface
func (*CoreV1Client) Pods ¶
func (c *CoreV1Client) Pods(namespace string) PodInterface
func (*CoreV1Client) RESTClient ¶
func (c *CoreV1Client) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*CoreV1Client) ReplicationControllers ¶
func (c *CoreV1Client) ReplicationControllers(namespace string) ReplicationControllerInterface
func (*CoreV1Client) ResourceQuotas ¶
func (c *CoreV1Client) ResourceQuotas(namespace string) ResourceQuotaInterface
func (*CoreV1Client) Secrets ¶
func (c *CoreV1Client) Secrets(namespace string) SecretInterface
func (*CoreV1Client) ServiceAccounts ¶
func (c *CoreV1Client) ServiceAccounts(namespace string) ServiceAccountInterface
func (*CoreV1Client) Services ¶
func (c *CoreV1Client) Services(namespace string) ServiceInterface
type CoreV1Interface ¶
type CoreV1Interface interface {
RESTClient() rest.Interface
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 *meta_v1.DeleteOptions) error
DeleteCollection(options *meta_v1.DeleteOptions, listOptions meta_v1.ListOptions) error
Get(name string, options meta_v1.GetOptions) (*v1.Endpoints, error)
List(opts meta_v1.ListOptions) (*v1.EndpointsList, error)
Watch(opts meta_v1.ListOptions) (watch.Interface, error)
Patch(name string, pt types.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(scheme *runtime.Scheme, 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 *meta_v1.DeleteOptions) error
DeleteCollection(options *meta_v1.DeleteOptions, listOptions meta_v1.ListOptions) error
Get(name string, options meta_v1.GetOptions) (*v1.Event, error)
List(opts meta_v1.ListOptions) (*v1.EventList, error)
Watch(opts meta_v1.ListOptions) (watch.Interface, error)
Patch(name string, pt types.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 *meta_v1.DeleteOptions) error
DeleteCollection(options *meta_v1.DeleteOptions, listOptions meta_v1.ListOptions) error
Get(name string, options meta_v1.GetOptions) (*v1.LimitRange, error)
List(opts meta_v1.ListOptions) (*v1.LimitRangeList, error)
Watch(opts meta_v1.ListOptions) (watch.Interface, error)
Patch(name string, pt types.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 *meta_v1.DeleteOptions) error
DeleteCollection(options *meta_v1.DeleteOptions, listOptions meta_v1.ListOptions) error
Get(name string, options meta_v1.GetOptions) (*v1.Namespace, error)
List(opts meta_v1.ListOptions) (*v1.NamespaceList, error)
Watch(opts meta_v1.ListOptions) (watch.Interface, error)
Patch(name string, pt types.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 {
// 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) (*v1.Node, error)
}
The NodeExpansion interface allows manually adding extra methods to the NodeInterface.
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 *meta_v1.DeleteOptions) error
DeleteCollection(options *meta_v1.DeleteOptions, listOptions meta_v1.ListOptions) error
Get(name string, options meta_v1.GetOptions) (*v1.Node, error)
List(opts meta_v1.ListOptions) (*v1.NodeList, error)
Watch(opts meta_v1.ListOptions) (watch.Interface, error)
Patch(name string, pt types.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 *meta_v1.DeleteOptions) error
DeleteCollection(options *meta_v1.DeleteOptions, listOptions meta_v1.ListOptions) error
Get(name string, options meta_v1.GetOptions) (*v1.PersistentVolumeClaim, error)
List(opts meta_v1.ListOptions) (*v1.PersistentVolumeClaimList, error)
Watch(opts meta_v1.ListOptions) (watch.Interface, error)
Patch(name string, pt types.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 *meta_v1.DeleteOptions) error
DeleteCollection(options *meta_v1.DeleteOptions, listOptions meta_v1.ListOptions) error
Get(name string, options meta_v1.GetOptions) (*v1.PersistentVolume, error)
List(opts meta_v1.ListOptions) (*v1.PersistentVolumeList, error)
Watch(opts meta_v1.ListOptions) (watch.Interface, error)
Patch(name string, pt types.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) *restclient.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 *meta_v1.DeleteOptions) error
DeleteCollection(options *meta_v1.DeleteOptions, listOptions meta_v1.ListOptions) error
Get(name string, options meta_v1.GetOptions) (*v1.Pod, error)
List(opts meta_v1.ListOptions) (*v1.PodList, error)
Watch(opts meta_v1.ListOptions) (watch.Interface, error)
Patch(name string, pt types.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 *meta_v1.DeleteOptions) error
DeleteCollection(options *meta_v1.DeleteOptions, listOptions meta_v1.ListOptions) error
Get(name string, options meta_v1.GetOptions) (*v1.PodTemplate, error)
List(opts meta_v1.ListOptions) (*v1.PodTemplateList, error)
Watch(opts meta_v1.ListOptions) (watch.Interface, error)
Patch(name string, pt types.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 *meta_v1.DeleteOptions) error
DeleteCollection(options *meta_v1.DeleteOptions, listOptions meta_v1.ListOptions) error
Get(name string, options meta_v1.GetOptions) (*v1.ReplicationController, error)
List(opts meta_v1.ListOptions) (*v1.ReplicationControllerList, error)
Watch(opts meta_v1.ListOptions) (watch.Interface, error)
Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1.ReplicationController, err error)
GetScale(replicationControllerName string, options meta_v1.GetOptions) (*v1beta1.Scale, error)
UpdateScale(replicationControllerName string, scale *v1beta1.Scale) (*v1beta1.Scale, 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 *meta_v1.DeleteOptions) error
DeleteCollection(options *meta_v1.DeleteOptions, listOptions meta_v1.ListOptions) error
Get(name string, options meta_v1.GetOptions) (*v1.ResourceQuota, error)
List(opts meta_v1.ListOptions) (*v1.ResourceQuotaList, error)
Watch(opts meta_v1.ListOptions) (watch.Interface, error)
Patch(name string, pt types.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 *meta_v1.DeleteOptions) error
DeleteCollection(options *meta_v1.DeleteOptions, listOptions meta_v1.ListOptions) error
Get(name string, options meta_v1.GetOptions) (*v1.Secret, error)
List(opts meta_v1.ListOptions) (*v1.SecretList, error)
Watch(opts meta_v1.ListOptions) (watch.Interface, error)
Patch(name string, pt types.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 *meta_v1.DeleteOptions) error
DeleteCollection(options *meta_v1.DeleteOptions, listOptions meta_v1.ListOptions) error
Get(name string, options meta_v1.GetOptions) (*v1.ServiceAccount, error)
List(opts meta_v1.ListOptions) (*v1.ServiceAccountList, error)
Watch(opts meta_v1.ListOptions) (watch.Interface, error)
Patch(name string, pt types.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) restclient.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 *meta_v1.DeleteOptions) error
DeleteCollection(options *meta_v1.DeleteOptions, listOptions meta_v1.ListOptions) error
Get(name string, options meta_v1.GetOptions) (*v1.Service, error)
List(opts meta_v1.ListOptions) (*v1.ServiceList, error)
Watch(opts meta_v1.ListOptions) (watch.Interface, error)
Patch(name string, pt types.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
- 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