templates

package
v0.0.0-...-22e875b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 2, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const CommonTemplates string = `` /* 328-byte string literal not displayed */

CommonTemplates provides common template metadata

View Source
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.

View Source
const MngClusterActCreateBackupNS string = `` /* 374-byte string literal not displayed */

MngClusterActCreateBackupNS creates namespace

View Source
const MngClusterActCreateClusterRoleBinding string = `` /* 497-byte string literal not displayed */

MngClusterActCreateClusterRoleBinding creates clusterrolebinding

View Source
const MngClusterActCreateJob string = `` /* 6240-byte string literal not displayed */

MngClusterActCreateJob creates precaching k8s job

View Source
const MngClusterActCreatePrecachingNS string = `` /* 372-byte string literal not displayed */

MngClusterActCreatePrecachingNS creates namespace

View Source
const MngClusterActCreatePrecachingSpecCM string = `` /* 747-byte string literal not displayed */

MngClusterActCreatePrecachingSpecCM creates precachingSpec configmap

View Source
const MngClusterActCreateRB string = `` /* 490-byte string literal not displayed */

MngClusterActCreateRB creates clusterrolebinding

View Source
const MngClusterActCreateSA string = `` /* 265-byte string literal not displayed */

MngClusterActCreateSA creates serviceaccount

View Source
const MngClusterActCreateServiceAcct string = `` /* 271-byte string literal not displayed */

MngClusterActCreateServiceAcct creates serviceaccount

View Source
const MngClusterActDeleteBackupCRB string = `` /* 148-byte string literal not displayed */

MngClusterActDeleteBackupCRB deletes namespace

View Source
const MngClusterActDeleteBackupNS string = `` /* 148-byte string literal not displayed */

MngClusterActDeleteBackupNS deletes namespace

View Source
const MngClusterActDeletePrecachingCRB string = `` /* 147-byte string literal not displayed */

MngClusterActDeletePrecachingCRB deletes prechaching CRB

View Source
const MngClusterActDeletePrecachingNS string = `` /* 149-byte string literal not displayed */

MngClusterActDeletePrecachingNS deletes prechaching namespace

View Source
const MngClusterViewBackupJob string = `` /* 147-byte string literal not displayed */

MngClusterViewBackupJob creates mcv to monitor k8s job

View Source
const MngClusterViewBackupNS string = `
{{ template "viewGVK"}}
{{ template "metadata" . }}
spec:
  scope:
    resource: namespaces
    name: openshift-talo-backup
`

MngClusterViewBackupNS creates mcv to monitor spoke cluster's namespace

View Source
const MngClusterViewClusterRoleBinding string = `` /* 181-byte string literal not displayed */

MngClusterViewClusterRoleBinding creates mcv to monitor clusterrolebinding

View Source
const MngClusterViewConfigMap string = `` /* 213-byte string literal not displayed */

MngClusterViewConfigMap creates mcv to monitor configmap

View Source
const MngClusterViewJob string = `` /* 203-byte string literal not displayed */

MngClusterViewJob creates mcv to monitor precaching k8s job

View Source
const MngClusterViewNamespace string = `` /* 184-byte string literal not displayed */

MngClusterViewNamespace creates mcv to monitor namespace

View Source
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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL