Documentation
¶
Overview ¶
This package has the automatically generated typed clients.
Index ¶
- type FlowSchemaClusterExpansion
- 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 PriorityLevelConfigurationClusterExpansion
- type PriorityLevelConfigurationClusterInterface
- type PriorityLevelConfigurationsClusterGetter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FlowSchemaClusterExpansion ¶
type FlowSchemaClusterExpansion interface{}
type FlowSchemaClusterInterface ¶
type FlowSchemaClusterInterface interface {
Cluster(logicalcluster.Path) flowcontrolv1beta3.FlowSchemaInterface
List(ctx context.Context, opts v1.ListOptions) (*apiflowcontrolv1beta3.FlowSchemaList, error)
Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
FlowSchemaClusterExpansion
}
FlowSchemaClusterInterface can operate on FlowSchemas across all clusters, or scope down to one cluster and return a flowcontrolv1beta3.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
}
FlowcontrolV1beta3ClusterClient is used to interact with features provided by the flowcontrol.apiserver.k8s.io group.
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 PriorityLevelConfigurationClusterExpansion ¶
type PriorityLevelConfigurationClusterExpansion interface{}
type PriorityLevelConfigurationClusterInterface ¶
type PriorityLevelConfigurationClusterInterface interface {
Cluster(logicalcluster.Path) flowcontrolv1beta3.PriorityLevelConfigurationInterface
List(ctx context.Context, opts v1.ListOptions) (*apiflowcontrolv1beta3.PriorityLevelConfigurationList, error)
Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
PriorityLevelConfigurationClusterExpansion
}
PriorityLevelConfigurationClusterInterface can operate on PriorityLevelConfigurations across all clusters, or scope down to one cluster and return a flowcontrolv1beta3.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.