Skip to content

Commit

Permalink
Merge pull request #85 from HewlettPackard/add_tokencheck
Browse files Browse the repository at this point in the history
Add cmp token to api client
  • Loading branch information
reubenur-rahman authored Nov 8, 2024
2 parents 1b66a82 + 0546930 commit 3117eb6
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions pkg/client/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,12 @@ type APIClientHandler interface {
// APIClient manages communication with the GreenLake Private Cloud VMaaS CMP API API v1.0.0
// In most cases there should be only one, shared, APIClient.
type APIClient struct {
cfg *Configuration
cmpVersion int
meta interface{}
tokenFunc SetScmClientToken
cfg *Configuration
cmpVersion int
meta interface{}
tokenFunc SetScmClientToken
CMPToken string
TokenExpiry int64
}

// defaultTokenFunc will use while defining httpClient. defaultTokenFunc
Expand Down

0 comments on commit 3117eb6

Please sign in to comment.