Documentation ¶
Index ¶
- func CredCheckErr(resolution string, err error) []models.Checks
- func CredentialsCheck(cred *models.GCPCloudStorageConfigRequest) (string, error)
- type Handler
- func (h *Handler) AddBatchCheckService(bc batchcheckservice.IBatchCheckService) *Handler
- func (h *Handler) AddCertificateValidation(vc certificatevalidation.IValidateCertificateService) *Handler
- func (h *Handler) AddExternalOpensearchService(eos externalopensearchservice.IExternalOpensearchService) *Handler
- func (h *Handler) AddExternalPostgresqlService(pg externalpostgresqlservice.ExternalPostgresqlService) *Handler
- func (h *Handler) AddFirewallService(fw firewallservice.IFirewallService) *Handler
- func (h *Handler) AddFqdnService(fqdn fqdnservice.IFqdnService) *Handler
- func (h *Handler) AddGCSConfigService(ss gcpcloudstorageservice.GCPCloudStorageConfig) *Handler
- func (h *Handler) AddHardwareResourceCountService(hrc hardwareresourcecount.IHardwareResourceCountService) *Handler
- func (h *Handler) AddMockServerService(mss mockserverservice.MockServersService) *Handler
- func (h *Handler) AddNFSMountService(nm nfsmountservice.NFSService) *Handler
- func (h *Handler) AddOSS3BackupService(ss opensearchbackupservice.IOSS3BackupService) *Handler
- func (h *Handler) AddPortReachableService(pr portreachableservice.IPortReachableService) *Handler
- func (h *Handler) AddS3ConfigService(ss s3configservice.IS3Config) *Handler
- func (h *Handler) AddSoftwareVersionService(sv softwareversionservice.ISoftwareVersionService) *Handler
- func (h *Handler) AddSshUserCheckService(ssu sshusercheckservice.SshUserCheckService) *Handler
- func (h *Handler) AddStatusService(ss statusservice.IStatusService) *Handler
- func (h *Handler) AddSystemResourceService(srs systemresourceservice.SystemResourcesService) *Handler
- func (h *Handler) AddSystemUserService(su systemuserservice.SystemUserService) *Handler
- func (h *Handler) BatchCheck(c *fiber.Ctx) error
- func (h *Handler) CheckExternalPostgresql(c *fiber.Ctx) error
- func (h *Handler) CheckFqdn(c *fiber.Ctx) error
- func (h *Handler) CheckOSBackupS3(c *fiber.Ctx) error
- func (h *Handler) CheckSoftwareVersion(c *fiber.Ctx) error
- func (h *Handler) CheckSshUser(c *fiber.Ctx) error
- func (h *Handler) CheckSystemUser(c *fiber.Ctx) error
- func (h *Handler) ExternalOpensearch(c *fiber.Ctx) error
- func (h *Handler) FirewallCheck(c *fiber.Ctx) error
- func (h *Handler) GetGCPCloudStorageConfig(c *fiber.Ctx) error
- func (h *Handler) GetS3Config(c *fiber.Ctx) error
- func (h *Handler) GetStatus(c *fiber.Ctx) error
- func (h *Handler) GetSystemResource(c *fiber.Ctx) error
- func (h *Handler) HardwareResourceCount(c *fiber.Ctx) error
- func (h *Handler) NFSMount(c *fiber.Ctx) error
- func (h *Handler) NFSMountLoc(c *fiber.Ctx) error
- func (h *Handler) PortReachable(c *fiber.Ctx) error
- func (h *Handler) StartMockServer(c *fiber.Ctx) error
- func (h *Handler) StopMockServer(c *fiber.Ctx) error
- func (h *Handler) ValidateCertificate(c *fiber.Ctx) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CredentialsCheck ¶
func CredentialsCheck(cred *models.GCPCloudStorageConfigRequest) (string, error)
Types ¶
type Handler ¶
type Handler struct { Logger logger.Logger StatusService statusservice.IStatusService BatchCheckService batchcheckservice.IBatchCheckService NFSMountService nfsmountservice.NFSService MockServersService mockserverservice.MockServersService HardwareResourceCountService hardwareresourcecount.IHardwareResourceCountService SoftwareVersionService softwareversionservice.ISoftwareVersionService S3ConfigService s3configservice.IS3Config OSBackupService opensearchbackupservice.IOSS3BackupService PortReachableService portreachableservice.IPortReachableService ExternalPostgresqlService externalpostgresqlservice.ExternalPostgresqlService SystemUserService systemuserservice.SystemUserService SystemResourceService systemresourceservice.SystemResourcesService ExternalOpensearchService externalopensearchservice.IExternalOpensearchService FqdnService fqdnservice.IFqdnService FirewallService firewallservice.IFirewallService ValidateCertificateService certificatevalidation.IValidateCertificateService SshUserCheckService sshusercheckservice.SshUserCheckService GCPConfigService gcpcloudstorageservice.GCPCloudStorageConfig }
func NewHandler ¶
func (*Handler) AddBatchCheckService ¶
func (h *Handler) AddBatchCheckService(bc batchcheckservice.IBatchCheckService) *Handler
func (*Handler) AddCertificateValidation ¶
func (h *Handler) AddCertificateValidation(vc certificatevalidation.IValidateCertificateService) *Handler
func (*Handler) AddExternalOpensearchService ¶
func (h *Handler) AddExternalOpensearchService(eos externalopensearchservice.IExternalOpensearchService) *Handler
func (*Handler) AddExternalPostgresqlService ¶
func (h *Handler) AddExternalPostgresqlService(pg externalpostgresqlservice.ExternalPostgresqlService) *Handler
func (*Handler) AddFirewallService ¶
func (h *Handler) AddFirewallService(fw firewallservice.IFirewallService) *Handler
func (*Handler) AddFqdnService ¶
func (h *Handler) AddFqdnService(fqdn fqdnservice.IFqdnService) *Handler
func (*Handler) AddGCSConfigService ¶
func (h *Handler) AddGCSConfigService(ss gcpcloudstorageservice.GCPCloudStorageConfig) *Handler
func (*Handler) AddHardwareResourceCountService ¶
func (h *Handler) AddHardwareResourceCountService(hrc hardwareresourcecount.IHardwareResourceCountService) *Handler
func (*Handler) AddMockServerService ¶
func (h *Handler) AddMockServerService(mss mockserverservice.MockServersService) *Handler
func (*Handler) AddNFSMountService ¶
func (h *Handler) AddNFSMountService(nm nfsmountservice.NFSService) *Handler
func (*Handler) AddOSS3BackupService ¶
func (h *Handler) AddOSS3BackupService(ss opensearchbackupservice.IOSS3BackupService) *Handler
func (*Handler) AddPortReachableService ¶
func (h *Handler) AddPortReachableService(pr portreachableservice.IPortReachableService) *Handler
func (*Handler) AddS3ConfigService ¶
func (h *Handler) AddS3ConfigService(ss s3configservice.IS3Config) *Handler
func (*Handler) AddSoftwareVersionService ¶
func (h *Handler) AddSoftwareVersionService(sv softwareversionservice.ISoftwareVersionService) *Handler
func (*Handler) AddSshUserCheckService ¶
func (h *Handler) AddSshUserCheckService(ssu sshusercheckservice.SshUserCheckService) *Handler
func (*Handler) AddStatusService ¶
func (h *Handler) AddStatusService(ss statusservice.IStatusService) *Handler
func (*Handler) AddSystemResourceService ¶
func (h *Handler) AddSystemResourceService(srs systemresourceservice.SystemResourcesService) *Handler
func (*Handler) AddSystemUserService ¶
func (h *Handler) AddSystemUserService(su systemuserservice.SystemUserService) *Handler
func (*Handler) BatchCheck ¶
func (*Handler) CheckExternalPostgresql ¶
func (*Handler) CheckOSBackupS3 ¶
func (*Handler) CheckSoftwareVersion ¶
func (*Handler) CheckSshUser ¶
func (*Handler) CheckSystemUser ¶
func (*Handler) ExternalOpensearch ¶
func (*Handler) FirewallCheck ¶
func (*Handler) GetGCPCloudStorageConfig ¶
func (*Handler) GetS3Config ¶
func (*Handler) GetSystemResource ¶
func (*Handler) HardwareResourceCount ¶
func (*Handler) NFSMountLoc ¶
func (*Handler) PortReachable ¶
func (*Handler) StartMockServer ¶
func (*Handler) StopMockServer ¶
func (*Handler) ValidateCertificate ¶
Source Files ¶
- batchcheck.go
- certificatevalidation.go
- externalopensearch.go
- externalpostgresql.go
- firewall.go
- fqdn.go
- gcpcloudstorage.go
- handler.go
- hardwareresourcecount.go
- mockserver.go
- nfsmount.go
- opensearchbackups3.go
- portreachable.go
- s3config.go
- softwareversion.go
- sshusercheck.go
- status.go
- systemresources.go
- systemuser.go
Click to show internal directories.
Click to hide internal directories.