gitlab

package
v0.0.0-...-b08aade Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2020 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const ApiSuffix = "/api/v4"

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(baseUrl, token string, logger *log.Logger) *Client

func (*Client) FindAllComposerProjects

func (c *Client) FindAllComposerProjects() ([]*ComposerProject, error)

func (*Client) Validate

func (c *Client) Validate() error

type ComposerProject

type ComposerProject struct {
	Name         string
	Vendor       string
	Project      *gitlab.Project
	Head         *gitlab.Commit
	Tags         []*gitlab.Tag
	ComposerJson map[string]interface{}
}

func (*ComposerProject) GitUrl

func (project *ComposerProject) GitUrl() string

func (*ComposerProject) Type

func (project *ComposerProject) Type() string

Jump to

Keyboard shortcuts

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