Skip to content

Commit

Permalink
Merge pull request #305 from OctopusDeploy/enh-deploymentdelete
Browse files Browse the repository at this point in the history
Add delete to Deployment repositories.
  • Loading branch information
MichaelJCompton authored Sep 7, 2018
2 parents c4acb6a + 86664c2 commit 10a0dd0
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4691,6 +4691,7 @@ Octopus.Client.Repositories.Async
Octopus.Client.Repositories.Async.IGet<DeploymentResource>
Octopus.Client.Repositories.Async.ICreate<DeploymentResource>
Octopus.Client.Repositories.Async.IPaginate<DeploymentResource>
Octopus.Client.Repositories.Async.IDelete<DeploymentResource>
{
Task<ResourceCollection<DeploymentResource>> FindAll(String[], String[], Int32, Nullable<Int32>)
Task<ResourceCollection<DeploymentResource>> FindBy(String[], String[], Int32, Nullable<Int32>)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5205,6 +5205,7 @@ Octopus.Client.Repositories
Octopus.Client.Repositories.IGet<DeploymentResource>
Octopus.Client.Repositories.ICreate<DeploymentResource>
Octopus.Client.Repositories.IPaginate<DeploymentResource>
Octopus.Client.Repositories.IDelete<DeploymentResource>
{
Octopus.Client.Model.ResourceCollection<DeploymentResource> FindAll(String[], String[], Int32, Nullable<Int32>)
Octopus.Client.Model.ResourceCollection<DeploymentResource> FindBy(String[], String[], Int32, Nullable<Int32>)
Expand Down Expand Up @@ -5592,7 +5593,7 @@ Octopus.Client.Repositories
.ctor(Octopus.Client.IOctopusClient)
Octopus.Client.Model.PerformanceConfigurationResource Get()
Octopus.Client.Model.PerformanceConfigurationResource Modify(Octopus.Client.Model.PerformanceConfigurationResource)
}
}
}
Octopus.Client.Repositories.Async
{
Expand Down Expand Up @@ -5736,6 +5737,7 @@ Octopus.Client.Repositories.Async
Octopus.Client.Repositories.Async.IGet<DeploymentResource>
Octopus.Client.Repositories.Async.ICreate<DeploymentResource>
Octopus.Client.Repositories.Async.IPaginate<DeploymentResource>
Octopus.Client.Repositories.Async.IDelete<DeploymentResource>
{
Task<ResourceCollection<DeploymentResource>> FindAll(String[], String[], Int32, Nullable<Int32>)
Task<ResourceCollection<DeploymentResource>> FindBy(String[], String[], Int32, Nullable<Int32>)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

namespace Octopus.Client.Repositories.Async
{
public interface IDeploymentRepository : IGet<DeploymentResource>, ICreate<DeploymentResource>, IPaginate<DeploymentResource>
public interface IDeploymentRepository : IGet<DeploymentResource>, ICreate<DeploymentResource>, IPaginate<DeploymentResource>, IDelete<DeploymentResource>
{
Task<TaskResource> GetTask(DeploymentResource resource);

Expand Down
2 changes: 1 addition & 1 deletion source/Octopus.Client/Repositories/DeploymentRepository.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

namespace Octopus.Client.Repositories
{
public interface IDeploymentRepository : IGet<DeploymentResource>, ICreate<DeploymentResource>, IPaginate<DeploymentResource>
public interface IDeploymentRepository : IGet<DeploymentResource>, ICreate<DeploymentResource>, IPaginate<DeploymentResource>, IDelete<DeploymentResource>
{
TaskResource GetTask(DeploymentResource resource);

Expand Down

0 comments on commit 10a0dd0

Please sign in to comment.