mutation

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2020 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CreateTenant = graphql.NewRequest(`
   mutation ($databaseUrl: String!, $region: String!, $cloud: String!, $name: String) {
       createTenant (name:$name, region:$region, databaseUrl:$databaseUrl, cloud:$cloud) {
           id
           name
       }
   }
`)
View Source
var DeleteTenant = graphql.NewRequest(`
   mutation ($tenantId: uuid!) {
       deleteTenant (tenantId:$tenantId) {
           status
       }
   }
`)

Functions

This section is empty.

Types

type CreateTenantResponse

type CreateTenantResponse struct {
	CreateTenant struct {
		ID   string
		Name string
	}
}

type DeleteTenantResponse

type DeleteTenantResponse struct {
	DeleteTenant struct {
		Status string
	}
}

Jump to

Keyboard shortcuts

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