s3

package
v1.108.13 Latest Latest
Warning

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

Go to latest
Published: May 5, 2024 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateS3BucketUsingAPod

func CreateS3BucketUsingAPod(ctx context.Context, clientset kubernetes.Interface, podOptions S3OpsPodOptions) error

CreateS3BucketUsingAPod is helpful when trying to hit a cluster s3 service using the CLI since that could be used outside the cluster, or due to firewall restrictions

func GetConfig

func GetConfig() *aws.Config

func HeadS3BucketUsingAPod

func HeadS3BucketUsingAPod(ctx context.Context, clientset kubernetes.Interface, podOptions S3OpsPodOptions) error

HeadS3BucketUsingAPod is helpful when trying to hit a cluster s3 service using the CLI since that could be used outside the cluster, or due to firewall restrictions

Types

type S3OpsPodOptions

type S3OpsPodOptions struct {
	PodName         string
	Endpoint        string
	BucketName      string
	CACertData      []byte
	AccessKeyID     string
	SecretAccessKey string
	Namespace       string
	IsOpenShift     bool
	RegistryConfig  *kotsadmtypes.RegistryConfig
}

Jump to

Keyboard shortcuts

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