Documentation ¶
Index ¶
- func ShouldCreateOBC(storageObj *v1alpha1.Storage) bool
- func ShouldUseExternalConfig(storageObj *v1alpha1.Storage) bool
- type Claimer
- func (c *Claimer) CreateClaim(ctx context.Context, device *v1alpha1.EdgeDevice) (*obv1.ObjectBucketClaim, error)
- func (c *Claimer) GetClaim(ctx context.Context, name string, namespace string) (*obv1.ObjectBucketClaim, error)
- func (c *Claimer) GetExternalStorageConfig(ctx context.Context, namespace string, storageConfig *v1alpha1.Storage) (*models.S3StorageConfiguration, error)
- func (c *Claimer) GetStorageConfiguration(ctx context.Context, device *v1alpha1.EdgeDevice) (*models.S3StorageConfiguration, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ShouldCreateOBC ¶
func ShouldUseExternalConfig ¶
Types ¶
type Claimer ¶
type Claimer struct {
// contains filtered or unexported fields
}
func NewClaimer ¶
func (*Claimer) CreateClaim ¶
func (c *Claimer) CreateClaim(ctx context.Context, device *v1alpha1.EdgeDevice) (*obv1.ObjectBucketClaim, error)
func (*Claimer) GetExternalStorageConfig ¶
func (*Claimer) GetStorageConfiguration ¶
func (c *Claimer) GetStorageConfiguration(ctx context.Context, device *v1alpha1.EdgeDevice) (*models.S3StorageConfiguration, error)
Click to show internal directories.
Click to hide internal directories.