databaseobject

package
v0.0.0-...-47c0216 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

Client is an DatabaseObject client that conforms to the following lib/services interfaces:

  • services.DatabaseObjects

func NewClient

func NewClient(grpcClient dbobjectv1.DatabaseObjectServiceClient) *Client

NewClient creates a new Database Object client.

func (*Client) CreateDatabaseObject

func (c *Client) CreateDatabaseObject(ctx context.Context, obj *dbobjectv1.DatabaseObject) (*dbobjectv1.DatabaseObject, error)

CreateDatabaseObject creates the DatabaseObject.

func (*Client) DeleteDatabaseObject

func (c *Client) DeleteDatabaseObject(ctx context.Context, name string) error

DeleteDatabaseObject removes the specified DatabaseObject resource.

func (*Client) GetDatabaseObject

func (c *Client) GetDatabaseObject(ctx context.Context, name string) (*dbobjectv1.DatabaseObject, error)

GetDatabaseObject returns the specified DatabaseObject resource.

func (*Client) ListDatabaseObjects

func (c *Client) ListDatabaseObjects(ctx context.Context, pageSize int, nextToken string) ([]*dbobjectv1.DatabaseObject, string, error)

ListDatabaseObjects returns a paginated list of DatabaseObjects.

func (*Client) UpdateDatabaseObject

func (c *Client) UpdateDatabaseObject(ctx context.Context, obj *dbobjectv1.DatabaseObject) (*dbobjectv1.DatabaseObject, error)

UpdateDatabaseObject updates the DatabaseObject.

func (*Client) UpsertDatabaseObject

func (c *Client) UpsertDatabaseObject(ctx context.Context, obj *dbobjectv1.DatabaseObject) (*dbobjectv1.DatabaseObject, error)

UpsertDatabaseObject creates or updates a DatabaseObject.

Jump to

Keyboard shortcuts

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