compose and swarm stack updates

This commit is contained in:
Hui
2021-06-08 11:43:33 +12:00
committed by ArrisLee
parent ea6df891c3
commit b21e88bb3c
18 changed files with 458 additions and 73 deletions
+5
View File
@@ -133,3 +133,8 @@ func (service *Service) DeleteStack(ID portainer.StackID) error {
identifier := internal.Itob(int(ID))
return internal.DeleteObject(service.connection, BucketName, identifier)
}
// StackByWebhookID returns a stack via searching with webhook ID
func (service *Service) StackByWebhookID(id string) (*portainer.Stack, error) {
return nil, errors.ErrObjectNotFound
}