Documentation ¶
Index ¶
- Constants
- type ExecOptions
- type Inspector
- func (i *Inspector) CheckDNSPod() error
- func (i *Inspector) CheckHelthStatus() error
- func (i *Inspector) DeleteNginx() error
- func (i *Inspector) DeleteNginxService() error
- func (i *Inspector) InstallNginx() ([]core.Pod, error)
- func (i *Inspector) InstallNginxService() (string, error)
- func (i *Inspector) NativeCheck() error
- func (i *Inspector) NetworkCheck() error
- type RemoteBashExecutor
- type RemoteExecutor
Constants ¶
View Source
const ( ENV = ".env" Server = "pingserver" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ExecOptions ¶
type ExecOptions struct { Namespace string PodName string ContainerName string Command []string Executor RemoteExecutor Client kubernetes.Interface Config *rest.Config }
func (*ExecOptions) Validate ¶
func (p *ExecOptions) Validate() error
type Inspector ¶
type Inspector struct {
// contains filtered or unexported fields
}
func (*Inspector) CheckDNSPod ¶
func (*Inspector) CheckHelthStatus ¶
func (*Inspector) DeleteNginx ¶
func (*Inspector) DeleteNginxService ¶
func (*Inspector) InstallNginxService ¶
func (*Inspector) NativeCheck ¶
func (*Inspector) NetworkCheck ¶
type RemoteBashExecutor ¶
type RemoteBashExecutor struct{}
Click to show internal directories.
Click to hide internal directories.