models

package
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2025 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ExtendedRepository

type ExtendedRepository struct {
	ProjectKey     string                               `yaml:"projectKey,omitempty"`
	RepositorySlug string                               `yaml:"repositorySlug,omitempty"`
	RestRepository openapi.RestRepository               `yaml:"repository,omitempty"`
	Webhooks       []openapi.RestWebhook                `yaml:"webhooks,omitempty"`
	Manifest       map[string]interface{}               `yaml:"manifest,omitempty"`
	RequiredBuilds []openapi.RestRequiredBuildCondition `yaml:"requiredBuilds,omitempty"`
}

Extended repository struct

type ProjectList added in v0.4.1

type ProjectList struct {
	Projects []string `yaml:"projects"`
}

type ProjectYaml added in v0.4.1

type ProjectYaml struct {
	Projects []openapi.RestProject `yaml:"projects"`
}

type RepositoryOptions

type RepositoryOptions struct {
	Repository     bool
	Webhooks       bool
	DefaultBranch  bool
	Manifest       bool
	ManifestPath   *string
	RequiredBuilds bool
}

type RepositoryYaml

type RepositoryYaml struct {
	Repositories []ExtendedRepository `yaml:"repositories"`
}

type WebhookResponse

type WebhookResponse struct {
	Size       int                   `json:"size"`
	Limit      int                   `json:"limit"`
	IsLastPage bool                  `json:"isLastPage"`
	Values     []openapi.RestWebhook `json:"values"`
	Start      int                   `json:"start"`
}

Jump to

Keyboard shortcuts

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