Documentation ¶
Index ¶
- type FlowSchemaClusterInterface
- type FlowSchemasClusterGetter
- type FlowcontrolV1beta3ClusterClient
- func (c *FlowcontrolV1beta3ClusterClient) Cluster(clusterPath logicalcluster.Path) flowcontrolv1beta3.FlowcontrolV1beta3Interface
- func (c *FlowcontrolV1beta3ClusterClient) FlowSchemas() FlowSchemaClusterInterface
- func (c *FlowcontrolV1beta3ClusterClient) PriorityLevelConfigurations() PriorityLevelConfigurationClusterInterface
- type FlowcontrolV1beta3ClusterInterface
- type FlowcontrolV1beta3ClusterScoper
- 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) flowcontrolv1beta3client.FlowSchemaInterface List(ctx context.Context, opts metav1.ListOptions) (*flowcontrolv1beta3.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 flowcontrolv1beta3client.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 FlowcontrolV1beta3ClusterClient ¶
type FlowcontrolV1beta3ClusterClient struct {
// contains filtered or unexported fields
}
func NewForConfig ¶
func NewForConfig(c *rest.Config) (*FlowcontrolV1beta3ClusterClient, error)
NewForConfig creates a new FlowcontrolV1beta3ClusterClient 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) (*FlowcontrolV1beta3ClusterClient, error)
NewForConfigAndClient creates a new FlowcontrolV1beta3ClusterClient 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) *FlowcontrolV1beta3ClusterClient
NewForConfigOrDie creates a new FlowcontrolV1beta3ClusterClient for the given config and panics if there is an error in the config.
func (*FlowcontrolV1beta3ClusterClient) Cluster ¶
func (c *FlowcontrolV1beta3ClusterClient) Cluster(clusterPath logicalcluster.Path) flowcontrolv1beta3.FlowcontrolV1beta3Interface
func (*FlowcontrolV1beta3ClusterClient) FlowSchemas ¶
func (c *FlowcontrolV1beta3ClusterClient) FlowSchemas() FlowSchemaClusterInterface
func (*FlowcontrolV1beta3ClusterClient) PriorityLevelConfigurations ¶
func (c *FlowcontrolV1beta3ClusterClient) PriorityLevelConfigurations() PriorityLevelConfigurationClusterInterface
type FlowcontrolV1beta3ClusterInterface ¶
type FlowcontrolV1beta3ClusterInterface interface { FlowcontrolV1beta3ClusterScoper FlowSchemasClusterGetter PriorityLevelConfigurationsClusterGetter }
type FlowcontrolV1beta3ClusterScoper ¶
type FlowcontrolV1beta3ClusterScoper interface {
Cluster(logicalcluster.Path) flowcontrolv1beta3.FlowcontrolV1beta3Interface
}
type PriorityLevelConfigurationClusterInterface ¶
type PriorityLevelConfigurationClusterInterface interface { Cluster(logicalcluster.Path) flowcontrolv1beta3client.PriorityLevelConfigurationInterface List(ctx context.Context, opts metav1.ListOptions) (*flowcontrolv1beta3.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 flowcontrolv1beta3client.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.