Kazan v0.2.0 Kazan.Apis.StorageV1beta1

Contains functions for the StorageV1beta1 API.

Each of these functions will output a Kazan.Request suitable for passing to Kazan.Client.

Summary

Functions

delete collection of StorageClass

delete collection of StorageClass

get available resources

get available resources

list or watch objects of kind StorageClass

list or watch objects of kind StorageClass

partially update the specified StorageClass

partially update the specified StorageClass

read the specified StorageClass

read the specified StorageClass

replace the specified StorageClass

replace the specified StorageClass

watch changes to an object of kind StorageClass

watch changes to an object of kind StorageClass

watch individual changes to a list of StorageClass

watch individual changes to a list of StorageClass

Functions

create_storage_class(body, options \\ [])

create a StorageClass

Parameters

Options

  • pretty - If ‘true’, then the output is pretty printed.

Response

See Kazan.Models.V1beta1.StorageClass

create_storage_class!(body, options \\ [])

create a StorageClass

Parameters

Options

  • pretty - If ‘true’, then the output is pretty printed.

Response

See Kazan.Models.V1beta1.StorageClass

delete_collection_storage_class(options \\ [])

delete collection of StorageClass

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.

  • 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.Unversioned.Status

delete_collection_storage_class!(options \\ [])

delete collection of StorageClass

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.

  • 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.Unversioned.Status

delete_storage_class(body, name, options \\ [])

delete a StorageClass

Parameters

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 - Should the dependent objects be orphaned. If true/false, the “orphan” finalizer will be added to/removed from the object’s finalizers list.

Response

See Kazan.Models.Unversioned.Status

delete_storage_class!(body, name, options \\ [])

delete a StorageClass

Parameters

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 - Should the dependent objects be orphaned. If true/false, the “orphan” finalizer will be added to/removed from the object’s finalizers list.

Response

See Kazan.Models.Unversioned.Status

get_api_resources()

get available resources

Response

See Kazan.Models.Unversioned.APIResourceList

get_api_resources!()

get available resources

Response

See Kazan.Models.Unversioned.APIResourceList

list_storage_class(options \\ [])

list or watch objects of kind StorageClass

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.

  • 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.V1beta1.StorageClassList

list_storage_class!(options \\ [])

list or watch objects of kind StorageClass

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.

  • 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.V1beta1.StorageClassList

patch_storage_class(body, name, options \\ [])

partially update the specified StorageClass

Parameters

  • body - See Kazan.Models.Unversioned.Patch.
  • name - name of the StorageClass

Options

  • pretty - If ‘true’, then the output is pretty printed.

Response

See Kazan.Models.V1beta1.StorageClass

patch_storage_class!(body, name, options \\ [])

partially update the specified StorageClass

Parameters

  • body - See Kazan.Models.Unversioned.Patch.
  • name - name of the StorageClass

Options

  • pretty - If ‘true’, then the output is pretty printed.

Response

See Kazan.Models.V1beta1.StorageClass

read_storage_class(name, options \\ [])

read the specified StorageClass

Parameters

  • name - name of the StorageClass

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

See Kazan.Models.V1beta1.StorageClass

read_storage_class!(name, options \\ [])

read the specified StorageClass

Parameters

  • name - name of the StorageClass

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

See Kazan.Models.V1beta1.StorageClass

replace_storage_class(body, name, options \\ [])

replace the specified StorageClass

Parameters

Options

  • pretty - If ‘true’, then the output is pretty printed.

Response

See Kazan.Models.V1beta1.StorageClass

replace_storage_class!(body, name, options \\ [])

replace the specified StorageClass

Parameters

Options

  • pretty - If ‘true’, then the output is pretty printed.

Response

See Kazan.Models.V1beta1.StorageClass

watch_storage_class(name, options \\ [])

watch changes to an object of kind StorageClass

Parameters

  • name - name of the StorageClass

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.

  • 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.Versioned.Event

watch_storage_class!(name, options \\ [])

watch changes to an object of kind StorageClass

Parameters

  • name - name of the StorageClass

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.

  • 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.Versioned.Event

watch_storage_class_list(options \\ [])

watch individual changes to a list of StorageClass

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.

  • 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.Versioned.Event

watch_storage_class_list!(options \\ [])

watch individual changes to a list of StorageClass

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.

  • 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.Versioned.Event