Documentation ¶
Index ¶
- Variables
- type GvaK8sutils
- func (GvaK8sutils *GvaK8sutils) Deployment(deployment GvaResponse.DeploymentSpec) *appsv1.Deployment
- func (GvaK8sutils *GvaK8sutils) GetK8sClient(k8sConf string) (*kubernetes.Clientset, error)
- func (GvaK8sutils *GvaK8sutils) GetRestConf(k8sConf string) (restConf *rest.Config, err error)
- func (GvaK8sutils *GvaK8sutils) Pod(k8sDeployments GvaResponse.DeploymentSpec) (list []corev1.Container)
- func (GvaK8sutils *GvaK8sutils) Port(k8sDeployments GvaResponse.DeploymentSpec, name string) (list []corev1.ContainerPort)
- type SpecGroup
Constants ¶
This section is empty.
Variables ¶
View Source
var GroupApp = new(SpecGroup)
Functions ¶
This section is empty.
Types ¶
type GvaK8sutils ¶
type GvaK8sutils struct { }
func (*GvaK8sutils) Deployment ¶
func (GvaK8sutils *GvaK8sutils) Deployment(deployment GvaResponse.DeploymentSpec) *appsv1.Deployment
func (*GvaK8sutils) GetK8sClient ¶
func (GvaK8sutils *GvaK8sutils) GetK8sClient(k8sConf string) (*kubernetes.Clientset, error)
获取k8s Clientset
func (*GvaK8sutils) GetRestConf ¶
func (GvaK8sutils *GvaK8sutils) GetRestConf(k8sConf string) (restConf *rest.Config, err error)
获取k8s RESTConfig
func (*GvaK8sutils) Pod ¶
func (GvaK8sutils *GvaK8sutils) Pod(k8sDeployments GvaResponse.DeploymentSpec) (list []corev1.Container)
func (*GvaK8sutils) Port ¶
func (GvaK8sutils *GvaK8sutils) Port(k8sDeployments GvaResponse.DeploymentSpec, name string) (list []corev1.ContainerPort)
type SpecGroup ¶
type SpecGroup struct {
GvaK8sutils
}
Click to show internal directories.
Click to hide internal directories.