aws

package
v0.0.0-...-173f4c4 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2024 License: Apache-2.0 Imports: 43 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Provider

type Provider struct {
	*k8s.Provider

	Bucket        string
	EncryptionKey string
	Region        string

	Ec2 *ec2.EC2

	CloudFormation cloudformationiface.CloudFormationAPI
	CloudWatchLogs cloudwatchlogsiface.CloudWatchLogsAPI
	ECR            ecriface.ECRAPI
	EKS            eksiface.EKSAPI
	IAM            iamiface.IAMAPI
	S3             s3iface.S3API
	SQS            sqsiface.SQSAPI
}

func FromEnv

func FromEnv() (*Provider, error)

func (*Provider) AppCreate

func (p *Provider) AppCreate(name string, opts structs.AppCreateOptions) (*structs.App, error)

func (*Provider) AppDelete

func (p *Provider) AppDelete(name string) error

func (*Provider) AppLogs

func (p *Provider) AppLogs(name string, opts structs.LogsOptions) (io.ReadCloser, error)

func (*Provider) BuildExport

func (p *Provider) BuildExport(app, id string, w io.Writer) error

func (*Provider) BuildImport

func (p *Provider) BuildImport(app string, r io.Reader) (*structs.Build, error)

func (*Provider) BuildLogs

func (p *Provider) BuildLogs(app, id string, opts structs.LogsOptions) (io.ReadCloser, error)

func (*Provider) DeploymentTimeout

func (p *Provider) DeploymentTimeout() int

func (*Provider) Heartbeat

func (p *Provider) Heartbeat() (map[string]interface{}, error)

func (*Provider) IngressAnnotations

func (p *Provider) IngressAnnotations(certDuration string) (map[string]string, error)

func (*Provider) IngressClass

func (p *Provider) IngressClass() string

func (*Provider) IngressInternalClass

func (p *Provider) IngressInternalClass() string

func (*Provider) Initialize

func (p *Provider) Initialize(opts structs.ProviderOptions) error

func (*Provider) InstanceKeyroll

func (p *Provider) InstanceKeyroll() (*structs.KeyPair, error)

func (*Provider) Log

func (p *Provider) Log(app, stream string, ts time.Time, message string) error

func (*Provider) ManifestValidate

func (p *Provider) ManifestValidate(m *manifest.Manifest) error

func (*Provider) ObjectDelete

func (p *Provider) ObjectDelete(app, key string) error

func (*Provider) ObjectExists

func (p *Provider) ObjectExists(app, key string) (bool, error)

func (*Provider) ObjectFetch

func (p *Provider) ObjectFetch(app, key string) (io.ReadCloser, error)

ObjectFetch fetches an Object

func (*Provider) ObjectList

func (p *Provider) ObjectList(app, prefix string) ([]string, error)

func (*Provider) ObjectStore

func (p *Provider) ObjectStore(app, key string, r io.Reader, opts structs.ObjectStoreOptions) (*structs.Object, error)

ObjectStore stores an Object

func (*Provider) RegistryAuth

func (p *Provider) RegistryAuth(host, username, password string) (string, string, error)

func (*Provider) ReleasePromote

func (p *Provider) ReleasePromote(app, id string, opts structs.ReleasePromoteOptions) error

func (*Provider) RepositoryAuth

func (p *Provider) RepositoryAuth(app string) (string, string, error)

func (*Provider) RepositoryHost

func (p *Provider) RepositoryHost(app string) (string, bool, error)

func (*Provider) RepositoryPrefix

func (p *Provider) RepositoryPrefix() string

func (*Provider) SystemHost

func (p *Provider) SystemHost() string

func (*Provider) SystemLogs

func (p *Provider) SystemLogs(opts structs.LogsOptions) (io.ReadCloser, error)

func (*Provider) SystemStatus

func (p *Provider) SystemStatus() (string, error)

func (*Provider) WithContext

func (p *Provider) WithContext(ctx context.Context) structs.Provider

Jump to

Keyboard shortcuts

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