clients

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAccessKeyClient

func NewAccessKeyClient(c Config) bitbucket.KeyClientAPI

NewAccessKeyClient creates a new client for the access key api

func NewClient

func NewClient(c Config) *rest.Client

NewClient creates new Bitbucket Client with provided base URL and credentials

func NewWebhookClient

func NewWebhookClient(c Config) bitbucket.WebhookClientAPI

NewWebhookClient creates a new client for the webhook api

Types

type Config

type Config struct {
	Token     string
	BaseURL   string
	TLSConfig *tls.Config
}

Config provides configuration for the bitbucket client

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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