integration

package
v0.0.0-...-b0f0c47 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2025 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package integration manages the marker file to indicate if a WSL distribution is being integrated with Rancher Desktop.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Delete

func Delete() error

Delete any markers claiming the current distribution is integrated with Rancher Desktop.

func RemoveObsoletePluginSymlinks(homeDir, binPath string) error

RemoveObsoletePluginSymlinks removes symlinks in the docker CLI plugin directory which are children of the given directory.

func Set

func Set() error

Set the current distribution as being integrated with Rancher Desktop.

func Show

func Show() error

Check if the current distribution is being integrated with Rancher Desktop; prints, on stdout, either "true", "false", or an error message.

func UpdateDockerConfig

func UpdateDockerConfig(homeDir, pluginPath string, enabled bool) error

UpdateDockerConfig configures docker CLI to load plugins from the directory given. It also sets the credential helper to wincred.exe.

Types

This section is empty.

Jump to

Keyboard shortcuts

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