Client/API/Identity/v3.pm

filter: Statementstmt 100% 15 / 15 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 4 / 4 Podpod n/a totaltotal 100% 19 / 19 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Client.pm ↑ Summary
1 #
2 # This module is generated with gen.pl
3 # Do not modify.
4 #
5  
6 package Net::OpenStack::Client::API::Identity::v3;
7  
8 4 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
9 4 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
10  
11 4 ▶use version;
Subroutine BEGIN: called CC=1 SCAR=0.0
12 4 our $VERSION = version->new("v3");
13  
14 4 ▶use Readonly;
Subroutine BEGIN: called CC=1 SCAR=0.0
15  
16 4 Readonly our $API_DATA => {
17
18 add_domain => {
19 method => 'POST',
20 endpoint => '/domains',
21
22
23 options => {
24 'description' => {'path' => ['domain','description'],'type' => 'string'},
25 'enabled' => {'path' => ['domain','enabled'],'type' => 'boolean'},
26 'name' => {'path' => ['domain','name'],'type' => 'string'},
27 },
28
29 },
30
31 add_project => {
32 method => 'POST',
33 endpoint => '/projects',
34
35
36 options => {
37 'description' => {'path' => ['project','description'],'type' => 'string'},
38 'domain_id' => {'path' => ['project','domain_id'],'type' => 'string'},
39 'enabled' => {'path' => ['project','enabled'],'type' => 'boolean'},
40 'name' => {'path' => ['project','name'],'type' => 'string'},
41 'parent_id' => {'path' => ['project','parent_id'],'type' => 'string'},
42 },
43 result => '/project',
44
45 },
46
47 add_tag => {
48 method => 'PUT',
49 endpoint => '/projects/{project_id}/tags/{tag}',
50 templates => ['project_id','tag'],
51
52
53 options => {
54 },
55
56 },
57
58 catalog => {
59 method => 'GET',
60 endpoint => '/auth/catalog',
61
62
63 options => {
64 },
65 result => '/catalog',
66
67 },
68
69 delete_tag => {
70 method => 'DELETE',
71 endpoint => '/projects/{project_id}/tags/{tag}',
72 templates => ['project_id','tag'],
73
74
75 options => {
76 },
77
78 },
79
80 domain => {
81 method => 'GET',
82 endpoint => '/domains/{domain_id}',
83 templates => ['domain_id'],
84
85
86 options => {
87 },
88 result => '/domain',
89
90 },
91
92 domains => {
93 method => 'GET',
94 endpoint => '/domains',
95
96
97 options => {
98 },
99 result => '/domains',
100
101 },
102
103 project => {
104 method => 'GET',
105 endpoint => '/projects/{project_id}',
106 templates => ['project_id'],
107
108
109 options => {
110 },
111 result => '/project',
112
113 },
114
115 projects => {
116 method => 'GET',
117 endpoint => '/projects?domain_id=did&enabled=1&name=name&parent_id=pid',
118
119 parameters => ['domain_id','enabled','name','parent_id'],
120
121 options => {
122 },
123 result => '/projects',
124
125 },
126
127 tag => {
128 method => 'GET',
129 endpoint => '/projects/{project_id}/tags/{tag}',
130 templates => ['project_id','tag'],
131
132
133 options => {
134 },
135
136 },
137
138 tags => {
139 method => 'GET',
140 endpoint => '/projects/{project_id}/tags',
141 templates => ['project_id'],
142
143
144 options => {
145 },
146 result => '/tags',
147
148 },
149
150 tokens => {
151 method => 'POST',
152 endpoint => '/auth/tokens',
153
154
155 options => {
156 'methods' => {'islist' => 1,'path' => ['auth','identity','methods'],'type' => 'string'},
157 'password' => {'path' => ['auth','identity','password','user','password'],'type' => 'string'},
158 'project_domain_name' => {'path' => ['auth','scope','project','domain','name'],'type' => 'string'},
159 'project_name' => {'path' => ['auth','scope','project','name'],'type' => 'string'},
160 'user_domain_name' => {'path' => ['auth','identity','password','user','domain','name'],'type' => 'string'},
161 'user_name' => {'path' => ['auth','identity','password','user','name'],'type' => 'string'},
162 },
163 result => 'X-Subject-Token',
164
165 },
166  
167 };
168  
169 4 1;
« Client.pm ↑ Summary