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 ¶
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 ¶
func (p *IBMS3fsProvisioner) Delete(ctx context.Context, pv *v1.PersistentVolume) error
Delete deletes a persistent volume
func (*IBMS3fsProvisioner) Provision ¶
func (p *IBMS3fsProvisioner) Provision(ctx context.Context, options controller.ProvisionOptions) (*v1.PersistentVolume, controller.ProvisioningState, error)
Provision provisions a new persistent volume
Click to show internal directories.
Click to hide internal directories.