Documentation ¶
Index ¶
- Variables
- type DeployerConfig
- func (*DeployerConfig) Descriptor() ([]byte, []int)deprecated
- func (x *DeployerConfig) GetRefs() []*RefLink
- func (x *DeployerConfig) GetTargetEnvironments() []string
- func (*DeployerConfig) ProtoMessage()
- func (x *DeployerConfig) ProtoReflect() protoreflect.Message
- func (x *DeployerConfig) Reset()
- func (x *DeployerConfig) String() string
- type PushMessage
- func (*PushMessage) Descriptor() ([]byte, []int)deprecated
- func (x *PushMessage) GetAfter() string
- func (x *PushMessage) GetBefore() string
- func (x *PushMessage) GetOwner() string
- func (x *PushMessage) GetRef() string
- func (x *PushMessage) GetRepo() string
- func (*PushMessage) ProtoMessage()
- func (x *PushMessage) ProtoReflect() protoreflect.Message
- func (x *PushMessage) Reset()
- func (x *PushMessage) String() string
- type RefLink
- func (*RefLink) Descriptor() ([]byte, []int)deprecated
- func (x *RefLink) GetOwner() string
- func (x *RefLink) GetRefMatch() string
- func (x *RefLink) GetRepo() string
- func (x *RefLink) GetTargets() []string
- func (*RefLink) ProtoMessage()
- func (x *RefLink) ProtoReflect() protoreflect.Message
- func (x *RefLink) Reset()
- func (x *RefLink) String() string
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 ¶
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) ProtoReflect ¶
func (x *RefLink) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.