Documentation ¶
Index ¶
Constants ¶
const CommonTemplates string = `` /* 328-byte string literal not displayed */
CommonTemplates provides common template metadata
const MngClusterActCreateBackupJob string = `` /* 5201-byte string literal not displayed */
MngClusterActCreateBackupJob creates k8s job Security practices recommend only those directories which are essential to the job should be explicitly mounted. Thus, the host filesystem is mounted on a need-to-have basis with most volumes configured to have read-only privilege. The sysroot directory and log device are the exception in which these volumes are configured with read-write access.
const MngClusterActCreateBackupNS string = `` /* 374-byte string literal not displayed */
MngClusterActCreateBackupNS creates namespace
const MngClusterActCreateClusterRoleBinding string = `` /* 497-byte string literal not displayed */
MngClusterActCreateClusterRoleBinding creates clusterrolebinding
const MngClusterActCreateJob string = `` /* 6240-byte string literal not displayed */
MngClusterActCreateJob creates precaching k8s job
const MngClusterActCreatePrecachingNS string = `` /* 372-byte string literal not displayed */
MngClusterActCreatePrecachingNS creates namespace
const MngClusterActCreatePrecachingSpecCM string = `` /* 747-byte string literal not displayed */
MngClusterActCreatePrecachingSpecCM creates precachingSpec configmap
const MngClusterActCreateRB string = `` /* 490-byte string literal not displayed */
MngClusterActCreateRB creates clusterrolebinding
const MngClusterActCreateSA string = `` /* 265-byte string literal not displayed */
MngClusterActCreateSA creates serviceaccount
const MngClusterActCreateServiceAcct string = `` /* 271-byte string literal not displayed */
MngClusterActCreateServiceAcct creates serviceaccount
const MngClusterActDeleteBackupCRB string = `` /* 148-byte string literal not displayed */
MngClusterActDeleteBackupCRB deletes namespace
const MngClusterActDeleteBackupNS string = `` /* 148-byte string literal not displayed */
MngClusterActDeleteBackupNS deletes namespace
const MngClusterActDeletePrecachingCRB string = `` /* 147-byte string literal not displayed */
MngClusterActDeletePrecachingCRB deletes prechaching CRB
const MngClusterActDeletePrecachingNS string = `` /* 149-byte string literal not displayed */
MngClusterActDeletePrecachingNS deletes prechaching namespace
const MngClusterViewBackupJob string = `` /* 147-byte string literal not displayed */
MngClusterViewBackupJob creates mcv to monitor k8s job
const MngClusterViewBackupNS string = `
{{ template "viewGVK"}}
{{ template "metadata" . }}
spec:
scope:
resource: namespaces
name: openshift-talo-backup
`
MngClusterViewBackupNS creates mcv to monitor spoke cluster's namespace
const MngClusterViewClusterRoleBinding string = `` /* 181-byte string literal not displayed */
MngClusterViewClusterRoleBinding creates mcv to monitor clusterrolebinding
const MngClusterViewConfigMap string = `` /* 213-byte string literal not displayed */
MngClusterViewConfigMap creates mcv to monitor configmap
const MngClusterViewJob string = `` /* 203-byte string literal not displayed */
MngClusterViewJob creates mcv to monitor precaching k8s job
const MngClusterViewNamespace string = `` /* 184-byte string literal not displayed */
MngClusterViewNamespace creates mcv to monitor namespace
const MngClusterViewServiceAcct string = `` /* 220-byte string literal not displayed */
MngClusterViewServiceAcct creates mcv to monitor serviceaccount
Variables ¶
This section is empty.
Functions ¶
func RenderAztpService ¶
func RenderAztpService(data AztpTemplateData, variant string) ([]unstructured.Unstructured, error)
RenderAztpService renders AZTP templates for post-reboot service
Types ¶
type AztpTemplateData ¶
type AztpTemplateData struct {
AztpImage string
}
AztpTemplateData holds data for AZTP template rendering