provisioner

package
v0.0.0-...-baf11bc Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 2, 2020 License: Apache-2.0, Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

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

func NewProvisionerClient(endpoint string, queryDumping bool) Client

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)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL