aws

package
v1.1.3 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Overview

AWS Strategy Setup

A utility to abstract the various strategy map ConfigMaps from the service using CRO

Problem Statement:

  • We require an AWS strategy map ConfigMaps to be in place to provide configuration used to provision AWS cloud resources

This utility provides the abstraction necessary, provisioning an AWS strategy map

We accept start times for maintenance and backup times as a level of abstraction Building the correct maintenance and backup times necessary for AWS Maintenance Window format ddd:hh:mm-ddd:hh:mm Backup/Snapshot Window hh:mm-hh:mm

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type StrategyProvider

type StrategyProvider struct {
	Client    k8sclient.Client
	Tier      string
	Namespace string
}

func NewAWSStrategyProvider

func NewAWSStrategyProvider(client k8sclient.Client, tier string, namespace string) *StrategyProvider

func (*StrategyProvider) ReconcileStrategyMap

func (p *StrategyProvider) ReconcileStrategyMap(ctx context.Context, client k8sclient.Client, timeConfig *stratType.StrategyTimeConfig) error

reconciles aws strategy map, adding maintenance and backup window fields

Jump to

Keyboard shortcuts

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