Documentation
¶
Index ¶
- type ArtifactCache
- func (a *ArtifactCache) DeleteCaches(queryParams url.Values) (int, error)
- func (a *ArtifactCache) GetCacheUsage() (float64, error)
- func (a *ArtifactCache) ListAllCaches(queryParams url.Values, key string) ([]types.ActionsCache, error)
- func (a *ArtifactCache) ListCaches(queryParams url.Values) (types.ListApiResponse, error)
- type ArtifactCacheService
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ArtifactCache ¶
type ArtifactCache struct {
HttpClient api.RESTClient
// contains filtered or unexported fields
}
func (*ArtifactCache) DeleteCaches ¶
func (a *ArtifactCache) DeleteCaches(queryParams url.Values) (int, error)
func (*ArtifactCache) GetCacheUsage ¶
func (a *ArtifactCache) GetCacheUsage() (float64, error)
func (*ArtifactCache) ListAllCaches ¶
func (a *ArtifactCache) ListAllCaches(queryParams url.Values, key string) ([]types.ActionsCache, error)
func (*ArtifactCache) ListCaches ¶
func (a *ArtifactCache) ListCaches(queryParams url.Values) (types.ListApiResponse, error)
type ArtifactCacheService ¶
type ArtifactCacheService interface {
GetCacheUsage() (float64, error)
ListCaches(queryParams url.Values) (types.ListApiResponse, error)
DeleteCaches(queryParams url.Values) (int, error)
ListAllCaches(queryParams url.Values, key string) ([]types.ActionsCache, error)
}
func NewArtifactCache ¶
func NewArtifactCache(repo ghRepo.Repository, command string, version string) (ArtifactCacheService, error)
Click to show internal directories.
Click to hide internal directories.