Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CustomSyncer ¶
type CustomSyncer struct { upgradev1.ContainerSpec MountPath string `json:"mountPath"` OutputFile string `json:"outputFile"` // contains filtered or unexported fields }
func (*CustomSyncer) Sync ¶
func (j *CustomSyncer) Sync(ctx context.Context, cl client.Client, ch *elementalv1.ManagedOSVersionChannel) ([]elementalv1.ManagedOSVersion, error)
Sync attemps to get a list of managed os versions based on the managed os version channel configuration, on success it updates the ready condition
type DefaultProvider ¶
type DefaultProvider struct{}
func (DefaultProvider) NewOSVersionsSyncer ¶
func (sp DefaultProvider) NewOSVersionsSyncer(spec elementalv1.ManagedOSVersionChannelSpec, operatorImage string, config *rest.Config) (Syncer, error)
type JSONSyncer ¶
func (*JSONSyncer) Sync ¶
func (j *JSONSyncer) Sync(ctx context.Context, cl client.Client, ch *elementalv1.ManagedOSVersionChannel) ([]elementalv1.ManagedOSVersion, error)
Sync attemps to get a list of managed os versions based on the managed os version channel configuration, on success it updates the ready condition
type Provider ¶
type Provider interface {
NewOSVersionsSyncer(spec elementalv1.ManagedOSVersionChannelSpec, operatorImage string, config *rest.Config) (Syncer, error)
}
type Syncer ¶
type Syncer interface { // Sync function returns a list of managed os versions and sets the ready condition of the channel status accordingly Sync(ctx context.Context, cl client.Client, ch *elementalv1.ManagedOSVersionChannel) ([]elementalv1.ManagedOSVersion, error) }
Click to show internal directories.
Click to hide internal directories.