Module types

Module types 

Source
Expand description

Shared types and imports for Bind9Cluster reconciliation.

This module provides common type re-exports and shared utilities used across the bind9cluster reconciliation modules.

Re-exports§

pub use crate::context::Context;
pub use crate::crd::Bind9Cluster;
pub use crate::crd::Bind9ClusterStatus;
pub use crate::crd::Bind9Instance;
pub use crate::crd::Bind9InstanceSpec;
pub use crate::crd::Condition;
pub use crate::crd::ServerRole;
pub use crate::labels::BINDY_CLUSTER_LABEL;
pub use crate::labels::BINDY_INSTANCE_INDEX_ANNOTATION;
pub use crate::labels::BINDY_MANAGED_BY_LABEL;
pub use crate::labels::BINDY_RECONCILE_TRIGGER_ANNOTATION;
pub use crate::labels::BINDY_ROLE_LABEL;
pub use crate::labels::K8S_PART_OF;
pub use crate::labels::MANAGED_BY_BIND9_CLUSTER;
pub use crate::labels::PART_OF_BINDY;
pub use crate::labels::ROLE_PRIMARY;
pub use crate::labels::ROLE_SECONDARY;
pub use crate::status_reasons::bind9_instance_condition_type;
pub use crate::status_reasons::CONDITION_TYPE_READY;
pub use crate::status_reasons::REASON_ALL_READY;
pub use crate::status_reasons::REASON_NOT_READY;
pub use crate::status_reasons::REASON_NO_CHILDREN;
pub use crate::status_reasons::REASON_PARTIALLY_READY;
pub use crate::status_reasons::REASON_READY;

Macros§

debug
Constructs an event at the debug level.
error
Constructs an event at the error level.
info
Constructs an event at the info level.
json
Construct a serde_json::Value from a JSON literal.
warn
Constructs an event at the warn level.

Structs§

Api
The generic Api abstraction
Arc
A thread-safe reference-counting pointer. ‘Arc’ stands for ‘Atomically Reference Counted’.
BTreeMap
An ordered map based on a B-Tree.
Client
Client for connecting with a Kubernetes cluster.
ConfigMap
ConfigMap holds configuration data for pods to consume.
DeleteParams
Common query parameters for delete calls
Deployment
Deployment enables declarative updates for Pods and ReplicaSets.
ListParams
Common query parameters used in list/delete calls on collections
ObjectMeta
ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.
PatchParams
Common query parameters for patch calls
PostParams
Common query parameters for put/post calls
Secret
Secret holds secret data of a certain type. The total bytes of the values in the Data field must be less than MaxSecretSize bytes.
Service
Service is a named abstraction of software service (for example, mysql) consisting of local port (for example 3306) that the proxy listens on, and the selector that determines which pods will answer requests sent through the proxy.
Utc
The UTC time zone. This is the most efficient time zone when you don’t need the local time. It is also used as an offset (which is also a dummy type).

Enums§

Patch
Describes changes that should be applied to a resource

Traits§

ResourceExt
Helper methods for resources.

Type Aliases§

Result
Result<T, Error>