Documentation
¶
Index ¶
- Variables
- type State
- func (*State) Descriptor() ([]byte, []int)deprecated
- func (st *State) FromENV(v string) error
- func (x *State) GetGitPath() string
- func (x *State) GetRetrying() bool
- func (x *State) GetSelfPath() string
- func (*State) ProtoMessage()
- func (x *State) ProtoReflect() protoreflect.Message
- func (x *State) Reset()
- func (x *State) String() string
- func (st *State) ToENV() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_infra_tools_git_state_state_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type State ¶
type State struct { // SelfPath is the absolute path to the current process. SelfPath string `protobuf:"bytes,1,opt,name=self_path,json=selfPath,proto3" json:"self_path,omitempty"` // GitPath is the absolute path of the Git executable that was identified. GitPath string `protobuf:"bytes,2,opt,name=git_path,json=gitPath,proto3" json:"git_path,omitempty"` // Retrying, if true, means that we are running in the context of a previous // wrapper that is, itself, applying retry criteria. Retrying bool `protobuf:"varint,3,opt,name=retrying,proto3" json:"retrying,omitempty"` // contains filtered or unexported fields }
State is the persistent wrapper state. It is exported by a Git wrapper process as encoded JSON using the "gitWrapperENV" environment variable.
func (*State) Descriptor
deprecated
func (*State) GetGitPath ¶
func (*State) GetRetrying ¶
func (*State) GetSelfPath ¶
func (*State) ProtoMessage ¶
func (*State) ProtoMessage()
func (*State) ProtoReflect ¶
func (x *State) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.