Documentation
¶
Index ¶
- func ShouldCreateOBC(device *v1alpha1.EdgeDevice) bool
- func ShouldUseExternalConfig(device *v1alpha1.EdgeDevice) 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, device *v1alpha1.EdgeDevice) (*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 ShouldCreateOBC(device *v1alpha1.EdgeDevice) bool
func ShouldUseExternalConfig ¶
func ShouldUseExternalConfig(device *v1alpha1.EdgeDevice) bool
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 (c *Claimer) GetExternalStorageConfig(ctx context.Context, device *v1alpha1.EdgeDevice) (*models.S3StorageConfiguration, error)
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.