Documentation ¶
Index ¶
- type CustomizerClusterInterface
- type CustomizersClusterGetter
- type CustomizersNamespacer
- type EdgePlacementClusterInterface
- type EdgePlacementsClusterGetter
- type EdgeSyncConfigClusterInterface
- type EdgeSyncConfigsClusterGetter
- type EdgeV1alpha1ClusterClient
- func (c *EdgeV1alpha1ClusterClient) Cluster(clusterPath logicalcluster.Path) edgev1alpha1.EdgeV1alpha1Interface
- func (c *EdgeV1alpha1ClusterClient) Customizers() CustomizerClusterInterface
- func (c *EdgeV1alpha1ClusterClient) EdgePlacements() EdgePlacementClusterInterface
- func (c *EdgeV1alpha1ClusterClient) EdgeSyncConfigs() EdgeSyncConfigClusterInterface
- func (c *EdgeV1alpha1ClusterClient) SinglePlacementSlices() SinglePlacementSliceClusterInterface
- func (c *EdgeV1alpha1ClusterClient) SyncerConfigs() SyncerConfigClusterInterface
- type EdgeV1alpha1ClusterInterface
- type EdgeV1alpha1ClusterScoper
- type SinglePlacementSliceClusterInterface
- type SinglePlacementSlicesClusterGetter
- type SyncerConfigClusterInterface
- type SyncerConfigsClusterGetter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CustomizerClusterInterface ¶
type CustomizerClusterInterface interface { Cluster(logicalcluster.Path) CustomizersNamespacer List(ctx context.Context, opts metav1.ListOptions) (*edgev1alpha1.CustomizerList, error) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error) }
CustomizerClusterInterface can operate on Customizers across all clusters, or scope down to one cluster and return a CustomizersNamespacer.
type CustomizersClusterGetter ¶
type CustomizersClusterGetter interface {
Customizers() CustomizerClusterInterface
}
CustomizersClusterGetter has a method to return a CustomizerClusterInterface. A group's cluster client should implement this interface.
type CustomizersNamespacer ¶
type CustomizersNamespacer interface {
Namespace(string) edgev1alpha1client.CustomizerInterface
}
CustomizersNamespacer can scope to objects within a namespace, returning a edgev1alpha1client.CustomizerInterface.
type EdgePlacementClusterInterface ¶
type EdgePlacementClusterInterface interface { Cluster(logicalcluster.Path) edgev1alpha1client.EdgePlacementInterface List(ctx context.Context, opts metav1.ListOptions) (*edgev1alpha1.EdgePlacementList, error) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error) }
EdgePlacementClusterInterface can operate on EdgePlacements across all clusters, or scope down to one cluster and return a edgev1alpha1client.EdgePlacementInterface.
type EdgePlacementsClusterGetter ¶
type EdgePlacementsClusterGetter interface {
EdgePlacements() EdgePlacementClusterInterface
}
EdgePlacementsClusterGetter has a method to return a EdgePlacementClusterInterface. A group's cluster client should implement this interface.
type EdgeSyncConfigClusterInterface ¶
type EdgeSyncConfigClusterInterface interface { Cluster(logicalcluster.Path) edgev1alpha1client.EdgeSyncConfigInterface List(ctx context.Context, opts metav1.ListOptions) (*edgev1alpha1.EdgeSyncConfigList, error) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error) }
EdgeSyncConfigClusterInterface can operate on EdgeSyncConfigs across all clusters, or scope down to one cluster and return a edgev1alpha1client.EdgeSyncConfigInterface.
type EdgeSyncConfigsClusterGetter ¶
type EdgeSyncConfigsClusterGetter interface {
EdgeSyncConfigs() EdgeSyncConfigClusterInterface
}
EdgeSyncConfigsClusterGetter has a method to return a EdgeSyncConfigClusterInterface. A group's cluster client should implement this interface.
type EdgeV1alpha1ClusterClient ¶
type EdgeV1alpha1ClusterClient struct {
// contains filtered or unexported fields
}
func NewForConfig ¶
func NewForConfig(c *rest.Config) (*EdgeV1alpha1ClusterClient, error)
NewForConfig creates a new EdgeV1alpha1ClusterClient 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 EdgeV1alpha1ClusterClient 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) *EdgeV1alpha1ClusterClient
NewForConfigOrDie creates a new EdgeV1alpha1ClusterClient for the given config and panics if there is an error in the config.
func (*EdgeV1alpha1ClusterClient) Cluster ¶
func (c *EdgeV1alpha1ClusterClient) Cluster(clusterPath logicalcluster.Path) edgev1alpha1.EdgeV1alpha1Interface
func (*EdgeV1alpha1ClusterClient) Customizers ¶
func (c *EdgeV1alpha1ClusterClient) Customizers() CustomizerClusterInterface
func (*EdgeV1alpha1ClusterClient) EdgePlacements ¶
func (c *EdgeV1alpha1ClusterClient) EdgePlacements() EdgePlacementClusterInterface
func (*EdgeV1alpha1ClusterClient) EdgeSyncConfigs ¶
func (c *EdgeV1alpha1ClusterClient) EdgeSyncConfigs() EdgeSyncConfigClusterInterface
func (*EdgeV1alpha1ClusterClient) SinglePlacementSlices ¶
func (c *EdgeV1alpha1ClusterClient) SinglePlacementSlices() SinglePlacementSliceClusterInterface
func (*EdgeV1alpha1ClusterClient) SyncerConfigs ¶
func (c *EdgeV1alpha1ClusterClient) SyncerConfigs() SyncerConfigClusterInterface
type EdgeV1alpha1ClusterInterface ¶
type EdgeV1alpha1ClusterInterface interface { EdgeV1alpha1ClusterScoper CustomizersClusterGetter EdgePlacementsClusterGetter EdgeSyncConfigsClusterGetter SinglePlacementSlicesClusterGetter SyncerConfigsClusterGetter }
type EdgeV1alpha1ClusterScoper ¶
type EdgeV1alpha1ClusterScoper interface {
Cluster(logicalcluster.Path) edgev1alpha1.EdgeV1alpha1Interface
}
type SinglePlacementSliceClusterInterface ¶
type SinglePlacementSliceClusterInterface interface { Cluster(logicalcluster.Path) edgev1alpha1client.SinglePlacementSliceInterface List(ctx context.Context, opts metav1.ListOptions) (*edgev1alpha1.SinglePlacementSliceList, error) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error) }
SinglePlacementSliceClusterInterface can operate on SinglePlacementSlices across all clusters, or scope down to one cluster and return a edgev1alpha1client.SinglePlacementSliceInterface.
type SinglePlacementSlicesClusterGetter ¶
type SinglePlacementSlicesClusterGetter interface {
SinglePlacementSlices() SinglePlacementSliceClusterInterface
}
SinglePlacementSlicesClusterGetter has a method to return a SinglePlacementSliceClusterInterface. A group's cluster client should implement this interface.
type SyncerConfigClusterInterface ¶
type SyncerConfigClusterInterface interface { Cluster(logicalcluster.Path) edgev1alpha1client.SyncerConfigInterface List(ctx context.Context, opts metav1.ListOptions) (*edgev1alpha1.SyncerConfigList, error) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error) }
SyncerConfigClusterInterface can operate on SyncerConfigs across all clusters, or scope down to one cluster and return a edgev1alpha1client.SyncerConfigInterface.
type SyncerConfigsClusterGetter ¶
type SyncerConfigsClusterGetter interface {
SyncerConfigs() SyncerConfigClusterInterface
}
SyncerConfigsClusterGetter has a method to return a SyncerConfigClusterInterface. A group's cluster client should implement this interface.