commonmetadata

package
v2.39.1 Latest Latest
Warning

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

Go to latest
Published: May 9, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClientCommonMetadataOps

type ClientCommonMetadataOps struct {
	*httpc.Client
	// contains filtered or unexported fields
}

implements all metadata operations which does not depend on the database

func New

func New(client *httpc.Client, path string) *ClientCommonMetadataOps

func (*ClientCommonMetadataOps) ClearMetadata

func (c *ClientCommonMetadataOps) ClearMetadata() (io.Reader, error)

func (*ClientCommonMetadataOps) DropInconsistentMetadata

func (c *ClientCommonMetadataOps) DropInconsistentMetadata() (metadata io.Reader, err error)

func (*ClientCommonMetadataOps) ExportMetadata

func (c *ClientCommonMetadataOps) ExportMetadata() (metadata io.Reader, err error)

func (*ClientCommonMetadataOps) GetInconsistentMetadata

func (c *ClientCommonMetadataOps) GetInconsistentMetadata() (*hasura.GetInconsistentMetadataResponse, error)

func (*ClientCommonMetadataOps) ReloadMetadata

func (c *ClientCommonMetadataOps) ReloadMetadata() (metadata io.Reader, err error)

func (*ClientCommonMetadataOps) ReplaceMetadata

func (c *ClientCommonMetadataOps) ReplaceMetadata(metadata io.Reader) (io.Reader, error)

func (*ClientCommonMetadataOps) SendCommonMetadataOperation

func (c *ClientCommonMetadataOps) SendCommonMetadataOperation(body interface{}) (*httpc.Response, io.Reader, error)

SendCommonMetadataOperation send any request to metadata endpoint on hasura server by default this should be v1/metadata

func (*ClientCommonMetadataOps) V2ReplaceMetadata

Jump to

Keyboard shortcuts

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