jsmops

package module
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2024 License: MIT Imports: 10 Imported by: 0

README

go-jsmops

Simple library for calling the Jira Service Management operations REST API with go.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type APIClient

type APIClient struct {
	Alert AlertsManager
	// contains filtered or unexported fields
}

APIClient ...

func Init

func Init(cloudID, apiToken, userName string, options *ClientOptions) *APIClient

Init initializes the package

func (*APIClient) BackupJSON

func (client *APIClient) BackupJSON(fileName string, data interface{}) error

BackupJSON ...

type APIError

type APIError struct {
	APIError string
	// contains filtered or unexported fields
}

APIError ...

type ClientOptions

type ClientOptions struct {
	Level  LogLevel
	Logger *logrus.Logger
}

ClientOptions ...

func EmptyOptions

func EmptyOptions() *ClientOptions

EmptyOptions ...

func NewOptions

func NewOptions() *ClientOptions

type LogLevel

type LogLevel int
const (
	LogError LogLevel = iota
	LogInfo
	LogDebug
)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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