Cloud provider GCP: adopt changes to CCM / CNM for GCP

This commit is contained in:
Malte Poll 2022-03-25 10:55:37 +01:00 committed by Malte Poll
parent a59ce30e7b
commit 3c1ddfb94e
9 changed files with 430 additions and 60 deletions

View file

@ -0,0 +1,27 @@
package gcp
// CloudNodeManager holds the GCP cloud-node-manager configuration.
type CloudNodeManager struct{}
// Image returns the container image used to provide cloud-node-manager for the cloud-provider.
// Not used on GCP.
func (c *CloudNodeManager) Image() string {
return ""
}
// Path returns the path used by cloud-node-manager executable within the container image.
// Not used on GCP.
func (c *CloudNodeManager) Path() string {
return ""
}
// ExtraArgs returns a list of arguments to append to the cloud-node-manager command.
// Not used on GCP.
func (c *CloudNodeManager) ExtraArgs() []string {
return []string{}
}
// Supported is used to determine if cloud node manager is implemented for this cloud provider.
func (c *CloudNodeManager) Supported() bool {
return false
}