Documentation ¶
Index ¶
- type FlowSchemaClusterInterface
- type FlowSchemasClusterGetter
- type FlowcontrolV1beta1ClusterClient
- func (c *FlowcontrolV1beta1ClusterClient) Cluster(clusterPath logicalcluster.Path) flowcontrolv1beta1.FlowcontrolV1beta1Interface
- func (c *FlowcontrolV1beta1ClusterClient) FlowSchemas() FlowSchemaClusterInterface
- func (c *FlowcontrolV1beta1ClusterClient) PriorityLevelConfigurations() PriorityLevelConfigurationClusterInterface
- type FlowcontrolV1beta1ClusterInterface
- type FlowcontrolV1beta1ClusterScoper
- type PriorityLevelConfigurationClusterInterface
- type PriorityLevelConfigurationsClusterGetter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FlowSchemaClusterInterface ¶
type FlowSchemaClusterInterface interface { Cluster(logicalcluster.Path) flowcontrolv1beta1client.FlowSchemaInterface List(ctx context.Context, opts metav1.ListOptions) (*flowcontrolv1beta1.FlowSchemaList, error) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error) }
FlowSchemaClusterInterface can operate on FlowSchemas across all clusters, or scope down to one cluster and return a flowcontrolv1beta1client.FlowSchemaInterface.
type FlowSchemasClusterGetter ¶
type FlowSchemasClusterGetter interface {
FlowSchemas() FlowSchemaClusterInterface
}
FlowSchemasClusterGetter has a method to return a FlowSchemaClusterInterface. A group's cluster client should implement this interface.
type FlowcontrolV1beta1ClusterClient ¶
type FlowcontrolV1beta1ClusterClient struct {
// contains filtered or unexported fields
}
func NewForConfig ¶
func NewForConfig(c *rest.Config) (*FlowcontrolV1beta1ClusterClient, error)
NewForConfig creates a new FlowcontrolV1beta1ClusterClient for the given config. NewForConfig is equivalent to NewForConfigAndClient(c, httpClient), where httpClient was generated with rest.HTTPClientFor(c).
func NewForConfigAndClient ¶
func NewForConfigAndClient(c *rest.Config, h *http.Client) (*FlowcontrolV1beta1ClusterClient, error)
NewForConfigAndClient creates a new FlowcontrolV1beta1ClusterClient 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) *FlowcontrolV1beta1ClusterClient
NewForConfigOrDie creates a new FlowcontrolV1beta1ClusterClient for the given config and panics if there is an error in the config.
func (*FlowcontrolV1beta1ClusterClient) Cluster ¶
func (c *FlowcontrolV1beta1ClusterClient) Cluster(clusterPath logicalcluster.Path) flowcontrolv1beta1.FlowcontrolV1beta1Interface
func (*FlowcontrolV1beta1ClusterClient) FlowSchemas ¶
func (c *FlowcontrolV1beta1ClusterClient) FlowSchemas() FlowSchemaClusterInterface
func (*FlowcontrolV1beta1ClusterClient) PriorityLevelConfigurations ¶
func (c *FlowcontrolV1beta1ClusterClient) PriorityLevelConfigurations() PriorityLevelConfigurationClusterInterface
type FlowcontrolV1beta1ClusterInterface ¶
type FlowcontrolV1beta1ClusterInterface interface { FlowcontrolV1beta1ClusterScoper FlowSchemasClusterGetter PriorityLevelConfigurationsClusterGetter }
type FlowcontrolV1beta1ClusterScoper ¶
type FlowcontrolV1beta1ClusterScoper interface {
Cluster(logicalcluster.Path) flowcontrolv1beta1.FlowcontrolV1beta1Interface
}
type PriorityLevelConfigurationClusterInterface ¶
type PriorityLevelConfigurationClusterInterface interface { Cluster(logicalcluster.Path) flowcontrolv1beta1client.PriorityLevelConfigurationInterface List(ctx context.Context, opts metav1.ListOptions) (*flowcontrolv1beta1.PriorityLevelConfigurationList, error) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error) }
PriorityLevelConfigurationClusterInterface can operate on PriorityLevelConfigurations across all clusters, or scope down to one cluster and return a flowcontrolv1beta1client.PriorityLevelConfigurationInterface.
type PriorityLevelConfigurationsClusterGetter ¶
type PriorityLevelConfigurationsClusterGetter interface {
PriorityLevelConfigurations() PriorityLevelConfigurationClusterInterface
}
PriorityLevelConfigurationsClusterGetter has a method to return a PriorityLevelConfigurationClusterInterface. A group's cluster client should implement this interface.