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 ¶
func DeletePackageVersion ¶
func DownloadPackage ¶
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 ¶
func PackageVersionMetadata ¶
func UploadPackage ¶
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.
Source Files
¶
- auth.go
- chef.go
Click to show internal directories.
Click to hide internal directories.