container: add a auth file path getter for Client
This is so we can check and verify what is set.
This commit is contained in:
parent
8a06b9ddf3
commit
e38e7c717d
1 changed files with 5 additions and 0 deletions
|
|
@ -144,6 +144,11 @@ func (cl *Client) SetAuthFilePath(path string) {
|
|||
cl.sysCtx.AuthFilePath = path
|
||||
}
|
||||
|
||||
// GetAuthFilePath gets the location of the `containers-auth.json(5)` file.
|
||||
func (cl *Client) GetAuthFilePath() string {
|
||||
return cl.sysCtx.AuthFilePath
|
||||
}
|
||||
|
||||
func (cl *Client) SetArchitectureChoice(arch string) {
|
||||
// Translate some well-known Composer architecture strings
|
||||
// into the corresponding container ones
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue