Documentation

Overview

    Package sideeffects implements the validation of side effects configuration.

    Index

    Constants

    This section is empty.

    Variables

    This section is empty.

    Functions

    func CleanupTempFiles

    func CleanupTempFiles(c *side_effects.Config) error

      CleanupTempFiles deletes all temp files used in side_effects.Config.

      func PopulateTKOPasswordFile

      func PopulateTKOPasswordFile(ctx context.Context, ckc cloudkms.Client, c *side_effects.Config) error

        PopulateTKOPasswordFile decrypts the encrypted MySQL password, writes it to a temp file and updates the corresponding config field.

        func ValidateConfig

        func ValidateConfig(c *side_effects.Config) error

          ValidateConfig checks the presence of all required fields in side_effects.Config and the existence of all required files.

          func WriteConfigToDisk

          func WriteConfigToDisk(dir string, c *side_effects.Config) error

            WriteConfigToDisk writes a JSON encoded side_effects.Config proto to <dir>/side_effects_config.json.

            Types

            This section is empty.

            Source Files