Kazan v0.4.0 Kazan.Apis.PolicyV1beta1 View Source
Contains functions for the PolicyV1beta1 API.
Each of these functions will output a Kazan.Request suitable for passing to Kazan.Client.
Link to this section Summary
Functions
create a PodDisruptionBudget
create a PodDisruptionBudget
delete collection of PodDisruptionBudget
delete collection of PodDisruptionBudget
delete a PodDisruptionBudget
delete a PodDisruptionBudget
get available resources
get available resources
list or watch objects of kind PodDisruptionBudget
list or watch objects of kind PodDisruptionBudget
list or watch objects of kind PodDisruptionBudget
list or watch objects of kind PodDisruptionBudget
partially update the specified PodDisruptionBudget
partially update the specified PodDisruptionBudget
partially update status of the specified PodDisruptionBudget
partially update status of the specified PodDisruptionBudget
read the specified PodDisruptionBudget
read the specified PodDisruptionBudget
read status of the specified PodDisruptionBudget
read status of the specified PodDisruptionBudget
replace the specified PodDisruptionBudget
replace the specified PodDisruptionBudget
replace status of the specified PodDisruptionBudget
replace status of the specified PodDisruptionBudget
watch changes to an object of kind PodDisruptionBudget
watch changes to an object of kind PodDisruptionBudget
watch individual changes to a list of PodDisruptionBudget
watch individual changes to a list of PodDisruptionBudget
watch individual changes to a list of PodDisruptionBudget
watch individual changes to a list of PodDisruptionBudget
Link to this section Functions
create a PodDisruptionBudget
OpenAPI Operation ID: createPolicyV1beta1NamespacedPodDisruptionBudget
Parameters
body
- SeeKazan.Models.Apis.Policy.V1beta1.PodDisruptionBudget
.namespace
- object name and auth scope, such as for teams and projects
Options
pretty
- If ‘true’, then the output is pretty printed.
Response
create a PodDisruptionBudget
OpenAPI Operation ID: createPolicyV1beta1NamespacedPodDisruptionBudget
Parameters
body
- SeeKazan.Models.Apis.Policy.V1beta1.PodDisruptionBudget
.namespace
- object name and auth scope, such as for teams and projects
Options
pretty
- If ‘true’, then the output is pretty printed.
Response
delete collection of PodDisruptionBudget
OpenAPI Operation ID: deletePolicyV1beta1CollectionNamespacedPodDisruptionBudget
Parameters
namespace
- object name and auth scope, such as for teams and projects
Options
pretty
- If ‘true’, then the output is pretty printed.field_selector
- A selector to restrict the list of returned objects by their fields. Defaults to everything.label_selector
- A selector to restrict the list of returned objects by their labels. Defaults to everything.resource_version
- When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it’s 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.timeout_seconds
- Timeout for the list/watch call.watch
- Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
Response
delete collection of PodDisruptionBudget
OpenAPI Operation ID: deletePolicyV1beta1CollectionNamespacedPodDisruptionBudget
Parameters
namespace
- object name and auth scope, such as for teams and projects
Options
pretty
- If ‘true’, then the output is pretty printed.field_selector
- A selector to restrict the list of returned objects by their fields. Defaults to everything.label_selector
- A selector to restrict the list of returned objects by their labels. Defaults to everything.resource_version
- When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it’s 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.timeout_seconds
- Timeout for the list/watch call.watch
- Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
Response
delete a PodDisruptionBudget
OpenAPI Operation ID: deletePolicyV1beta1NamespacedPodDisruptionBudget
Parameters
body
- SeeKazan.Models.ApiMachinery.Apis.Meta.V1.DeleteOptions
.namespace
- object name and auth scope, such as for teams and projectsname
- name of the PodDisruptionBudget
Options
pretty
- If ‘true’, then the output is pretty printed.grace_period_seconds
- The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.orphan_dependents
- Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the “orphan” finalizer will be added to/removed from the object’s finalizers list. Either this field or PropagationPolicy may be set, but not both.propagation_policy
- Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy.
Response
delete a PodDisruptionBudget
OpenAPI Operation ID: deletePolicyV1beta1NamespacedPodDisruptionBudget
Parameters
body
- SeeKazan.Models.ApiMachinery.Apis.Meta.V1.DeleteOptions
.namespace
- object name and auth scope, such as for teams and projectsname
- name of the PodDisruptionBudget
Options
pretty
- If ‘true’, then the output is pretty printed.grace_period_seconds
- The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.orphan_dependents
- Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the “orphan” finalizer will be added to/removed from the object’s finalizers list. Either this field or PropagationPolicy may be set, but not both.propagation_policy
- Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy.
Response
list or watch objects of kind PodDisruptionBudget
OpenAPI Operation ID: listPolicyV1beta1NamespacedPodDisruptionBudget
Parameters
namespace
- object name and auth scope, such as for teams and projects
Options
pretty
- If ‘true’, then the output is pretty printed.field_selector
- A selector to restrict the list of returned objects by their fields. Defaults to everything.label_selector
- A selector to restrict the list of returned objects by their labels. Defaults to everything.resource_version
- When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it’s 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.timeout_seconds
- Timeout for the list/watch call.watch
- Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
Response
See Kazan.Models.Apis.Policy.V1beta1.PodDisruptionBudgetList
list or watch objects of kind PodDisruptionBudget
OpenAPI Operation ID: listPolicyV1beta1NamespacedPodDisruptionBudget
Parameters
namespace
- object name and auth scope, such as for teams and projects
Options
pretty
- If ‘true’, then the output is pretty printed.field_selector
- A selector to restrict the list of returned objects by their fields. Defaults to everything.label_selector
- A selector to restrict the list of returned objects by their labels. Defaults to everything.resource_version
- When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it’s 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.timeout_seconds
- Timeout for the list/watch call.watch
- Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
Response
See Kazan.Models.Apis.Policy.V1beta1.PodDisruptionBudgetList
list or watch objects of kind PodDisruptionBudget
OpenAPI Operation ID: listPolicyV1beta1PodDisruptionBudgetForAllNamespaces
Options
field_selector
- A selector to restrict the list of returned objects by their fields. Defaults to everything.label_selector
- A selector to restrict the list of returned objects by their labels. Defaults to everything.pretty
- If ‘true’, then the output is pretty printed.resource_version
- When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it’s 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.timeout_seconds
- Timeout for the list/watch call.watch
- Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
Response
See Kazan.Models.Apis.Policy.V1beta1.PodDisruptionBudgetList
list or watch objects of kind PodDisruptionBudget
OpenAPI Operation ID: listPolicyV1beta1PodDisruptionBudgetForAllNamespaces
Options
field_selector
- A selector to restrict the list of returned objects by their fields. Defaults to everything.label_selector
- A selector to restrict the list of returned objects by their labels. Defaults to everything.pretty
- If ‘true’, then the output is pretty printed.resource_version
- When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it’s 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.timeout_seconds
- Timeout for the list/watch call.watch
- Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
Response
See Kazan.Models.Apis.Policy.V1beta1.PodDisruptionBudgetList
partially update the specified PodDisruptionBudget
OpenAPI Operation ID: patchPolicyV1beta1NamespacedPodDisruptionBudget
Parameters
body
- SeeKazan.Models.ApiMachinery.Apis.Meta.V1.Patch
.namespace
- object name and auth scope, such as for teams and projectsname
- name of the PodDisruptionBudget
Options
pretty
- If ‘true’, then the output is pretty printed.
Response
partially update the specified PodDisruptionBudget
OpenAPI Operation ID: patchPolicyV1beta1NamespacedPodDisruptionBudget
Parameters
body
- SeeKazan.Models.ApiMachinery.Apis.Meta.V1.Patch
.namespace
- object name and auth scope, such as for teams and projectsname
- name of the PodDisruptionBudget
Options
pretty
- If ‘true’, then the output is pretty printed.
Response
partially update status of the specified PodDisruptionBudget
OpenAPI Operation ID: patchPolicyV1beta1NamespacedPodDisruptionBudgetStatus
Parameters
body
- SeeKazan.Models.ApiMachinery.Apis.Meta.V1.Patch
.namespace
- object name and auth scope, such as for teams and projectsname
- name of the PodDisruptionBudget
Options
pretty
- If ‘true’, then the output is pretty printed.
Response
partially update status of the specified PodDisruptionBudget
OpenAPI Operation ID: patchPolicyV1beta1NamespacedPodDisruptionBudgetStatus
Parameters
body
- SeeKazan.Models.ApiMachinery.Apis.Meta.V1.Patch
.namespace
- object name and auth scope, such as for teams and projectsname
- name of the PodDisruptionBudget
Options
pretty
- If ‘true’, then the output is pretty printed.
Response
read the specified PodDisruptionBudget
OpenAPI Operation ID: readPolicyV1beta1NamespacedPodDisruptionBudget
Parameters
namespace
- object name and auth scope, such as for teams and projectsname
- name of the PodDisruptionBudget
Options
pretty
- If ‘true’, then the output is pretty printed.exact
- Should the export be exact. Exact export maintains cluster-specific fields like ‘Namespace’.export
- Should this value be exported. Export strips fields that a user can not specify.
Response
read the specified PodDisruptionBudget
OpenAPI Operation ID: readPolicyV1beta1NamespacedPodDisruptionBudget
Parameters
namespace
- object name and auth scope, such as for teams and projectsname
- name of the PodDisruptionBudget
Options
pretty
- If ‘true’, then the output is pretty printed.exact
- Should the export be exact. Exact export maintains cluster-specific fields like ‘Namespace’.export
- Should this value be exported. Export strips fields that a user can not specify.
Response
read status of the specified PodDisruptionBudget
OpenAPI Operation ID: readPolicyV1beta1NamespacedPodDisruptionBudgetStatus
Parameters
namespace
- object name and auth scope, such as for teams and projectsname
- name of the PodDisruptionBudget
Options
pretty
- If ‘true’, then the output is pretty printed.
Response
read status of the specified PodDisruptionBudget
OpenAPI Operation ID: readPolicyV1beta1NamespacedPodDisruptionBudgetStatus
Parameters
namespace
- object name and auth scope, such as for teams and projectsname
- name of the PodDisruptionBudget
Options
pretty
- If ‘true’, then the output is pretty printed.
Response
replace the specified PodDisruptionBudget
OpenAPI Operation ID: replacePolicyV1beta1NamespacedPodDisruptionBudget
Parameters
body
- SeeKazan.Models.Apis.Policy.V1beta1.PodDisruptionBudget
.namespace
- object name and auth scope, such as for teams and projectsname
- name of the PodDisruptionBudget
Options
pretty
- If ‘true’, then the output is pretty printed.
Response
replace the specified PodDisruptionBudget
OpenAPI Operation ID: replacePolicyV1beta1NamespacedPodDisruptionBudget
Parameters
body
- SeeKazan.Models.Apis.Policy.V1beta1.PodDisruptionBudget
.namespace
- object name and auth scope, such as for teams and projectsname
- name of the PodDisruptionBudget
Options
pretty
- If ‘true’, then the output is pretty printed.
Response
replace status of the specified PodDisruptionBudget
OpenAPI Operation ID: replacePolicyV1beta1NamespacedPodDisruptionBudgetStatus
Parameters
body
- SeeKazan.Models.Apis.Policy.V1beta1.PodDisruptionBudget
.namespace
- object name and auth scope, such as for teams and projectsname
- name of the PodDisruptionBudget
Options
pretty
- If ‘true’, then the output is pretty printed.
Response
replace status of the specified PodDisruptionBudget
OpenAPI Operation ID: replacePolicyV1beta1NamespacedPodDisruptionBudgetStatus
Parameters
body
- SeeKazan.Models.Apis.Policy.V1beta1.PodDisruptionBudget
.namespace
- object name and auth scope, such as for teams and projectsname
- name of the PodDisruptionBudget
Options
pretty
- If ‘true’, then the output is pretty printed.
Response
watch changes to an object of kind PodDisruptionBudget
OpenAPI Operation ID: watchPolicyV1beta1NamespacedPodDisruptionBudget
Parameters
namespace
- object name and auth scope, such as for teams and projectsname
- name of the PodDisruptionBudget
Options
field_selector
- A selector to restrict the list of returned objects by their fields. Defaults to everything.label_selector
- A selector to restrict the list of returned objects by their labels. Defaults to everything.pretty
- If ‘true’, then the output is pretty printed.resource_version
- When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it’s 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.timeout_seconds
- Timeout for the list/watch call.watch
- Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
Response
watch changes to an object of kind PodDisruptionBudget
OpenAPI Operation ID: watchPolicyV1beta1NamespacedPodDisruptionBudget
Parameters
namespace
- object name and auth scope, such as for teams and projectsname
- name of the PodDisruptionBudget
Options
field_selector
- A selector to restrict the list of returned objects by their fields. Defaults to everything.label_selector
- A selector to restrict the list of returned objects by their labels. Defaults to everything.pretty
- If ‘true’, then the output is pretty printed.resource_version
- When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it’s 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.timeout_seconds
- Timeout for the list/watch call.watch
- Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
Response
watch individual changes to a list of PodDisruptionBudget
OpenAPI Operation ID: watchPolicyV1beta1NamespacedPodDisruptionBudgetList
Parameters
namespace
- object name and auth scope, such as for teams and projects
Options
field_selector
- A selector to restrict the list of returned objects by their fields. Defaults to everything.label_selector
- A selector to restrict the list of returned objects by their labels. Defaults to everything.pretty
- If ‘true’, then the output is pretty printed.resource_version
- When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it’s 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.timeout_seconds
- Timeout for the list/watch call.watch
- Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
Response
watch individual changes to a list of PodDisruptionBudget
OpenAPI Operation ID: watchPolicyV1beta1NamespacedPodDisruptionBudgetList
Parameters
namespace
- object name and auth scope, such as for teams and projects
Options
field_selector
- A selector to restrict the list of returned objects by their fields. Defaults to everything.label_selector
- A selector to restrict the list of returned objects by their labels. Defaults to everything.pretty
- If ‘true’, then the output is pretty printed.resource_version
- When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it’s 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.timeout_seconds
- Timeout for the list/watch call.watch
- Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
Response
watch individual changes to a list of PodDisruptionBudget
OpenAPI Operation ID: watchPolicyV1beta1PodDisruptionBudgetListForAllNamespaces
Options
field_selector
- A selector to restrict the list of returned objects by their fields. Defaults to everything.label_selector
- A selector to restrict the list of returned objects by their labels. Defaults to everything.pretty
- If ‘true’, then the output is pretty printed.resource_version
- When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it’s 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.timeout_seconds
- Timeout for the list/watch call.watch
- Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
Response
watch individual changes to a list of PodDisruptionBudget
OpenAPI Operation ID: watchPolicyV1beta1PodDisruptionBudgetListForAllNamespaces
Options
field_selector
- A selector to restrict the list of returned objects by their fields. Defaults to everything.label_selector
- A selector to restrict the list of returned objects by their labels. Defaults to everything.pretty
- If ‘true’, then the output is pretty printed.resource_version
- When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it’s 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.timeout_seconds
- Timeout for the list/watch call.watch
- Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.