sdk

package
v0.3.6 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2022 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type All

type All mg.Namespace

func (All) Bump added in v0.3.5

func (t All) Bump(ctx context.Context, engineVersion string) error

Bump SDKs to a specific Engine version

func (All) Generate

func (t All) Generate(ctx context.Context) error

Generate re-generates all SDK APIs

func (All) Lint

func (t All) Lint(ctx context.Context) error

Lint runs all SDK linters

func (All) Publish

func (t All) Publish(ctx context.Context, version string) error

Publish publishes all SDK APIs

func (All) Test

func (t All) Test(ctx context.Context) error

Test runs all SDK tests

type Go

type Go mg.Namespace

func (Go) Bump added in v0.3.5

func (t Go) Bump(ctx context.Context, version string) error

Bump the Go SDK's Engine dependency

func (Go) Generate

func (t Go) Generate(ctx context.Context) error

Generate re-generates the SDK API

func (Go) Lint

func (t Go) Lint(ctx context.Context) error

Lint lints the Go SDK

func (Go) Publish

func (t Go) Publish(ctx context.Context, tag string) error

Publish publishes the Go SDK

func (Go) Test

func (t Go) Test(ctx context.Context) error

Test tests the Go SDK

type Nodejs added in v0.3.5

type Nodejs mg.Namespace

func (Nodejs) Bump added in v0.3.5

func (t Nodejs) Bump(ctx context.Context, version string) error

Bump the Node.js SDK's Engine dependency

func (Nodejs) Generate added in v0.3.5

func (t Nodejs) Generate(ctx context.Context) error

Generate re-generates the SDK API

func (Nodejs) Lint added in v0.3.5

func (t Nodejs) Lint(ctx context.Context) error

Lint lints the Node.js SDK

func (Nodejs) Publish added in v0.3.5

func (t Nodejs) Publish(ctx context.Context, tag string) error

Publish publishes the Node.js SDK

func (Nodejs) Test added in v0.3.5

func (t Nodejs) Test(ctx context.Context) error

Test tests the Node.js SDK

type Python

type Python mg.Namespace

func (Python) Bump added in v0.3.5

func (t Python) Bump(ctx context.Context, version string) error

Bump the Python SDK's Engine dependency

func (Python) Generate

func (t Python) Generate(ctx context.Context) error

Generate re-generates the SDK API

func (Python) Lint

func (t Python) Lint(ctx context.Context) error

Lint lints the Python SDK

func (Python) Publish

func (t Python) Publish(ctx context.Context, tag string) error

Publish publishes the Python SDK

func (Python) Test

func (t Python) Test(ctx context.Context) error

Test tests the Python SDK

type SDK

type SDK interface {
	Lint(ctx context.Context) error
	Test(ctx context.Context) error
	Generate(ctx context.Context) error
	Publish(ctx context.Context, tag string) error
	Bump(ctx context.Context, engineVersion string) error
}

Jump to

Keyboard shortcuts

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