blob: 4781599f41b84bb79a8ab2c50e40b530564f959b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
use getset::Getters;
use typed_builder::TypedBuilder;
use crate::util::docker::ImageName;
#[derive(Getters, TypedBuilder)]
pub struct EndpointConfiguration {
#[getset(get = "pub")]
endpoint: crate::config::Endpoint,
#[getset(get = "pub")]
#[builder(default)]
required_images: Vec<ImageName>,
#[getset(get = "pub")]
#[builder(default)]
required_docker_versions: Option<Vec<String>>,
#[getset(get = "pub")]
#[builder(default)]
required_docker_api_versions: Option<Vec<String>>,
}
|