Documentation ¶
Index ¶
- func NewFakeClient() *fakeClient
- type Client
- 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) 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)
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) DeprovisionRuntime(accountID, runtimeID string) (string, error) ReconnectRuntimeAgent(accountID, runtimeID string) (string, error) RuntimeOperationStatus(accountID, operationID string) (schema.OperationStatus, error) }
func NewProvisionerClient ¶
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) 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)
Click to show internal directories.
Click to hide internal directories.