api

package
v0.0.0-...-9d5f4ac Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2025 License: Apache-2.0 Imports: 4 Imported by: 1

Documentation

Overview

Package api contains CIPD backend API definitions.

Index

Constants

This section is empty.

Variables

View Source
var File_go_chromium_org_luci_cipd_api_config_v1_config_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type BootstrapConfig

type BootstrapConfig struct {

	// The package prefix of matching packages e.g. "infra/tools/my-tool".
	Prefix string `protobuf:"bytes,1,opt,name=prefix,proto3" json:"prefix,omitempty"`
	// contains filtered or unexported fields
}

BootstrapConfig defines a set of bootstrap packages under a single prefix.

Each package should contain exactly one file (presumable an executable). It will be extracted and put into the storage, to allow the CIPD backend to generate direct download URLs to it. This is useful to allow clients to directly download such binaries.

func (*BootstrapConfig) Descriptor deprecated

func (*BootstrapConfig) Descriptor() ([]byte, []int)

Deprecated: Use BootstrapConfig.ProtoReflect.Descriptor instead.

func (*BootstrapConfig) GetPrefix

func (x *BootstrapConfig) GetPrefix() string

func (*BootstrapConfig) ProtoMessage

func (*BootstrapConfig) ProtoMessage()

func (*BootstrapConfig) ProtoReflect

func (x *BootstrapConfig) ProtoReflect() protoreflect.Message

func (*BootstrapConfig) Reset

func (x *BootstrapConfig) Reset()

func (*BootstrapConfig) String

func (x *BootstrapConfig) String() string

type BootstrapConfigFile

type BootstrapConfigFile struct {

	// A list of all known bootstrap packages, will be scanned in order.
	BootstrapConfig []*BootstrapConfig `protobuf:"bytes,1,rep,name=bootstrap_config,json=bootstrapConfig,proto3" json:"bootstrap_config,omitempty"`
	// contains filtered or unexported fields
}

A schema for the bootstrap.cfg config file.

It defines a list of packages that contain executables that should be accessible via direct download URLs.

func (*BootstrapConfigFile) Descriptor deprecated

func (*BootstrapConfigFile) Descriptor() ([]byte, []int)

Deprecated: Use BootstrapConfigFile.ProtoReflect.Descriptor instead.

func (*BootstrapConfigFile) GetBootstrapConfig

func (x *BootstrapConfigFile) GetBootstrapConfig() []*BootstrapConfig

func (*BootstrapConfigFile) ProtoMessage

func (*BootstrapConfigFile) ProtoMessage()

func (*BootstrapConfigFile) ProtoReflect

func (x *BootstrapConfigFile) ProtoReflect() protoreflect.Message

func (*BootstrapConfigFile) Reset

func (x *BootstrapConfigFile) Reset()

func (*BootstrapConfigFile) String

func (x *BootstrapConfigFile) String() string

Jump to

Keyboard shortcuts

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