Documentation ¶
Index ¶
- type DeviceClassClusterInterface
- type DeviceClassesClusterGetter
- type PodSchedulingContextClusterInterface
- type PodSchedulingContextsClusterGetter
- type PodSchedulingContextsNamespacer
- type ResourceClaimClusterInterface
- type ResourceClaimTemplateClusterInterface
- type ResourceClaimTemplatesClusterGetter
- type ResourceClaimTemplatesNamespacer
- type ResourceClaimsClusterGetter
- type ResourceClaimsNamespacer
- type ResourceSliceClusterInterface
- type ResourceSlicesClusterGetter
- type ResourceV1alpha3ClusterClient
- func (c *ResourceV1alpha3ClusterClient) Cluster(clusterPath logicalcluster.Path) resourcev1alpha3.ResourceV1alpha3Interface
- func (c *ResourceV1alpha3ClusterClient) DeviceClasses() DeviceClassClusterInterface
- func (c *ResourceV1alpha3ClusterClient) PodSchedulingContexts() PodSchedulingContextClusterInterface
- func (c *ResourceV1alpha3ClusterClient) ResourceClaimTemplates() ResourceClaimTemplateClusterInterface
- func (c *ResourceV1alpha3ClusterClient) ResourceClaims() ResourceClaimClusterInterface
- func (c *ResourceV1alpha3ClusterClient) ResourceSlices() ResourceSliceClusterInterface
- type ResourceV1alpha3ClusterInterface
- type ResourceV1alpha3ClusterScoper
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeviceClassClusterInterface ¶
type DeviceClassClusterInterface interface { Cluster(logicalcluster.Path) resourcev1alpha3client.DeviceClassInterface List(ctx context.Context, opts metav1.ListOptions) (*resourcev1alpha3.DeviceClassList, error) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error) }
DeviceClassClusterInterface can operate on DeviceClasses across all clusters, or scope down to one cluster and return a resourcev1alpha3client.DeviceClassInterface.
type DeviceClassesClusterGetter ¶
type DeviceClassesClusterGetter interface {
DeviceClasses() DeviceClassClusterInterface
}
DeviceClassesClusterGetter has a method to return a DeviceClassClusterInterface. A group's cluster client should implement this interface.
type PodSchedulingContextClusterInterface ¶
type PodSchedulingContextClusterInterface interface { Cluster(logicalcluster.Path) PodSchedulingContextsNamespacer List(ctx context.Context, opts metav1.ListOptions) (*resourcev1alpha3.PodSchedulingContextList, error) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error) }
PodSchedulingContextClusterInterface can operate on PodSchedulingContexts across all clusters, or scope down to one cluster and return a PodSchedulingContextsNamespacer.
type PodSchedulingContextsClusterGetter ¶
type PodSchedulingContextsClusterGetter interface {
PodSchedulingContexts() PodSchedulingContextClusterInterface
}
PodSchedulingContextsClusterGetter has a method to return a PodSchedulingContextClusterInterface. A group's cluster client should implement this interface.
type PodSchedulingContextsNamespacer ¶
type PodSchedulingContextsNamespacer interface {
Namespace(string) resourcev1alpha3client.PodSchedulingContextInterface
}
PodSchedulingContextsNamespacer can scope to objects within a namespace, returning a resourcev1alpha3client.PodSchedulingContextInterface.
type ResourceClaimClusterInterface ¶
type ResourceClaimClusterInterface interface { Cluster(logicalcluster.Path) ResourceClaimsNamespacer List(ctx context.Context, opts metav1.ListOptions) (*resourcev1alpha3.ResourceClaimList, error) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error) }
ResourceClaimClusterInterface can operate on ResourceClaims across all clusters, or scope down to one cluster and return a ResourceClaimsNamespacer.
type ResourceClaimTemplateClusterInterface ¶
type ResourceClaimTemplateClusterInterface interface { Cluster(logicalcluster.Path) ResourceClaimTemplatesNamespacer List(ctx context.Context, opts metav1.ListOptions) (*resourcev1alpha3.ResourceClaimTemplateList, error) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error) }
ResourceClaimTemplateClusterInterface can operate on ResourceClaimTemplates across all clusters, or scope down to one cluster and return a ResourceClaimTemplatesNamespacer.
type ResourceClaimTemplatesClusterGetter ¶
type ResourceClaimTemplatesClusterGetter interface {
ResourceClaimTemplates() ResourceClaimTemplateClusterInterface
}
ResourceClaimTemplatesClusterGetter has a method to return a ResourceClaimTemplateClusterInterface. A group's cluster client should implement this interface.
type ResourceClaimTemplatesNamespacer ¶
type ResourceClaimTemplatesNamespacer interface {
Namespace(string) resourcev1alpha3client.ResourceClaimTemplateInterface
}
ResourceClaimTemplatesNamespacer can scope to objects within a namespace, returning a resourcev1alpha3client.ResourceClaimTemplateInterface.
type ResourceClaimsClusterGetter ¶
type ResourceClaimsClusterGetter interface {
ResourceClaims() ResourceClaimClusterInterface
}
ResourceClaimsClusterGetter has a method to return a ResourceClaimClusterInterface. A group's cluster client should implement this interface.
type ResourceClaimsNamespacer ¶
type ResourceClaimsNamespacer interface {
Namespace(string) resourcev1alpha3client.ResourceClaimInterface
}
ResourceClaimsNamespacer can scope to objects within a namespace, returning a resourcev1alpha3client.ResourceClaimInterface.
type ResourceSliceClusterInterface ¶
type ResourceSliceClusterInterface interface { Cluster(logicalcluster.Path) resourcev1alpha3client.ResourceSliceInterface List(ctx context.Context, opts metav1.ListOptions) (*resourcev1alpha3.ResourceSliceList, error) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error) }
ResourceSliceClusterInterface can operate on ResourceSlices across all clusters, or scope down to one cluster and return a resourcev1alpha3client.ResourceSliceInterface.
type ResourceSlicesClusterGetter ¶
type ResourceSlicesClusterGetter interface {
ResourceSlices() ResourceSliceClusterInterface
}
ResourceSlicesClusterGetter has a method to return a ResourceSliceClusterInterface. A group's cluster client should implement this interface.
type ResourceV1alpha3ClusterClient ¶
type ResourceV1alpha3ClusterClient struct {
// contains filtered or unexported fields
}
func NewForConfig ¶
func NewForConfig(c *rest.Config) (*ResourceV1alpha3ClusterClient, error)
NewForConfig creates a new ResourceV1alpha3ClusterClient 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 ResourceV1alpha3ClusterClient 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) *ResourceV1alpha3ClusterClient
NewForConfigOrDie creates a new ResourceV1alpha3ClusterClient for the given config and panics if there is an error in the config.
func (*ResourceV1alpha3ClusterClient) Cluster ¶
func (c *ResourceV1alpha3ClusterClient) Cluster(clusterPath logicalcluster.Path) resourcev1alpha3.ResourceV1alpha3Interface
func (*ResourceV1alpha3ClusterClient) DeviceClasses ¶
func (c *ResourceV1alpha3ClusterClient) DeviceClasses() DeviceClassClusterInterface
func (*ResourceV1alpha3ClusterClient) PodSchedulingContexts ¶
func (c *ResourceV1alpha3ClusterClient) PodSchedulingContexts() PodSchedulingContextClusterInterface
func (*ResourceV1alpha3ClusterClient) ResourceClaimTemplates ¶
func (c *ResourceV1alpha3ClusterClient) ResourceClaimTemplates() ResourceClaimTemplateClusterInterface
func (*ResourceV1alpha3ClusterClient) ResourceClaims ¶
func (c *ResourceV1alpha3ClusterClient) ResourceClaims() ResourceClaimClusterInterface
func (*ResourceV1alpha3ClusterClient) ResourceSlices ¶
func (c *ResourceV1alpha3ClusterClient) ResourceSlices() ResourceSliceClusterInterface
type ResourceV1alpha3ClusterInterface ¶
type ResourceV1alpha3ClusterInterface interface { ResourceV1alpha3ClusterScoper ResourceSlicesClusterGetter ResourceClaimsClusterGetter PodSchedulingContextsClusterGetter DeviceClassesClusterGetter ResourceClaimTemplatesClusterGetter }
type ResourceV1alpha3ClusterScoper ¶
type ResourceV1alpha3ClusterScoper interface {
Cluster(logicalcluster.Path) resourcev1alpha3.ResourceV1alpha3Interface
}