user

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

func New

func New(cnf *config.Config) *Client

func (*Client) Get

func (*Client) ListVcsConnections

func (c *Client) ListVcsConnections(input *ListVcsConnectionsInput) (*ListVcsConnectionsOutput, error)

type GetVcsConnectionInput

type GetVcsConnectionInput struct {
	VcsConnectionId int
}

type GetVcsConnectionOutput

type GetVcsConnectionOutput struct {
	VcsConnection *VcsConnection `json:"vcs_connection"`
}

type ListVcsConnectionsInput

type ListVcsConnectionsInput struct {
}

func (*ListVcsConnectionsInput) ToQueryParams

func (*ListVcsConnectionsInput) ToQueryParams() map[string]string

type ListVcsConnectionsOutput

type ListVcsConnectionsOutput struct {
	VcsConnections *VcsConnection `json:"vcs_connections"`
}

type VcsConnection

type VcsConnection struct {
	Id       int       `json:"id"`
	Method   string    `json:"method,omitempty"`
	Provider string    `json:"provider"`
	Host     string    `json:"host,omitempty"`
	Email    string    `json:"email,omitempty"`
	Uid      string    `json:"uid,omitempty"`
	Expiry   time.Time `json:"expiry,omitempty"`

	CreatedAt time.Time `json:"created_at,omitempty"`
	UpdatedAt time.Time `json:"updated_at,omitempty"`
}

Jump to

Keyboard shortcuts

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