connector

package
v0.0.14 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2025 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type S3CloudContext

type S3CloudContext struct {
	// contains filtered or unexported fields
}

S3CloudContext implements CloudContext para S3

func NewS3Context

func NewS3Context(sess *session.Session) *S3CloudContext

func (*S3CloudContext) GetValue

func (ctx *S3CloudContext) GetValue(bucketName, keyName string) (*string, error)

GetValue obtém o conteúdo do arquivo S3 e o converte para o formato apropriado

type S3Resource

type S3Resource interface {
	GetObject(input *s3.GetObjectInput) (*s3.GetObjectOutput, error)
}

type SSMCloudContext

type SSMCloudContext struct {
	// contains filtered or unexported fields
}

SSMCloudContext implementa CloudContext para SSM Parameter Store

func NewSSMContext

func NewSSMContext(sess *session.Session) *SSMCloudContext

func (*SSMCloudContext) GetValue

func (ctx *SSMCloudContext) GetValue(parameterName string, withDecryption bool) (*string, error)

GetValue obtém o valor do parâmetro SSM

type SSMResource

type SSMResource interface {
	GetParameter(input *ssm.GetParameterInput) (*ssm.GetParameterOutput, error)
}

type SecretsManagerCloudContext

type SecretsManagerCloudContext struct {
	// contains filtered or unexported fields
}

SecretsManagerCloudContext implementa CloudContext para Secrets Manager

func NewSecretsManagerContext

func NewSecretsManagerContext(sess *session.Session) *SecretsManagerCloudContext

func (*SecretsManagerCloudContext) GetValue

func (ctx *SecretsManagerCloudContext) GetValue(secretName, secretType string) (*string, error)

GetValue obtém e processa o segredo do Secrets Manager

type SecretsManagerResource

type SecretsManagerResource interface {
	GetSecretValue(input *secretsmanager.GetSecretValueInput) (*secretsmanager.GetSecretValueOutput, error)
}

Jump to

Keyboard shortcuts

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