View Source Kubegen.K8sClient.KompostChugeLi.V1alpha1.PostgresDatabase.Status (kubegen v0.1.2)
Summary
Functions
Server-Side applies the given resources of kind postgresdatabases/status in apiVersion
kompost.chuge.li/v1alpha1.
Get the resource of kind postgresdatabases/status in apiVersion kompost.chuge.li/v1alpha1 by name.
Patches the given resource of kind postgresdatabases/status in apiVersion
kompost.chuge.li/v1alpha1 with the given json_patch.
Patches the given resource of kind postgresdatabases/status in apiVersion
kompost.chuge.li/v1alpha1 with the given merge_patch.
Updates the given resource of kind postgresdatabases/status in apiVersion
kompost.chuge.li/v1alpha1.
Wait until the given callback resolves to true for a resource of kind
postgresdatabases/status in apiVersion kompost.chuge.li/v1alpha1.
Functions
@spec apply(resource :: map(), field_manager :: String.t(), force :: boolean()) :: Kubereq.response()
Server-Side applies the given resources of kind postgresdatabases/status in apiVersion
kompost.chuge.li/v1alpha1.
In order to understand field_manager and force, refer to the
Kubernetes documentation about Field Management
@spec get(namespace :: Kubereq.namespace(), name :: String.t()) :: Kubereq.response()
Get the resource of kind postgresdatabases/status in apiVersion kompost.chuge.li/v1alpha1 by name.
@spec json_patch( name :: String.t(), namespace :: Kubereq.namespace(), json_patch :: map() ) :: Kubereq.response()
Patches the given resource of kind postgresdatabases/status in apiVersion
kompost.chuge.li/v1alpha1 with the given json_patch.
@spec merge_patch( name :: String.t(), namespace :: Kubereq.namespace(), merge_patch :: String.t() ) :: Kubereq.response()
Patches the given resource of kind postgresdatabases/status in apiVersion
kompost.chuge.li/v1alpha1 with the given merge_patch.
@spec update(resource :: map()) :: Kubereq.response()
Updates the given resource of kind postgresdatabases/status in apiVersion
kompost.chuge.li/v1alpha1.
@spec wait_until( namespace :: Kubereq.namespace(), name :: String.t(), callback :: Kubereq.wait_until_callback(), timeout :: integer() ) :: Kubereq.wait_until_response()
Wait until the given callback resolves to true for a resource of kind
postgresdatabases/status in apiVersion kompost.chuge.li/v1alpha1.
Callback Args and Result
The given callback is called with the resource as argument. If the resource
was deleted, :deleted is passed as argument.
The callback should return a boolean.
Options
timeout- Timeout in ms after function terminates with{:error, :timeout}. Defaults to10_000.