Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
cloud-3413928
Manage
Activity
Members
Labels
Plan
Custom issue tracker
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Issue forks
cloud-3413928
Commits
a13964f4
Commit
a13964f4
authored
1 year ago
by
baldwinlouie
Committed by
Yas Naoi
1 year ago
Browse files
Options
Downloads
Patches
Plain Diff
Issue
#3352191
by baldwinlouie, yas: Add a setCredentials() method to `Rest/OpenStackService.php`
parent
8f851133
No related branches found
Branches containing commit
Tags
11.2.8
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
modules/cloud_service_providers/openstack/src/Service/Rest/OpenStackService.php
+10
-0
10 additions, 0 deletions
...providers/openstack/src/Service/Rest/OpenStackService.php
with
10 additions
and
0 deletions
modules/cloud_service_providers/openstack/src/Service/Rest/OpenStackService.php
+
10
−
0
View file @
a13964f4
...
...
@@ -230,6 +230,16 @@ class OpenStackService extends CloudServiceBase implements OpenStackServiceInter
return
$this
->
credentials
;
}
/**
* Set the credential array.
*
* Gives implementing code a chance to set credentials without setting up
* a OpenStack cloud service provider.
*/
public
function
setCredentials
(
array
$credentials
):
void
{
$this
->
credentials
=
$credentials
;
}
/**
* Setup any default parameters for the Guzzle request.
*
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment