File tree Expand file tree Collapse file tree 9 files changed +18
-18
lines changed Expand file tree Collapse file tree 9 files changed +18
-18
lines changed Original file line number Diff line number Diff line change 1414 }
1515
1616 argo struct {
17- codefresh codefresh
17+ codefresh * codefresh
1818 }
1919
2020 IntegrationItem struct {
5050 }
5151)
5252
53- func newArgoAPI (codefresh codefresh ) ArgoAPI {
53+ func newArgoAPI (codefresh * codefresh ) ArgoAPI {
5454 return & argo {codefresh }
5555}
5656
Original file line number Diff line number Diff line change 99 }
1010
1111 cluster struct {
12- codefresh codefresh
12+ codefresh * codefresh
1313 }
1414
1515 Cluster struct {
3131 }
3232)
3333
34- func newClusterAPI (codefresh codefresh ) IClusterAPI {
34+ func newClusterAPI (codefresh * codefresh ) IClusterAPI {
3535 return & cluster {codefresh }
3636}
3737
Original file line number Diff line number Diff line change 88 }
99
1010 context struct {
11- codefresh Codefresh
11+ codefresh * codefresh
1212 }
1313
1414 ContextPayload struct {
3131 }
3232)
3333
34- func newContextAPI (codefresh Codefresh ) IContextAPI {
34+ func newContextAPI (codefresh * codefresh ) IContextAPI {
3535 return & context {codefresh }
3636}
3737
Original file line number Diff line number Diff line change 1313 }
1414
1515 gitops struct {
16- codefresh Codefresh
16+ codefresh * codefresh
1717 }
1818 CodefreshEvent struct {
1919 Event string `json:"event"`
@@ -117,7 +117,7 @@ type (
117117 }
118118)
119119
120- func newGitopsAPI (codefresh Codefresh ) GitopsAPI {
120+ func newGitopsAPI (codefresh * codefresh ) GitopsAPI {
121121 return & gitops {codefresh }
122122}
123123
Original file line number Diff line number Diff line change 6161 }
6262
6363 pipeline struct {
64- codefresh Codefresh
64+ codefresh * codefresh
6565 }
6666
6767 RunOptions struct {
7070 }
7171)
7272
73- func newPipelineAPI (codefresh Codefresh ) IPipelineAPI {
73+ func newPipelineAPI (codefresh * codefresh ) IPipelineAPI {
7474 return & pipeline {codefresh }
7575}
7676
Original file line number Diff line number Diff line change 1010 }
1111
1212 progress struct {
13- codefresh Codefresh
13+ codefresh * codefresh
1414 }
1515
1616 Progress struct {
2525 }
2626)
2727
28- func newProgressAPI (codefresh Codefresh ) IProgressAPI {
28+ func newProgressAPI (codefresh * codefresh ) IProgressAPI {
2929 return & progress {codefresh }
3030}
3131
Original file line number Diff line number Diff line change @@ -98,11 +98,11 @@ type (
9898 }
9999
100100 runtimeEnvironment struct {
101- codefresh Codefresh
101+ codefresh * codefresh
102102 }
103103)
104104
105- func newRuntimeEnvironmentAPI (codefresh Codefresh ) IRuntimeEnvironmentAPI {
105+ func newRuntimeEnvironmentAPI (codefresh * codefresh ) IRuntimeEnvironmentAPI {
106106 return & runtimeEnvironment {codefresh }
107107}
108108
Original file line number Diff line number Diff line change @@ -30,15 +30,15 @@ type (
3030 }
3131
3232 token struct {
33- codefresh Codefresh
33+ codefresh * codefresh
3434 }
3535)
3636
3737const (
3838 runtimeEnvironmentSubject tokenSubjectType = 0
3939)
4040
41- func newTokenAPI (codefresh Codefresh ) ITokenAPI {
41+ func newTokenAPI (codefresh * codefresh ) ITokenAPI {
4242 return & token {codefresh }
4343}
4444
Original file line number Diff line number Diff line change 1313 }
1414
1515 workflow struct {
16- codefresh Codefresh
16+ codefresh * codefresh
1717 }
1818
1919 Workflow struct {
2727 }
2828)
2929
30- func newWorkflowAPI (codefresh Codefresh ) IWorkflowAPI {
30+ func newWorkflowAPI (codefresh * codefresh ) IWorkflowAPI {
3131 return & workflow {codefresh }
3232}
3333
You can’t perform that action at this time.
0 commit comments