Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(indexer ResourceGetter, webhookCfgMapName, webhookCfgMapNamespace string) *assetWebhookConfigService
Types ¶
type AssetWebhookConfig ¶
type AssetWebhookConfig struct { Validations []AssetWebhookService `json:"validations,omitempty"` Mutations []AssetWebhookService `json:"mutations,omitempty"` MetadataExtractors []WebhookService `json:"metadataExtractors,omitempty"` }
type AssetWebhookConfigMap ¶
type AssetWebhookConfigMap = map[v1alpha1.DocsTopicSourceType]AssetWebhookConfig
type AssetWebhookConfigService ¶
type AssetWebhookConfigService interface {
Get(ctx context.Context) (AssetWebhookConfigMap, error)
}
type AssetWebhookService ¶
type AssetWebhookService struct { WebhookService `json:",inline"` Parameters *runtime.RawExtension `json:"parameters,omitempty"` }
type ResourceGetter ¶
type ResourceGetter interface {
Get(name string, options metav1.GetOptions, subresources ...string) (*unstructured.Unstructured, error)
}
Click to show internal directories.
Click to hide internal directories.