maintainer

package
v0.0.0-...-6f2f9b6 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2020 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MaintenanceTime

func MaintenanceTime(config *MaintainerConfig) error

Types

type MaintainerConfig

type MaintainerConfig struct {
	Services  []*ServiceConfig
	ReadOnly  bool
	AWSRegion string
	Ec2Svc    *ec2.EC2
}

type ServiceConfig

type ServiceConfig struct {
	Service          ServiceProvider
	SecurityGroupIDs []string
	Ports            []int64
}

type ServiceProvider

type ServiceProvider = string

ServiceProvider alias for supported services currently it's Github and Cloudflare

var (
	Github     ServiceProvider = "github"
	Cloudflare ServiceProvider = "cloudflare"
)

Jump to

Keyboard shortcuts

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