Trait k8s_openapi_ext::ResourceBuilder
source · [−]pub trait ResourceBuilder {
fn namespace(self, namespace: impl ToString) -> Self;
fn owner(self, owner: OwnerReference) -> Self;
fn labels(
self,
labels: impl IntoIterator<Item = (impl ToString, impl ToString)>
) -> Self;
fn with_resource_version(self, resource_version: String) -> Self;
fn metadata(name: impl ToString) -> ObjectMeta { ... }
}
Required Methods
source
fn owner(self, owner: OwnerReference) -> Self
sourcefn labels(
fn labels(
self,
labels: impl IntoIterator<Item = (impl ToString, impl ToString)>
) -> Self
source
fn with_resource_version(self, resource_version: String) -> Self
Provided Methods
source