We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 636626c commit f3763e7Copy full SHA for f3763e7
Makefile
@@ -1,4 +1,4 @@
1
-VERSION=v1.4.11
+VERSION=v1.4.12
2
3
ifndef GOBIN
4
ifndef GOPATH
pkg/codefresh/codefresh.go
@@ -17,6 +17,11 @@ type (
17
GraphQL() gql.GraphQLAPI
18
Rest() rest.RestAPI
19
InternalClient() *client.CfClient
20
+ HttpClient() HttpClient
21
+ }
22
+
23
+ HttpClient interface {
24
+ NativeRestAPI(ctx context.Context, opt *client.RequestOptions) (*http.Response, error)
25
}
26
27
ClientOptions struct {
@@ -66,3 +71,7 @@ func (c *codefresh) Rest() rest.RestAPI {
66
71
func (c *codefresh) InternalClient() *client.CfClient {
67
72
return c.client
68
73
74
75
+func (c *codefresh) HttpClient() HttpClient {
76
+ return c.client
77
+}
0 commit comments