clidownloads

package
v0.0.0-...-dac8cc8 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2024 License: Apache-2.0 Imports: 28 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ApplyCLIDownloads

func ApplyCLIDownloads(ctx context.Context, consoleClient consoleclientv1.ConsoleCLIDownloadInterface, requiredCLIDownloads *v1.ConsoleCLIDownload) (*v1.ConsoleCLIDownload, string, error)

TODO: All the custom `Apply*` functions should be at some point be placed into: openshift/library-go/pkg/console/resource/resourceapply/core.go

func GetPlatformURL

func GetPlatformURL(baseURL, platform, archiveType string) string

func NewCLIDownloadsSyncController

func NewCLIDownloadsSyncController(

	configClient configclientv1.ConfigV1Interface,

	operatorClient v1helpers.OperatorClient,
	cliDownloadsInterface consoleclientv1.ConsoleCLIDownloadInterface,
	routeClient routeclientv1.RoutesGetter,

	operatorConfigInformer operatorinformersv1.ConsoleInformer,
	configInformer configinformer.SharedInformerFactory,
	consoleCLIDownloadsInformers consoleinformersv1.ConsoleCLIDownloadInformer,
	routeInformer routesinformersv1.RouteInformer,

	recorder events.Recorder,
) factory.Controller

func ODOConsoleCLIDownloads

func ODOConsoleCLIDownloads() *v1.ConsoleCLIDownload

func PlatformBasedOCConsoleCLIDownloads

func PlatformBasedOCConsoleCLIDownloads(host, cliDownloadsName string) *v1.ConsoleCLIDownload

Types

type CLIDownloadsSyncController

type CLIDownloadsSyncController struct {
	// contains filtered or unexported fields
}

func (*CLIDownloadsSyncController) Sync

func (c *CLIDownloadsSyncController) Sync(ctx context.Context, controllerContext factory.SyncContext) error

Jump to

Keyboard shortcuts

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