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, assetGroup 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 v1beta1.CommonAssetSpec Status v1beta1.CommonAssetStatus }
type Handler ¶
type Handler interface {
Handle(ctx context.Context, instance ObjectMetaAccessor, spec v1beta1.CommonAssetGroupSpec, status v1beta1.CommonAssetGroupStatus) (*v1beta1.CommonAssetGroupStatus, 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.