commands

package
v0.1.10 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2023 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateRegistry

func CreateRegistry(registryName string)

func DeleteAllImages added in v0.1.1

func DeleteAllImages(registryName string)

func DeleteAllRegistries

func DeleteAllRegistries()

func DeleteImage

func DeleteImage(registryName string, imageName string)

func DeleteRegistry

func DeleteRegistry(registryName string)

func DescribeRegistry

func DescribeRegistry(registryName string)

func Execute

func Execute()

func InstallOperator

func InstallOperator()

func InstallRegistry

func InstallRegistry()

func ListImages

func ListImages(registryName string)

func ListRegistries

func ListRegistries()

func Logs

func Logs(appNameSuffix string, containerName string)

func PullImage

func PullImage(registryName string, imageName string)

func PushImage

func PushImage(context contextpkg.Context, registryName string, imageName string, imagePath string)

func RegistryInfo

func RegistryInfo(registryName string, field string)

func Shell

func Shell(appNameSuffix string, containerName string)

func UninstallOperator

func UninstallOperator()

func UninstallRegistry

func UninstallRegistry()

Types

type Client

type Client struct {
	Config     *restpkg.Config
	Kubernetes kubernetespkg.Interface
	REST       restpkg.Interface
	Context    contextpkg.Context
	Namespace  string
}

func NewClient

func NewClient() *Client

func (*Client) AdminClient

func (self *Client) AdminClient() *adminclient.Client

func (*Client) Logs

func (self *Client) Logs(appNameSuffix string, containerName string, tail int, follow bool) ([]io.ReadCloser, error)

func (*Client) Shell

func (self *Client) Shell(appNameSuffix string, containerName string, stdin io.Reader, stdout io.Writer, stderr io.Writer) error

Jump to

Keyboard shortcuts

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