pub trait ServiceExt: ResourceBuilder {
    fn new(name: impl ToString) -> Self;
    fn cluster_ip(name: impl ToString) -> Self;
    fn node_port(name: impl ToString) -> Self;
    fn load_balancer(name: impl ToString) -> Self;
    fn external_name(name: impl ToString, external_name: impl ToString) -> Self;
    fn with_labels(
        name: impl ToString,
        labels: impl IntoIterator<Item = (impl ToString, impl ToString)>
    ) -> Self; fn spec(self, spec: ServiceSpec) -> Self; fn selector(
        self,
        match_labels: impl IntoIterator<Item = (impl ToString, impl ToString)>
    ) -> Self; }

Required Methods

Implementors