Documentation ¶
Overview ¶
This package has the automatically generated typed clients.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClusterV1beta1Client ¶
type ClusterV1beta1Client struct {
// contains filtered or unexported fields
}
ClusterV1beta1Client is used to interact with features provided by the cluster.open-cluster-management.io group.
func New ¶
func New(c rest.Interface) *ClusterV1beta1Client
New creates a new ClusterV1beta1Client for the given RESTClient.
func NewForConfig ¶
func NewForConfig(c *rest.Config) (*ClusterV1beta1Client, error)
NewForConfig creates a new ClusterV1beta1Client for the given config. NewForConfig is equivalent to NewForConfigAndClient(c, httpClient), where httpClient was generated with rest.HTTPClientFor(c).
func NewForConfigAndClient ¶ added in v0.7.0
NewForConfigAndClient creates a new ClusterV1beta1Client 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) *ClusterV1beta1Client
NewForConfigOrDie creates a new ClusterV1beta1Client for the given config and panics if there is an error in the config.
func (*ClusterV1beta1Client) PlacementDecisions ¶ added in v0.7.0
func (c *ClusterV1beta1Client) PlacementDecisions(namespace string) PlacementDecisionInterface
func (*ClusterV1beta1Client) Placements ¶ added in v0.7.0
func (c *ClusterV1beta1Client) Placements(namespace string) PlacementInterface
func (*ClusterV1beta1Client) RESTClient ¶
func (c *ClusterV1beta1Client) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
type ClusterV1beta1Interface ¶
type ClusterV1beta1Interface interface { RESTClient() rest.Interface PlacementsGetter PlacementDecisionsGetter }
type PlacementDecisionExpansion ¶ added in v0.7.0
type PlacementDecisionExpansion interface{}
type PlacementDecisionInterface ¶ added in v0.7.0
type PlacementDecisionInterface interface { Create(ctx context.Context, placementDecision *v1beta1.PlacementDecision, opts v1.CreateOptions) (*v1beta1.PlacementDecision, error) Update(ctx context.Context, placementDecision *v1beta1.PlacementDecision, opts v1.UpdateOptions) (*v1beta1.PlacementDecision, error) UpdateStatus(ctx context.Context, placementDecision *v1beta1.PlacementDecision, opts v1.UpdateOptions) (*v1beta1.PlacementDecision, error) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error Get(ctx context.Context, name string, opts v1.GetOptions) (*v1beta1.PlacementDecision, error) List(ctx context.Context, opts v1.ListOptions) (*v1beta1.PlacementDecisionList, error) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.PlacementDecision, err error) PlacementDecisionExpansion }
PlacementDecisionInterface has methods to work with PlacementDecision resources.
type PlacementDecisionsGetter ¶ added in v0.7.0
type PlacementDecisionsGetter interface {
PlacementDecisions(namespace string) PlacementDecisionInterface
}
PlacementDecisionsGetter has a method to return a PlacementDecisionInterface. A group's client should implement this interface.
type PlacementExpansion ¶ added in v0.7.0
type PlacementExpansion interface{}
type PlacementInterface ¶ added in v0.7.0
type PlacementInterface interface { Create(ctx context.Context, placement *v1beta1.Placement, opts v1.CreateOptions) (*v1beta1.Placement, error) Update(ctx context.Context, placement *v1beta1.Placement, opts v1.UpdateOptions) (*v1beta1.Placement, error) UpdateStatus(ctx context.Context, placement *v1beta1.Placement, opts v1.UpdateOptions) (*v1beta1.Placement, error) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error Get(ctx context.Context, name string, opts v1.GetOptions) (*v1beta1.Placement, error) List(ctx context.Context, opts v1.ListOptions) (*v1beta1.PlacementList, error) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.Placement, err error) PlacementExpansion }
PlacementInterface has methods to work with Placement resources.
type PlacementsGetter ¶ added in v0.7.0
type PlacementsGetter interface {
Placements(namespace string) PlacementInterface
}
PlacementsGetter has a method to return a PlacementInterface. A group's client should implement this interface.