Documentation
¶
Index ¶
- Constants
- Variables
- func ClearRootEnv()
- func ExecuteUserEditor(original []byte, name string) (edited []byte, err error)
- func GetBinDir() string
- func GetRootDir() string
- func KubeApply(url string) error
- func KubeApplyFromBox(filename string, context string) error
- func KubeApplyReader(reader io.Reader) error
- func KubeCtl(args ...string) error
- func RunBufferedCommand(name string, args ...string) ([]byte, error)
- func RunCommandWithStd(name string, args ...string) error
- func TestSetRootTempdir() string
- type KubeProxy
- type ResourceEditor
Constants ¶
View Source
const (
ROOT_KEY = "KONSTELLATION_ROOT"
)
Variables ¶
View Source
var KubeDisplayOutput = false
Functions ¶
func ClearRootEnv ¶
func ClearRootEnv()
func ExecuteUserEditor ¶
func GetRootDir ¶
func GetRootDir() string
func KubeApplyFromBox ¶
func KubeApplyReader ¶
func RunCommandWithStd ¶
func TestSetRootTempdir ¶
func TestSetRootTempdir() string
Types ¶
type KubeProxy ¶
type KubeProxy struct { Namespace string Service string ServicePort int32 LocalPort int32 // contains filtered or unexported fields }
func NewKubeProxy ¶
func NewKubeProxy() *KubeProxy
func NewKubeProxyForService ¶
func (*KubeProxy) HostWithPort ¶
func (*KubeProxy) WaitUntilCanceled ¶
func (p *KubeProxy) WaitUntilCanceled()
type ResourceEditor ¶
type ResourceEditor struct {
// contains filtered or unexported fields
}
func NewResourceEditor ¶
func (*ResourceEditor) EditExisting ¶
func (r *ResourceEditor) EditExisting(ignoreNotFound bool) (res controllerutil.OperationResult, err error)
func (*ResourceEditor) UpdateFromFile ¶
func (r *ResourceEditor) UpdateFromFile(filename string) (res controllerutil.OperationResult, err error)
Click to show internal directories.
Click to hide internal directories.