示例#1
0
 internal OrganisationScope(string slug, FeedzClient client)
 {
     _client         = client;
     Slug            = slug;
     RootUri         = "organisations/" + slug;
     Repositories    = new Repositories(this, client.ApiClientWrapper);
     Members         = new Members(this, client.ApiClientWrapper);
     ServiceAccounts = new ServiceAccounts(this, client.ApiClientWrapper);
     Teams           = new Teams(this, client.ApiClientWrapper);
     Billing         = new Billing(this, client.ApiClientWrapper);
     CustomDomains   = new CustomDomains(this, client.ApiClientWrapper);
 }
示例#2
0
 internal RepositoryScope(OrganisationScope organisationScope, string slug, FeedzClient client)
     : base($"{organisationScope.RootUri}/repositories/{slug}", client.ApiClientWrapper)
 {
     OrganisationScope = organisationScope;
     Slug              = slug;
     PackageFeed       = new PackageFeed(this, client);
     Packages          = new Packages(this, client);
     Integrations      = new Integrations(this, client.ApiClientWrapper);
     Triggers          = new Triggers(this, client.ApiClientWrapper);
     Tasks             = new RepositoryServerTasks(this, client.ApiClientWrapper);
     Agents            = new Agents(this, client.ApiClientWrapper);
     InternalUpstreams = new InternalUpstreams(this, client.ApiClientWrapper);
     CustomDomains     = new CustomDomains(this, client.ApiClientWrapper);
 }
示例#3
0
 internal PackageFeed(RepositoryScope scope, FeedzClient client)
 {
     _client      = client;
     _feedRootUri = $"{scope.OrganisationScope.Slug}/{scope.Slug}";
 }
示例#4
0
 internal Packages(RepositoryScope scope, FeedzClient client)
 {
     _client  = client;
     _rootUri = $"{scope.RootUri}/packages";
 }