Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Upgrader ¶
type Upgrader struct {
// contains filtered or unexported fields
}
Upgrader manages the upgrade process for GitHub Actions in workflow files.
func NewWithClient ¶
func NewWithClient(workflows []*workflow.Workflow, configFile string, client actions.Resolver) *Upgrader
NewWithClient creates a new Upgrader with a custom actions client (for testing).
func NewWithWorkflows ¶
func NewWithWorkflows(ctx context.Context, workflows []*workflow.Workflow, configFile string) *Upgrader
NewWithWorkflows creates a new Upgrader with the provided workflows.
func (*Upgrader) GetCacheStats ¶
func (u *Upgrader) GetCacheStats() actions.CacheStats
GetCacheStats returns cache statistics for GitHub API calls.
Click to show internal directories.
Click to hide internal directories.