blob: 15c871362207afaa19f22aaa27fbbf51df9dd41a [file] [log] [blame]
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: go.chromium.org/luci/common/proto/config/project_config.proto
package config
import (
fmt "fmt"
proto "github.com/golang/protobuf/proto"
_ "go.chromium.org/luci/common/proto"
math "math"
)
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
// Schema for project.cfg
type ProjectCfg struct {
// Full name of the project.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// A list of identities that have read-only access to the project.
//
// An element is one of:
// * "group:<group>", where group is defined on auth server.
// * "<email>"
// * "<kind>:<value>" (for non-email identities)
//
// If not specified, only admins and trusted services have access.
// Talk to admins to determine the group name appropriate for your project.
Access []string `protobuf:"bytes,2,rep,name=access,proto3" json:"access,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ProjectCfg) Reset() { *m = ProjectCfg{} }
func (m *ProjectCfg) String() string { return proto.CompactTextString(m) }
func (*ProjectCfg) ProtoMessage() {}
func (*ProjectCfg) Descriptor() ([]byte, []int) {
return fileDescriptor_3bbe7f657c95f8f6, []int{0}
}
func (m *ProjectCfg) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ProjectCfg.Unmarshal(m, b)
}
func (m *ProjectCfg) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ProjectCfg.Marshal(b, m, deterministic)
}
func (m *ProjectCfg) XXX_Merge(src proto.Message) {
xxx_messageInfo_ProjectCfg.Merge(m, src)
}
func (m *ProjectCfg) XXX_Size() int {
return xxx_messageInfo_ProjectCfg.Size(m)
}
func (m *ProjectCfg) XXX_DiscardUnknown() {
xxx_messageInfo_ProjectCfg.DiscardUnknown(m)
}
var xxx_messageInfo_ProjectCfg proto.InternalMessageInfo
func (m *ProjectCfg) GetName() string {
if m != nil {
return m.Name
}
return ""
}
func (m *ProjectCfg) GetAccess() []string {
if m != nil {
return m.Access
}
return nil
}
// Schema of refs.cfg.
type RefsCfg struct {
// List of refs that have configuration files and need to be fetched into
// luci-config. Refs are accessible through get_refs() API endpoint.
// A CI service can read all refs of all projects and build them.
Refs []*RefsCfg_Ref `protobuf:"bytes,1,rep,name=refs,proto3" json:"refs,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *RefsCfg) Reset() { *m = RefsCfg{} }
func (m *RefsCfg) String() string { return proto.CompactTextString(m) }
func (*RefsCfg) ProtoMessage() {}
func (*RefsCfg) Descriptor() ([]byte, []int) {
return fileDescriptor_3bbe7f657c95f8f6, []int{1}
}
func (m *RefsCfg) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_RefsCfg.Unmarshal(m, b)
}
func (m *RefsCfg) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_RefsCfg.Marshal(b, m, deterministic)
}
func (m *RefsCfg) XXX_Merge(src proto.Message) {
xxx_messageInfo_RefsCfg.Merge(m, src)
}
func (m *RefsCfg) XXX_Size() int {
return xxx_messageInfo_RefsCfg.Size(m)
}
func (m *RefsCfg) XXX_DiscardUnknown() {
xxx_messageInfo_RefsCfg.DiscardUnknown(m)
}
var xxx_messageInfo_RefsCfg proto.InternalMessageInfo
func (m *RefsCfg) GetRefs() []*RefsCfg_Ref {
if m != nil {
return m.Refs
}
return nil
}
type RefsCfg_Ref struct {
// Name of the ref. Must start with "refs/".
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Path to config directory for the ref. Defaults to "infra/config".
ConfigPath string `protobuf:"bytes,3,opt,name=config_path,json=configPath,proto3" json:"config_path,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *RefsCfg_Ref) Reset() { *m = RefsCfg_Ref{} }
func (m *RefsCfg_Ref) String() string { return proto.CompactTextString(m) }
func (*RefsCfg_Ref) ProtoMessage() {}
func (*RefsCfg_Ref) Descriptor() ([]byte, []int) {
return fileDescriptor_3bbe7f657c95f8f6, []int{1, 0}
}
func (m *RefsCfg_Ref) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_RefsCfg_Ref.Unmarshal(m, b)
}
func (m *RefsCfg_Ref) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_RefsCfg_Ref.Marshal(b, m, deterministic)
}
func (m *RefsCfg_Ref) XXX_Merge(src proto.Message) {
xxx_messageInfo_RefsCfg_Ref.Merge(m, src)
}
func (m *RefsCfg_Ref) XXX_Size() int {
return xxx_messageInfo_RefsCfg_Ref.Size(m)
}
func (m *RefsCfg_Ref) XXX_DiscardUnknown() {
xxx_messageInfo_RefsCfg_Ref.DiscardUnknown(m)
}
var xxx_messageInfo_RefsCfg_Ref proto.InternalMessageInfo
func (m *RefsCfg_Ref) GetName() string {
if m != nil {
return m.Name
}
return ""
}
func (m *RefsCfg_Ref) GetConfigPath() string {
if m != nil {
return m.ConfigPath
}
return ""
}
func init() {
proto.RegisterType((*ProjectCfg)(nil), "config.ProjectCfg")
proto.RegisterType((*RefsCfg)(nil), "config.RefsCfg")
proto.RegisterType((*RefsCfg_Ref)(nil), "config.RefsCfg.Ref")
}
func init() {
proto.RegisterFile("go.chromium.org/luci/common/proto/config/project_config.proto", fileDescriptor_3bbe7f657c95f8f6)
}
var fileDescriptor_3bbe7f657c95f8f6 = []byte{
// 248 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x90, 0xc1, 0x4a, 0xc4, 0x30,
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