Documentation ¶
Index ¶
- func NewFakeClient() *fakeClient
- type Client
- type GCPRuntimeStatus
- type Graphqlizer
- func (g *Graphqlizer) AWSProviderConfigInputToGraphQL(in gqlschema.AWSProviderConfigInput) (string, error)
- func (g *Graphqlizer) AzureProviderConfigInputToGraphQL(in gqlschema.AzureProviderConfigInput) (string, error)
- func (g *Graphqlizer) ClusterConfigToGraphQL(in gqlschema.ClusterConfigInput) (string, error)
- func (g *Graphqlizer) GCPConfigInputToGraphQL(in gqlschema.GCPConfigInput) (string, error)
- func (g *Graphqlizer) GCPProviderConfigInputToGraphQL(in gqlschema.GCPProviderConfigInput) (string, error)
- func (g *Graphqlizer) GardenerConfigInputToGraphQL(in gqlschema.GardenerConfigInput) (string, error)
- func (g *Graphqlizer) KymaConfigToGraphQL(in gqlschema.KymaConfigInput) (string, error)
- func (g *Graphqlizer) LabelsToGQL(in gqlschema.Labels) (string, error)
- func (g *Graphqlizer) ProvisionRuntimeInputToGraphQL(in gqlschema.ProvisionRuntimeInput) (string, error)
- func (g *Graphqlizer) RuntimeInputToGraphQL(in gqlschema.RuntimeInput) (string, error)
- func (g *Graphqlizer) UpgradeClusterConfigToGraphQL(in gqlschema.UpgradeClusterInput) (string, error)
- func (g *Graphqlizer) UpgradeRuntimeInputToGraphQL(in gqlschema.UpgradeRuntimeInput) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewFakeClient ¶
func NewFakeClient() *fakeClient
Types ¶
type Client ¶
type Client interface { ProvisionRuntime(accountID, subAccountID string, config schema.ProvisionRuntimeInput) (schema.OperationStatus, error) UpgradeRuntime(accountID, runtimeID string, config schema.UpgradeRuntimeInput) (string, error) DeprovisionRuntime(accountID, runtimeID string) (string, error) ReconnectRuntimeAgent(accountID, runtimeID string) (string, error) GCPRuntimeStatus(accountID, runtimeID string) (GCPRuntimeStatus, error) RuntimeOperationStatus(accountID, operationID string) (schema.OperationStatus, error) }
func NewProvisionerClient ¶
type GCPRuntimeStatus ¶
type GCPRuntimeStatus struct { LastOperationStatus *schema.OperationStatus `json:"lastOperationStatus"` RuntimeConnectionStatus *schema.RuntimeConnectionStatus `json:"runtimeConnectionStatus"` RuntimeConfiguration struct { ClusterConfig *schema.GCPConfig `json:"clusterConfig"` KymaConfig *schema.KymaConfig `json:"kymaConfig"` Kubeconfig *string `json:"kubeconfig"` CredentialsSecretName *string `json:"credentialsSecretName"` } `json:"runtimeConfiguration"` }
type Graphqlizer ¶
type Graphqlizer struct{}
Graphqlizer is responsible for converting Go objects to input arguments in graphql format
func (*Graphqlizer) AWSProviderConfigInputToGraphQL ¶
func (g *Graphqlizer) AWSProviderConfigInputToGraphQL(in gqlschema.AWSProviderConfigInput) (string, error)
func (*Graphqlizer) AzureProviderConfigInputToGraphQL ¶
func (g *Graphqlizer) AzureProviderConfigInputToGraphQL(in gqlschema.AzureProviderConfigInput) (string, error)
func (*Graphqlizer) ClusterConfigToGraphQL ¶
func (g *Graphqlizer) ClusterConfigToGraphQL(in gqlschema.ClusterConfigInput) (string, error)
func (*Graphqlizer) GCPConfigInputToGraphQL ¶
func (g *Graphqlizer) GCPConfigInputToGraphQL(in gqlschema.GCPConfigInput) (string, error)
func (*Graphqlizer) GCPProviderConfigInputToGraphQL ¶
func (g *Graphqlizer) GCPProviderConfigInputToGraphQL(in gqlschema.GCPProviderConfigInput) (string, error)
func (*Graphqlizer) GardenerConfigInputToGraphQL ¶
func (g *Graphqlizer) GardenerConfigInputToGraphQL(in gqlschema.GardenerConfigInput) (string, error)
func (*Graphqlizer) KymaConfigToGraphQL ¶
func (g *Graphqlizer) KymaConfigToGraphQL(in gqlschema.KymaConfigInput) (string, error)
func (*Graphqlizer) LabelsToGQL ¶
func (g *Graphqlizer) LabelsToGQL(in gqlschema.Labels) (string, error)
func (*Graphqlizer) ProvisionRuntimeInputToGraphQL ¶
func (g *Graphqlizer) ProvisionRuntimeInputToGraphQL(in gqlschema.ProvisionRuntimeInput) (string, error)
func (*Graphqlizer) RuntimeInputToGraphQL ¶
func (g *Graphqlizer) RuntimeInputToGraphQL(in gqlschema.RuntimeInput) (string, error)
func (*Graphqlizer) UpgradeClusterConfigToGraphQL ¶
func (g *Graphqlizer) UpgradeClusterConfigToGraphQL(in gqlschema.UpgradeClusterInput) (string, error)
func (*Graphqlizer) UpgradeRuntimeInputToGraphQL ¶
func (g *Graphqlizer) UpgradeRuntimeInputToGraphQL(in gqlschema.UpgradeRuntimeInput) (string, error)
Click to show internal directories.
Click to hide internal directories.