pub struct TrunkInstall {
pub name: String,
pub version: Option<Option<String>>,
}Expand description
TrunkInstall : TrunkInstall allows installation of extensions from the pgtrunk registry. This list should be a list of extension names and versions that you wish to install at runtime using the pgtrunk API. This example will install the pg_stat_statements extension at version 1.10.0. yaml apiVersion: coredb.io/v1alpha1 kind: CoreDB metadata: name: test-db spec: trunk_installs: - name: pg_stat_statements version: 1.10.0
Fields§
§name: StringThe name of the extension to install. This must be the name of the extension as it appears in the pgtrunk registry.
version: Option<Option<String>>The version of the extension to install. If not specified, the latest version will be used. (Optional)
Implementations§
Source§impl TrunkInstall
impl TrunkInstall
Sourcepub fn new(name: String) -> TrunkInstall
pub fn new(name: String) -> TrunkInstall
TrunkInstall allows installation of extensions from the pgtrunk registry. This list should be a list of extension names and versions that you wish to install at runtime using the pgtrunk API. This example will install the pg_stat_statements extension at version 1.10.0. yaml apiVersion: coredb.io/v1alpha1 kind: CoreDB metadata: name: test-db spec: trunk_installs: - name: pg_stat_statements version: 1.10.0
Trait Implementations§
Source§impl Clone for TrunkInstall
impl Clone for TrunkInstall
Source§fn clone(&self) -> TrunkInstall
fn clone(&self) -> TrunkInstall
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more