Versions in this module Expand all Collapse all v7 v7.1.0 Apr 17, 2023 Changes in this version + var AuthenticationTypeValues = authenticationTypeValuesType + var NotificationResultValues = notificationResultValuesType + var NotificationStatusValues = notificationStatusValuesType + var SubscriptionInputScopeValues = subscriptionInputScopeValuesType + var SubscriptionStatusValues = subscriptionStatusValuesType + type AuthenticationType string + type Client interface + CreateSubscription func(context.Context, CreateSubscriptionArgs) (*Subscription, error) + CreateSubscriptionsQuery func(context.Context, CreateSubscriptionsQueryArgs) (*SubscriptionsQuery, error) + CreateTestNotification func(context.Context, CreateTestNotificationArgs) (*Notification, error) + DeleteSubscription func(context.Context, DeleteSubscriptionArgs) error + GetConsumer func(context.Context, GetConsumerArgs) (*Consumer, error) + GetConsumerAction func(context.Context, GetConsumerActionArgs) (*ConsumerAction, error) + GetEventType func(context.Context, GetEventTypeArgs) (*EventTypeDescriptor, error) + GetNotification func(context.Context, GetNotificationArgs) (*Notification, error) + GetNotifications func(context.Context, GetNotificationsArgs) (*[]Notification, error) + GetPublisher func(context.Context, GetPublisherArgs) (*Publisher, error) + GetSubscription func(context.Context, GetSubscriptionArgs) (*Subscription, error) + GetSubscriptionDiagnostics func(context.Context, GetSubscriptionDiagnosticsArgs) (*notification.SubscriptionDiagnostics, error) + ListConsumerActions func(context.Context, ListConsumerActionsArgs) (*[]ConsumerAction, error) + ListConsumers func(context.Context, ListConsumersArgs) (*[]Consumer, error) + ListEventTypes func(context.Context, ListEventTypesArgs) (*[]EventTypeDescriptor, error) + ListPublishers func(context.Context, ListPublishersArgs) (*[]Publisher, error) + ListSubscriptions func(context.Context, ListSubscriptionsArgs) (*[]Subscription, error) + QueryInputValues func(context.Context, QueryInputValuesArgs) (*forminput.InputValuesQuery, error) + QueryNotifications func(context.Context, QueryNotificationsArgs) (*NotificationsQuery, error) + QueryPublishers func(context.Context, QueryPublishersArgs) (*PublishersQuery, error) + ReplaceSubscription func(context.Context, ReplaceSubscriptionArgs) (*Subscription, error) + UpdateSubscriptionDiagnostics func(context.Context, UpdateSubscriptionDiagnosticsArgs) (*notification.SubscriptionDiagnostics, error) + func NewClient(ctx context.Context, connection *azuredevops.Connection) Client + type ClientImpl struct + Client azuredevops.Client + func (client *ClientImpl) CreateSubscription(ctx context.Context, args CreateSubscriptionArgs) (*Subscription, error) + func (client *ClientImpl) CreateSubscriptionsQuery(ctx context.Context, args CreateSubscriptionsQueryArgs) (*SubscriptionsQuery, error) + func (client *ClientImpl) CreateTestNotification(ctx context.Context, args CreateTestNotificationArgs) (*Notification, error) + func (client *ClientImpl) DeleteSubscription(ctx context.Context, args DeleteSubscriptionArgs) error + func (client *ClientImpl) GetConsumer(ctx context.Context, args GetConsumerArgs) (*Consumer, error) + func (client *ClientImpl) GetConsumerAction(ctx context.Context, args GetConsumerActionArgs) (*ConsumerAction, error) + func (client *ClientImpl) GetEventType(ctx context.Context, args GetEventTypeArgs) (*EventTypeDescriptor, error) + func (client *ClientImpl) GetNotification(ctx context.Context, args GetNotificationArgs) (*Notification, error) + func (client *ClientImpl) GetNotifications(ctx context.Context, args GetNotificationsArgs) (*[]Notification, error) + func (client *ClientImpl) GetPublisher(ctx context.Context, args GetPublisherArgs) (*Publisher, error) + func (client *ClientImpl) GetSubscription(ctx context.Context, args GetSubscriptionArgs) (*Subscription, error) + func (client *ClientImpl) GetSubscriptionDiagnostics(ctx context.Context, args GetSubscriptionDiagnosticsArgs) (*notification.SubscriptionDiagnostics, error) + func (client *ClientImpl) ListConsumerActions(ctx context.Context, args ListConsumerActionsArgs) (*[]ConsumerAction, error) + func (client *ClientImpl) ListConsumers(ctx context.Context, args ListConsumersArgs) (*[]Consumer, error) + func (client *ClientImpl) ListEventTypes(ctx context.Context, args ListEventTypesArgs) (*[]EventTypeDescriptor, error) + func (client *ClientImpl) ListPublishers(ctx context.Context, args ListPublishersArgs) (*[]Publisher, error) + func (client *ClientImpl) ListSubscriptions(ctx context.Context, args ListSubscriptionsArgs) (*[]Subscription, error) + func (client *ClientImpl) QueryInputValues(ctx context.Context, args QueryInputValuesArgs) (*forminput.InputValuesQuery, error) + func (client *ClientImpl) QueryNotifications(ctx context.Context, args QueryNotificationsArgs) (*NotificationsQuery, error) + func (client *ClientImpl) QueryPublishers(ctx context.Context, args QueryPublishersArgs) (*PublishersQuery, error) + func (client *ClientImpl) ReplaceSubscription(ctx context.Context, args ReplaceSubscriptionArgs) (*Subscription, error) + func (client *ClientImpl) UpdateSubscriptionDiagnostics(ctx context.Context, args UpdateSubscriptionDiagnosticsArgs) (*notification.SubscriptionDiagnostics, error) + type Consumer struct + Actions *[]ConsumerAction + AuthenticationType *AuthenticationType + Description *string + ExternalConfiguration *ExternalConfigurationDescriptor + Id *string + ImageUrl *string + InformationUrl *string + InputDescriptors *[]forminput.InputDescriptor + Links interface{} + Name *string + Url *string + type ConsumerAction struct + AllowResourceVersionOverride *bool + ConsumerId *string + Description *string + Id *string + InputDescriptors *[]forminput.InputDescriptor + Links interface{} + Name *string + SupportedEventTypes *[]string + SupportedResourceVersions *map[string][]string + Url *string + type CreateSubscriptionArgs struct + Subscription *Subscription + type CreateSubscriptionsQueryArgs struct + Query *SubscriptionsQuery + type CreateTestNotificationArgs struct + TestNotification *Notification + UseRealData *bool + type DeleteSubscriptionArgs struct + SubscriptionId *uuid.UUID + type Event struct + CreatedDate *azuredevops.Time + DetailedMessage *FormattedEventMessage + EventType *string + Id *uuid.UUID + Message *FormattedEventMessage + PublisherId *string + Resource interface{} + ResourceContainers *map[string]ResourceContainer + ResourceVersion *string + SessionToken *SessionToken + type EventTypeDescriptor struct + Description *string + Id *string + InputDescriptors *[]forminput.InputDescriptor + Name *string + PublisherId *string + SupportedResourceVersions *[]string + Url *string + type ExternalConfigurationDescriptor struct + CreateSubscriptionUrl *string + EditSubscriptionPropertyName *string + HostedOnly *bool + type FormattedEventMessage struct + Html *string + Markdown *string + Text *string + type GetConsumerActionArgs struct + ConsumerActionId *string + ConsumerId *string + PublisherId *string + type GetConsumerArgs struct + ConsumerId *string + PublisherId *string + type GetEventTypeArgs struct + EventTypeId *string + PublisherId *string + type GetNotificationArgs struct + NotificationId *int + SubscriptionId *uuid.UUID + type GetNotificationsArgs struct + MaxResults *int + Result *NotificationResult + Status *NotificationStatus + SubscriptionId *uuid.UUID + type GetPublisherArgs struct + PublisherId *string + type GetSubscriptionArgs struct + SubscriptionId *uuid.UUID + type GetSubscriptionDiagnosticsArgs struct + SubscriptionId *string + type ListConsumerActionsArgs struct + ConsumerId *string + PublisherId *string + type ListConsumersArgs struct + PublisherId *string + type ListEventTypesArgs struct + PublisherId *string + type ListPublishersArgs struct + type ListSubscriptionsArgs struct + ConsumerActionId *string + ConsumerId *string + EventType *string + PublisherId *string + type Notification struct + CreatedDate *azuredevops.Time + Details *NotificationDetails + EventId *uuid.UUID + Id *int + ModifiedDate *azuredevops.Time + Result *NotificationResult + Status *NotificationStatus + SubscriberId *uuid.UUID + SubscriptionId *uuid.UUID + type NotificationDetails struct + CompletedDate *azuredevops.Time + ConsumerActionId *string + ConsumerId *string + ConsumerInputs *map[string]string + DequeuedDate *azuredevops.Time + ErrorDetail *string + ErrorMessage *string + Event *Event + EventType *string + ProcessedDate *azuredevops.Time + PublisherId *string + PublisherInputs *map[string]string + QueuedDate *azuredevops.Time + Request *string + RequestAttempts *int + RequestDuration *float64 + Response *string + type NotificationResult string + type NotificationResultsSummaryDetail struct + NotificationCount *int + Result *NotificationResult + type NotificationStatus string + type NotificationSummary struct + Results *[]NotificationResultsSummaryDetail + SubscriptionId *uuid.UUID + type NotificationsQuery struct + AssociatedSubscriptions *[]Subscription + IncludeDetails *bool + MaxCreatedDate *azuredevops.Time + MaxResults *int + MaxResultsPerSubscription *int + MinCreatedDate *azuredevops.Time + PublisherId *string + ResultType *NotificationResult + Results *[]Notification + Status *NotificationStatus + SubscriptionIds *[]uuid.UUID + Summary *[]NotificationSummary + type Publisher struct + Description *string + Id *string + InputDescriptors *[]forminput.InputDescriptor + Links interface{} + Name *string + ServiceInstanceType *string + SupportedEvents *[]EventTypeDescriptor + Url *string + type PublisherEvent struct + Diagnostics *map[string]string + Event *Event + IsFilteredEvent *bool + NotificationData *map[string]string + OtherResourceVersions *[]VersionedResource + PublisherInputFilters *[]forminput.InputFilter + Subscription *Subscription + type PublishersQuery struct + PublisherIds *[]string + PublisherInputs *map[string]string + Results *[]Publisher + type QueryInputValuesArgs struct + InputValuesQuery *forminput.InputValuesQuery + PublisherId *string + type QueryNotificationsArgs struct + Query *NotificationsQuery + type QueryPublishersArgs struct + Query *PublishersQuery + type ReplaceSubscriptionArgs struct + Subscription *Subscription + SubscriptionId *uuid.UUID + type ResourceContainer struct + BaseUrl *string + Id *uuid.UUID + Name *string + Url *string + type SessionToken struct + Error *string + Token *string + ValidTo *azuredevops.Time + type Subscription struct + ActionDescription *string + ConsumerActionId *string + ConsumerId *string + ConsumerInputs *map[string]string + CreatedBy *webapi.IdentityRef + CreatedDate *azuredevops.Time + EventDescription *string + EventType *string + Id *uuid.UUID + LastProbationRetryDate *azuredevops.Time + Links interface{} + ModifiedBy *webapi.IdentityRef + ModifiedDate *azuredevops.Time + ProbationRetries *byte + PublisherId *string + PublisherInputs *map[string]string + ResourceVersion *string + Status *SubscriptionStatus + Subscriber *webapi.IdentityRef + Url *string + type SubscriptionInputScope string + type SubscriptionInputValuesQuery struct + InputValues *[]forminput.InputValues + Scope *SubscriptionInputScope + Subscription *Subscription + type SubscriptionStatus string + type SubscriptionsQuery struct + ConsumerActionId *string + ConsumerId *string + ConsumerInputFilters *[]forminput.InputFilter + EventType *string + PublisherId *string + PublisherInputFilters *[]forminput.InputFilter + Results *[]Subscription + SubscriberId *uuid.UUID + type UpdateSubscriptionDiagnosticsArgs struct + SubscriptionId *string + UpdateParameters *notification.UpdateSubscripitonDiagnosticsParameters + type VersionedResource struct + CompatibleWith *string + Resource interface{} + ResourceVersion *string Other modules containing this package github.com/microsoft/azure-devops-go-api/azuredevops github.com/microsoft/azure-devops-go-api/azuredevops/v6