Documentation ¶
Index ¶
- type ComponentStatusClusterInterface
- type ComponentStatusesClusterGetter
- type ConfigMapClusterInterface
- type ConfigMapsClusterGetter
- type ConfigMapsNamespacer
- type CoreV1ClusterClient
- func (c *CoreV1ClusterClient) Cluster(clusterPath logicalcluster.Path) corev1.CoreV1Interface
- func (c *CoreV1ClusterClient) ComponentStatuses() ComponentStatusClusterInterface
- func (c *CoreV1ClusterClient) ConfigMaps() ConfigMapClusterInterface
- func (c *CoreV1ClusterClient) Endpoints() EndpointsClusterInterface
- func (c *CoreV1ClusterClient) Events() EventClusterInterface
- func (c *CoreV1ClusterClient) LimitRanges() LimitRangeClusterInterface
- func (c *CoreV1ClusterClient) Namespaces() NamespaceClusterInterface
- func (c *CoreV1ClusterClient) Nodes() NodeClusterInterface
- func (c *CoreV1ClusterClient) PersistentVolumeClaims() PersistentVolumeClaimClusterInterface
- func (c *CoreV1ClusterClient) PersistentVolumes() PersistentVolumeClusterInterface
- func (c *CoreV1ClusterClient) PodTemplates() PodTemplateClusterInterface
- func (c *CoreV1ClusterClient) Pods() PodClusterInterface
- func (c *CoreV1ClusterClient) ReplicationControllers() ReplicationControllerClusterInterface
- func (c *CoreV1ClusterClient) ResourceQuotas() ResourceQuotaClusterInterface
- func (c *CoreV1ClusterClient) Secrets() SecretClusterInterface
- func (c *CoreV1ClusterClient) ServiceAccounts() ServiceAccountClusterInterface
- func (c *CoreV1ClusterClient) Services() ServiceClusterInterface
- type CoreV1ClusterInterface
- type CoreV1ClusterScoper
- type EndpointsClusterGetter
- type EndpointsClusterInterface
- type EndpointsNamespacer
- type EventClusterInterface
- type EventsClusterGetter
- type EventsNamespacer
- type LimitRangeClusterInterface
- type LimitRangesClusterGetter
- type LimitRangesNamespacer
- type NamespaceClusterInterface
- type NamespacesClusterGetter
- type NodeClusterInterface
- type NodesClusterGetter
- type PersistentVolumeClaimClusterInterface
- type PersistentVolumeClaimsClusterGetter
- type PersistentVolumeClaimsNamespacer
- type PersistentVolumeClusterInterface
- type PersistentVolumesClusterGetter
- type PodClusterInterface
- type PodTemplateClusterInterface
- type PodTemplatesClusterGetter
- type PodTemplatesNamespacer
- type PodsClusterGetter
- type PodsNamespacer
- type ReplicationControllerClusterInterface
- type ReplicationControllersClusterGetter
- type ReplicationControllersNamespacer
- type ResourceQuotaClusterInterface
- type ResourceQuotasClusterGetter
- type ResourceQuotasNamespacer
- type SecretClusterInterface
- type SecretsClusterGetter
- type SecretsNamespacer
- type ServiceAccountClusterInterface
- type ServiceAccountsClusterGetter
- type ServiceAccountsNamespacer
- type ServiceClusterInterface
- type ServicesClusterGetter
- type ServicesNamespacer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ComponentStatusClusterInterface ¶
type ComponentStatusClusterInterface interface { Cluster(logicalcluster.Path) corev1client.ComponentStatusInterface List(ctx context.Context, opts metav1.ListOptions) (*corev1.ComponentStatusList, error) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error) }
ComponentStatusClusterInterface can operate on ComponentStatuses across all clusters, or scope down to one cluster and return a corev1client.ComponentStatusInterface.
type ComponentStatusesClusterGetter ¶
type ComponentStatusesClusterGetter interface {
ComponentStatuses() ComponentStatusClusterInterface
}
ComponentStatusesClusterGetter has a method to return a ComponentStatusClusterInterface. A group's cluster client should implement this interface.
type ConfigMapClusterInterface ¶
type ConfigMapClusterInterface interface { Cluster(logicalcluster.Path) ConfigMapsNamespacer List(ctx context.Context, opts metav1.ListOptions) (*corev1.ConfigMapList, error) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error) }
ConfigMapClusterInterface can operate on ConfigMaps across all clusters, or scope down to one cluster and return a ConfigMapsNamespacer.
type ConfigMapsClusterGetter ¶
type ConfigMapsClusterGetter interface {
ConfigMaps() ConfigMapClusterInterface
}
ConfigMapsClusterGetter has a method to return a ConfigMapClusterInterface. A group's cluster client should implement this interface.
type ConfigMapsNamespacer ¶
type ConfigMapsNamespacer interface {
Namespace(string) corev1client.ConfigMapInterface
}
ConfigMapsNamespacer can scope to objects within a namespace, returning a corev1client.ConfigMapInterface.
type CoreV1ClusterClient ¶
type CoreV1ClusterClient struct {
// contains filtered or unexported fields
}
func NewForConfig ¶
func NewForConfig(c *rest.Config) (*CoreV1ClusterClient, error)
NewForConfig creates a new CoreV1ClusterClient for the given config. NewForConfig is equivalent to NewForConfigAndClient(c, httpClient), where httpClient was generated with rest.HTTPClientFor(c).
func NewForConfigAndClient ¶
NewForConfigAndClient creates a new CoreV1ClusterClient for the given config and http client. Note the http client provided takes precedence over the configured transport values.
func NewForConfigOrDie ¶
func NewForConfigOrDie(c *rest.Config) *CoreV1ClusterClient
NewForConfigOrDie creates a new CoreV1ClusterClient for the given config and panics if there is an error in the config.
func (*CoreV1ClusterClient) Cluster ¶
func (c *CoreV1ClusterClient) Cluster(clusterPath logicalcluster.Path) corev1.CoreV1Interface
func (*CoreV1ClusterClient) ComponentStatuses ¶
func (c *CoreV1ClusterClient) ComponentStatuses() ComponentStatusClusterInterface
func (*CoreV1ClusterClient) ConfigMaps ¶
func (c *CoreV1ClusterClient) ConfigMaps() ConfigMapClusterInterface
func (*CoreV1ClusterClient) Endpoints ¶
func (c *CoreV1ClusterClient) Endpoints() EndpointsClusterInterface
func (*CoreV1ClusterClient) Events ¶
func (c *CoreV1ClusterClient) Events() EventClusterInterface
func (*CoreV1ClusterClient) LimitRanges ¶
func (c *CoreV1ClusterClient) LimitRanges() LimitRangeClusterInterface
func (*CoreV1ClusterClient) Namespaces ¶
func (c *CoreV1ClusterClient) Namespaces() NamespaceClusterInterface
func (*CoreV1ClusterClient) Nodes ¶
func (c *CoreV1ClusterClient) Nodes() NodeClusterInterface
func (*CoreV1ClusterClient) PersistentVolumeClaims ¶
func (c *CoreV1ClusterClient) PersistentVolumeClaims() PersistentVolumeClaimClusterInterface
func (*CoreV1ClusterClient) PersistentVolumes ¶
func (c *CoreV1ClusterClient) PersistentVolumes() PersistentVolumeClusterInterface
func (*CoreV1ClusterClient) PodTemplates ¶
func (c *CoreV1ClusterClient) PodTemplates() PodTemplateClusterInterface
func (*CoreV1ClusterClient) Pods ¶
func (c *CoreV1ClusterClient) Pods() PodClusterInterface
func (*CoreV1ClusterClient) ReplicationControllers ¶
func (c *CoreV1ClusterClient) ReplicationControllers() ReplicationControllerClusterInterface
func (*CoreV1ClusterClient) ResourceQuotas ¶
func (c *CoreV1ClusterClient) ResourceQuotas() ResourceQuotaClusterInterface
func (*CoreV1ClusterClient) Secrets ¶
func (c *CoreV1ClusterClient) Secrets() SecretClusterInterface
func (*CoreV1ClusterClient) ServiceAccounts ¶
func (c *CoreV1ClusterClient) ServiceAccounts() ServiceAccountClusterInterface
func (*CoreV1ClusterClient) Services ¶
func (c *CoreV1ClusterClient) Services() ServiceClusterInterface
type CoreV1ClusterInterface ¶
type CoreV1ClusterInterface interface { CoreV1ClusterScoper PersistentVolumesClusterGetter PersistentVolumeClaimsClusterGetter PodsClusterGetter PodTemplatesClusterGetter ReplicationControllersClusterGetter ServicesClusterGetter ServiceAccountsClusterGetter EndpointsClusterGetter NodesClusterGetter NamespacesClusterGetter EventsClusterGetter LimitRangesClusterGetter ResourceQuotasClusterGetter SecretsClusterGetter ConfigMapsClusterGetter ComponentStatusesClusterGetter }
type CoreV1ClusterScoper ¶
type CoreV1ClusterScoper interface {
Cluster(logicalcluster.Path) corev1.CoreV1Interface
}
type EndpointsClusterGetter ¶
type EndpointsClusterGetter interface {
Endpoints() EndpointsClusterInterface
}
EndpointsClusterGetter has a method to return a EndpointsClusterInterface. A group's cluster client should implement this interface.
type EndpointsClusterInterface ¶
type EndpointsClusterInterface interface { Cluster(logicalcluster.Path) EndpointsNamespacer List(ctx context.Context, opts metav1.ListOptions) (*corev1.EndpointsList, error) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error) }
EndpointsClusterInterface can operate on Endpoints across all clusters, or scope down to one cluster and return a EndpointsNamespacer.
type EndpointsNamespacer ¶
type EndpointsNamespacer interface {
Namespace(string) corev1client.EndpointsInterface
}
EndpointsNamespacer can scope to objects within a namespace, returning a corev1client.EndpointsInterface.
type EventClusterInterface ¶
type EventClusterInterface interface { Cluster(logicalcluster.Path) EventsNamespacer List(ctx context.Context, opts metav1.ListOptions) (*corev1.EventList, error) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error) }
EventClusterInterface can operate on Events across all clusters, or scope down to one cluster and return a EventsNamespacer.
type EventsClusterGetter ¶
type EventsClusterGetter interface {
Events() EventClusterInterface
}
EventsClusterGetter has a method to return a EventClusterInterface. A group's cluster client should implement this interface.
type EventsNamespacer ¶
type EventsNamespacer interface {
Namespace(string) corev1client.EventInterface
}
EventsNamespacer can scope to objects within a namespace, returning a corev1client.EventInterface.
type LimitRangeClusterInterface ¶
type LimitRangeClusterInterface interface { Cluster(logicalcluster.Path) LimitRangesNamespacer List(ctx context.Context, opts metav1.ListOptions) (*corev1.LimitRangeList, error) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error) }
LimitRangeClusterInterface can operate on LimitRanges across all clusters, or scope down to one cluster and return a LimitRangesNamespacer.
type LimitRangesClusterGetter ¶
type LimitRangesClusterGetter interface {
LimitRanges() LimitRangeClusterInterface
}
LimitRangesClusterGetter has a method to return a LimitRangeClusterInterface. A group's cluster client should implement this interface.
type LimitRangesNamespacer ¶
type LimitRangesNamespacer interface {
Namespace(string) corev1client.LimitRangeInterface
}
LimitRangesNamespacer can scope to objects within a namespace, returning a corev1client.LimitRangeInterface.
type NamespaceClusterInterface ¶
type NamespaceClusterInterface interface { Cluster(logicalcluster.Path) corev1client.NamespaceInterface List(ctx context.Context, opts metav1.ListOptions) (*corev1.NamespaceList, error) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error) }
NamespaceClusterInterface can operate on Namespaces across all clusters, or scope down to one cluster and return a corev1client.NamespaceInterface.
type NamespacesClusterGetter ¶
type NamespacesClusterGetter interface {
Namespaces() NamespaceClusterInterface
}
NamespacesClusterGetter has a method to return a NamespaceClusterInterface. A group's cluster client should implement this interface.
type NodeClusterInterface ¶
type NodeClusterInterface interface { Cluster(logicalcluster.Path) corev1client.NodeInterface List(ctx context.Context, opts metav1.ListOptions) (*corev1.NodeList, error) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error) }
NodeClusterInterface can operate on Nodes across all clusters, or scope down to one cluster and return a corev1client.NodeInterface.
type NodesClusterGetter ¶
type NodesClusterGetter interface {
Nodes() NodeClusterInterface
}
NodesClusterGetter has a method to return a NodeClusterInterface. A group's cluster client should implement this interface.
type PersistentVolumeClaimClusterInterface ¶
type PersistentVolumeClaimClusterInterface interface { Cluster(logicalcluster.Path) PersistentVolumeClaimsNamespacer List(ctx context.Context, opts metav1.ListOptions) (*corev1.PersistentVolumeClaimList, error) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error) }
PersistentVolumeClaimClusterInterface can operate on PersistentVolumeClaims across all clusters, or scope down to one cluster and return a PersistentVolumeClaimsNamespacer.
type PersistentVolumeClaimsClusterGetter ¶
type PersistentVolumeClaimsClusterGetter interface {
PersistentVolumeClaims() PersistentVolumeClaimClusterInterface
}
PersistentVolumeClaimsClusterGetter has a method to return a PersistentVolumeClaimClusterInterface. A group's cluster client should implement this interface.
type PersistentVolumeClaimsNamespacer ¶
type PersistentVolumeClaimsNamespacer interface {
Namespace(string) corev1client.PersistentVolumeClaimInterface
}
PersistentVolumeClaimsNamespacer can scope to objects within a namespace, returning a corev1client.PersistentVolumeClaimInterface.
type PersistentVolumeClusterInterface ¶
type PersistentVolumeClusterInterface interface { Cluster(logicalcluster.Path) corev1client.PersistentVolumeInterface List(ctx context.Context, opts metav1.ListOptions) (*corev1.PersistentVolumeList, error) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error) }
PersistentVolumeClusterInterface can operate on PersistentVolumes across all clusters, or scope down to one cluster and return a corev1client.PersistentVolumeInterface.
type PersistentVolumesClusterGetter ¶
type PersistentVolumesClusterGetter interface {
PersistentVolumes() PersistentVolumeClusterInterface
}
PersistentVolumesClusterGetter has a method to return a PersistentVolumeClusterInterface. A group's cluster client should implement this interface.
type PodClusterInterface ¶
type PodClusterInterface interface { Cluster(logicalcluster.Path) PodsNamespacer List(ctx context.Context, opts metav1.ListOptions) (*corev1.PodList, error) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error) }
PodClusterInterface can operate on Pods across all clusters, or scope down to one cluster and return a PodsNamespacer.
type PodTemplateClusterInterface ¶
type PodTemplateClusterInterface interface { Cluster(logicalcluster.Path) PodTemplatesNamespacer List(ctx context.Context, opts metav1.ListOptions) (*corev1.PodTemplateList, error) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error) }
PodTemplateClusterInterface can operate on PodTemplates across all clusters, or scope down to one cluster and return a PodTemplatesNamespacer.
type PodTemplatesClusterGetter ¶
type PodTemplatesClusterGetter interface {
PodTemplates() PodTemplateClusterInterface
}
PodTemplatesClusterGetter has a method to return a PodTemplateClusterInterface. A group's cluster client should implement this interface.
type PodTemplatesNamespacer ¶
type PodTemplatesNamespacer interface {
Namespace(string) corev1client.PodTemplateInterface
}
PodTemplatesNamespacer can scope to objects within a namespace, returning a corev1client.PodTemplateInterface.
type PodsClusterGetter ¶
type PodsClusterGetter interface {
Pods() PodClusterInterface
}
PodsClusterGetter has a method to return a PodClusterInterface. A group's cluster client should implement this interface.
type PodsNamespacer ¶
type PodsNamespacer interface {
Namespace(string) corev1client.PodInterface
}
PodsNamespacer can scope to objects within a namespace, returning a corev1client.PodInterface.
type ReplicationControllerClusterInterface ¶
type ReplicationControllerClusterInterface interface { Cluster(logicalcluster.Path) ReplicationControllersNamespacer List(ctx context.Context, opts metav1.ListOptions) (*corev1.ReplicationControllerList, error) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error) }
ReplicationControllerClusterInterface can operate on ReplicationControllers across all clusters, or scope down to one cluster and return a ReplicationControllersNamespacer.
type ReplicationControllersClusterGetter ¶
type ReplicationControllersClusterGetter interface {
ReplicationControllers() ReplicationControllerClusterInterface
}
ReplicationControllersClusterGetter has a method to return a ReplicationControllerClusterInterface. A group's cluster client should implement this interface.
type ReplicationControllersNamespacer ¶
type ReplicationControllersNamespacer interface {
Namespace(string) corev1client.ReplicationControllerInterface
}
ReplicationControllersNamespacer can scope to objects within a namespace, returning a corev1client.ReplicationControllerInterface.
type ResourceQuotaClusterInterface ¶
type ResourceQuotaClusterInterface interface { Cluster(logicalcluster.Path) ResourceQuotasNamespacer List(ctx context.Context, opts metav1.ListOptions) (*corev1.ResourceQuotaList, error) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error) }
ResourceQuotaClusterInterface can operate on ResourceQuotas across all clusters, or scope down to one cluster and return a ResourceQuotasNamespacer.
type ResourceQuotasClusterGetter ¶
type ResourceQuotasClusterGetter interface {
ResourceQuotas() ResourceQuotaClusterInterface
}
ResourceQuotasClusterGetter has a method to return a ResourceQuotaClusterInterface. A group's cluster client should implement this interface.
type ResourceQuotasNamespacer ¶
type ResourceQuotasNamespacer interface {
Namespace(string) corev1client.ResourceQuotaInterface
}
ResourceQuotasNamespacer can scope to objects within a namespace, returning a corev1client.ResourceQuotaInterface.
type SecretClusterInterface ¶
type SecretClusterInterface interface { Cluster(logicalcluster.Path) SecretsNamespacer List(ctx context.Context, opts metav1.ListOptions) (*corev1.SecretList, error) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error) }
SecretClusterInterface can operate on Secrets across all clusters, or scope down to one cluster and return a SecretsNamespacer.
type SecretsClusterGetter ¶
type SecretsClusterGetter interface {
Secrets() SecretClusterInterface
}
SecretsClusterGetter has a method to return a SecretClusterInterface. A group's cluster client should implement this interface.
type SecretsNamespacer ¶
type SecretsNamespacer interface {
Namespace(string) corev1client.SecretInterface
}
SecretsNamespacer can scope to objects within a namespace, returning a corev1client.SecretInterface.
type ServiceAccountClusterInterface ¶
type ServiceAccountClusterInterface interface { Cluster(logicalcluster.Path) ServiceAccountsNamespacer List(ctx context.Context, opts metav1.ListOptions) (*corev1.ServiceAccountList, error) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error) }
ServiceAccountClusterInterface can operate on ServiceAccounts across all clusters, or scope down to one cluster and return a ServiceAccountsNamespacer.
type ServiceAccountsClusterGetter ¶
type ServiceAccountsClusterGetter interface {
ServiceAccounts() ServiceAccountClusterInterface
}
ServiceAccountsClusterGetter has a method to return a ServiceAccountClusterInterface. A group's cluster client should implement this interface.
type ServiceAccountsNamespacer ¶
type ServiceAccountsNamespacer interface {
Namespace(string) corev1client.ServiceAccountInterface
}
ServiceAccountsNamespacer can scope to objects within a namespace, returning a corev1client.ServiceAccountInterface.
type ServiceClusterInterface ¶
type ServiceClusterInterface interface { Cluster(logicalcluster.Path) ServicesNamespacer List(ctx context.Context, opts metav1.ListOptions) (*corev1.ServiceList, error) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error) }
ServiceClusterInterface can operate on Services across all clusters, or scope down to one cluster and return a ServicesNamespacer.
type ServicesClusterGetter ¶
type ServicesClusterGetter interface {
Services() ServiceClusterInterface
}
ServicesClusterGetter has a method to return a ServiceClusterInterface. A group's cluster client should implement this interface.
type ServicesNamespacer ¶
type ServicesNamespacer interface {
Namespace(string) corev1client.ServiceInterface
}
ServicesNamespacer can scope to objects within a namespace, returning a corev1client.ServiceInterface.