From 9ebb42d061b2bbce5f1088ffb7ab746a8f91016f Mon Sep 17 00:00:00 2001 From: Mike Tocci Date: Tue, 3 Aug 2021 18:46:18 -0400 Subject: [PATCH] bindata restore 2 --- internal/theme/themes_bindata.go | 192 +++++++++++++++---------------- 1 file changed, 96 insertions(+), 96 deletions(-) diff --git a/internal/theme/themes_bindata.go b/internal/theme/themes_bindata.go index 9ae6ef2..fe8cb8c 100644 --- a/internal/theme/themes_bindata.go +++ b/internal/theme/themes_bindata.go @@ -59,10 +59,10 @@ package theme import ( + "github.com/elazarl/go-bindata-assetfs" "bytes" "compress/gzip" "fmt" - "github.com/elazarl/go-bindata-assetfs" "io" "io/ioutil" "os" @@ -1254,60 +1254,60 @@ func AssetNames() []string { // _bindata is a table, holding each asset generator, mapped to its name. var _bindata = map[string]func() (*asset, error){ - "comply-blank/README.md": complyBlankReadmeMd, - "comply-blank/TODO.md": complyBlankTodoMd, - "comply-blank/narratives/.gitkeep": complyBlankNarrativesGitkeep, - "comply-blank/policies/.gitkeep": complyBlankPoliciesGitkeep, - "comply-blank/procedures/.gitkeep": complyBlankProceduresGitkeep, - "comply-blank/standards/.gitkeep": complyBlankStandardsGitkeep, - "comply-blank/templates/.gitkeep": complyBlankTemplatesGitkeep, - "comply-blank/templates/default.latex": complyBlankTemplatesDefaultLatex, - "comply-blank/templates/index.ace": complyBlankTemplatesIndexAce, - "comply-soc2/README.md": complySoc2ReadmeMd, - "comply-soc2/TODO.md": complySoc2TodoMd, - "comply-soc2/narratives/README.md": complySoc2NarrativesReadmeMd, - "comply-soc2/narratives/control.md": complySoc2NarrativesControlMd, + "comply-blank/README.md": complyBlankReadmeMd, + "comply-blank/TODO.md": complyBlankTodoMd, + "comply-blank/narratives/.gitkeep": complyBlankNarrativesGitkeep, + "comply-blank/policies/.gitkeep": complyBlankPoliciesGitkeep, + "comply-blank/procedures/.gitkeep": complyBlankProceduresGitkeep, + "comply-blank/standards/.gitkeep": complyBlankStandardsGitkeep, + "comply-blank/templates/.gitkeep": complyBlankTemplatesGitkeep, + "comply-blank/templates/default.latex": complyBlankTemplatesDefaultLatex, + "comply-blank/templates/index.ace": complyBlankTemplatesIndexAce, + "comply-soc2/README.md": complySoc2ReadmeMd, + "comply-soc2/TODO.md": complySoc2TodoMd, + "comply-soc2/narratives/README.md": complySoc2NarrativesReadmeMd, + "comply-soc2/narratives/control.md": complySoc2NarrativesControlMd, "comply-soc2/narratives/organizational.md": complySoc2NarrativesOrganizationalMd, - "comply-soc2/narratives/products.md": complySoc2NarrativesProductsMd, - "comply-soc2/narratives/security.md": complySoc2NarrativesSecurityMd, - "comply-soc2/narratives/system.md": complySoc2NarrativesSystemMd, - "comply-soc2/policies/README.md": complySoc2PoliciesReadmeMd, - "comply-soc2/policies/access.md": complySoc2PoliciesAccessMd, - "comply-soc2/policies/application.md": complySoc2PoliciesApplicationMd, - "comply-soc2/policies/availability.md": complySoc2PoliciesAvailabilityMd, - "comply-soc2/policies/change.md": complySoc2PoliciesChangeMd, - "comply-soc2/policies/classification.md": complySoc2PoliciesClassificationMd, - "comply-soc2/policies/conduct.md": complySoc2PoliciesConductMd, - "comply-soc2/policies/confidentiality.md": complySoc2PoliciesConfidentialityMd, - "comply-soc2/policies/continuity.md": complySoc2PoliciesContinuityMd, - "comply-soc2/policies/cyber.md": complySoc2PoliciesCyberMd, - "comply-soc2/policies/datacenter.md": complySoc2PoliciesDatacenterMd, - "comply-soc2/policies/development.md": complySoc2PoliciesDevelopmentMd, - "comply-soc2/policies/disaster.md": complySoc2PoliciesDisasterMd, - "comply-soc2/policies/encryption.md": complySoc2PoliciesEncryptionMd, - "comply-soc2/policies/incident.md": complySoc2PoliciesIncidentMd, - "comply-soc2/policies/information.md": complySoc2PoliciesInformationMd, - "comply-soc2/policies/log.md": complySoc2PoliciesLogMd, - "comply-soc2/policies/media.md": complySoc2PoliciesMediaMd, - "comply-soc2/policies/office.md": complySoc2PoliciesOfficeMd, - "comply-soc2/policies/password.md": complySoc2PoliciesPasswordMd, - "comply-soc2/policies/policy.md": complySoc2PoliciesPolicyMd, - "comply-soc2/policies/privacy.md": complySoc2PoliciesPrivacyMd, - "comply-soc2/policies/processing.md": complySoc2PoliciesProcessingMd, - "comply-soc2/policies/remote.md": complySoc2PoliciesRemoteMd, - "comply-soc2/policies/retention.md": complySoc2PoliciesRetentionMd, - "comply-soc2/policies/risk.md": complySoc2PoliciesRiskMd, - "comply-soc2/policies/vendor.md": complySoc2PoliciesVendorMd, - "comply-soc2/policies/workstation.md": complySoc2PoliciesWorkstationMd, - "comply-soc2/procedures/README.md": complySoc2ProceduresReadmeMd, - "comply-soc2/procedures/offboarding.md": complySoc2ProceduresOffboardingMd, - "comply-soc2/procedures/onboarding.md": complySoc2ProceduresOnboardingMd, - "comply-soc2/procedures/patch.md": complySoc2ProceduresPatchMd, - "comply-soc2/procedures/workstation.md": complySoc2ProceduresWorkstationMd, - "comply-soc2/standards/README.md": complySoc2StandardsReadmeMd, - "comply-soc2/standards/TSC-2017.yml": complySoc2StandardsTsc2017Yml, - "comply-soc2/templates/default.latex": complySoc2TemplatesDefaultLatex, - "comply-soc2/templates/index.ace": complySoc2TemplatesIndexAce, + "comply-soc2/narratives/products.md": complySoc2NarrativesProductsMd, + "comply-soc2/narratives/security.md": complySoc2NarrativesSecurityMd, + "comply-soc2/narratives/system.md": complySoc2NarrativesSystemMd, + "comply-soc2/policies/README.md": complySoc2PoliciesReadmeMd, + "comply-soc2/policies/access.md": complySoc2PoliciesAccessMd, + "comply-soc2/policies/application.md": complySoc2PoliciesApplicationMd, + "comply-soc2/policies/availability.md": complySoc2PoliciesAvailabilityMd, + "comply-soc2/policies/change.md": complySoc2PoliciesChangeMd, + "comply-soc2/policies/classification.md": complySoc2PoliciesClassificationMd, + "comply-soc2/policies/conduct.md": complySoc2PoliciesConductMd, + "comply-soc2/policies/confidentiality.md": complySoc2PoliciesConfidentialityMd, + "comply-soc2/policies/continuity.md": complySoc2PoliciesContinuityMd, + "comply-soc2/policies/cyber.md": complySoc2PoliciesCyberMd, + "comply-soc2/policies/datacenter.md": complySoc2PoliciesDatacenterMd, + "comply-soc2/policies/development.md": complySoc2PoliciesDevelopmentMd, + "comply-soc2/policies/disaster.md": complySoc2PoliciesDisasterMd, + "comply-soc2/policies/encryption.md": complySoc2PoliciesEncryptionMd, + "comply-soc2/policies/incident.md": complySoc2PoliciesIncidentMd, + "comply-soc2/policies/information.md": complySoc2PoliciesInformationMd, + "comply-soc2/policies/log.md": complySoc2PoliciesLogMd, + "comply-soc2/policies/media.md": complySoc2PoliciesMediaMd, + "comply-soc2/policies/office.md": complySoc2PoliciesOfficeMd, + "comply-soc2/policies/password.md": complySoc2PoliciesPasswordMd, + "comply-soc2/policies/policy.md": complySoc2PoliciesPolicyMd, + "comply-soc2/policies/privacy.md": complySoc2PoliciesPrivacyMd, + "comply-soc2/policies/processing.md": complySoc2PoliciesProcessingMd, + "comply-soc2/policies/remote.md": complySoc2PoliciesRemoteMd, + "comply-soc2/policies/retention.md": complySoc2PoliciesRetentionMd, + "comply-soc2/policies/risk.md": complySoc2PoliciesRiskMd, + "comply-soc2/policies/vendor.md": complySoc2PoliciesVendorMd, + "comply-soc2/policies/workstation.md": complySoc2PoliciesWorkstationMd, + "comply-soc2/procedures/README.md": complySoc2ProceduresReadmeMd, + "comply-soc2/procedures/offboarding.md": complySoc2ProceduresOffboardingMd, + "comply-soc2/procedures/onboarding.md": complySoc2ProceduresOnboardingMd, + "comply-soc2/procedures/patch.md": complySoc2ProceduresPatchMd, + "comply-soc2/procedures/workstation.md": complySoc2ProceduresWorkstationMd, + "comply-soc2/standards/README.md": complySoc2StandardsReadmeMd, + "comply-soc2/standards/TSC-2017.yml": complySoc2StandardsTsc2017Yml, + "comply-soc2/templates/default.latex": complySoc2TemplatesDefaultLatex, + "comply-soc2/templates/index.ace": complySoc2TemplatesIndexAce, } // AssetDir returns the file names below a certain @@ -1349,11 +1349,10 @@ type bintree struct { Func func() (*asset, error) Children map[string]*bintree } - var _bintree = &bintree{nil, map[string]*bintree{ "comply-blank": &bintree{nil, map[string]*bintree{ "README.md": &bintree{complyBlankReadmeMd, map[string]*bintree{}}, - "TODO.md": &bintree{complyBlankTodoMd, map[string]*bintree{}}, + "TODO.md": &bintree{complyBlankTodoMd, map[string]*bintree{}}, "narratives": &bintree{nil, map[string]*bintree{ ".gitkeep": &bintree{complyBlankNarrativesGitkeep, map[string]*bintree{}}, }}, @@ -1367,66 +1366,66 @@ var _bintree = &bintree{nil, map[string]*bintree{ ".gitkeep": &bintree{complyBlankStandardsGitkeep, map[string]*bintree{}}, }}, "templates": &bintree{nil, map[string]*bintree{ - ".gitkeep": &bintree{complyBlankTemplatesGitkeep, map[string]*bintree{}}, + ".gitkeep": &bintree{complyBlankTemplatesGitkeep, map[string]*bintree{}}, "default.latex": &bintree{complyBlankTemplatesDefaultLatex, map[string]*bintree{}}, - "index.ace": &bintree{complyBlankTemplatesIndexAce, map[string]*bintree{}}, + "index.ace": &bintree{complyBlankTemplatesIndexAce, map[string]*bintree{}}, }}, }}, "comply-soc2": &bintree{nil, map[string]*bintree{ "README.md": &bintree{complySoc2ReadmeMd, map[string]*bintree{}}, - "TODO.md": &bintree{complySoc2TodoMd, map[string]*bintree{}}, + "TODO.md": &bintree{complySoc2TodoMd, map[string]*bintree{}}, "narratives": &bintree{nil, map[string]*bintree{ - "README.md": &bintree{complySoc2NarrativesReadmeMd, map[string]*bintree{}}, - "control.md": &bintree{complySoc2NarrativesControlMd, map[string]*bintree{}}, + "README.md": &bintree{complySoc2NarrativesReadmeMd, map[string]*bintree{}}, + "control.md": &bintree{complySoc2NarrativesControlMd, map[string]*bintree{}}, "organizational.md": &bintree{complySoc2NarrativesOrganizationalMd, map[string]*bintree{}}, - "products.md": &bintree{complySoc2NarrativesProductsMd, map[string]*bintree{}}, - "security.md": &bintree{complySoc2NarrativesSecurityMd, map[string]*bintree{}}, - "system.md": &bintree{complySoc2NarrativesSystemMd, map[string]*bintree{}}, + "products.md": &bintree{complySoc2NarrativesProductsMd, map[string]*bintree{}}, + "security.md": &bintree{complySoc2NarrativesSecurityMd, map[string]*bintree{}}, + "system.md": &bintree{complySoc2NarrativesSystemMd, map[string]*bintree{}}, }}, "policies": &bintree{nil, map[string]*bintree{ - "README.md": &bintree{complySoc2PoliciesReadmeMd, map[string]*bintree{}}, - "access.md": &bintree{complySoc2PoliciesAccessMd, map[string]*bintree{}}, - "application.md": &bintree{complySoc2PoliciesApplicationMd, map[string]*bintree{}}, - "availability.md": &bintree{complySoc2PoliciesAvailabilityMd, map[string]*bintree{}}, - "change.md": &bintree{complySoc2PoliciesChangeMd, map[string]*bintree{}}, - "classification.md": &bintree{complySoc2PoliciesClassificationMd, map[string]*bintree{}}, - "conduct.md": &bintree{complySoc2PoliciesConductMd, map[string]*bintree{}}, + "README.md": &bintree{complySoc2PoliciesReadmeMd, map[string]*bintree{}}, + "access.md": &bintree{complySoc2PoliciesAccessMd, map[string]*bintree{}}, + "application.md": &bintree{complySoc2PoliciesApplicationMd, map[string]*bintree{}}, + "availability.md": &bintree{complySoc2PoliciesAvailabilityMd, map[string]*bintree{}}, + "change.md": &bintree{complySoc2PoliciesChangeMd, map[string]*bintree{}}, + "classification.md": &bintree{complySoc2PoliciesClassificationMd, map[string]*bintree{}}, + "conduct.md": &bintree{complySoc2PoliciesConductMd, map[string]*bintree{}}, "confidentiality.md": &bintree{complySoc2PoliciesConfidentialityMd, map[string]*bintree{}}, - "continuity.md": &bintree{complySoc2PoliciesContinuityMd, map[string]*bintree{}}, - "cyber.md": &bintree{complySoc2PoliciesCyberMd, map[string]*bintree{}}, - "datacenter.md": &bintree{complySoc2PoliciesDatacenterMd, map[string]*bintree{}}, - "development.md": &bintree{complySoc2PoliciesDevelopmentMd, map[string]*bintree{}}, - "disaster.md": &bintree{complySoc2PoliciesDisasterMd, map[string]*bintree{}}, - "encryption.md": &bintree{complySoc2PoliciesEncryptionMd, map[string]*bintree{}}, - "incident.md": &bintree{complySoc2PoliciesIncidentMd, map[string]*bintree{}}, - "information.md": &bintree{complySoc2PoliciesInformationMd, map[string]*bintree{}}, - "log.md": &bintree{complySoc2PoliciesLogMd, map[string]*bintree{}}, - "media.md": &bintree{complySoc2PoliciesMediaMd, map[string]*bintree{}}, - "office.md": &bintree{complySoc2PoliciesOfficeMd, map[string]*bintree{}}, - "password.md": &bintree{complySoc2PoliciesPasswordMd, map[string]*bintree{}}, - "policy.md": &bintree{complySoc2PoliciesPolicyMd, map[string]*bintree{}}, - "privacy.md": &bintree{complySoc2PoliciesPrivacyMd, map[string]*bintree{}}, - "processing.md": &bintree{complySoc2PoliciesProcessingMd, map[string]*bintree{}}, - "remote.md": &bintree{complySoc2PoliciesRemoteMd, map[string]*bintree{}}, - "retention.md": &bintree{complySoc2PoliciesRetentionMd, map[string]*bintree{}}, - "risk.md": &bintree{complySoc2PoliciesRiskMd, map[string]*bintree{}}, - "vendor.md": &bintree{complySoc2PoliciesVendorMd, map[string]*bintree{}}, - "workstation.md": &bintree{complySoc2PoliciesWorkstationMd, map[string]*bintree{}}, + "continuity.md": &bintree{complySoc2PoliciesContinuityMd, map[string]*bintree{}}, + "cyber.md": &bintree{complySoc2PoliciesCyberMd, map[string]*bintree{}}, + "datacenter.md": &bintree{complySoc2PoliciesDatacenterMd, map[string]*bintree{}}, + "development.md": &bintree{complySoc2PoliciesDevelopmentMd, map[string]*bintree{}}, + "disaster.md": &bintree{complySoc2PoliciesDisasterMd, map[string]*bintree{}}, + "encryption.md": &bintree{complySoc2PoliciesEncryptionMd, map[string]*bintree{}}, + "incident.md": &bintree{complySoc2PoliciesIncidentMd, map[string]*bintree{}}, + "information.md": &bintree{complySoc2PoliciesInformationMd, map[string]*bintree{}}, + "log.md": &bintree{complySoc2PoliciesLogMd, map[string]*bintree{}}, + "media.md": &bintree{complySoc2PoliciesMediaMd, map[string]*bintree{}}, + "office.md": &bintree{complySoc2PoliciesOfficeMd, map[string]*bintree{}}, + "password.md": &bintree{complySoc2PoliciesPasswordMd, map[string]*bintree{}}, + "policy.md": &bintree{complySoc2PoliciesPolicyMd, map[string]*bintree{}}, + "privacy.md": &bintree{complySoc2PoliciesPrivacyMd, map[string]*bintree{}}, + "processing.md": &bintree{complySoc2PoliciesProcessingMd, map[string]*bintree{}}, + "remote.md": &bintree{complySoc2PoliciesRemoteMd, map[string]*bintree{}}, + "retention.md": &bintree{complySoc2PoliciesRetentionMd, map[string]*bintree{}}, + "risk.md": &bintree{complySoc2PoliciesRiskMd, map[string]*bintree{}}, + "vendor.md": &bintree{complySoc2PoliciesVendorMd, map[string]*bintree{}}, + "workstation.md": &bintree{complySoc2PoliciesWorkstationMd, map[string]*bintree{}}, }}, "procedures": &bintree{nil, map[string]*bintree{ - "README.md": &bintree{complySoc2ProceduresReadmeMd, map[string]*bintree{}}, + "README.md": &bintree{complySoc2ProceduresReadmeMd, map[string]*bintree{}}, "offboarding.md": &bintree{complySoc2ProceduresOffboardingMd, map[string]*bintree{}}, - "onboarding.md": &bintree{complySoc2ProceduresOnboardingMd, map[string]*bintree{}}, - "patch.md": &bintree{complySoc2ProceduresPatchMd, map[string]*bintree{}}, + "onboarding.md": &bintree{complySoc2ProceduresOnboardingMd, map[string]*bintree{}}, + "patch.md": &bintree{complySoc2ProceduresPatchMd, map[string]*bintree{}}, "workstation.md": &bintree{complySoc2ProceduresWorkstationMd, map[string]*bintree{}}, }}, "standards": &bintree{nil, map[string]*bintree{ - "README.md": &bintree{complySoc2StandardsReadmeMd, map[string]*bintree{}}, + "README.md": &bintree{complySoc2StandardsReadmeMd, map[string]*bintree{}}, "TSC-2017.yml": &bintree{complySoc2StandardsTsc2017Yml, map[string]*bintree{}}, }}, "templates": &bintree{nil, map[string]*bintree{ "default.latex": &bintree{complySoc2TemplatesDefaultLatex, map[string]*bintree{}}, - "index.ace": &bintree{complySoc2TemplatesIndexAce, map[string]*bintree{}}, + "index.ace": &bintree{complySoc2TemplatesIndexAce, map[string]*bintree{}}, }}, }}, }} @@ -1478,6 +1477,7 @@ func _filePath(dir, name string) string { return filepath.Join(append([]string{dir}, strings.Split(cannonicalName, "/")...)...) } + func assetFS() *assetfs.AssetFS { assetInfo := func(path string) (os.FileInfo, error) { return os.Stat(path)