connection

package
v1.54.0 Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Types = struct {
	Basic      Type
	CloudToken Type
	Pat        Type
}{
	"basic",
	"cloud-token",
	"pat",
}

Functions

This section is empty.

Types

type Settings

type Settings struct {
	Name     string  `json:"name"`               // The name of the Jira connection
	Password *string `json:"password,omitempty"` // Password of the Jira user
	Token    *string `json:"token,omitempty"`    // Token for the selected authentication type
	Type     Type    `json:"type"`               // Possible Values: `Basic`, `Cloud_token`, `Pat`
	Url      string  `json:"url"`                // URL of the Jira server
	User     *string `json:"user,omitempty"`     // Username or E-Mail address
}

func (*Settings) FillDemoValues

func (me *Settings) FillDemoValues() []string

func (*Settings) HandlePreconditions

func (me *Settings) HandlePreconditions() error

func (*Settings) MarshalHCL

func (me *Settings) MarshalHCL(properties hcl.Properties) error

func (*Settings) Schema

func (me *Settings) Schema() map[string]*schema.Schema

func (*Settings) UnmarshalHCL

func (me *Settings) UnmarshalHCL(decoder hcl.Decoder) error

type Type

type Type string

Jump to

Keyboard shortcuts

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