aws

package
v0.0.0-...-9009645 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AwsClient

type AwsClient struct {
	Name           string            `yaml:"name,omitempty" json:"name,omitempty"`
	RoleArn        string            `yaml:"roleArn,omitempty" json:"roleArn,omitempty"`
	Region         string            `yaml:"region,omitempty" json:"region,omitempty"`
	EncryptionKey  string            `yaml:"encryptionKey,omitempty" json:"encryptionKey,omitempty"`
	ReplicaRegions []string          `yaml:"replicaRegions,omitempty" json:"replicaRegions,omitempty"`
	Tags           map[string]string `yaml:"tags,omitempty" json:"tags,omitempty"`
	// contains filtered or unexported fields
}

func NewClient

func NewClient(cfg *AwsClient) (*AwsClient, error)

func (*AwsClient) Close

func (c *AwsClient) Close() error

func (*AwsClient) CreateClient

func (c *AwsClient) CreateClient(ctx context.Context) error

func (*AwsClient) DeepCopy

func (in *AwsClient) DeepCopy() *AwsClient

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AwsClient.

func (*AwsClient) DeepCopyInto

func (in *AwsClient) DeepCopyInto(out *AwsClient)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*AwsClient) DeleteSecret

func (g *AwsClient) DeleteSecret(ctx context.Context, secret string) error

func (*AwsClient) Driver

func (g *AwsClient) Driver() driver.DriverName

func (*AwsClient) GetPath

func (g *AwsClient) GetPath() string

func (*AwsClient) GetSecret

func (g *AwsClient) GetSecret(ctx context.Context, name string) ([]byte, error)

func (*AwsClient) Init

func (g *AwsClient) Init(ctx context.Context) error

func (*AwsClient) ListSecrets

func (g *AwsClient) ListSecrets(ctx context.Context, p string) ([]string, error)

func (*AwsClient) Meta

func (vc *AwsClient) Meta() map[string]any

func (*AwsClient) SetDefaults

func (c *AwsClient) SetDefaults(defaults any) error

func (*AwsClient) Validate

func (c *AwsClient) Validate() error

func (*AwsClient) WriteSecret

func (g *AwsClient) WriteSecret(ctx context.Context, meta metav1.ObjectMeta, path string, secrets []byte) ([]byte, error)

Jump to

Keyboard shortcuts

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