Skip to main content

Backend

Trait Backend 

Source
pub trait Backend {
    // Required method
    fn build(&self, dir: &str) -> Result<Vec<u8>, KustomizeError>;
}
Expand description

Ported from the Backend interface in interface.go.

Required Methods§

Source

fn build(&self, dir: &str) -> Result<Vec<u8>, KustomizeError>

Renders a kustomize directory and returns the resulting YAML bytes.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§