-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: lots of small squashed twicks and fixes
Update internal/provider/resource_kubernetes_cloud.go chore: extend cloud name description Co-authored-by: hmlanigan <[email protected]> Update internal/provider/resource_kubernetes_cloud.go chore: extend parent cloud name description Co-authored-by: hmlanigan <[email protected]> Update internal/provider/resource_kubernetes_cloud.go chore: extend parent cloud region description Co-authored-by: hmlanigan <[email protected]> chore: added method comment headers chore: added "id" to the schema to handle imports chore: delete test file (until it's used) chore: delete clouds_test unit it's used chore: remane cloudsClient --> kubernetesCloudClient
- Loading branch information
Showing
6 changed files
with
74 additions
and
65 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
// Copyright 2024 Canonical Ltd. | ||
// Licensed under the Apache License, Version 2.0, see LICENCE file for details. | ||
|
||
package juju | ||
|
||
type kubernetesCloudsClient struct { | ||
SharedClient | ||
} | ||
|
||
type CreateKubernetesCloudInput struct { | ||
} | ||
|
||
type CreateKubernetesCloudOutput struct { | ||
} | ||
|
||
type ReadKubernetesCloudInput struct { | ||
} | ||
|
||
type ReadKubernetesCloudOutput struct { | ||
} | ||
|
||
type UpdateKubernetesCloudInput struct { | ||
} | ||
|
||
type DestroyKubernetesCloudInput struct { | ||
} | ||
|
||
func newKubernetesCloudsClient(sc SharedClient) *kubernetesCloudsClient { | ||
return &kubernetesCloudsClient{ | ||
SharedClient: sc, | ||
} | ||
} | ||
|
||
// CreateKubernetesCloud creates a new Kubernetes cloud with juju cloud facade. | ||
func (c *kubernetesCloudsClient) CreateKubernetesCloud(input *CreateKubernetesCloudInput) (*CreateKubernetesCloudOutput, error) { | ||
return nil, nil | ||
} | ||
|
||
// ReadKubernetesCloud reads a Kubernetes cloud with juju cloud facade. | ||
func (c *kubernetesCloudsClient) ReadKubernetesCloud(input *ReadKubernetesCloudInput) (*ReadKubernetesCloudOutput, error) { | ||
return nil, nil | ||
} | ||
|
||
// UpdateKubernetesCloud updates a Kubernetes cloud with juju cloud facade. | ||
func (c *kubernetesCloudsClient) UpdateKubernetesCloud(input *UpdateKubernetesCloudInput) error { | ||
return nil | ||
} | ||
|
||
// DestroyKubernetesCloud destroys a Kubernetes cloud with juju cloud facade. | ||
func (c *kubernetesCloudsClient) DestroyKubernetesCloud(input *DestroyKubernetesCloudInput) error { | ||
return nil | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.