pub trait ReplicaSetExt: ResourceBuilder {
// Required methods
fn new(name: impl ToString) -> Self;
fn with_labels(
name: impl ToString,
labels: impl IntoIterator<Item = (impl ToString, impl ToString)>
) -> Self;
fn spec(self, spec: ReplicaSetSpec) -> Self;
fn min_ready_seconds(self, seconds: i32) -> Self;
fn replicas(self, replicas: i32) -> Self;
fn selector(self, selector: LabelSelector) -> Self;
fn match_labels(
self,
match_labels: impl IntoIterator<Item = (impl ToString, impl ToString)>
) -> Self;
fn template(self, template: PodTemplateSpec) -> Self;
fn pod_spec(self, pod: PodSpec) -> Self;
}