provisioner

package
v0.0.0-...-bafb2d1 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2023 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ResConfApiKey = "res-conf-apikey" // #nosec G101 -- False positive
	KPRootKeyCRN  = "kp-root-key-crn"
)

Variables

View Source
var AllowCrossNsSecret *bool
View Source
var ConfigBucketAccessPolicy *bool
View Source
var ConfigQuotaLimit *bool
View Source
var SockEndpoint *string

Functions

func UnixConnect

func UnixConnect(addr string, t time.Duration) (net.Conn, error)

Types

type IBMS3fsProvisioner

type IBMS3fsProvisioner struct {
	// Backend is the object store session factory
	Backend backend.ObjectStorageSessionFactory
	// GRPCBackend is the grpc session factory
	GRPCBackend grpcClient.GrpcSessionFactory
	// AccessPolicy is the resource configuration session factory
	AccessPolicy backend.AccessPolicyFactory
	// IBMProvider is the ibm provider client
	IBMProvider provider.IBMProviderClientFactory

	// Logger will be used for logging
	Logger *zap.Logger
	// Client is the Kubernetes Go-Client that will be used to fetch user credentials
	Client kubernetes.Interface
	// UUIDGenerator is a UUID generator that will be used to generate bucket names
	UUIDGenerator uuid.Generator
}

IBMS3fsProvisioner is a dynamic provisioner of persistent volumes backed by Object Storage via s3fs

func (*IBMS3fsProvisioner) Delete

Delete deletes a persistent volume

func (*IBMS3fsProvisioner) Provision

Provision provisions a new persistent volume

Jump to

Keyboard shortcuts

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