Skip to content

Commit

Permalink
Add cmp token to api client
Browse files Browse the repository at this point in the history
  • Loading branch information
mahesh-hpe committed Nov 8, 2024
1 parent 1b66a82 commit 0546930
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 0546930

Please sign in to comment.