|
package k8s
|
|
|
|
import (
|
|
mfc "github.com/manifestival/client-go-client"
|
|
"github.com/manifestival/manifestival"
|
|
)
|
|
|
|
func GetManifestivalClient() (manifestival.Client, error) {
|
|
config, err := GetClientConfig().ClientConfig()
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return mfc.NewClient(config)
|
|
}
|