s3

package
v1.46.0-beta.1 Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2021 License: Apache-2.0 Imports: 16 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 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
	RegistryOptions *kotsadmtypes.KotsadmOptions
}

Jump to

Keyboard shortcuts

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