admin

package
v0.21.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 17, 2026 License: Apache-2.0 Imports: 12 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GetWorkflowUsage

type GetWorkflowUsage struct{}

func (*GetWorkflowUsage) Cancel

func (*GetWorkflowUsage) Cleanup

func (g *GetWorkflowUsage) Cleanup(ctx core.SetupContext) error

func (*GetWorkflowUsage) Color

func (g *GetWorkflowUsage) Color() string

func (*GetWorkflowUsage) Configuration

func (g *GetWorkflowUsage) Configuration() []configuration.Field

func (*GetWorkflowUsage) Description

func (g *GetWorkflowUsage) Description() string

func (*GetWorkflowUsage) Documentation

func (g *GetWorkflowUsage) Documentation() string

func (*GetWorkflowUsage) ExampleOutput

func (g *GetWorkflowUsage) ExampleOutput() map[string]any

func (*GetWorkflowUsage) Execute

func (g *GetWorkflowUsage) Execute(ctx core.ExecutionContext) error

func (*GetWorkflowUsage) HandleHook

func (g *GetWorkflowUsage) HandleHook(ctx core.ActionHookContext) error

func (*GetWorkflowUsage) HandleWebhook

func (*GetWorkflowUsage) Hooks

func (g *GetWorkflowUsage) Hooks() []core.Hook

func (*GetWorkflowUsage) Icon

func (g *GetWorkflowUsage) Icon() string

func (*GetWorkflowUsage) Label

func (g *GetWorkflowUsage) Label() string

func (*GetWorkflowUsage) Name

func (g *GetWorkflowUsage) Name() string

func (*GetWorkflowUsage) OutputChannels

func (g *GetWorkflowUsage) OutputChannels(configuration any) []core.OutputChannel

func (*GetWorkflowUsage) ProcessQueueItem

func (g *GetWorkflowUsage) ProcessQueueItem(ctx core.ProcessQueueContext) (*uuid.UUID, error)

func (*GetWorkflowUsage) Setup

func (g *GetWorkflowUsage) Setup(ctx core.SetupContext) error

type GetWorkflowUsageConfiguration

type GetWorkflowUsageConfiguration struct {
	Repositories []string `mapstructure:"repositories"`
}

type GetWorkflowUsageMetadata

type GetWorkflowUsageMetadata struct {
	Repositories []RepositoryMetadata `json:"repositories" mapstructure:"repositories"`
}

type RepositoryMetadata

type RepositoryMetadata struct {
	ID   int64  `json:"id" mapstructure:"id"`
	Name string `json:"name" mapstructure:"name"`
	URL  string `json:"url" mapstructure:"url"`
}

type WorkflowUsageResult

type WorkflowUsageResult struct {
	MinutesUsed          float64                 `json:"minutes_used" mapstructure:"minutes_used"`
	MinutesUsedBreakdown gh.MinutesUsedBreakdown `json:"minutes_used_breakdown" mapstructure:"minutes_used_breakdown"`
	IncludedMinutes      float64                 `json:"included_minutes" mapstructure:"included_minutes"`
	TotalPaidMinutesUsed float64                 `json:"total_paid_minutes_used" mapstructure:"total_paid_minutes_used"`
	Repositories         []string                `json:"repositories,omitempty" mapstructure:"repositories,omitempty"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL