Documentation
¶
Index ¶
- func ApplyCLIDownloads(ctx context.Context, consoleClient consoleclientv1.ConsoleCLIDownloadInterface, ...) (*v1.ConsoleCLIDownload, string, error)
- func GetPlatformURL(baseURL, platform, archiveType string) string
- func NewCLIDownloadsSyncController(configClient configclientv1.ConfigV1Interface, ...) factory.Controller
- func ODOConsoleCLIDownloads() *v1.ConsoleCLIDownload
- func PlatformBasedOCConsoleCLIDownloads(host, cliDownloadsName string) *v1.ConsoleCLIDownload
- type CLIDownloadsSyncController
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 NewCLIDownloadsSyncController ¶
func NewCLIDownloadsSyncController( configClient configclientv1.ConfigV1Interface, operatorClient v1helpers.OperatorClient, cliDownloadsInterface consoleclientv1.ConsoleCLIDownloadInterface, 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
Click to show internal directories.
Click to hide internal directories.