sdk

package
v0.3.4 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2022 License: Apache-2.0 Imports: 13 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) 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) 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 Python

type Python mg.Namespace

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
}

Jump to

Keyboard shortcuts

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