@@ -10,7 +10,7 @@ import (
10
10
"github.com/rancher/rancherd/pkg/self"
11
11
)
12
12
13
- func ToWaitRancherInstruction (imageOverride , systemDefaultRegistry , k8sVersion string ) (* applyinator.Instruction , error ) {
13
+ func ToWaitRancherInstruction (_ , _ , k8sVersion string ) (* applyinator.Instruction , error ) {
14
14
cmd , err := self .Self ()
15
15
if err != nil {
16
16
return nil , fmt .Errorf ("resolving location of %s: %w" , os .Args [0 ], err )
@@ -24,7 +24,7 @@ func ToWaitRancherInstruction(imageOverride, systemDefaultRegistry, k8sVersion s
24
24
}, nil
25
25
}
26
26
27
- func ToWaitRancherWebhookInstruction (imageOverride , systemDefaultRegistry , k8sVersion string ) (* applyinator.Instruction , error ) {
27
+ func ToWaitRancherWebhookInstruction (_ , _ , k8sVersion string ) (* applyinator.Instruction , error ) {
28
28
cmd , err := self .Self ()
29
29
if err != nil {
30
30
return nil , fmt .Errorf ("resolving location of %s: %w" , os .Args [0 ], err )
@@ -38,7 +38,7 @@ func ToWaitRancherWebhookInstruction(imageOverride, systemDefaultRegistry, k8sVe
38
38
}, nil
39
39
}
40
40
41
- func ToWaitSUCInstruction (imageOverride , systemDefaultRegistry , k8sVersion string ) (* applyinator.Instruction , error ) {
41
+ func ToWaitSUCInstruction (_ , _ , k8sVersion string ) (* applyinator.Instruction , error ) {
42
42
cmd , err := self .Self ()
43
43
if err != nil {
44
44
return nil , fmt .Errorf ("resolving location of %s: %w" , os .Args [0 ], err )
@@ -52,7 +52,7 @@ func ToWaitSUCInstruction(imageOverride, systemDefaultRegistry, k8sVersion strin
52
52
}, nil
53
53
}
54
54
55
- func ToWaitSUCPlanInstruction (imageOverride , systemDefaultRegistry , k8sVersion string ) (* applyinator.Instruction , error ) {
55
+ func ToWaitSUCPlanInstruction (_ , _ , k8sVersion string ) (* applyinator.Instruction , error ) {
56
56
cmd , err := self .Self ()
57
57
if err != nil {
58
58
return nil , fmt .Errorf ("resolving location of %s: %w" , os .Args [0 ], err )
@@ -67,7 +67,7 @@ func ToWaitSUCPlanInstruction(imageOverride, systemDefaultRegistry, k8sVersion s
67
67
}, nil
68
68
}
69
69
70
- func ToWaitClusterClientSecretInstruction (imageOverride , systemDefaultRegistry , k8sVersion string ) (* applyinator.Instruction , error ) {
70
+ func ToWaitClusterClientSecretInstruction (_ , _ , k8sVersion string ) (* applyinator.Instruction , error ) {
71
71
cmd , err := self .Self ()
72
72
if err != nil {
73
73
return nil , fmt .Errorf ("resolving location of %s: %w" , os .Args [0 ], err )
@@ -82,7 +82,7 @@ func ToWaitClusterClientSecretInstruction(imageOverride, systemDefaultRegistry,
82
82
}, nil
83
83
}
84
84
85
- func ToUpdateClientSecretInstruction (imageOverride , systemDefaultRegistry , k8sVersion string ) (* applyinator.Instruction , error ) {
85
+ func ToUpdateClientSecretInstruction (_ , _ , k8sVersion string ) (* applyinator.Instruction , error ) {
86
86
cmd , err := self .Self ()
87
87
if err != nil {
88
88
return nil , fmt .Errorf ("resolving location of %s: %w" , os .Args [0 ], err )
@@ -96,7 +96,7 @@ func ToUpdateClientSecretInstruction(imageOverride, systemDefaultRegistry, k8sVe
96
96
}, nil
97
97
}
98
98
99
- func ToScaleDownFleetControllerInstruction (imageOverride , systemDefaultRegistry , k8sVersion string ) (* applyinator.Instruction , error ) {
99
+ func ToScaleDownFleetControllerInstruction (_ , _ , k8sVersion string ) (* applyinator.Instruction , error ) {
100
100
cmd , err := self .Self ()
101
101
if err != nil {
102
102
return nil , fmt .Errorf ("resolving location of %s: %w" , os .Args [0 ], err )
@@ -110,7 +110,7 @@ func ToScaleDownFleetControllerInstruction(imageOverride, systemDefaultRegistry,
110
110
}, nil
111
111
}
112
112
113
- func ToScaleUpFleetControllerInstruction (imageOverride , systemDefaultRegistry , k8sVersion string ) (* applyinator.Instruction , error ) {
113
+ func ToScaleUpFleetControllerInstruction (_ , _ , k8sVersion string ) (* applyinator.Instruction , error ) {
114
114
cmd , err := self .Self ()
115
115
if err != nil {
116
116
return nil , fmt .Errorf ("resolving location of %s: %w" , os .Args [0 ], err )
@@ -126,7 +126,7 @@ func ToScaleUpFleetControllerInstruction(imageOverride, systemDefaultRegistry, k
126
126
127
127
// Needs to patch status subresource
128
128
// k patch cluster.provisioning local -n fleet-local --subresource=status --type=merge --patch '{"status":{"fleetWorkspaceName": "fleet-local"}}'
129
- func PatchLocalProvisioningClusterStatus (imageOverride , systemDefaultRegistry , k8sVersion string ) (* applyinator.Instruction , error ) {
129
+ func PatchLocalProvisioningClusterStatus (_ , _ , k8sVersion string ) (* applyinator.Instruction , error ) {
130
130
cmd , err := self .Self ()
131
131
if err != nil {
132
132
return nil , fmt .Errorf ("resolving location of %s: %w" , os .Args [0 ], err )
0 commit comments