WithResourceVersion
Gets a new context with the resource version set.
def WithResourceVersion(
ctx: context.Context,
resourceVersion: string
) - > context.Context
Gets a new context with the resource version set.
Parameters
| Name | Type | Description |
|---|---|---|
| ctx | context.Context | The parent context to which the resource version will be added. |
| resourceVersion | string | The resource version string to associate with the context. |
Returns
| Type | Description |
|---|---|
context.Context | A new context with the specified resource version. |