Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client interface { GetByID(context.Context, int) (Image, error) GetBySlug(context.Context, string) (Image, error) Update(context.Context, int, ...UpdateOpt) (Image, error) Delete(context.Context, int) error List(context.Context) (<-chan Image, <-chan error) ListApplication(context.Context) (<-chan Image, <-chan error) ListDistribution(context.Context) (<-chan Image, <-chan error) ListUser(context.Context) (<-chan Image, <-chan error) }
A Client can interact with the DigitalOcean Images service.
type UpdateOpt ¶
type UpdateOpt func(*updateOpt)
UpdateOpt is an optional argument to images.Update.
func UseGodoImage ¶
func UseGodoImage(req *godo.ImageUpdateRequest) UpdateOpt
Click to show internal directories.
Click to hide internal directories.