Documentation ¶
Index ¶
- func GetList(ctx context.Context, srv rpc.ArduinoCoreServiceServer, inst *rpc.Instance, ...) []*rpc.PlatformSummary
- func List(ctx context.Context, srv rpc.ArduinoCoreServiceServer, inst *rpc.Instance, ...)
- func NewCommand(srv rpc.ArduinoCoreServiceServer) *cobra.Command
- func UpdateIndex(ctx context.Context, srv rpc.ArduinoCoreServiceServer, inst *rpc.Instance) *rpc.UpdateIndexResponse_Result
- func Upgrade(ctx context.Context, srv rpc.ArduinoCoreServiceServer, inst *rpc.Instance, ...)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetList ¶
func GetList(ctx context.Context, srv rpc.ArduinoCoreServiceServer, inst *rpc.Instance, all bool, updatableOnly bool) []*rpc.PlatformSummary
GetList returns a list of installed platforms.
func List ¶
func List(ctx context.Context, srv rpc.ArduinoCoreServiceServer, inst *rpc.Instance, all bool, updatableOnly bool)
List gets and prints a list of installed platforms.
func NewCommand ¶
func NewCommand(srv rpc.ArduinoCoreServiceServer) *cobra.Command
NewCommand created a new `core` command
func UpdateIndex ¶
func UpdateIndex(ctx context.Context, srv rpc.ArduinoCoreServiceServer, inst *rpc.Instance) *rpc.UpdateIndexResponse_Result
UpdateIndex updates the index of platforms.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.