Documentation ¶
Index ¶
- Variables
- func GetPackageInfo(ctx context.Context, ownerID int64, ref *conan_module.PackageReference) (string, error)
- func RecipeExists(ctx context.Context, ownerID int64, ref *conan_module.RecipeReference) (bool, error)
- func SearchRecipes(ctx context.Context, opts *RecipeSearchOptions) ([]string, error)
- type PropertyValue
- func GetLastPackageRevision(ctx context.Context, ownerID int64, ref *conan_module.PackageReference) (*PropertyValue, error)
- func GetLastRecipeRevision(ctx context.Context, ownerID int64, ref *conan_module.RecipeReference) (*PropertyValue, error)
- func GetPackageReferences(ctx context.Context, ownerID int64, ref *conan_module.RecipeReference) ([]*PropertyValue, error)
- func GetPackageRevisions(ctx context.Context, ownerID int64, ref *conan_module.PackageReference) ([]*PropertyValue, error)
- func GetRecipeRevisions(ctx context.Context, ownerID int64, ref *conan_module.RecipeReference) ([]*PropertyValue, error)
- type RecipeSearchOptions
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrRecipeReferenceNotExist = util.NewNotExistErrorf("recipe reference does not exist") ErrPackageReferenceNotExist = util.NewNotExistErrorf("package reference does not exist") )
Functions ¶
func GetPackageInfo ¶
func GetPackageInfo(ctx context.Context, ownerID int64, ref *conan_module.PackageReference) (string, error)
GetPackageInfo gets the Conaninfo for a package
func RecipeExists ¶
func RecipeExists(ctx context.Context, ownerID int64, ref *conan_module.RecipeReference) (bool, error)
RecipeExists checks if a recipe exists
func SearchRecipes ¶
func SearchRecipes(ctx context.Context, opts *RecipeSearchOptions) ([]string, error)
SearchRecipes gets all recipes matching the search options
Types ¶
type PropertyValue ¶
func GetLastPackageRevision ¶
func GetLastPackageRevision(ctx context.Context, ownerID int64, ref *conan_module.PackageReference) (*PropertyValue, error)
GetLastPackageRevision gets the latest package revision
func GetLastRecipeRevision ¶
func GetLastRecipeRevision(ctx context.Context, ownerID int64, ref *conan_module.RecipeReference) (*PropertyValue, error)
GetLastRecipeRevision gets the latest recipe revision
func GetPackageReferences ¶
func GetPackageReferences(ctx context.Context, ownerID int64, ref *conan_module.RecipeReference) ([]*PropertyValue, error)
GetPackageReferences gets all package references of a recipe
func GetPackageRevisions ¶
func GetPackageRevisions(ctx context.Context, ownerID int64, ref *conan_module.PackageReference) ([]*PropertyValue, error)
GetPackageRevisions gets all revision of a package
func GetRecipeRevisions ¶
func GetRecipeRevisions(ctx context.Context, ownerID int64, ref *conan_module.RecipeReference) ([]*PropertyValue, error)
GetRecipeRevisions gets all revisions of a recipe
Click to show internal directories.
Click to hide internal directories.