codePushAdapter

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2020 License: GPL-3.0 Imports: 6 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 {
	log.Logger
	*Options
	adapterkit.Adaptable
	// contains filtered or unexported fields
}

func New

func New(logger log.Logger, fns ...func(*Options)) *Client

func (*Client) CreateBranch

func (c *Client) CreateBranch(ctx context.Context, branchName []byte) (*pb.BranchResponse, error)

func (*Client) CreateEnv

func (c *Client) CreateEnv(ctx context.Context, branchId, envName []byte) (*pb.EnvResponse, error)

func (*Client) DeleteBranch

func (c *Client) DeleteBranch(ctx context.Context, branchId []byte) error

func (*Client) DeleteEnv

func (c *Client) DeleteEnv(ctx context.Context, envId []byte) error

func (*Client) GetBranchEncToken

func (c *Client) GetBranchEncToken(ctx context.Context, branchId []byte) ([]byte, error)

func (*Client) GetEnv

func (c *Client) GetEnv(ctx context.Context, envId []byte) (*pb.EnvResponse, error)

func (*Client) GetEnvEncToken

func (c *Client) GetEnvEncToken(ctx context.Context, envId []byte) ([]byte, error)

func (*Client) GetVersion

func (c *Client) GetVersion(ctx context.Context, envId, appVersion []byte) (*pb.VersionResponse, error)

func (*Client) ReleaseVersion

func (c *Client) ReleaseVersion(ctx context.Context, params *pb.VersionReleaseRequest) error

func (*Client) VersionStrictCompatQuery

func (c *Client) VersionStrictCompatQuery(ctx context.Context, envId, appVersion []byte) (*pb.VersionStrictCompatQueryResponse, error)

type Options

type Options struct {
	ServerAddr string
}

Jump to

Keyboard shortcuts

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