Documentation
¶
Index ¶
- func SortPluginVars(vars []*PluginVar)
- type PluginDevInfo
- func (m *PluginDevInfo) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *PluginDevInfo) CloneVT() *PluginDevInfo
- func (this *PluginDevInfo) EqualMessageVT(thatMsg any) bool
- func (this *PluginDevInfo) EqualVT(that *PluginDevInfo) bool
- func (x *PluginDevInfo) GetPluginVars() []*PluginVar
- func (v *PluginDevInfo) LookupPluginDevVar(pkgImportPath, varName string) *PluginVar
- func (x *PluginDevInfo) MarshalJSON() ([]byte, error)
- func (x *PluginDevInfo) MarshalProtoJSON(s *json.MarshalState)
- func (x *PluginDevInfo) MarshalProtoText() string
- func (m *PluginDevInfo) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *PluginDevInfo) MarshalToVT(dAtA []byte) (int, error)
- func (m *PluginDevInfo) MarshalVT() (dAtA []byte, err error)
- func (*PluginDevInfo) ProtoMessage()
- func (x *PluginDevInfo) Reset()
- func (m *PluginDevInfo) SizeVT() (n int)
- func (x *PluginDevInfo) String() string
- func (x *PluginDevInfo) UnmarshalJSON(b []byte) error
- func (x *PluginDevInfo) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *PluginDevInfo) UnmarshalVT(dAtA []byte) error
- type PluginVar
- func (m *PluginVar) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *PluginVar) CloneVT() *PluginVar
- func (this *PluginVar) EqualMessageVT(thatMsg any) bool
- func (this *PluginVar) EqualVT(that *PluginVar) bool
- func (m *PluginVar) GetBody() isPluginVar_Body
- func (x *PluginVar) GetPkgImportPath() string
- func (x *PluginVar) GetPkgVar() string
- func (x *PluginVar) GetStringValue() string
- func (v *PluginVar) GetVariablePath() string
- func (x *PluginVar) GetWebBundlerOutput() *bundler.WebBundlerOutput
- func (v *PluginVar) GetWebBundlerOutputValue() bldr_web_bundler.WebBundlerOutput
- func (x *PluginVar) MarshalJSON() ([]byte, error)
- func (x *PluginVar) MarshalProtoJSON(s *json.MarshalState)
- func (x *PluginVar) MarshalProtoText() string
- func (m *PluginVar) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *PluginVar) MarshalToVT(dAtA []byte) (int, error)
- func (m *PluginVar) MarshalVT() (dAtA []byte, err error)
- func (*PluginVar) ProtoMessage()
- func (x *PluginVar) Reset()
- func (m *PluginVar) SizeVT() (n int)
- func (x *PluginVar) String() string
- func (x *PluginVar) UnmarshalJSON(b []byte) error
- func (x *PluginVar) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *PluginVar) UnmarshalVT(dAtA []byte) error
- type PluginVar_StringValue
- func (m *PluginVar_StringValue) CloneOneofVT() isPluginVar_Body
- func (m *PluginVar_StringValue) CloneVT() *PluginVar_StringValue
- func (this *PluginVar_StringValue) EqualVT(thatIface isPluginVar_Body) bool
- func (m *PluginVar_StringValue) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *PluginVar_StringValue) MarshalToVT(dAtA []byte) (int, error)
- func (m *PluginVar_StringValue) SizeVT() (n int)
- type PluginVar_WebBundlerOutput
- func (m *PluginVar_WebBundlerOutput) CloneOneofVT() isPluginVar_Body
- func (m *PluginVar_WebBundlerOutput) CloneVT() *PluginVar_WebBundlerOutput
- func (this *PluginVar_WebBundlerOutput) EqualVT(thatIface isPluginVar_Body) bool
- func (m *PluginVar_WebBundlerOutput) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *PluginVar_WebBundlerOutput) MarshalToVT(dAtA []byte) (int, error)
- func (m *PluginVar_WebBundlerOutput) SizeVT() (n int)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SortPluginVars ¶
func SortPluginVars(vars []*PluginVar)
SortPluginVars sorts a slice of plugin vars.
Types ¶
type PluginDevInfo ¶
type PluginDevInfo struct {
// PluginVars is the set of variables to set at init time by the development plugin.
PluginVars []*PluginVar `protobuf:"bytes,1,rep,name=plugin_vars,json=pluginVars,proto3" json:"pluginVars,omitempty"`
// contains filtered or unexported fields
}
PluginDevInfo is information passed as a .bin file as part of the development plugin entrypoint.
func (*PluginDevInfo) CloneMessageVT ¶
func (m *PluginDevInfo) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*PluginDevInfo) CloneVT ¶
func (m *PluginDevInfo) CloneVT() *PluginDevInfo
func (*PluginDevInfo) EqualMessageVT ¶
func (this *PluginDevInfo) EqualMessageVT(thatMsg any) bool
func (*PluginDevInfo) EqualVT ¶
func (this *PluginDevInfo) EqualVT(that *PluginDevInfo) bool
func (*PluginDevInfo) GetPluginVars ¶
func (x *PluginDevInfo) GetPluginVars() []*PluginVar
func (*PluginDevInfo) LookupPluginDevVar ¶
func (v *PluginDevInfo) LookupPluginDevVar(pkgImportPath, varName string) *PluginVar
LookupPluginDevVar looks up a plugin dev var from the set of vars.
func (*PluginDevInfo) MarshalJSON ¶
func (x *PluginDevInfo) MarshalJSON() ([]byte, error)
MarshalJSON marshals the PluginDevInfo to JSON.
func (*PluginDevInfo) MarshalProtoJSON ¶
func (x *PluginDevInfo) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the PluginDevInfo message to JSON.
func (*PluginDevInfo) MarshalProtoText ¶
func (x *PluginDevInfo) MarshalProtoText() string
func (*PluginDevInfo) MarshalToSizedBufferVT ¶
func (m *PluginDevInfo) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*PluginDevInfo) MarshalToVT ¶
func (m *PluginDevInfo) MarshalToVT(dAtA []byte) (int, error)
func (*PluginDevInfo) MarshalVT ¶
func (m *PluginDevInfo) MarshalVT() (dAtA []byte, err error)
func (*PluginDevInfo) ProtoMessage ¶
func (*PluginDevInfo) ProtoMessage()
func (*PluginDevInfo) Reset ¶
func (x *PluginDevInfo) Reset()
func (*PluginDevInfo) SizeVT ¶
func (m *PluginDevInfo) SizeVT() (n int)
func (*PluginDevInfo) String ¶
func (x *PluginDevInfo) String() string
func (*PluginDevInfo) UnmarshalJSON ¶
func (x *PluginDevInfo) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the PluginDevInfo from JSON.
func (*PluginDevInfo) UnmarshalProtoJSON ¶
func (x *PluginDevInfo) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the PluginDevInfo message from JSON.
func (*PluginDevInfo) UnmarshalVT ¶
func (m *PluginDevInfo) UnmarshalVT(dAtA []byte) error
type PluginVar ¶
type PluginVar struct {
// PkgImportPath is the go package import path.
PkgImportPath string `protobuf:"bytes,1,opt,name=pkg_import_path,json=pkgImportPath,proto3" json:"pkgImportPath,omitempty"`
// PkgVar is the variable within the go package.
PkgVar string `protobuf:"bytes,2,opt,name=pkg_var,json=pkgVar,proto3" json:"pkgVar,omitempty"`
// Body contains the variable value depending on the variable type.
//
// Types that are assignable to Body:
//
// *PluginVar_StringValue
// *PluginVar_WebBundlerOutput
Body isPluginVar_Body `protobuf_oneof:"body"`
// contains filtered or unexported fields
}
PluginVar contains a definition of a variable set by the development plugin entrypoint.
func NewPluginVar ¶
NewPluginVar constructs a new plugin var.
func (*PluginVar) CloneMessageVT ¶
func (m *PluginVar) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*PluginVar) EqualMessageVT ¶
func (*PluginVar) GetPkgImportPath ¶
func (*PluginVar) GetStringValue ¶
func (*PluginVar) GetVariablePath ¶
GetVariablePath returns the package/path.VariableName.
func (*PluginVar) GetWebBundlerOutput ¶
func (x *PluginVar) GetWebBundlerOutput() *bundler.WebBundlerOutput
func (*PluginVar) GetWebBundlerOutputValue ¶
func (v *PluginVar) GetWebBundlerOutputValue() bldr_web_bundler.WebBundlerOutput
GetWebBundlerOutputValue returns the dereferenced value of WebBundlerOutput or empty if unset.
func (*PluginVar) MarshalJSON ¶
MarshalJSON marshals the PluginVar to JSON.
func (*PluginVar) MarshalProtoJSON ¶
func (x *PluginVar) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the PluginVar message to JSON.
func (*PluginVar) MarshalProtoText ¶
func (*PluginVar) MarshalToSizedBufferVT ¶
func (*PluginVar) ProtoMessage ¶
func (*PluginVar) ProtoMessage()
func (*PluginVar) UnmarshalJSON ¶
UnmarshalJSON unmarshals the PluginVar from JSON.
func (*PluginVar) UnmarshalProtoJSON ¶
func (x *PluginVar) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the PluginVar message from JSON.
func (*PluginVar) UnmarshalVT ¶
type PluginVar_StringValue ¶
type PluginVar_StringValue struct {
// StringValue is a value set to a string variable.
StringValue string `protobuf:"bytes,3,opt,name=string_value,json=stringValue,proto3,oneof"`
}
func (*PluginVar_StringValue) CloneOneofVT ¶
func (m *PluginVar_StringValue) CloneOneofVT() isPluginVar_Body
func (*PluginVar_StringValue) CloneVT ¶
func (m *PluginVar_StringValue) CloneVT() *PluginVar_StringValue
func (*PluginVar_StringValue) EqualVT ¶
func (this *PluginVar_StringValue) EqualVT(thatIface isPluginVar_Body) bool
func (*PluginVar_StringValue) MarshalToSizedBufferVT ¶
func (m *PluginVar_StringValue) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*PluginVar_StringValue) MarshalToVT ¶
func (m *PluginVar_StringValue) MarshalToVT(dAtA []byte) (int, error)
func (*PluginVar_StringValue) SizeVT ¶
func (m *PluginVar_StringValue) SizeVT() (n int)
type PluginVar_WebBundlerOutput ¶
type PluginVar_WebBundlerOutput struct {
// WebBundlerOutput is a web bundler build output / entrypoint.
WebBundlerOutput *bundler.WebBundlerOutput `protobuf:"bytes,4,opt,name=web_bundler_output,json=webBundlerOutput,proto3,oneof"`
}
func (*PluginVar_WebBundlerOutput) CloneOneofVT ¶
func (m *PluginVar_WebBundlerOutput) CloneOneofVT() isPluginVar_Body
func (*PluginVar_WebBundlerOutput) CloneVT ¶
func (m *PluginVar_WebBundlerOutput) CloneVT() *PluginVar_WebBundlerOutput
func (*PluginVar_WebBundlerOutput) EqualVT ¶
func (this *PluginVar_WebBundlerOutput) EqualVT(thatIface isPluginVar_Body) bool
func (*PluginVar_WebBundlerOutput) MarshalToSizedBufferVT ¶
func (m *PluginVar_WebBundlerOutput) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*PluginVar_WebBundlerOutput) MarshalToVT ¶
func (m *PluginVar_WebBundlerOutput) MarshalToVT(dAtA []byte) (int, error)
func (*PluginVar_WebBundlerOutput) SizeVT ¶
func (m *PluginVar_WebBundlerOutput) SizeVT() (n int)