Versions in this module Expand all Collapse all v3 v3.4.10 Aug 29, 2022 v3.4.8 Aug 29, 2022 Changes in this version + func DiskUsage(ctx context.Context, options *DiskOptions) (*entities.SystemDfReport, error) + func Events(ctx context.Context, eventChan chan entities.Event, cancelChan chan bool, ...) error + func Info(ctx context.Context, _ *InfoOptions) (*define.Info, error) + func Prune(ctx context.Context, options *PruneOptions) (*entities.SystemPruneReport, error) + func Version(ctx context.Context, options *VersionOptions) (*entities.SystemVersionReport, error) + type DiskOptions struct + func (o *DiskOptions) Changed(fieldName string) bool + func (o *DiskOptions) ToParams() (url.Values, error) + type EventsOptions struct + Filters map[string][]string + Since *string + Stream *bool + Until *string + func (o *EventsOptions) Changed(fieldName string) bool + func (o *EventsOptions) GetFilters() map[string][]string + func (o *EventsOptions) GetSince() string + func (o *EventsOptions) GetStream() bool + func (o *EventsOptions) GetUntil() string + func (o *EventsOptions) ToParams() (url.Values, error) + func (o *EventsOptions) WithFilters(value map[string][]string) *EventsOptions + func (o *EventsOptions) WithSince(value string) *EventsOptions + func (o *EventsOptions) WithStream(value bool) *EventsOptions + func (o *EventsOptions) WithUntil(value string) *EventsOptions + type InfoOptions struct + func (o *InfoOptions) Changed(fieldName string) bool + func (o *InfoOptions) ToParams() (url.Values, error) + type PruneOptions struct + All *bool + Filters map[string][]string + Volumes *bool + func (o *PruneOptions) Changed(fieldName string) bool + func (o *PruneOptions) GetAll() bool + func (o *PruneOptions) GetFilters() map[string][]string + func (o *PruneOptions) GetVolumes() bool + func (o *PruneOptions) ToParams() (url.Values, error) + func (o *PruneOptions) WithAll(value bool) *PruneOptions + func (o *PruneOptions) WithFilters(value map[string][]string) *PruneOptions + func (o *PruneOptions) WithVolumes(value bool) *PruneOptions + type VersionOptions struct + func (o *VersionOptions) Changed(fieldName string) bool + func (o *VersionOptions) ToParams() (url.Values, error)