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
RegistryConfig *kotsadmtypes.RegistryConfig
}
Click to show internal directories.
Click to hide internal directories.