All URIs are relative to http://localhost
Method | HTTP request | Description |
---|---|---|
AddRepository | Post /repositories | Add repository to watch |
[]Subscription AddRepository(ctx, repository, optional)
Add repository to watch
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
repository | string | full repository to add e.g. docker.io/library/alpine | |
optional | *AddRepositoryOpts | optional parameters | nil if no parameters |
Optional parameters are passed through a pointer to a AddRepositoryOpts struct
Name | Type | Description | Notes |
---|
autosubscribe | optional.Bool| flag to enable/disable auto tag_update activation when new images from a repo are added | lookuptag | optional.String| use specified existing tag to perform repo scan (default is 'latest') | dryrun | optional.Bool| flag to return tags in the repository without actually watching the repository, default is false | xNextlinuxAccount | optional.String| An account name to change the resource scope of the request to that account, if permissions allow (admin only) |
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]