Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add is_empty() methods #14

Merged
merged 10 commits into from
Apr 8, 2024
Merged

Add is_empty() methods #14

merged 10 commits into from
Apr 8, 2024

Conversation

k9withabone
Copy link
Owner

Added is_empty() methods to structs which derive Default.

Added `is_empty()` methods to
`compose_spec::{Network, network::{Ipam, IpamConfig}}`.
Added `is_empty()` methods to
`volumes::mount::{VolumeOptions, BindOptions, TmpfsOptions}`.
Added `is_empty()` methods to all of:

```
compose_spec::service::deploy::resources::{
    Resources,
    Limits,
    Reservations,
    Device,
    GenericResource,
    DiscreteResourceSpec,
}
```
Added `is_empty()` methods to all of:

```
compose_spec::service::deploy::{
    Deploy,
    Placement,
    Preference,
    RestartPolicy,
    UpdateRollbackConfig,
}
```
@k9withabone k9withabone added the enhancement New feature or request label Apr 7, 2024
@k9withabone k9withabone added this to the v0.1.1 milestone Apr 7, 2024
@k9withabone k9withabone merged commit d268ea6 into main Apr 8, 2024
9 checks passed
@k9withabone k9withabone deleted the is_empty branch April 8, 2024 04:41
@k9withabone k9withabone modified the milestones: v0.1.1, v0.2.0 Apr 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant