Documentation ¶
Index ¶
- func DeletePackage(ctx *context.Context)
- func DeletePackageVersion(ctx *context.Context)
- func DownloadPackage(ctx *context.Context)
- func EnumeratePackages(ctx *context.Context)
- func PackageMetadata(ctx *context.Context)
- func PackageVersionMetadata(ctx *context.Context)
- func PackagesUniverse(ctx *context.Context)
- func UploadPackage(ctx *context.Context)
- type Auth
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeletePackage ¶
https://github.com/chef/chef/blob/main/knife/lib/chef/knife/supermarket_unshare.rb
func DeletePackageVersion ¶
https://github.com/chef/chef/blob/main/knife/lib/chef/knife/supermarket_unshare.rb
func DownloadPackage ¶
https://github.com/chef/chef/blob/main/knife/lib/chef/knife/supermarket_download.rb
func EnumeratePackages ¶
https://github.com/chef/chef/blob/main/knife/lib/chef/knife/supermarket_list.rb https://github.com/chef/chef/blob/main/knife/lib/chef/knife/supermarket_search.rb
func PackageMetadata ¶
https://github.com/chef/chef/blob/main/knife/lib/chef/knife/supermarket_show.rb
func PackageVersionMetadata ¶
https://github.com/chef/chef/blob/main/knife/lib/chef/knife/supermarket_show.rb
func PackagesUniverse ¶
Types ¶
type Auth ¶
type Auth struct{}
func (*Auth) Verify ¶
func (a *Auth) Verify(req *http.Request, w http.ResponseWriter, store auth.DataStore, sess auth.SessionStore) (*user_model.User, error)
Verify extracts the user from the signed request If the request is signed with the user private key the user is verified.