Registry.UpdateStages.WithWebhook Interface

public static interface Registry.UpdateStages.WithWebhook

The stage of the container registry update allowing to add or remove a webhook.

Method Summary

Modifier and Type Method and Description
abstract Blank<Update> defineWebhook(String name)

Begins the definition of a new webhook to be added to this container registry.

abstract Blank<Update> updateWebhook(String name)

Begins the description of an update of an existing webhook of this container registry.

abstract Update withoutWebhook(String name)

Removes a webhook from the container registry.

Method Details

defineWebhook

public abstract Webhook.UpdateDefinitionStages.Blank defineWebhook(String name)

Begins the definition of a new webhook to be added to this container registry.

Parameters:

name - the name of the new webhook

Returns:

the first stage of the new webhook definition

updateWebhook

public abstract Webhook.UpdateResourceStages.Blank updateWebhook(String name)

Begins the description of an update of an existing webhook of this container registry.

Parameters:

name - the name of an existing webhook

Returns:

the first stage of the webhook update description

withoutWebhook

public abstract Registry.Update withoutWebhook(String name)

Removes a webhook from the container registry.

Parameters:

name - name of the webhook to remove

Returns:

the next stage of the container registry update

Applies to