Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AssetService ¶
type AssetService interface { List(ctx context.Context, namespace string, labels map[string]string) ([]CommonAsset, error) Create(ctx context.Context, docsTopic v1.Object, commonAsset CommonAsset) error Update(ctx context.Context, commonAsset CommonAsset) error Delete(ctx context.Context, commonAsset CommonAsset) error }
type BucketService ¶
type CommonAsset ¶
type CommonAsset struct { v1.ObjectMeta Spec v1alpha2.CommonAssetSpec Status v1alpha2.CommonAssetStatus }
type Handler ¶
type Handler interface {
Handle(ctx context.Context, instance ObjectMetaAccessor, spec v1alpha1.CommonDocsTopicSpec, status v1alpha1.CommonDocsTopicStatus) (*v1alpha1.CommonDocsTopicStatus, error)
}
func New ¶
func New(log logr.Logger, recorder record.EventRecorder, assetSvc AssetService, bucketSvc BucketService, webhookConfigSvc webhookconfig.AssetWebhookConfigService) Handler
type ObjectMetaAccessor ¶
Click to show internal directories.
Click to hide internal directories.