proxy

package
v0.0.0-...-a409191 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Access

type Access struct {
	TeamSlug    string
	AccessLevel string
}

type GraphQlClient

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

func CreateGraphQlClient

func CreateGraphQlClient(org string, apiToken string, debug bool) *GraphQlClient

func (*GraphQlClient) GetAccessAndSchedules

func (client *GraphQlClient) GetAccessAndSchedules() ([]*PipelineAccessAndSchedules, error)

type Pipeline

type Pipeline struct {
	*buildkite.Pipeline
	Details *PipelineAccessAndSchedules
}

type PipelineAccessAndSchedules

type PipelineAccessAndSchedules struct {
	Name      string
	Public    bool
	Access    []Access
	Schedules []Schedule
}

type Proxy

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

func CreateProxy

func CreateProxy(org, apiToken string, debug bool) (*Proxy, error)

func (*Proxy) GetPipelines

func (proxy *Proxy) GetPipelines() ([]*Pipeline, error)

type RestClient

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

func CreateRestClient

func CreateRestClient(org string, apiToken string, debug bool) (*RestClient, error)

func (*RestClient) GetBasicSettings

func (client *RestClient) GetBasicSettings() ([]buildkite.Pipeline, error)

type Schedule

type Schedule struct {
	Id       string
	Label    string
	Cronline string
	Branch   string
	Commit   string
	Env      []string
	Enabled  bool
	Message  string
}

Jump to

Keyboard shortcuts

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