Documentation ¶
Index ¶
- type State
- func (*State) Descriptor() ([]byte, []int)
- func (st *State) FromENV(v string) error
- func (m *State) GetGitPath() string
- func (m *State) GetRetrying() bool
- func (m *State) GetSelfPath() string
- func (*State) ProtoMessage()
- func (m *State) Reset()
- func (m *State) String() string
- func (st *State) ToENV() string
- func (m *State) XXX_DiscardUnknown()
- func (m *State) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *State) XXX_Merge(src proto.Message)
- func (m *State) XXX_Size() int
- func (m *State) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
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 ¶
func (*State) GetGitPath ¶
func (*State) GetRetrying ¶
func (*State) GetSelfPath ¶
func (*State) ProtoMessage ¶
func (*State) ProtoMessage()
func (*State) XXX_DiscardUnknown ¶
func (m *State) XXX_DiscardUnknown()
func (*State) XXX_Marshal ¶
func (*State) XXX_Unmarshal ¶
Click to show internal directories.
Click to hide internal directories.