Documentation ¶
Index ¶
- Constants
- func AddProgress(cmd *cobra.Command, fileFlag string, progress *mpb.Progress) func(r *http.Request) (*http.Request, error)
- func CreateBinaryWithProgress(ctx context.Context, client *c8y.Client, path string, filename string, ...) (*c8y.Response, error)
- func CreateProxyReader(progress *mpb.Progress) func(response *http.Response) io.Reader
- func NewProgressBar(progress *mpb.Progress, filename string) (*mpb.Bar, error)
- func NewProxyReader(progress *mpb.Progress, r io.ReadCloser, filename string) (io.ReadCloser, error)
- func WithBinaryUploadURL(client *c8y.Client, progress *mpb.Progress, opts ...string) flags.GetOption
Constants ¶
View Source
const BarFiller = "[━━ ]"
Variables ¶
This section is empty.
Functions ¶
func AddProgress ¶
func CreateProxyReader ¶
func NewProgressBar ¶
func NewProxyReader ¶
func NewProxyReader(progress *mpb.Progress, r io.ReadCloser, filename string) (io.ReadCloser, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.