ClusterResourceBinding v1alpha2

apiVersion: work.karmada.io/v1alpha2

import "github.com/karmada-io/karmada/pkg/apis/work/v1alpha2"

ClusterResourceBinding

ClusterResourceBinding represents a binding of a kubernetes resource with a ClusterPropagationPolicy.


  • apiVersion: work.karmada.io/v1alpha2

  • kind: ClusterResourceBinding

  • metadata (ObjectMeta)

  • spec (ResourceBindingSpec), required

    Spec represents the desired behavior.

  • status (ResourceBindingStatus)

    Status represents the most recently observed status of the ResourceBinding.

ClusterResourceBindingList

ClusterResourceBindingList contains a list of ClusterResourceBinding.


  • apiVersion: work.karmada.io/v1alpha2

  • kind: ClusterResourceBindingList

  • metadata (ListMeta)

  • items ([][ClusterResourceBinding](../work-resources/cluster-resource-binding-v1alpha2#clusterresourcebinding)), required

    Items is the list of ClusterResourceBinding.

Operations


get read the specified ClusterResourceBinding

HTTP Request

GET /apis/work.karmada.io/v1alpha2/clusterresourcebindings/{name}

Parameters

  • name (in path): string, required

    name of the ClusterResourceBinding

  • pretty (in query): string

    pretty

Response

200 (ClusterResourceBinding): OK

get read status of the specified ClusterResourceBinding

HTTP Request

GET /apis/work.karmada.io/v1alpha2/clusterresourcebindings/{name}/status

Parameters

  • name (in path): string, required

    name of the ClusterResourceBinding

  • pretty (in query): string

    pretty

Response

200 (ClusterResourceBinding): OK

list list or watch objects of kind ClusterResourceBinding

HTTP Request

GET /apis/work.karmada.io/v1alpha2/clusterresourcebindings

Parameters

Response

200 (ClusterResourceBindingList): OK

create create a ClusterResourceBinding

HTTP Request

POST /apis/work.karmada.io/v1alpha2/clusterresourcebindings

Parameters

Response

200 (ClusterResourceBinding): OK

201 (ClusterResourceBinding): Created

202 (ClusterResourceBinding): Accepted

update replace the specified ClusterResourceBinding

HTTP Request

PUT /apis/work.karmada.io/v1alpha2/clusterresourcebindings/{name}

Parameters

Response

200 (ClusterResourceBinding): OK

201 (ClusterResourceBinding): Created

update replace status of the specified ClusterResourceBinding

HTTP Request

PUT /apis/work.karmada.io/v1alpha2/clusterresourcebindings/{name}/status

Parameters

Response

200 (ClusterResourceBinding): OK

201 (ClusterResourceBinding): Created

patch partially update the specified ClusterResourceBinding

HTTP Request

PATCH /apis/work.karmada.io/v1alpha2/clusterresourcebindings/{name}

Parameters

  • name (in path): string, required

    name of the ClusterResourceBinding

  • body: Patch, required

  • dryRun (in query): string

    dryRun

  • fieldManager (in query): string

    fieldManager

  • fieldValidation (in query): string

    fieldValidation

  • force (in query): boolean

    force

  • pretty (in query): string

    pretty

Response

200 (ClusterResourceBinding): OK

201 (ClusterResourceBinding): Created

patch partially update status of the specified ClusterResourceBinding

HTTP Request

PATCH /apis/work.karmada.io/v1alpha2/clusterresourcebindings/{name}/status

Parameters

  • name (in path): string, required

    name of the ClusterResourceBinding

  • body: Patch, required

  • dryRun (in query): string

    dryRun

  • fieldManager (in query): string

    fieldManager

  • fieldValidation (in query): string

    fieldValidation

  • force (in query): boolean

    force

  • pretty (in query): string

    pretty

Response

200 (ClusterResourceBinding): OK

201 (ClusterResourceBinding): Created

delete delete a ClusterResourceBinding

HTTP Request

DELETE /apis/work.karmada.io/v1alpha2/clusterresourcebindings/{name}

Parameters

Response

200 (Status): OK

202 (Status): Accepted

deletecollection delete collection of ClusterResourceBinding

HTTP Request

DELETE /apis/work.karmada.io/v1alpha2/clusterresourcebindings

Parameters

Response

200 (Status): OK