Documentation ¶
Index ¶
Constants ¶
View Source
const (
OperatorVersion = "0.3.8"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CronRegistry ¶ added in v0.3.0
type CronRegistry interface { Get(name string) (string, bool) Add(name string, schedule string, cmd func()) error Remove(name string) error }
This is to make mocking easier
func NewCronRegistry ¶ added in v0.3.0
func NewCronRegistry() CronRegistry
type CronSchedule ¶ added in v0.3.0
type CronSchedule struct { ID cron.EntryID Schedule string }
type VersionService ¶ added in v0.3.0
type VersionService interface { LatestVersions(ctx context.Context, endpoint string, versions *koapi.ProductVersions) (*koapi.DetailedProductVersions, error) }
func NewVersionServiceClient ¶ added in v0.3.0
func NewVersionServiceClient() VersionService
Click to show internal directories.
Click to hide internal directories.