Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitKubeData ¶ added in v0.1.1
func InitKubeData()
initKubeData initializes kubeData global variable
Types ¶
type DeploymentData ¶
type IKuberService ¶
type IKuberService interface { Connect() error GetDataFromDeployment() (*DeploymentData, error) RestartPod() error }
type KubeClient ¶
type KubeClient struct {
// contains filtered or unexported fields
}
func NewKubeService ¶
func NewKubeService(logger *logrus.Logger) *KubeClient
NewKubeService creates a new service for working with the Kubernetes API
func (*KubeClient) GetDataFromDeployment ¶
func (ks *KubeClient) GetDataFromDeployment() (*DeploymentData, error)
GetDataFromDeployment returns data from deployment
Click to show internal directories.
Click to hide internal directories.