30 lines
724 B
Go
30 lines
724 B
Go
package kubectl
|
|
|
|
// import (
|
|
// "fmt"
|
|
// )
|
|
|
|
// type KubectlCommandInterface interface {
|
|
// // GetDeployment() (string, error)
|
|
// GetDeployment() (string, error)
|
|
// }
|
|
|
|
// type KubectlCommandData struct {
|
|
// bin string
|
|
// command string
|
|
// }
|
|
|
|
// type Real KubectlCommandStatus KubectlCommandData
|
|
|
|
// // func (this KubectlCommandStatus) Status() (string, error) {
|
|
// // fmt.Println("BIN ", this.bin)
|
|
// // fmt.Println("COMMAND status")
|
|
// // return "Res de KubectlCommandStatus", nil
|
|
// // }
|
|
|
|
// func (this KubectlCommandStatus) GetDeployment() (string, error) {
|
|
// fmt.Println("BIN ", this.bin)
|
|
// fmt.Println("COMMAND status")
|
|
// return "Res de GetDeployment", nil
|
|
// }
|