atlassian

package
v0.0.0-...-a8af605 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AtlassianConfig

type AtlassianConfig struct {
	BaseUrl    string `yaml:"base_url"`
	Username   string `yaml:"username"`
	Token      string `yaml:"token"`
	ProjectKey string `yaml:"project"`
}

type Body

type Body struct {
	Storage Storage `json:"storage"`
}

type ConfluenceClient

type ConfluenceClient struct {
	// contains filtered or unexported fields
}

func NewConfluenceClient

func NewConfluenceClient(config AtlassianConfig) (*ConfluenceClient, error)

func (ConfluenceClient) InsertIntoBeggining

func (clnt ConfluenceClient) InsertIntoBeggining(spaceId string, pageId string, text string) error

type Storage

type Storage struct {
	Value          string `json:"value"`
	Representation string `json:"representation"`
}

type UpdateBodyRequest

type UpdateBodyRequest struct {
	Type   string  `json:"type"`
	Title  string  `json:"title"`
	Number Version `json:"version"`
	Body   Body    `json:"body"`
}

type Version

type Version struct {
	Number int `json:"number"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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