githubv1

package
v1.34.1-20240509211654... Latest Latest
Warning

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

Go to latest
Published: unknown License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_o5_github_v1_ref_map_proto protoreflect.FileDescriptor
View Source
var File_o5_github_v1_webhook_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type DeployerConfig

type DeployerConfig struct {
	Refs []*RefLink `protobuf:"bytes,1,rep,name=refs,proto3" json:"refs,omitempty"`
	// source the named env files, s3:// or local file format
	TargetEnvironments []string `protobuf:"bytes,2,rep,name=target_environments,json=targetEnvironments,proto3" json:"target_environments,omitempty"`
	// contains filtered or unexported fields
}

func (*DeployerConfig) Descriptor deprecated

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

Deprecated: Use DeployerConfig.ProtoReflect.Descriptor instead.

func (*DeployerConfig) GetRefs

func (x *DeployerConfig) GetRefs() []*RefLink

func (*DeployerConfig) GetTargetEnvironments

func (x *DeployerConfig) GetTargetEnvironments() []string

func (*DeployerConfig) ProtoMessage

func (*DeployerConfig) ProtoMessage()

func (*DeployerConfig) ProtoReflect

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

func (*DeployerConfig) Reset

func (x *DeployerConfig) Reset()

func (*DeployerConfig) String

func (x *DeployerConfig) String() string

type PushMessage

type PushMessage struct {

	// The repository owner name. Example pentops
	Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"`
	// The repository name. Example o5-pb
	Repo string `protobuf:"bytes,2,opt,name=repo,proto3" json:"repo,omitempty"`
	// The full git ref that was pushed. Example: refs/heads/main or refs/tags/v3.14.1.
	Ref string `protobuf:"bytes,3,opt,name=ref,proto3" json:"ref,omitempty"`
	// The SHA of the most recent commit on ref before the push.
	Before string `protobuf:"bytes,4,opt,name=before,proto3" json:"before,omitempty"`
	// The SHA of the most recent commit on ref after the push.
	After string `protobuf:"bytes,5,opt,name=after,proto3" json:"after,omitempty"`
	// contains filtered or unexported fields
}

func (*PushMessage) Descriptor deprecated

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

Deprecated: Use PushMessage.ProtoReflect.Descriptor instead.

func (*PushMessage) GetAfter

func (x *PushMessage) GetAfter() string

func (*PushMessage) GetBefore

func (x *PushMessage) GetBefore() string

func (*PushMessage) GetOwner

func (x *PushMessage) GetOwner() string

func (*PushMessage) GetRef

func (x *PushMessage) GetRef() string

func (*PushMessage) GetRepo

func (x *PushMessage) GetRepo() string

func (*PushMessage) ProtoMessage

func (*PushMessage) ProtoMessage()

func (*PushMessage) ProtoReflect

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

func (*PushMessage) Reset

func (x *PushMessage) Reset()

func (*PushMessage) String

func (x *PushMessage) String() string
type RefLink struct {
	Owner    string   `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"`
	Repo     string   `protobuf:"bytes,2,opt,name=repo,proto3" json:"repo,omitempty"`
	RefMatch string   `protobuf:"bytes,3,opt,name=ref_match,json=refMatch,proto3" json:"ref_match,omitempty"` // refs/heads/main or refs/tags/* etc, using wildcards.
	Targets  []string `protobuf:"bytes,4,rep,name=targets,proto3" json:"targets,omitempty"`                   // the name matching a config file
	// contains filtered or unexported fields
}

func (*RefLink) Descriptor deprecated

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

Deprecated: Use RefLink.ProtoReflect.Descriptor instead.

func (*RefLink) GetOwner

func (x *RefLink) GetOwner() string

func (*RefLink) GetRefMatch

func (x *RefLink) GetRefMatch() string

func (*RefLink) GetRepo

func (x *RefLink) GetRepo() string

func (*RefLink) GetTargets

func (x *RefLink) GetTargets() []string

func (*RefLink) ProtoMessage

func (*RefLink) ProtoMessage()

func (*RefLink) ProtoReflect

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

func (*RefLink) Reset

func (x *RefLink) Reset()

func (*RefLink) String

func (x *RefLink) String() string

Jump to

Keyboard shortcuts

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