mirror of
https://github.com/edgelesssys/constellation.git
synced 2024-12-28 08:59:34 -05:00
2d8fcd9bf4
Co-authored-by: Malte Poll <mp@edgeless.systems> Co-authored-by: katexochen <katexochen@users.noreply.github.com> Co-authored-by: Daniel Weiße <dw@edgeless.systems> Co-authored-by: Thomas Tendyck <tt@edgeless.systems> Co-authored-by: Benedict Schlueter <bs@edgeless.systems> Co-authored-by: leongross <leon.gross@rub.de> Co-authored-by: Moritz Eckert <m1gh7ym0@gmail.com>
34 lines
1.1 KiB
Go
34 lines
1.1 KiB
Go
package azure
|
|
|
|
import "github.com/edgelesssys/constellation/coordinator/core"
|
|
|
|
// CloudControllerManager holds the Azure cloud-controller-manager configuration.
|
|
type CloudControllerManager struct{}
|
|
|
|
// Image returns the container image used to provide cloud-controller-manager for the cloud-provider.
|
|
func (c CloudControllerManager) Image() string {
|
|
return ""
|
|
}
|
|
|
|
// Path returns the path used by cloud-controller-manager executable within the container image.
|
|
func (c CloudControllerManager) Path() string {
|
|
return ""
|
|
}
|
|
|
|
// Name returns the cloud-provider name as used by k8s cloud-controller-manager (k8s.gcr.io/cloud-controller-manager).
|
|
func (c CloudControllerManager) Name() string {
|
|
return ""
|
|
}
|
|
|
|
// PrepareInstance is called on every instance before deploying the cloud-controller-manager.
|
|
// Allows for cloud-provider specific hooks.
|
|
func (c CloudControllerManager) PrepareInstance(instance core.Instance, vpnIP string) error {
|
|
// no specific hook required.
|
|
return nil
|
|
}
|
|
|
|
// Supported is used to determine if cloud controller manager is implemented for this cloud provider.
|
|
func (c CloudControllerManager) Supported() bool {
|
|
return false
|
|
}
|