/
spinnakeraccount_functions.go
47 lines (40 loc) · 1.69 KB
/
spinnakeraccount_functions.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
package v1alpha2
import (
"github.com/armory/spinnaker-operator/pkg/apis/spinnaker/interfaces"
)
var _ interfaces.SpinnakerAccount = &SpinnakerAccount{}
func (s *SpinnakerAccount) GetSpec() *interfaces.SpinnakerAccountSpec {
return &s.Spec
}
func (s *SpinnakerAccount) GetStatus() *interfaces.SpinnakerAccountStatus {
return &s.Status
}
func (s *SpinnakerAccount) DeepCopyInterface() interfaces.SpinnakerAccount {
return s.DeepCopy()
}
func (s *SpinnakerAccount) DeepCopySpinnakerAccount() interfaces.SpinnakerAccount {
return s.DeepCopy()
}
var _ interfaces.SpinnakerAccountList = &SpinnakerAccountList{}
func (s *SpinnakerAccountList) GetItems() []interfaces.SpinnakerAccount {
if interfaces.IsNil(s.Items) {
return nil
} else {
var result []interfaces.SpinnakerAccount
for _, i := range s.Items {
result = append(result, &i)
}
return result
}
}
func (s *SpinnakerAccountList) DeepCopySpinnakerAccountList() interfaces.SpinnakerAccountList {
return s.DeepCopy()
}
func (s *SpinnakerAccountList) GetResourceVersion() string { return s.ResourceVersion }
func (s *SpinnakerAccountList) SetResourceVersion(version string) { s.ResourceVersion = version }
func (s *SpinnakerAccountList) GetSelfLink() string { return s.SelfLink }
func (s *SpinnakerAccountList) SetSelfLink(selfLink string) { s.SelfLink = selfLink }
func (s *SpinnakerAccountList) GetContinue() string { return s.Continue }
func (s *SpinnakerAccountList) SetContinue(c string) { s.Continue = c }
func (s *SpinnakerAccountList) GetRemainingItemCount() *int64 { return s.RemainingItemCount }
func (s *SpinnakerAccountList) SetRemainingItemCount(c *int64) { s.RemainingItemCount = c }