Versions in this module Expand all Collapse all v1 v1.0.1 Nov 9, 2023 v1.0.0 Nov 9, 2023 Changes in this version + type AuthCheckCommand struct + ClientStack string + CommandType DaemonCommandType + KubeConfigContent string + NameSpace string + NeedChecks []string + type BaseCommand struct + ClientPath string + ClientStack string + CommandType DaemonCommandType + type BaseResponse struct + Data []byte + Msg string + Status int + type CheckClusterStatusCommand struct + ClientStack string + CommandType DaemonCommandType + KubeConfigContent string + type DaemonCommandType string + const AuthCheck + const CheckClusterStatus + const FAIL + const FlushDirMappingCache + const GetApplicationMeta + const GetApplicationMetas + const GetDaemonServerInfo + const GetDaemonServerStatus + const GetResourceInfo + const INTERNAL_FAIL + const KubeconfigOperation + const PREVIEW_VERSION + const RestartDaemonServer + const SUCCESS + const StartPortForward + const StopDaemonServer + const StopPortForward + const SudoVPNOperate + const SudoVPNStatus + const UpdateApplicationMeta + const VPNOperate + const VPNStatus + func ParseBaseCommand(bys []byte) (DaemonCommandType, string, error) + type GetApplicationMetaCommand struct + AppName string + ClientStack string + CommandType DaemonCommandType + KubeConfigContent string + NameSpace string + type GetApplicationMetasCommand struct + ClientStack string + CommandType DaemonCommandType + KubeConfigContent string + NameSpace string + type GetResourceInfoCommand struct + AppName string + ClientStack string + CommandType DaemonCommandType + KubeConfig string + Label map[string]string + Namespace string + Resource string + ResourceName string + ShowHidden bool + type InvalidCacheCommand struct + AppName string + ClientStack string + CommandType DaemonCommandType + Namespace string + Nid string + type KubeconfigOperationCommand struct + ClientStack string + CommandType DaemonCommandType + KubeConfigBytes []byte + Namespace string + Operation Operation + type Operation string + const OperationAdd + const OperationRemove + type PortForwardCommand struct + AppName string + ClientStack string + CommandType DaemonCommandType + Labels map[string]string + LocalPort int + NameSpace string + Nid string + OwnerApiVersion string + OwnerKind string + OwnerName string + PodName string + RemotePort int + Role string + Service string + ServiceType string + type UpdateApplicationMetaCommand struct + ClientStack string + CommandType DaemonCommandType + KubeConfig string + Namespace string + Secret *v1.Secret + SecretName string + type VPNOperateCommand struct + Action VPNOperation + ClientStack string + CommandType DaemonCommandType + KubeConfig string + Namespace string + Resource string + type VPNOperation string + const Connect + const DisConnect + const Reconnect + const Status