cfOps

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2021 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeleteDistribution

func DeleteDistribution(distributionId string) string

func DeleteFunc added in v0.9.0

func DeleteFunc(name, etag string) string

func DeleteOAI

func DeleteOAI(oaiId string)

func DisableDistribution

func DisableDistribution(distributionId string)

func DistIsEnabled

func DistIsEnabled(distributionId string) bool

func FindBucketRegion

func FindBucketRegion(bucketName, searchRegion string) string

func GetACMCert added in v0.9.0

func GetACMCert(distributionId string) string

GetACMCert - Check for a Viewer Certificate

func GetDistConf

func GetDistConf(distributionId string) *cloudfront.DistributionConfig

GetDistConf- return a Distribution config for the given ID

func GetDistributionData

func GetDistributionData() [][]string

getDistributionData - For all distributions, return a 2D string array with each entry containing: ID, ETAG, 1ST ALIAS, 1ST OAI, COMMENT

func GetETag

func GetETag(distributionId string) string

GetETag - given a CF Dist ID, return its ETag value

func GetFuncs added in v0.9.0

func GetFuncs() [][]string

func GetOAIETag

func GetOAIETag(oaiId string) string

func GetOAIs

func GetOAIs() [][]string

func GetRegionBuckets

func GetRegionBuckets(searchRegion string) []string

func GetS3Policy

func GetS3Policy(bucketName, searchRegion string) (string, string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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