remote

package
v2.2.0 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

func (Client) Create

func (c Client) Create(ctx context.Context, params *CreateParams) error

func (Client) Delete

func (c Client) Delete(ctx context.Context, remoteID string) error

func (Client) List

func (c Client) List(ctx context.Context, params *ListParams) error

func (Client) Update

func (c Client) Update(ctx context.Context, params *UpdateParams) error

type CreateParams

type CreateParams struct {
	Name             string
	Description      string
	OrgID            string
	OrgName          string
	RemoteURL        string
	RemoteAPIToken   string
	RemoteOrgID      string
	AllowInsecureTLS bool
}

type ListParams

type ListParams struct {
	Name      string
	OrgID     string
	OrgName   string
	RemoteURL string
}

type UpdateParams

type UpdateParams struct {
	RemoteID         string
	Name             string
	Description      string
	RemoteURL        string
	RemoteAPIToken   string
	RemoteOrgID      string
	AllowInsecureTLS bool
	TLSFlagIsSet     bool
}

Jump to

Keyboard shortcuts

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