github.com/kyma-project/kyma-environment-broker@v0.0.1/internal/provider/own_cluster_provider.go (about)

     1  package provider
     2  
     3  import (
     4  	"github.com/kyma-project/control-plane/components/provisioner/pkg/gqlschema"
     5  	"github.com/kyma-project/kyma-environment-broker/internal"
     6  )
     7  
     8  type NoHyperscalerInput struct {
     9  }
    10  
    11  func (p *NoHyperscalerInput) Defaults() *gqlschema.ClusterConfigInput {
    12  	return &gqlschema.ClusterConfigInput{
    13  		GardenerConfig: &gqlschema.GardenerConfigInput{},
    14  		Administrators: nil,
    15  	}
    16  }
    17  
    18  func (p *NoHyperscalerInput) ApplyParameters(input *gqlschema.ClusterConfigInput, pp internal.ProvisioningParameters) {
    19  }
    20  
    21  func (p *NoHyperscalerInput) Profile() gqlschema.KymaProfile {
    22  	return gqlschema.KymaProfileEvaluation
    23  }
    24  
    25  func (p *NoHyperscalerInput) Provider() internal.CloudProvider {
    26  	return internal.UnknownProvider
    27  }