Skip to content

Commit

Permalink
policies
Browse files Browse the repository at this point in the history
  • Loading branch information
sergey-shandar committed Nov 3, 2017
1 parent 6784457 commit e582289
Show file tree
Hide file tree
Showing 15 changed files with 22 additions and 419 deletions.

This file was deleted.

22 changes: 22 additions & 0 deletions experiments/Azure.Experiments/Azure.Experiments/IResourcePolicy.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
using System.Collections.Generic;
using System.Threading.Tasks;

namespace Microsoft.Azure.Experiments
{
interface IInfoMap
{
Info Get<Info>(IResourcePolicy<Info> info);
}

interface IResourcePolicy
{
IEnumerable<IResourcePolicy> Dependencies { get; }
}

interface IResourcePolicy<Info> : IResourcePolicy
{
string GetLocation(Info info);
Task<Info> Get(Context context, IInfoMap infoMap, string name);
Task<Info> CreateAsync(Context context, IInfoMap infoMap, Info info);
}
}
8 changes: 0 additions & 8 deletions experiments/Azure.Experiments/Azure.Experiments/IStateMap.cs

This file was deleted.

19 changes: 0 additions & 19 deletions experiments/Azure.Experiments/Azure.Experiments/Location.cs

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

74 changes: 0 additions & 74 deletions experiments/Azure.Experiments/Azure.Experiments/ResourceConfig.cs

This file was deleted.

This file was deleted.

Loading

0 comments on commit e582289

Please sign in to comment.