Documentation
¶
Index ¶
Constants ¶
View Source
const ( AccessKeyReady string = "AccessKeyReady" KeySecretReady string = "KeySecretReady" )
View Source
const ( PolicyAssignmentReady string = "PolicyReady" PolicyBucketReady string = "PolicyBucketReady" PolicyAccessKeyReady string = "PolicyAccessKeyReady" )
PolicyAssignment conditions
View Source
const ( ReasonAccessKeyMissing string = "AccessKeyMissing" ReasonBucketMissing string = "BucketMissing" // Will not recover without spec change ReasonDependencyFailed string = "DependencyFailed" // Not ready, waiting ReasonDependenciesNotReady string = "DependenciesNotReady" // Transient errors ReasonDegraded string = "DependencyDegraded" )
View Source
const (
BucketReady string = "BucketReady"
)
View Source
const Ready string = "Ready"
Ready is the top-level ready condition for a resource.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccessKey ¶
type AccessKey struct {
Object *garagev1alpha1.AccessKey
}
func (*AccessKey) AccessKeyCondition ¶
func (*AccessKey) InitializeConditions ¶
func (k *AccessKey) InitializeConditions()
func (*AccessKey) MarkNotReady ¶
func (*AccessKey) MarkSecretReady ¶
func (k *AccessKey) MarkSecretReady()
type AccessKeyManager ¶
type AccessKeyReconciler ¶
type AccessKeyReconciler struct {
// contains filtered or unexported fields
}
AccessKeyReconciler reconciles an AccessKey object
func NewAccessKeyReconciler ¶
func NewAccessKeyReconciler(c client.Client, s *runtime.Scheme, keyMgr AccessKeyManager) *AccessKeyReconciler
func (*AccessKeyReconciler) SetupWithManager ¶
func (r *AccessKeyReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type AccessPolicy ¶
type AccessPolicy struct {
Object *garagev1alpha1.AccessPolicy
}
type AccessPolicyReconciler ¶
type AccessPolicyReconciler struct {
// contains filtered or unexported fields
}
AccessPolicyReconciler reconciles a AccessPolicy object
func NewAccessPolicyReconciler ¶
func NewAccessPolicyReconciler(c client.Client, scheme *runtime.Scheme, ac PermissionClient, ) *AccessPolicyReconciler
func (*AccessPolicyReconciler) SetupWithManager ¶
func (r *AccessPolicyReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type BucketClient ¶
type BucketReconciler ¶
type BucketReconciler struct {
client.Client
Scheme *runtime.Scheme
// contains filtered or unexported fields
}
BucketReconciler reconciles a Bucket object
func NewBucketReconciler ¶
func NewBucketReconciler(apiClient client.Client, scheme *runtime.Scheme, s3Client BucketClient) *BucketReconciler
func (*BucketReconciler) SetupWithManager ¶
func (r *BucketReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type PermissionClient ¶
Click to show internal directories.
Click to hide internal directories.