utility

package
v0.0.1-beta Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2022 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExecuteRemoteCommand

func ExecuteRemoteCommand(restCfg *rest.Config, podName, namespace string, container string, commands []string) (data string, errData string, err error)

func WaitUntilPodsAreReady

func WaitUntilPodsAreReady(client client.Client, existingPods map[string]bool, listOption []client.ListOption, namespace string, deployment string, replica int32, retryCount int) error

Types

type Generator

type Generator interface {
	Generate() (private []byte, public []byte, error error)
	// contains filtered or unexported methods
}

func New

func New() Generator

type Key

type Key struct {
	Bit_size int
}

func (Key) Generate

func (key Key) Generate() (private []byte, public []byte, error error)

Jump to

Keyboard shortcuts

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