@@ -10,7 +10,7 @@ import (
1010
1111// CreateInstance creates a new instance in Lambda Labs
1212// Supported via: POST /api/v1/instance-operations/launch
13- func (c * LambdaLabsClient ) CreateInstance (ctx context.Context , attrs v1.CreateInstanceAttrs ) (* v1.Instance , error ) {
13+ func (c * LambdaLabsClient ) CreateInstance (_ context.Context , attrs v1.CreateInstanceAttrs ) (* v1.Instance , error ) {
1414 // TODO: Implement Lambda Labs instance creation
1515 // This would typically involve:
1616 // 1. Validating the instance type and location
@@ -37,40 +37,40 @@ func (c *LambdaLabsClient) CreateInstance(ctx context.Context, attrs v1.CreateIn
3737
3838// GetInstance retrieves an instance by ID
3939// Supported via: GET /api/v1/instances/{id}
40- func (c * LambdaLabsClient ) GetInstance (ctx context.Context , id v1.CloudProviderInstanceID ) (* v1.Instance , error ) {
40+ func (c * LambdaLabsClient ) GetInstance (_ context.Context , _ v1.CloudProviderInstanceID ) (* v1.Instance , error ) {
4141 // TODO: Implement Lambda Labs instance retrieval
4242 return nil , fmt .Errorf ("not implemented" )
4343}
4444
4545// TerminateInstance terminates an instance
4646// Supported via: POST /api/v1/instance-operations/terminate
47- func (c * LambdaLabsClient ) TerminateInstance (ctx context.Context , instanceID v1.CloudProviderInstanceID ) error {
47+ func (c * LambdaLabsClient ) TerminateInstance (_ context.Context , _ v1.CloudProviderInstanceID ) error {
4848 // TODO: Implement Lambda Labs instance termination
4949 return fmt .Errorf ("not implemented" )
5050}
5151
5252// ListInstances lists all instances
5353// Supported via: GET /api/v1/instances
54- func (c * LambdaLabsClient ) ListInstances (ctx context.Context , args v1.ListInstancesArgs ) ([]v1.Instance , error ) {
54+ func (c * LambdaLabsClient ) ListInstances (_ context.Context , _ v1.ListInstancesArgs ) ([]v1.Instance , error ) {
5555 // TODO: Implement Lambda Labs instance listing
5656 return nil , fmt .Errorf ("not implemented" )
5757}
5858
5959// RebootInstance reboots an instance
6060// Supported via: POST /api/v1/instance-operations/restart
61- func (c * LambdaLabsClient ) RebootInstance (ctx context.Context , instanceID v1.CloudProviderInstanceID ) error {
61+ func (c * LambdaLabsClient ) RebootInstance (_ context.Context , _ v1.CloudProviderInstanceID ) error {
6262 // TODO: Implement Lambda Labs instance rebooting
6363 return fmt .Errorf ("not implemented" )
6464}
6565
6666// MergeInstanceForUpdate merges instance data for updates
67- func (c * LambdaLabsClient ) MergeInstanceForUpdate (currInst v1.Instance , newInst v1.Instance ) v1.Instance {
67+ func (c * LambdaLabsClient ) MergeInstanceForUpdate (_ v1.Instance , newInst v1.Instance ) v1.Instance {
6868 // TODO: Implement instance merging logic
6969 return newInst
7070}
7171
7272// MergeInstanceTypeForUpdate merges instance type data for updates
73- func (c * LambdaLabsClient ) MergeInstanceTypeForUpdate (currIt v1.InstanceType , newIt v1.InstanceType ) v1.InstanceType {
73+ func (c * LambdaLabsClient ) MergeInstanceTypeForUpdate (_ v1.InstanceType , newIt v1.InstanceType ) v1.InstanceType {
7474 // TODO: Implement instance type merging logic
7575 return newIt
7676}
0 commit comments