77)
88
99
10- type DeployWp struct {
10+ type TypeDeployWp struct {
1111 Hosts Hosts `json:"hosts"`
1212 Source Source `json:"source"`
1313 Target Target `json:"target"`
@@ -20,8 +20,9 @@ type DeployWp struct {
2020type RuntimeMeta struct {
2121}
2222
23- func _NewJsonFile () * DeployWp {
24- var jf DeployWp
23+
24+ func _NewJsonFile () * TypeDeployWp {
25+ var jf TypeDeployWp
2526
2627 jf .Hosts .New ()
2728 jf .Source .New ()
@@ -30,8 +31,8 @@ func _NewJsonFile() *DeployWp {
3031 return & jf
3132}
3233
33- func HelperLoadDeployWp (str interface {}) * DeployWp {
34- var j DeployWp
34+ func HelperLoadDeployWp (str interface {}) * TypeDeployWp {
35+ var j TypeDeployWp
3536
3637 for range only .Once {
3738 j .Error = mapstructure .Decode (str , & j )
@@ -61,7 +62,7 @@ func HelperLoadDeployWp(str interface{}) *DeployWp {
6162}
6263
6364
64- func (me * DeployWp ) IsNil () bool {
65+ func (me * TypeDeployWp ) IsNil () bool {
6566 var ok bool
6667
6768 for range only .Once {
@@ -79,14 +80,14 @@ func (me *DeployWp) IsNil() bool {
7980
8081// ////////////////////////////////////////////////////////////////////////////////
8182// Source
82- func (me * DeployWp ) GetSource () * Source {
83+ func (me * TypeDeployWp ) GetSource () * Source {
8384 return & me .Source
8485}
8586
8687
8788// ////////////////////////////////////////////////////////////////////////////////
8889// Source.Paths
89- func (me * DeployWp ) GetSourcePaths () * Paths {
90+ func (me * TypeDeployWp ) GetSourcePaths () * Paths {
9091 var ret * Paths
9192
9293 for range only .Once {
@@ -99,7 +100,7 @@ func (me *DeployWp) GetSourcePaths() *Paths {
99100
100101 return ret
101102}
102- //func (me *DeployWp ) GetSourcePaths(abs ...interface{}) *Paths {
103+ //func (me *TypeDeployWp ) GetSourcePaths(abs ...interface{}) *Paths {
103104// var ret *Paths
104105//
105106// for range only.Once {
@@ -120,7 +121,7 @@ func (me *DeployWp) GetSourcePaths() *Paths {
120121//
121122// return ret
122123//}
123- func (me * DeployWp ) GetSourceAbsPaths () * Paths {
124+ func (me * TypeDeployWp ) GetSourceAbsPaths () * Paths {
124125 var ret * Paths
125126
126127 for range only .Once {
@@ -137,7 +138,7 @@ func (me *DeployWp) GetSourceAbsPaths() *Paths {
137138
138139// ////////////////////////////////////////////////////////////////////////////////
139140// Source.Repository
140- func (me * DeployWp ) GetSourceRepositoryProvider () string {
141+ func (me * TypeDeployWp ) GetSourceRepositoryProvider () string {
141142 var ret string
142143
143144 for range only .Once {
@@ -150,7 +151,7 @@ func (me *DeployWp) GetSourceRepositoryProvider() string {
150151
151152 return ret
152153}
153- func (me * DeployWp ) GetSourceRepositoryUrl () URL {
154+ func (me * TypeDeployWp ) GetSourceRepositoryUrl () URL {
154155 var ret URL
155156
156157 for range only .Once {
@@ -167,7 +168,7 @@ func (me *DeployWp) GetSourceRepositoryUrl() URL {
167168
168169// ////////////////////////////////////////////////////////////////////////////////
169170// Source.Revision
170- func (me * DeployWp ) GetSourceRevisionType () string {
171+ func (me * TypeDeployWp ) GetSourceRevisionType () string {
171172 var ret string
172173
173174 for range only .Once {
@@ -180,7 +181,7 @@ func (me *DeployWp) GetSourceRevisionType() string {
180181
181182 return ret
182183}
183- func (me * DeployWp ) GetSourceRevisionName () string {
184+ func (me * TypeDeployWp ) GetSourceRevisionName () string {
184185 var ret string
185186
186187 for range only .Once {
@@ -197,7 +198,7 @@ func (me *DeployWp) GetSourceRevisionName() string {
197198
198199// ////////////////////////////////////////////////////////////////////////////////
199200// Source.Build
200- func (me * DeployWp ) GetSourceBuild () bool {
201+ func (me * TypeDeployWp ) GetSourceBuild () bool {
201202 var ret bool
202203
203204 for range only .Once {
@@ -214,14 +215,14 @@ func (me *DeployWp) GetSourceBuild() bool {
214215
215216// ////////////////////////////////////////////////////////////////////////////////
216217// Target
217- func (me * DeployWp ) GetTarget () * Target {
218+ func (me * TypeDeployWp ) GetTarget () * Target {
218219 return & me .Target
219220}
220221
221222
222223// ////////////////////////////////////////////////////////////////////////////////
223224// Target.Files
224- func (me * DeployWp ) GetTargetFiles (ftype interface {}) * FilesArray {
225+ func (me * TypeDeployWp ) GetTargetFiles (ftype interface {}) * FilesArray {
225226 var ret * FilesArray
226227
227228 for range only .Once {
@@ -238,7 +239,7 @@ func (me *DeployWp) GetTargetFiles(ftype interface{}) *FilesArray {
238239
239240// ////////////////////////////////////////////////////////////////////////////////
240241// Target.Paths
241- func (me * DeployWp ) GetTargetPaths () * Paths {
242+ func (me * TypeDeployWp ) GetTargetPaths () * Paths {
242243 var ret * Paths
243244
244245 for range only .Once {
@@ -251,7 +252,7 @@ func (me *DeployWp) GetTargetPaths() *Paths {
251252
252253 return ret
253254}
254- func (me * DeployWp ) GetTargetAbsPaths () * Paths {
255+ func (me * TypeDeployWp ) GetTargetAbsPaths () * Paths {
255256 var ret * Paths
256257
257258 for range only .Once {
@@ -268,7 +269,7 @@ func (me *DeployWp) GetTargetAbsPaths() *Paths {
268269
269270// ////////////////////////////////////////////////////////////////////////////////
270271// Target.Revisions
271- func (me * DeployWp ) GetTargetRevision (host interface {}) * TargetRevision {
272+ func (me * TypeDeployWp ) GetTargetRevision (host interface {}) * TargetRevision {
272273 var ret * TargetRevision
273274
274275 for range only .Once {
@@ -285,7 +286,7 @@ func (me *DeployWp) GetTargetRevision(host interface{}) *TargetRevision {
285286
286287// ////////////////////////////////////////////////////////////////////////////////
287288// Target.Providers
288- func (me * DeployWp ) GetTargetProvider (provider interface {}) * Provider {
289+ func (me * TypeDeployWp ) GetTargetProvider (provider interface {}) * Provider {
289290 var ret * Provider
290291
291292 for range only .Once {
@@ -302,11 +303,11 @@ func (me *DeployWp) GetTargetProvider(provider interface{}) *Provider {
302303
303304// ////////////////////////////////////////////////////////////////////////////////
304305// Hosts
305- func (me * DeployWp ) GetHosts () * Hosts {
306+ func (me * TypeDeployWp ) GetHosts () * Hosts {
306307 return & me .Hosts
307308}
308309
309- func (me * DeployWp ) GetHost (host interface {}) * Host {
310+ func (me * TypeDeployWp ) GetHost (host interface {}) * Host {
310311 var ret * Host
311312
312313 for range only .Once {
0 commit comments