Help us shape the future of Go! Take the 2026 Go Developer Survey

s4wave_wizard

package
v0.57.21 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 2, 2026 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

View Source
const SRPCObjectWizardRegistryResourceServiceServiceID = "s4wave.wizard.ObjectWizardRegistryResourceService"
View Source
const SRPCWizardResourceServiceServiceID = "s4wave.wizard.WizardResourceService"
View Source
const WizardTypePrefix = "wizard/"

WizardTypePrefix is the prefix for all wizard object type IDs.

Variables

View Source
var (
	// ErrWizardRequired is returned when RegisterWizard has no wizard body.
	ErrWizardRequired = errors.New("wizard registration is required")
	// ErrWizardTypeIDRequired is returned when a wizard registration has no type id.
	ErrWizardTypeIDRequired = errors.New("wizard type id is required")
	// ErrWizardPluginIDRequired is returned when a wizard registration has no plugin id.
	ErrWizardPluginIDRequired = errors.New("wizard plugin id is required")
	// ErrWizardNameRequired is returned when a wizard registration has no display name.
	ErrWizardNameRequired = errors.New("wizard display name is required")
	// ErrWizardAlreadyRegistered is returned when a dynamic wizard type id is already registered.
	ErrWizardAlreadyRegistered = errors.New("wizard type id is already registered")
)
View Source
var (
	GitCloneProgressState_name = map[int32]string{
		0: "GIT_CLONE_PROGRESS_STATE_IDLE",
		1: "GIT_CLONE_PROGRESS_STATE_RUNNING",
		2: "GIT_CLONE_PROGRESS_STATE_DONE",
		3: "GIT_CLONE_PROGRESS_STATE_FAILED",
	}
	GitCloneProgressState_value = map[string]int32{
		"GIT_CLONE_PROGRESS_STATE_IDLE":    0,
		"GIT_CLONE_PROGRESS_STATE_RUNNING": 1,
		"GIT_CLONE_PROGRESS_STATE_DONE":    2,
		"GIT_CLONE_PROGRESS_STATE_FAILED":  3,
	}
)

Enum value maps for GitCloneProgressState.

View Source
var (
	IntroWizardRegion_name = map[int32]string{
		0: "INTRO_WIZARD_REGION_UNSPECIFIED",
		1: "INTRO_WIZARD_REGION_TOP",
		2: "INTRO_WIZARD_REGION_CENTER",
		3: "INTRO_WIZARD_REGION_BOTTOM_RIGHT",
		4: "INTRO_WIZARD_REGION_LEFT",
	}
	IntroWizardRegion_value = map[string]int32{
		"INTRO_WIZARD_REGION_UNSPECIFIED":  0,
		"INTRO_WIZARD_REGION_TOP":          1,
		"INTRO_WIZARD_REGION_CENTER":       2,
		"INTRO_WIZARD_REGION_BOTTOM_RIGHT": 3,
		"INTRO_WIZARD_REGION_LEFT":         4,
	}
)

Enum value maps for IntroWizardRegion.

View Source
var CreateWizardObjectOpId = "spacewave/wizard/create"

CreateWizardObjectOpId is the operation id for CreateWizardObjectOp.

View Source
var ObjectWizards = []*ObjectWizard{
	{
		TypeId:             "alpha/object-layout",
		DisplayName:        "Object Layout",
		Description:        "Arrange space objects in a grid layout",
		Category:           "Layout",
		IconName:           "LuLayoutGrid",
		CreateOpId:         "space/world/init-object-layout",
		DefaultNamePattern: "Layout",
		KeyPrefix:          "object-layout/",
	},
	{
		TypeId:             "canvas",
		DisplayName:        "Canvas",
		Description:        "Freeform canvas for drawing and layout",
		Category:           "Layout",
		IconName:           "LuLayoutGrid",
		CreateOpId:         "space/world/init-canvas",
		DefaultNamePattern: "Canvas",
		KeyPrefix:          "canvas/",
	},
	{
		TypeId:             "unixfs/fs-node",
		DisplayName:        "Filesystem",
		Description:        "Shared filesystem for files and folders",
		Category:           "Files",
		IconName:           "LuHardDrive",
		CreateOpId:         "space/world/init-unixfs",
		DefaultNamePattern: "Files",
		KeyPrefix:          "fs/",
	},
	{
		TypeId:             "spacewave-chat/channel",
		DisplayName:        "Chat Channel",
		Description:        "Real-time chat channel for this space",
		Category:           "Chat",
		IconName:           "LuMessageSquare",
		CreateOpId:         "spacewave-chat/channel/create",
		DefaultNamePattern: "Chat",
		KeyPrefix:          "chat/channel/",
	},
	{
		TypeId:             "git/repo",
		DisplayName:        "Git Repository",
		Description:        "Git repository hosted in this space",
		Category:           "Files",
		IconName:           "LuGitBranch",
		CreateOpId:         "spacewave/git/repo/create",
		DefaultNamePattern: "Repository",
		KeyPrefix:          "git/repo/",
		Persistent:         true,
		WizardTypeId:       "wizard/git/repo",
	},
	{
		TypeId:             "forge/worker",
		DisplayName:        "Forge Worker",
		Description:        "Worker that executes Forge tasks",
		Category:           "Forge",
		IconName:           "LuCpu",
		CreateOpId:         "forge/worker/create",
		DefaultNamePattern: "Worker",
		KeyPrefix:          "forge/worker/",
		Persistent:         true,
		WizardTypeId:       "wizard/forge/worker",
	},
	{
		TypeId:             "spacewave/forge/dashboard",
		DisplayName:        "Forge Dashboard",
		Description:        "Dashboard overview of Forge activity",
		Category:           "Forge",
		IconName:           "LuHammer",
		CreateOpId:         "spacewave/forge/dashboard/create",
		DefaultNamePattern: "Forge",
		KeyPrefix:          "forge/",
	},

	{
		TypeId:             "spacewave/computers",
		DisplayName:        "Computers",
		Description:        "Dashboard of enrolled devices",
		Category:           "Devices",
		IconName:           "LuMonitor",
		CreateOpId:         "spacewave/computers/create",
		DefaultNamePattern: "Computers",
		KeyPrefix:          "computers/",
		Experimental:       true,
	},
	{
		TypeId:             "spacewave/device",
		DisplayName:        "Add Device",
		Description:        "Enroll a device into this space",
		Category:           "Devices",
		IconName:           "LuHardDrive",
		CreateOpId:         "spacewave/wizard/create",
		DefaultNamePattern: "Device",
		KeyPrefix:          "devices/",
		Persistent:         true,
		WizardTypeId:       "wizard/device/add",
	},
	{
		TypeId:             "forge/cluster",
		DisplayName:        "Forge Cluster",
		Description:        "Cluster grouping Forge workers",
		Category:           "Forge",
		IconName:           "LuServer",
		CreateOpId:         "forge/cluster/create",
		DefaultNamePattern: "cluster",
		KeyPrefix:          "forge/cluster/",
		Persistent:         true,
		WizardTypeId:       "wizard/forge/cluster",
	},
	{
		TypeId:             "forge/job",
		DisplayName:        "Forge Job",
		Description:        "Job that schedules Forge tasks",
		Category:           "Forge",
		IconName:           "LuBriefcase",
		CreateOpId:         "spacewave/forge/job/create",
		DefaultNamePattern: "Job",
		KeyPrefix:          "forge/job/",
		Persistent:         true,
		WizardTypeId:       "wizard/forge/job",
	},
	{
		TypeId:             "forge/task",
		DisplayName:        "Forge Task",
		Description:        "Single task executed by a Forge worker",
		Category:           "Forge",
		IconName:           "LuListTodo",
		CreateOpId:         "spacewave/forge/task/create",
		DefaultNamePattern: "Task",
		KeyPrefix:          "forge/task/",
		Persistent:         true,
		WizardTypeId:       "wizard/forge/task",
	},
	{
		TypeId:             "vm/v86",
		DisplayName:        "V86 VM",
		Description:        "x86 virtual machine running in the browser",
		Category:           "VM",
		IconName:           "LuMonitor",
		CreateOpId:         "vm/v86/create",
		DefaultNamePattern: "V86 VM",
		KeyPrefix:          "vm/v86/",
		Persistent:         true,
		WizardTypeId:       "wizard/vm/v86",
		Experimental:       true,
	},
}

ObjectWizards is the list of all registered object wizards.

Functions

func LookupCreateWizardObjectOp

func LookupCreateWizardObjectOp(ctx context.Context, operationTypeID string) (world.Operation, error)

LookupCreateWizardObjectOp looks up a CreateWizardObjectOp operation type.

func NewCreateWizardObjectOpBlock

func NewCreateWizardObjectOpBlock() block.Block

NewCreateWizardObjectOpBlock constructs a new CreateWizardObjectOp block.

func NewSRPCObjectWizardRegistryResourceServiceHandler

func NewSRPCObjectWizardRegistryResourceServiceHandler(impl SRPCObjectWizardRegistryResourceServiceServer, serviceID string) srpc.Handler

NewSRPCObjectWizardRegistryResourceServiceHandler constructs a new RPC handler. serviceID: if empty, uses default: s4wave.wizard.ObjectWizardRegistryResourceService

func NewSRPCWizardResourceServiceHandler

func NewSRPCWizardResourceServiceHandler(impl SRPCWizardResourceServiceServer, serviceID string) srpc.Handler

NewSRPCWizardResourceServiceHandler constructs a new RPC handler. serviceID: if empty, uses default: s4wave.wizard.WizardResourceService

func NewWizardStateBlock

func NewWizardStateBlock() block.Block

NewWizardStateBlock constructs a new WizardState block.

func SRPCRegisterObjectWizardRegistryResourceService

func SRPCRegisterObjectWizardRegistryResourceService(mux srpc.Mux, impl SRPCObjectWizardRegistryResourceServiceServer) error

SRPCRegisterObjectWizardRegistryResourceService registers the implementation with the mux. Uses the default serviceID: s4wave.wizard.ObjectWizardRegistryResourceService

func SRPCRegisterWizardResourceService

func SRPCRegisterWizardResourceService(mux srpc.Mux, impl SRPCWizardResourceServiceServer) error

SRPCRegisterWizardResourceService registers the implementation with the mux. Uses the default serviceID: s4wave.wizard.WizardResourceService

Types

type CreateWizardObjectOp

type CreateWizardObjectOp struct {

	// ObjectKey is the object key for the wizard object.
	ObjectKey string `protobuf:"bytes,1,opt,name=object_key,json=objectKey,proto3" json:"objectKey,omitempty"`
	// WizardTypeId is the wizard type ID (e.g., "wizard/git/repo").
	WizardTypeId string `protobuf:"bytes,2,opt,name=wizard_type_id,json=wizardTypeId,proto3" json:"wizardTypeId,omitempty"`
	// TargetTypeId is the target object type being created.
	TargetTypeId string `protobuf:"bytes,3,opt,name=target_type_id,json=targetTypeId,proto3" json:"targetTypeId,omitempty"`
	// TargetKeyPrefix is the key prefix for the target object.
	TargetKeyPrefix string `protobuf:"bytes,4,opt,name=target_key_prefix,json=targetKeyPrefix,proto3" json:"targetKeyPrefix,omitempty"`
	// Name is the initial name for the target object.
	Name string `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"`
	// Timestamp is the creation time.
	Timestamp *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	// InitialStep is the initial wizard step (0-indexed). Defaults to 0.
	InitialStep int32 `protobuf:"varint,7,opt,name=initial_step,json=initialStep,proto3" json:"initialStep,omitempty"`
	// InitialConfigData is the initial type-specific wizard configuration.
	InitialConfigData []byte `protobuf:"bytes,8,opt,name=initial_config_data,json=initialConfigData,proto3" json:"initialConfigData,omitempty"`
	// contains filtered or unexported fields
}

CreateWizardObjectOp creates a persistent wizard object in the world.

func NewCreateWizardObjectOp

func NewCreateWizardObjectOp(
	objKey string,
	wizardTypeId string,
	targetTypeId string,
	targetKeyPrefix string,
	name string,
	ts time.Time,
) *CreateWizardObjectOp

NewCreateWizardObjectOp constructs a new CreateWizardObjectOp.

func (*CreateWizardObjectOp) ApplyWorldObjectOp

func (o *CreateWizardObjectOp) ApplyWorldObjectOp(
	ctx context.Context,
	le *logrus.Entry,
	objectHandle world.ObjectState,
	sender peer.ID,
) (sysErr bool, err error)

ApplyWorldObjectOp applies the operation to a world object handle.

func (*CreateWizardObjectOp) ApplyWorldOp

func (o *CreateWizardObjectOp) ApplyWorldOp(
	ctx context.Context,
	le *logrus.Entry,
	worldHandle world.WorldState,
	sender peer.ID,
) (sysErr bool, err error)

ApplyWorldOp applies the operation as a world operation.

func (*CreateWizardObjectOp) CloneMessageVT

func (*CreateWizardObjectOp) CloneVT

func (*CreateWizardObjectOp) EqualMessageVT

func (this *CreateWizardObjectOp) EqualMessageVT(thatMsg any) bool

func (*CreateWizardObjectOp) EqualVT

func (this *CreateWizardObjectOp) EqualVT(that *CreateWizardObjectOp) bool

func (*CreateWizardObjectOp) GetInitialConfigData

func (x *CreateWizardObjectOp) GetInitialConfigData() []byte

func (*CreateWizardObjectOp) GetInitialStep

func (x *CreateWizardObjectOp) GetInitialStep() int32

func (*CreateWizardObjectOp) GetName

func (x *CreateWizardObjectOp) GetName() string

func (*CreateWizardObjectOp) GetObjectKey

func (x *CreateWizardObjectOp) GetObjectKey() string

func (*CreateWizardObjectOp) GetOperationTypeId

func (o *CreateWizardObjectOp) GetOperationTypeId() string

GetOperationTypeId returns the operation type identifier.

func (*CreateWizardObjectOp) GetTargetKeyPrefix

func (x *CreateWizardObjectOp) GetTargetKeyPrefix() string

func (*CreateWizardObjectOp) GetTargetTypeId

func (x *CreateWizardObjectOp) GetTargetTypeId() string

func (*CreateWizardObjectOp) GetTimestamp

func (x *CreateWizardObjectOp) GetTimestamp() *timestamppb.Timestamp

func (*CreateWizardObjectOp) GetWizardTypeId

func (x *CreateWizardObjectOp) GetWizardTypeId() string

func (*CreateWizardObjectOp) MarshalBlock

func (o *CreateWizardObjectOp) MarshalBlock() ([]byte, error)

MarshalBlock marshals the block to binary.

func (*CreateWizardObjectOp) MarshalJSON

func (x *CreateWizardObjectOp) MarshalJSON() ([]byte, error)

MarshalJSON marshals the CreateWizardObjectOp to JSON.

func (*CreateWizardObjectOp) MarshalProtoJSON

func (x *CreateWizardObjectOp) MarshalProtoJSON(s *json.MarshalState)

MarshalProtoJSON marshals the CreateWizardObjectOp message to JSON.

func (*CreateWizardObjectOp) MarshalProtoText

func (x *CreateWizardObjectOp) MarshalProtoText() string

func (*CreateWizardObjectOp) MarshalToSizedBufferVT

func (m *CreateWizardObjectOp) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*CreateWizardObjectOp) MarshalToVT

func (m *CreateWizardObjectOp) MarshalToVT(dAtA []byte) (int, error)

func (*CreateWizardObjectOp) MarshalVT

func (m *CreateWizardObjectOp) MarshalVT() (dAtA []byte, err error)

func (*CreateWizardObjectOp) ProtoMessage

func (*CreateWizardObjectOp) ProtoMessage()

func (*CreateWizardObjectOp) Reset

func (x *CreateWizardObjectOp) Reset()

func (*CreateWizardObjectOp) SizeVT

func (m *CreateWizardObjectOp) SizeVT() (n int)

func (*CreateWizardObjectOp) String

func (x *CreateWizardObjectOp) String() string

func (*CreateWizardObjectOp) UnmarshalBlock

func (o *CreateWizardObjectOp) UnmarshalBlock(data []byte) error

UnmarshalBlock unmarshals the block to the object.

func (*CreateWizardObjectOp) UnmarshalJSON

func (x *CreateWizardObjectOp) UnmarshalJSON(b []byte) error

UnmarshalJSON unmarshals the CreateWizardObjectOp from JSON.

func (*CreateWizardObjectOp) UnmarshalProtoJSON

func (x *CreateWizardObjectOp) UnmarshalProtoJSON(s *json.UnmarshalState)

UnmarshalProtoJSON unmarshals the CreateWizardObjectOp message from JSON.

func (*CreateWizardObjectOp) UnmarshalVT

func (m *CreateWizardObjectOp) UnmarshalVT(dAtA []byte) error

func (*CreateWizardObjectOp) Validate

func (o *CreateWizardObjectOp) Validate() error

Validate performs cursory checks on the op.

type GitCloneProgress

type GitCloneProgress struct {

	// State is the current clone lifecycle state.
	State GitCloneProgressState `protobuf:"varint,1,opt,name=state,proto3" json:"state,omitempty"`
	// Message is the latest human-readable progress line.
	Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	// Error is the terminal error message when state is FAILED.
	Error string `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"`
	// ObjectKey is the created git/repo object key when known.
	ObjectKey string `protobuf:"bytes,4,opt,name=object_key,json=objectKey,proto3" json:"objectKey,omitempty"`
	// contains filtered or unexported fields
}

GitCloneProgress is the in-memory progress state for a wizard Git clone.

func (*GitCloneProgress) CloneMessageVT

func (m *GitCloneProgress) CloneMessageVT() protobuf_go_lite.CloneMessage

func (*GitCloneProgress) CloneVT

func (m *GitCloneProgress) CloneVT() *GitCloneProgress

func (*GitCloneProgress) EqualMessageVT

func (this *GitCloneProgress) EqualMessageVT(thatMsg any) bool

func (*GitCloneProgress) EqualVT

func (this *GitCloneProgress) EqualVT(that *GitCloneProgress) bool

func (*GitCloneProgress) GetError

func (x *GitCloneProgress) GetError() string

func (*GitCloneProgress) GetMessage

func (x *GitCloneProgress) GetMessage() string

func (*GitCloneProgress) GetObjectKey

func (x *GitCloneProgress) GetObjectKey() string

func (*GitCloneProgress) GetState

func (*GitCloneProgress) MarshalJSON

func (x *GitCloneProgress) MarshalJSON() ([]byte, error)

MarshalJSON marshals the GitCloneProgress to JSON.

func (*GitCloneProgress) MarshalProtoJSON

func (x *GitCloneProgress) MarshalProtoJSON(s *json.MarshalState)

MarshalProtoJSON marshals the GitCloneProgress message to JSON.

func (*GitCloneProgress) MarshalProtoText

func (x *GitCloneProgress) MarshalProtoText() string

func (*GitCloneProgress) MarshalToSizedBufferVT

func (m *GitCloneProgress) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*GitCloneProgress) MarshalToVT

func (m *GitCloneProgress) MarshalToVT(dAtA []byte) (int, error)

func (*GitCloneProgress) MarshalVT

func (m *GitCloneProgress) MarshalVT() (dAtA []byte, err error)

func (*GitCloneProgress) ProtoMessage

func (*GitCloneProgress) ProtoMessage()

func (*GitCloneProgress) Reset

func (x *GitCloneProgress) Reset()

func (*GitCloneProgress) SizeVT

func (m *GitCloneProgress) SizeVT() (n int)

func (*GitCloneProgress) String

func (x *GitCloneProgress) String() string

func (*GitCloneProgress) UnmarshalJSON

func (x *GitCloneProgress) UnmarshalJSON(b []byte) error

UnmarshalJSON unmarshals the GitCloneProgress from JSON.

func (*GitCloneProgress) UnmarshalProtoJSON

func (x *GitCloneProgress) UnmarshalProtoJSON(s *json.UnmarshalState)

UnmarshalProtoJSON unmarshals the GitCloneProgress message from JSON.

func (*GitCloneProgress) UnmarshalVT

func (m *GitCloneProgress) UnmarshalVT(dAtA []byte) error

type GitCloneProgressState

type GitCloneProgressState int32

GitCloneProgressState is the lifecycle state for a wizard Git clone.

const (
	// GIT_CLONE_PROGRESS_STATE_IDLE means no clone has started.
	GitCloneProgressState_GIT_CLONE_PROGRESS_STATE_IDLE GitCloneProgressState = 0
	// GIT_CLONE_PROGRESS_STATE_RUNNING means the clone is active.
	GitCloneProgressState_GIT_CLONE_PROGRESS_STATE_RUNNING GitCloneProgressState = 1
	// GIT_CLONE_PROGRESS_STATE_DONE means the repo object was created.
	GitCloneProgressState_GIT_CLONE_PROGRESS_STATE_DONE GitCloneProgressState = 2
	// GIT_CLONE_PROGRESS_STATE_FAILED means the clone failed.
	GitCloneProgressState_GIT_CLONE_PROGRESS_STATE_FAILED GitCloneProgressState = 3
)

func (GitCloneProgressState) Enum

func (GitCloneProgressState) MarshalJSON

func (x GitCloneProgressState) MarshalJSON() ([]byte, error)

MarshalJSON marshals the GitCloneProgressState to JSON.

func (GitCloneProgressState) MarshalProtoJSON

func (x GitCloneProgressState) MarshalProtoJSON(s *json.MarshalState)

MarshalProtoJSON marshals the GitCloneProgressState to JSON.

func (GitCloneProgressState) MarshalProtoText

func (x GitCloneProgressState) MarshalProtoText() string

func (GitCloneProgressState) MarshalText

func (x GitCloneProgressState) MarshalText() ([]byte, error)

MarshalText marshals the GitCloneProgressState to text.

func (GitCloneProgressState) String

func (x GitCloneProgressState) String() string

func (*GitCloneProgressState) UnmarshalJSON

func (x *GitCloneProgressState) UnmarshalJSON(b []byte) error

UnmarshalJSON unmarshals the GitCloneProgressState from JSON.

func (*GitCloneProgressState) UnmarshalProtoJSON

func (x *GitCloneProgressState) UnmarshalProtoJSON(s *json.UnmarshalState)

UnmarshalProtoJSON unmarshals the GitCloneProgressState from JSON.

func (*GitCloneProgressState) UnmarshalText

func (x *GitCloneProgressState) UnmarshalText(b []byte) error

UnmarshalText unmarshals the GitCloneProgressState from text.

type IntroWizardCallout added in v0.54.0

type IntroWizardCallout struct {

	// Region is the frame region this callout points at.
	Region IntroWizardRegion `protobuf:"varint,1,opt,name=region,proto3" json:"region,omitempty"`
	// Title names the UI part.
	Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"`
	// Detail explains what the part is for.
	Detail string `protobuf:"bytes,3,opt,name=detail,proto3" json:"detail,omitempty"`
	// contains filtered or unexported fields
}

IntroWizardCallout labels one part of the introduced object's UI.

func (*IntroWizardCallout) CloneMessageVT added in v0.54.0

func (m *IntroWizardCallout) CloneMessageVT() protobuf_go_lite.CloneMessage

func (*IntroWizardCallout) CloneVT added in v0.54.0

func (m *IntroWizardCallout) CloneVT() *IntroWizardCallout

func (*IntroWizardCallout) EqualMessageVT added in v0.54.0

func (this *IntroWizardCallout) EqualMessageVT(thatMsg any) bool

func (*IntroWizardCallout) EqualVT added in v0.54.0

func (this *IntroWizardCallout) EqualVT(that *IntroWizardCallout) bool

func (*IntroWizardCallout) GetDetail added in v0.54.0

func (x *IntroWizardCallout) GetDetail() string

func (*IntroWizardCallout) GetRegion added in v0.54.0

func (x *IntroWizardCallout) GetRegion() IntroWizardRegion

func (*IntroWizardCallout) GetTitle added in v0.54.0

func (x *IntroWizardCallout) GetTitle() string

func (*IntroWizardCallout) MarshalJSON added in v0.54.0

func (x *IntroWizardCallout) MarshalJSON() ([]byte, error)

MarshalJSON marshals the IntroWizardCallout to JSON.

func (*IntroWizardCallout) MarshalProtoJSON added in v0.54.0

func (x *IntroWizardCallout) MarshalProtoJSON(s *json.MarshalState)

MarshalProtoJSON marshals the IntroWizardCallout message to JSON.

func (*IntroWizardCallout) MarshalProtoText added in v0.54.0

func (x *IntroWizardCallout) MarshalProtoText() string

func (*IntroWizardCallout) MarshalToSizedBufferVT added in v0.54.0

func (m *IntroWizardCallout) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*IntroWizardCallout) MarshalToVT added in v0.54.0

func (m *IntroWizardCallout) MarshalToVT(dAtA []byte) (int, error)

func (*IntroWizardCallout) MarshalVT added in v0.54.0

func (m *IntroWizardCallout) MarshalVT() (dAtA []byte, err error)

func (*IntroWizardCallout) ProtoMessage added in v0.54.0

func (*IntroWizardCallout) ProtoMessage()

func (*IntroWizardCallout) Reset added in v0.54.0

func (x *IntroWizardCallout) Reset()

func (*IntroWizardCallout) SizeVT added in v0.54.0

func (m *IntroWizardCallout) SizeVT() (n int)

func (*IntroWizardCallout) String added in v0.54.0

func (x *IntroWizardCallout) String() string

func (*IntroWizardCallout) UnmarshalJSON added in v0.54.0

func (x *IntroWizardCallout) UnmarshalJSON(b []byte) error

UnmarshalJSON unmarshals the IntroWizardCallout from JSON.

func (*IntroWizardCallout) UnmarshalProtoJSON added in v0.54.0

func (x *IntroWizardCallout) UnmarshalProtoJSON(s *json.UnmarshalState)

UnmarshalProtoJSON unmarshals the IntroWizardCallout message from JSON.

func (*IntroWizardCallout) UnmarshalVT added in v0.54.0

func (m *IntroWizardCallout) UnmarshalVT(dAtA []byte) error

type IntroWizardConfig added in v0.54.0

type IntroWizardConfig struct {

	// Headline is the introduction title shown in the control panel.
	Headline string `protobuf:"bytes,1,opt,name=headline,proto3" json:"headline,omitempty"`
	// Subhead is the one-line description under the headline.
	Subhead string `protobuf:"bytes,2,opt,name=subhead,proto3" json:"subhead,omitempty"`
	// Callouts are the labeled pointers drawn at regions of the object frame.
	Callouts []*IntroWizardCallout `protobuf:"bytes,3,rep,name=callouts,proto3" json:"callouts,omitempty"`
	// FinishLabel is the primary button label that ends the introduction.
	FinishLabel string `protobuf:"bytes,4,opt,name=finish_label,json=finishLabel,proto3" json:"finishLabel,omitempty"`
	// contains filtered or unexported fields
}

IntroWizardConfig is the config_data payload for a wizard/intro object. It supplies the per-quickstart new-user introduction drawn around the target object frame, so one intro viewer parameterizes over every quickstart.

func (*IntroWizardConfig) CloneMessageVT added in v0.54.0

func (m *IntroWizardConfig) CloneMessageVT() protobuf_go_lite.CloneMessage

func (*IntroWizardConfig) CloneVT added in v0.54.0

func (m *IntroWizardConfig) CloneVT() *IntroWizardConfig

func (*IntroWizardConfig) EqualMessageVT added in v0.54.0

func (this *IntroWizardConfig) EqualMessageVT(thatMsg any) bool

func (*IntroWizardConfig) EqualVT added in v0.54.0

func (this *IntroWizardConfig) EqualVT(that *IntroWizardConfig) bool

func (*IntroWizardConfig) GetCallouts added in v0.54.0

func (x *IntroWizardConfig) GetCallouts() []*IntroWizardCallout

func (*IntroWizardConfig) GetFinishLabel added in v0.54.0

func (x *IntroWizardConfig) GetFinishLabel() string

func (*IntroWizardConfig) GetHeadline added in v0.54.0

func (x *IntroWizardConfig) GetHeadline() string

func (*IntroWizardConfig) GetSubhead added in v0.54.0

func (x *IntroWizardConfig) GetSubhead() string

func (*IntroWizardConfig) MarshalJSON added in v0.54.0

func (x *IntroWizardConfig) MarshalJSON() ([]byte, error)

MarshalJSON marshals the IntroWizardConfig to JSON.

func (*IntroWizardConfig) MarshalProtoJSON added in v0.54.0

func (x *IntroWizardConfig) MarshalProtoJSON(s *json.MarshalState)

MarshalProtoJSON marshals the IntroWizardConfig message to JSON.

func (*IntroWizardConfig) MarshalProtoText added in v0.54.0

func (x *IntroWizardConfig) MarshalProtoText() string

func (*IntroWizardConfig) MarshalToSizedBufferVT added in v0.54.0

func (m *IntroWizardConfig) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*IntroWizardConfig) MarshalToVT added in v0.54.0

func (m *IntroWizardConfig) MarshalToVT(dAtA []byte) (int, error)

func (*IntroWizardConfig) MarshalVT added in v0.54.0

func (m *IntroWizardConfig) MarshalVT() (dAtA []byte, err error)

func (*IntroWizardConfig) ProtoMessage added in v0.54.0

func (*IntroWizardConfig) ProtoMessage()

func (*IntroWizardConfig) Reset added in v0.54.0

func (x *IntroWizardConfig) Reset()

func (*IntroWizardConfig) SizeVT added in v0.54.0

func (m *IntroWizardConfig) SizeVT() (n int)

func (*IntroWizardConfig) String added in v0.54.0

func (x *IntroWizardConfig) String() string

func (*IntroWizardConfig) UnmarshalJSON added in v0.54.0

func (x *IntroWizardConfig) UnmarshalJSON(b []byte) error

UnmarshalJSON unmarshals the IntroWizardConfig from JSON.

func (*IntroWizardConfig) UnmarshalProtoJSON added in v0.54.0

func (x *IntroWizardConfig) UnmarshalProtoJSON(s *json.UnmarshalState)

UnmarshalProtoJSON unmarshals the IntroWizardConfig message from JSON.

func (*IntroWizardConfig) UnmarshalVT added in v0.54.0

func (m *IntroWizardConfig) UnmarshalVT(dAtA []byte) error

type IntroWizardRegion added in v0.54.0

type IntroWizardRegion int32

IntroWizardRegion is a region of the object viewer frame an intro callout points at.

const (
	// INTRO_WIZARD_REGION_UNSPECIFIED is an unset region.
	IntroWizardRegion_INTRO_WIZARD_REGION_UNSPECIFIED IntroWizardRegion = 0
	// INTRO_WIZARD_REGION_TOP points at the top toolbar area.
	IntroWizardRegion_INTRO_WIZARD_REGION_TOP IntroWizardRegion = 1
	// INTRO_WIZARD_REGION_CENTER points at the main content area.
	IntroWizardRegion_INTRO_WIZARD_REGION_CENTER IntroWizardRegion = 2
	// INTRO_WIZARD_REGION_BOTTOM_RIGHT points at the bottom-right status area.
	IntroWizardRegion_INTRO_WIZARD_REGION_BOTTOM_RIGHT IntroWizardRegion = 3
	// INTRO_WIZARD_REGION_LEFT points at the left navigation area.
	IntroWizardRegion_INTRO_WIZARD_REGION_LEFT IntroWizardRegion = 4
)

func (IntroWizardRegion) Enum added in v0.54.0

func (IntroWizardRegion) MarshalJSON added in v0.54.0

func (x IntroWizardRegion) MarshalJSON() ([]byte, error)

MarshalJSON marshals the IntroWizardRegion to JSON.

func (IntroWizardRegion) MarshalProtoJSON added in v0.54.0

func (x IntroWizardRegion) MarshalProtoJSON(s *json.MarshalState)

MarshalProtoJSON marshals the IntroWizardRegion to JSON.

func (IntroWizardRegion) MarshalProtoText added in v0.54.0

func (x IntroWizardRegion) MarshalProtoText() string

func (IntroWizardRegion) MarshalText added in v0.54.0

func (x IntroWizardRegion) MarshalText() ([]byte, error)

MarshalText marshals the IntroWizardRegion to text.

func (IntroWizardRegion) String added in v0.54.0

func (x IntroWizardRegion) String() string

func (*IntroWizardRegion) UnmarshalJSON added in v0.54.0

func (x *IntroWizardRegion) UnmarshalJSON(b []byte) error

UnmarshalJSON unmarshals the IntroWizardRegion from JSON.

func (*IntroWizardRegion) UnmarshalProtoJSON added in v0.54.0

func (x *IntroWizardRegion) UnmarshalProtoJSON(s *json.UnmarshalState)

UnmarshalProtoJSON unmarshals the IntroWizardRegion from JSON.

func (*IntroWizardRegion) UnmarshalText added in v0.54.0

func (x *IntroWizardRegion) UnmarshalText(b []byte) error

UnmarshalText unmarshals the IntroWizardRegion from text.

type ListWizardsRequest

type ListWizardsRequest struct {

	// InstanceKey selects the wizards visible to one plugin installation, such
	// as a Space world engine id. Empty selects only global wizards.
	InstanceKey string `protobuf:"bytes,1,opt,name=instance_key,json=instanceKey,proto3" json:"instanceKey,omitempty"`
	// contains filtered or unexported fields
}

ListWizardsRequest is the request for ListWizards.

func (*ListWizardsRequest) CloneMessageVT

func (m *ListWizardsRequest) CloneMessageVT() protobuf_go_lite.CloneMessage

func (*ListWizardsRequest) CloneVT

func (m *ListWizardsRequest) CloneVT() *ListWizardsRequest

func (*ListWizardsRequest) EqualMessageVT

func (this *ListWizardsRequest) EqualMessageVT(thatMsg any) bool

func (*ListWizardsRequest) EqualVT

func (this *ListWizardsRequest) EqualVT(that *ListWizardsRequest) bool

func (*ListWizardsRequest) GetInstanceKey

func (x *ListWizardsRequest) GetInstanceKey() string

func (*ListWizardsRequest) MarshalJSON

func (x *ListWizardsRequest) MarshalJSON() ([]byte, error)

MarshalJSON marshals the ListWizardsRequest to JSON.

func (*ListWizardsRequest) MarshalProtoJSON

func (x *ListWizardsRequest) MarshalProtoJSON(s *json.MarshalState)

MarshalProtoJSON marshals the ListWizardsRequest message to JSON.

func (*ListWizardsRequest) MarshalProtoText

func (x *ListWizardsRequest) MarshalProtoText() string

func (*ListWizardsRequest) MarshalToSizedBufferVT

func (m *ListWizardsRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*ListWizardsRequest) MarshalToVT

func (m *ListWizardsRequest) MarshalToVT(dAtA []byte) (int, error)

func (*ListWizardsRequest) MarshalVT

func (m *ListWizardsRequest) MarshalVT() (dAtA []byte, err error)

func (*ListWizardsRequest) ProtoMessage

func (*ListWizardsRequest) ProtoMessage()

func (*ListWizardsRequest) Reset

func (x *ListWizardsRequest) Reset()

func (*ListWizardsRequest) SizeVT

func (m *ListWizardsRequest) SizeVT() (n int)

func (*ListWizardsRequest) String

func (x *ListWizardsRequest) String() string

func (*ListWizardsRequest) UnmarshalJSON

func (x *ListWizardsRequest) UnmarshalJSON(b []byte) error

UnmarshalJSON unmarshals the ListWizardsRequest from JSON.

func (*ListWizardsRequest) UnmarshalProtoJSON

func (x *ListWizardsRequest) UnmarshalProtoJSON(s *json.UnmarshalState)

UnmarshalProtoJSON unmarshals the ListWizardsRequest message from JSON.

func (*ListWizardsRequest) UnmarshalVT

func (m *ListWizardsRequest) UnmarshalVT(dAtA []byte) error

type ListWizardsResponse

type ListWizardsResponse struct {

	// Wizards is the list of registered object wizards.
	Wizards []*ObjectWizard `protobuf:"bytes,1,rep,name=wizards,proto3" json:"wizards,omitempty"`
	// contains filtered or unexported fields
}

ListWizardsResponse contains all registered object wizards.

func (*ListWizardsResponse) CloneMessageVT

func (*ListWizardsResponse) CloneVT

func (*ListWizardsResponse) EqualMessageVT

func (this *ListWizardsResponse) EqualMessageVT(thatMsg any) bool

func (*ListWizardsResponse) EqualVT

func (this *ListWizardsResponse) EqualVT(that *ListWizardsResponse) bool

func (*ListWizardsResponse) GetWizards

func (x *ListWizardsResponse) GetWizards() []*ObjectWizard

func (*ListWizardsResponse) MarshalJSON

func (x *ListWizardsResponse) MarshalJSON() ([]byte, error)

MarshalJSON marshals the ListWizardsResponse to JSON.

func (*ListWizardsResponse) MarshalProtoJSON

func (x *ListWizardsResponse) MarshalProtoJSON(s *json.MarshalState)

MarshalProtoJSON marshals the ListWizardsResponse message to JSON.

func (*ListWizardsResponse) MarshalProtoText

func (x *ListWizardsResponse) MarshalProtoText() string

func (*ListWizardsResponse) MarshalToSizedBufferVT

func (m *ListWizardsResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*ListWizardsResponse) MarshalToVT

func (m *ListWizardsResponse) MarshalToVT(dAtA []byte) (int, error)

func (*ListWizardsResponse) MarshalVT

func (m *ListWizardsResponse) MarshalVT() (dAtA []byte, err error)

func (*ListWizardsResponse) ProtoMessage

func (*ListWizardsResponse) ProtoMessage()

func (*ListWizardsResponse) Reset

func (x *ListWizardsResponse) Reset()

func (*ListWizardsResponse) SizeVT

func (m *ListWizardsResponse) SizeVT() (n int)

func (*ListWizardsResponse) String

func (x *ListWizardsResponse) String() string

func (*ListWizardsResponse) UnmarshalJSON

func (x *ListWizardsResponse) UnmarshalJSON(b []byte) error

UnmarshalJSON unmarshals the ListWizardsResponse from JSON.

func (*ListWizardsResponse) UnmarshalProtoJSON

func (x *ListWizardsResponse) UnmarshalProtoJSON(s *json.UnmarshalState)

UnmarshalProtoJSON unmarshals the ListWizardsResponse message from JSON.

func (*ListWizardsResponse) UnmarshalVT

func (m *ListWizardsResponse) UnmarshalVT(dAtA []byte) error

type ObjectWizard

type ObjectWizard struct {

	// TypeId is the target object type ID (e.g., "canvas", "forge/cluster").
	TypeId string `protobuf:"bytes,1,opt,name=type_id,json=typeId,proto3" json:"typeId,omitempty"`
	// DisplayName is the human-readable name shown in the drawer.
	DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"displayName,omitempty"`
	// Category groups the wizard in the drawer (e.g., "Layout", "Forge").
	Category string `protobuf:"bytes,3,opt,name=category,proto3" json:"category,omitempty"`
	// IconName is the react-icons icon identifier (e.g., "LuLayoutGrid").
	IconName string `protobuf:"bytes,4,opt,name=icon_name,json=iconName,proto3" json:"iconName,omitempty"`
	// CreateOpId is the world op ID for ephemeral creation.
	CreateOpId string `protobuf:"bytes,5,opt,name=create_op_id,json=createOpId,proto3" json:"createOpId,omitempty"`
	// DefaultNamePattern is the default name for new objects (e.g., "Canvas").
	DefaultNamePattern string `protobuf:"bytes,6,opt,name=default_name_pattern,json=defaultNamePattern,proto3" json:"defaultNamePattern,omitempty"`
	// Persistent indicates this type uses a persistent wizard block flow.
	Persistent bool `protobuf:"varint,7,opt,name=persistent,proto3" json:"persistent,omitempty"`
	// WizardTypeId is the wizard/ type ID for persistent wizard blocks.
	// Only set when persistent is true.
	WizardTypeId string `protobuf:"bytes,8,opt,name=wizard_type_id,json=wizardTypeId,proto3" json:"wizardTypeId,omitempty"`
	// KeyPrefix is the object key prefix (e.g., "canvas/", "forge/cluster/").
	KeyPrefix string `protobuf:"bytes,9,opt,name=key_prefix,json=keyPrefix,proto3" json:"keyPrefix,omitempty"`
	// Experimental marks creators that are hidden in release builds.
	Experimental bool `protobuf:"varint,10,opt,name=experimental,proto3" json:"experimental,omitempty"`
	// RegistrationId is the server-assigned ID for plugin-provided wizards.
	RegistrationId uint32 `protobuf:"varint,11,opt,name=registration_id,json=registrationId,proto3" json:"registrationId,omitempty"`
	// PluginId is the registering plugin's ID.
	PluginId string `protobuf:"bytes,12,opt,name=plugin_id,json=pluginId,proto3" json:"pluginId,omitempty"`
	// Description is an optional one-line description shown under the display name.
	Description string `protobuf:"bytes,13,opt,name=description,proto3" json:"description,omitempty"`
	// contains filtered or unexported fields
}

ObjectWizard defines a creatable object type for the creation drawer.

func LookupObjectWizard

func LookupObjectWizard(typeID string) *ObjectWizard

LookupObjectWizard returns the ObjectWizard definition for a type ID. Returns nil if the type is not a registered creatable type.

func (*ObjectWizard) CloneMessageVT

func (m *ObjectWizard) CloneMessageVT() protobuf_go_lite.CloneMessage

func (*ObjectWizard) CloneVT

func (m *ObjectWizard) CloneVT() *ObjectWizard

func (*ObjectWizard) EqualMessageVT

func (this *ObjectWizard) EqualMessageVT(thatMsg any) bool

func (*ObjectWizard) EqualVT

func (this *ObjectWizard) EqualVT(that *ObjectWizard) bool

func (*ObjectWizard) GetCategory

func (x *ObjectWizard) GetCategory() string

func (*ObjectWizard) GetCreateOpId

func (x *ObjectWizard) GetCreateOpId() string

func (*ObjectWizard) GetDefaultNamePattern

func (x *ObjectWizard) GetDefaultNamePattern() string

func (*ObjectWizard) GetDescription added in v0.54.0

func (x *ObjectWizard) GetDescription() string

func (*ObjectWizard) GetDisplayName

func (x *ObjectWizard) GetDisplayName() string

func (*ObjectWizard) GetExperimental

func (x *ObjectWizard) GetExperimental() bool

func (*ObjectWizard) GetIconName

func (x *ObjectWizard) GetIconName() string

func (*ObjectWizard) GetKeyPrefix

func (x *ObjectWizard) GetKeyPrefix() string

func (*ObjectWizard) GetPersistent

func (x *ObjectWizard) GetPersistent() bool

func (*ObjectWizard) GetPluginId added in v0.51.2

func (x *ObjectWizard) GetPluginId() string

func (*ObjectWizard) GetRegistrationId added in v0.51.2

func (x *ObjectWizard) GetRegistrationId() uint32

func (*ObjectWizard) GetTypeId

func (x *ObjectWizard) GetTypeId() string

func (*ObjectWizard) GetWizardTypeId

func (x *ObjectWizard) GetWizardTypeId() string

func (*ObjectWizard) MarshalJSON

func (x *ObjectWizard) MarshalJSON() ([]byte, error)

MarshalJSON marshals the ObjectWizard to JSON.

func (*ObjectWizard) MarshalProtoJSON

func (x *ObjectWizard) MarshalProtoJSON(s *json.MarshalState)

MarshalProtoJSON marshals the ObjectWizard message to JSON.

func (*ObjectWizard) MarshalProtoText

func (x *ObjectWizard) MarshalProtoText() string

func (*ObjectWizard) MarshalToSizedBufferVT

func (m *ObjectWizard) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*ObjectWizard) MarshalToVT

func (m *ObjectWizard) MarshalToVT(dAtA []byte) (int, error)

func (*ObjectWizard) MarshalVT

func (m *ObjectWizard) MarshalVT() (dAtA []byte, err error)

func (*ObjectWizard) ProtoMessage

func (*ObjectWizard) ProtoMessage()

func (*ObjectWizard) Reset

func (x *ObjectWizard) Reset()

func (*ObjectWizard) SizeVT

func (m *ObjectWizard) SizeVT() (n int)

func (*ObjectWizard) String

func (x *ObjectWizard) String() string

func (*ObjectWizard) UnmarshalJSON

func (x *ObjectWizard) UnmarshalJSON(b []byte) error

UnmarshalJSON unmarshals the ObjectWizard from JSON.

func (*ObjectWizard) UnmarshalProtoJSON

func (x *ObjectWizard) UnmarshalProtoJSON(s *json.UnmarshalState)

UnmarshalProtoJSON unmarshals the ObjectWizard message from JSON.

func (*ObjectWizard) UnmarshalVT

func (m *ObjectWizard) UnmarshalVT(dAtA []byte) error

type RegisterWizardRequest added in v0.51.2

type RegisterWizardRequest struct {

	// Wizard is the plugin-provided ObjectWizard to register.
	Wizard *ObjectWizard `protobuf:"bytes,1,opt,name=wizard,proto3" json:"wizard,omitempty"`
	// contains filtered or unexported fields
}

RegisterWizardRequest is the request for RegisterWizard.

func (*RegisterWizardRequest) CloneMessageVT added in v0.51.2

func (*RegisterWizardRequest) CloneVT added in v0.51.2

func (*RegisterWizardRequest) EqualMessageVT added in v0.51.2

func (this *RegisterWizardRequest) EqualMessageVT(thatMsg any) bool

func (*RegisterWizardRequest) EqualVT added in v0.51.2

func (this *RegisterWizardRequest) EqualVT(that *RegisterWizardRequest) bool

func (*RegisterWizardRequest) GetWizard added in v0.51.2

func (x *RegisterWizardRequest) GetWizard() *ObjectWizard

func (*RegisterWizardRequest) MarshalJSON added in v0.51.2

func (x *RegisterWizardRequest) MarshalJSON() ([]byte, error)

MarshalJSON marshals the RegisterWizardRequest to JSON.

func (*RegisterWizardRequest) MarshalProtoJSON added in v0.51.2

func (x *RegisterWizardRequest) MarshalProtoJSON(s *json.MarshalState)

MarshalProtoJSON marshals the RegisterWizardRequest message to JSON.

func (*RegisterWizardRequest) MarshalProtoText added in v0.51.2

func (x *RegisterWizardRequest) MarshalProtoText() string

func (*RegisterWizardRequest) MarshalToSizedBufferVT added in v0.51.2

func (m *RegisterWizardRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*RegisterWizardRequest) MarshalToVT added in v0.51.2

func (m *RegisterWizardRequest) MarshalToVT(dAtA []byte) (int, error)

func (*RegisterWizardRequest) MarshalVT added in v0.51.2

func (m *RegisterWizardRequest) MarshalVT() (dAtA []byte, err error)

func (*RegisterWizardRequest) ProtoMessage added in v0.51.2

func (*RegisterWizardRequest) ProtoMessage()

func (*RegisterWizardRequest) Reset added in v0.51.2

func (x *RegisterWizardRequest) Reset()

func (*RegisterWizardRequest) SizeVT added in v0.51.2

func (m *RegisterWizardRequest) SizeVT() (n int)

func (*RegisterWizardRequest) String added in v0.51.2

func (x *RegisterWizardRequest) String() string

func (*RegisterWizardRequest) UnmarshalJSON added in v0.51.2

func (x *RegisterWizardRequest) UnmarshalJSON(b []byte) error

UnmarshalJSON unmarshals the RegisterWizardRequest from JSON.

func (*RegisterWizardRequest) UnmarshalProtoJSON added in v0.51.2

func (x *RegisterWizardRequest) UnmarshalProtoJSON(s *json.UnmarshalState)

UnmarshalProtoJSON unmarshals the RegisterWizardRequest message from JSON.

func (*RegisterWizardRequest) UnmarshalVT added in v0.51.2

func (m *RegisterWizardRequest) UnmarshalVT(dAtA []byte) error

type RegisterWizardResponse added in v0.51.2

type RegisterWizardResponse struct {

	// ResourceId is the registration resource. Releasing it unregisters the wizard.
	ResourceId uint32 `protobuf:"varint,1,opt,name=resource_id,json=resourceId,proto3" json:"resourceId,omitempty"`
	// contains filtered or unexported fields
}

RegisterWizardResponse is the response for RegisterWizard.

func (*RegisterWizardResponse) CloneMessageVT added in v0.51.2

func (*RegisterWizardResponse) CloneVT added in v0.51.2

func (*RegisterWizardResponse) EqualMessageVT added in v0.51.2

func (this *RegisterWizardResponse) EqualMessageVT(thatMsg any) bool

func (*RegisterWizardResponse) EqualVT added in v0.51.2

func (this *RegisterWizardResponse) EqualVT(that *RegisterWizardResponse) bool

func (*RegisterWizardResponse) GetResourceId added in v0.51.2

func (x *RegisterWizardResponse) GetResourceId() uint32

func (*RegisterWizardResponse) MarshalJSON added in v0.51.2

func (x *RegisterWizardResponse) MarshalJSON() ([]byte, error)

MarshalJSON marshals the RegisterWizardResponse to JSON.

func (*RegisterWizardResponse) MarshalProtoJSON added in v0.51.2

func (x *RegisterWizardResponse) MarshalProtoJSON(s *json.MarshalState)

MarshalProtoJSON marshals the RegisterWizardResponse message to JSON.

func (*RegisterWizardResponse) MarshalProtoText added in v0.51.2

func (x *RegisterWizardResponse) MarshalProtoText() string

func (*RegisterWizardResponse) MarshalToSizedBufferVT added in v0.51.2

func (m *RegisterWizardResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*RegisterWizardResponse) MarshalToVT added in v0.51.2

func (m *RegisterWizardResponse) MarshalToVT(dAtA []byte) (int, error)

func (*RegisterWizardResponse) MarshalVT added in v0.51.2

func (m *RegisterWizardResponse) MarshalVT() (dAtA []byte, err error)

func (*RegisterWizardResponse) ProtoMessage added in v0.51.2

func (*RegisterWizardResponse) ProtoMessage()

func (*RegisterWizardResponse) Reset added in v0.51.2

func (x *RegisterWizardResponse) Reset()

func (*RegisterWizardResponse) SizeVT added in v0.51.2

func (m *RegisterWizardResponse) SizeVT() (n int)

func (*RegisterWizardResponse) String added in v0.51.2

func (x *RegisterWizardResponse) String() string

func (*RegisterWizardResponse) UnmarshalJSON added in v0.51.2

func (x *RegisterWizardResponse) UnmarshalJSON(b []byte) error

UnmarshalJSON unmarshals the RegisterWizardResponse from JSON.

func (*RegisterWizardResponse) UnmarshalProtoJSON added in v0.51.2

func (x *RegisterWizardResponse) UnmarshalProtoJSON(s *json.UnmarshalState)

UnmarshalProtoJSON unmarshals the RegisterWizardResponse message from JSON.

func (*RegisterWizardResponse) UnmarshalVT added in v0.51.2

func (m *RegisterWizardResponse) UnmarshalVT(dAtA []byte) error

type SRPCObjectWizardRegistryResourceServiceClient

type SRPCObjectWizardRegistryResourceServiceClient interface {
	// SRPCClient returns the underlying SRPC client.
	SRPCClient() srpc.Client

	RegisterWizard(ctx context.Context, in *RegisterWizardRequest) (*RegisterWizardResponse, error)

	ListWizards(ctx context.Context, in *ListWizardsRequest) (*ListWizardsResponse, error)

	WatchWizards(ctx context.Context, in *WatchWizardsRequest) (SRPCObjectWizardRegistryResourceService_WatchWizardsClient, error)
}

func NewSRPCObjectWizardRegistryResourceServiceClientWithServiceID

func NewSRPCObjectWizardRegistryResourceServiceClientWithServiceID(cc srpc.Client, serviceID string) SRPCObjectWizardRegistryResourceServiceClient

type SRPCObjectWizardRegistryResourceServiceHandler

type SRPCObjectWizardRegistryResourceServiceHandler struct {
	// contains filtered or unexported fields
}

func (SRPCObjectWizardRegistryResourceServiceHandler) GetMethodIDs

func (*SRPCObjectWizardRegistryResourceServiceHandler) GetServiceID

func (*SRPCObjectWizardRegistryResourceServiceHandler) InvokeMethod

func (d *SRPCObjectWizardRegistryResourceServiceHandler) InvokeMethod(
	serviceID, methodID string,
	strm srpc.Stream,
) (bool, error)

func (SRPCObjectWizardRegistryResourceServiceHandler) InvokeMethod_ListWizards

func (SRPCObjectWizardRegistryResourceServiceHandler) InvokeMethod_RegisterWizard added in v0.51.2

func (SRPCObjectWizardRegistryResourceServiceHandler) InvokeMethod_WatchWizards added in v0.51.2

type SRPCObjectWizardRegistryResourceService_ListWizardsStream

type SRPCObjectWizardRegistryResourceService_ListWizardsStream interface {
	srpc.Stream
}

type SRPCObjectWizardRegistryResourceService_RegisterWizardStream added in v0.51.2

type SRPCObjectWizardRegistryResourceService_RegisterWizardStream interface {
	srpc.Stream
}

type SRPCObjectWizardRegistryResourceService_WatchWizardsClient added in v0.51.2

type SRPCObjectWizardRegistryResourceService_WatchWizardsClient interface {
	srpc.Stream
	Recv() (*WatchWizardsResponse, error)
	RecvTo(*WatchWizardsResponse) error
}

type SRPCObjectWizardRegistryResourceService_WatchWizardsStream added in v0.51.2

type SRPCObjectWizardRegistryResourceService_WatchWizardsStream interface {
	srpc.Stream
	Send(*WatchWizardsResponse) error
	SendAndClose(*WatchWizardsResponse) error
}

type SRPCWizardResourceServiceClient

type SRPCWizardResourceServiceClient interface {
	// SRPCClient returns the underlying SRPC client.
	SRPCClient() srpc.Client

	WatchWizardState(ctx context.Context, in *WatchWizardStateRequest) (SRPCWizardResourceService_WatchWizardStateClient, error)

	UpdateWizardState(ctx context.Context, in *UpdateWizardStateRequest) (*UpdateWizardStateResponse, error)

	StartGitClone(ctx context.Context, in *StartGitCloneRequest) (*StartGitCloneResponse, error)

	WatchGitCloneProgress(ctx context.Context, in *WatchGitCloneProgressRequest) (SRPCWizardResourceService_WatchGitCloneProgressClient, error)
}

func NewSRPCWizardResourceServiceClient

func NewSRPCWizardResourceServiceClient(cc srpc.Client) SRPCWizardResourceServiceClient

func NewSRPCWizardResourceServiceClientWithServiceID

func NewSRPCWizardResourceServiceClientWithServiceID(cc srpc.Client, serviceID string) SRPCWizardResourceServiceClient

type SRPCWizardResourceServiceHandler

type SRPCWizardResourceServiceHandler struct {
	// contains filtered or unexported fields
}

func (SRPCWizardResourceServiceHandler) GetMethodIDs

func (SRPCWizardResourceServiceHandler) GetMethodIDs() []string

func (*SRPCWizardResourceServiceHandler) GetServiceID

func (d *SRPCWizardResourceServiceHandler) GetServiceID() string

func (*SRPCWizardResourceServiceHandler) InvokeMethod

func (d *SRPCWizardResourceServiceHandler) InvokeMethod(
	serviceID, methodID string,
	strm srpc.Stream,
) (bool, error)

func (SRPCWizardResourceServiceHandler) InvokeMethod_StartGitClone

func (SRPCWizardResourceServiceHandler) InvokeMethod_StartGitClone(impl SRPCWizardResourceServiceServer, strm srpc.Stream) error

func (SRPCWizardResourceServiceHandler) InvokeMethod_UpdateWizardState

func (SRPCWizardResourceServiceHandler) InvokeMethod_UpdateWizardState(impl SRPCWizardResourceServiceServer, strm srpc.Stream) error

func (SRPCWizardResourceServiceHandler) InvokeMethod_WatchGitCloneProgress

func (SRPCWizardResourceServiceHandler) InvokeMethod_WatchGitCloneProgress(impl SRPCWizardResourceServiceServer, strm srpc.Stream) error

func (SRPCWizardResourceServiceHandler) InvokeMethod_WatchWizardState

func (SRPCWizardResourceServiceHandler) InvokeMethod_WatchWizardState(impl SRPCWizardResourceServiceServer, strm srpc.Stream) error

type SRPCWizardResourceService_StartGitCloneStream

type SRPCWizardResourceService_StartGitCloneStream interface {
	srpc.Stream
}

type SRPCWizardResourceService_UpdateWizardStateStream

type SRPCWizardResourceService_UpdateWizardStateStream interface {
	srpc.Stream
}

type SRPCWizardResourceService_WatchGitCloneProgressClient

type SRPCWizardResourceService_WatchGitCloneProgressClient interface {
	srpc.Stream
	Recv() (*WatchGitCloneProgressResponse, error)
	RecvTo(*WatchGitCloneProgressResponse) error
}

type SRPCWizardResourceService_WatchGitCloneProgressStream

type SRPCWizardResourceService_WatchGitCloneProgressStream interface {
	srpc.Stream
	Send(*WatchGitCloneProgressResponse) error
	SendAndClose(*WatchGitCloneProgressResponse) error
}

type SRPCWizardResourceService_WatchWizardStateClient

type SRPCWizardResourceService_WatchWizardStateClient interface {
	srpc.Stream
	Recv() (*WatchWizardStateResponse, error)
	RecvTo(*WatchWizardStateResponse) error
}

type SRPCWizardResourceService_WatchWizardStateStream

type SRPCWizardResourceService_WatchWizardStateStream interface {
	srpc.Stream
	Send(*WatchWizardStateResponse) error
	SendAndClose(*WatchWizardStateResponse) error
}

type StartGitCloneRequest

type StartGitCloneRequest struct {

	// ObjectKey is the object key for the cloned git/repo.
	ObjectKey string `protobuf:"bytes,1,opt,name=object_key,json=objectKey,proto3" json:"objectKey,omitempty"`
	// Name is the repository display name.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// ConfigData is the serialized CreateGitRepoWizardOp config.
	ConfigData []byte `protobuf:"bytes,3,opt,name=config_data,json=configData,proto3" json:"configData,omitempty"`
	// OpSender is the peer ID to attach to the final world operation.
	OpSender string `protobuf:"bytes,4,opt,name=op_sender,json=opSender,proto3" json:"opSender,omitempty"`
	// contains filtered or unexported fields
}

StartGitCloneRequest is the request for StartGitClone.

func (*StartGitCloneRequest) CloneMessageVT

func (*StartGitCloneRequest) CloneVT

func (*StartGitCloneRequest) EqualMessageVT

func (this *StartGitCloneRequest) EqualMessageVT(thatMsg any) bool

func (*StartGitCloneRequest) EqualVT

func (this *StartGitCloneRequest) EqualVT(that *StartGitCloneRequest) bool

func (*StartGitCloneRequest) GetConfigData

func (x *StartGitCloneRequest) GetConfigData() []byte

func (*StartGitCloneRequest) GetName

func (x *StartGitCloneRequest) GetName() string

func (*StartGitCloneRequest) GetObjectKey

func (x *StartGitCloneRequest) GetObjectKey() string

func (*StartGitCloneRequest) GetOpSender

func (x *StartGitCloneRequest) GetOpSender() string

func (*StartGitCloneRequest) MarshalJSON

func (x *StartGitCloneRequest) MarshalJSON() ([]byte, error)

MarshalJSON marshals the StartGitCloneRequest to JSON.

func (*StartGitCloneRequest) MarshalProtoJSON

func (x *StartGitCloneRequest) MarshalProtoJSON(s *json.MarshalState)

MarshalProtoJSON marshals the StartGitCloneRequest message to JSON.

func (*StartGitCloneRequest) MarshalProtoText

func (x *StartGitCloneRequest) MarshalProtoText() string

func (*StartGitCloneRequest) MarshalToSizedBufferVT

func (m *StartGitCloneRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*StartGitCloneRequest) MarshalToVT

func (m *StartGitCloneRequest) MarshalToVT(dAtA []byte) (int, error)

func (*StartGitCloneRequest) MarshalVT

func (m *StartGitCloneRequest) MarshalVT() (dAtA []byte, err error)

func (*StartGitCloneRequest) ProtoMessage

func (*StartGitCloneRequest) ProtoMessage()

func (*StartGitCloneRequest) Reset

func (x *StartGitCloneRequest) Reset()

func (*StartGitCloneRequest) SizeVT

func (m *StartGitCloneRequest) SizeVT() (n int)

func (*StartGitCloneRequest) String

func (x *StartGitCloneRequest) String() string

func (*StartGitCloneRequest) UnmarshalJSON

func (x *StartGitCloneRequest) UnmarshalJSON(b []byte) error

UnmarshalJSON unmarshals the StartGitCloneRequest from JSON.

func (*StartGitCloneRequest) UnmarshalProtoJSON

func (x *StartGitCloneRequest) UnmarshalProtoJSON(s *json.UnmarshalState)

UnmarshalProtoJSON unmarshals the StartGitCloneRequest message from JSON.

func (*StartGitCloneRequest) UnmarshalVT

func (m *StartGitCloneRequest) UnmarshalVT(dAtA []byte) error

type StartGitCloneResponse

type StartGitCloneResponse struct {

	// Progress is the current clone progress snapshot.
	Progress *GitCloneProgress `protobuf:"bytes,1,opt,name=progress,proto3" json:"progress,omitempty"`
	// contains filtered or unexported fields
}

StartGitCloneResponse is the response for StartGitClone.

func (*StartGitCloneResponse) CloneMessageVT

func (*StartGitCloneResponse) CloneVT

func (*StartGitCloneResponse) EqualMessageVT

func (this *StartGitCloneResponse) EqualMessageVT(thatMsg any) bool

func (*StartGitCloneResponse) EqualVT

func (this *StartGitCloneResponse) EqualVT(that *StartGitCloneResponse) bool

func (*StartGitCloneResponse) GetProgress

func (x *StartGitCloneResponse) GetProgress() *GitCloneProgress

func (*StartGitCloneResponse) MarshalJSON

func (x *StartGitCloneResponse) MarshalJSON() ([]byte, error)

MarshalJSON marshals the StartGitCloneResponse to JSON.

func (*StartGitCloneResponse) MarshalProtoJSON

func (x *StartGitCloneResponse) MarshalProtoJSON(s *json.MarshalState)

MarshalProtoJSON marshals the StartGitCloneResponse message to JSON.

func (*StartGitCloneResponse) MarshalProtoText

func (x *StartGitCloneResponse) MarshalProtoText() string

func (*StartGitCloneResponse) MarshalToSizedBufferVT

func (m *StartGitCloneResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*StartGitCloneResponse) MarshalToVT

func (m *StartGitCloneResponse) MarshalToVT(dAtA []byte) (int, error)

func (*StartGitCloneResponse) MarshalVT

func (m *StartGitCloneResponse) MarshalVT() (dAtA []byte, err error)

func (*StartGitCloneResponse) ProtoMessage

func (*StartGitCloneResponse) ProtoMessage()

func (*StartGitCloneResponse) Reset

func (x *StartGitCloneResponse) Reset()

func (*StartGitCloneResponse) SizeVT

func (m *StartGitCloneResponse) SizeVT() (n int)

func (*StartGitCloneResponse) String

func (x *StartGitCloneResponse) String() string

func (*StartGitCloneResponse) UnmarshalJSON

func (x *StartGitCloneResponse) UnmarshalJSON(b []byte) error

UnmarshalJSON unmarshals the StartGitCloneResponse from JSON.

func (*StartGitCloneResponse) UnmarshalProtoJSON

func (x *StartGitCloneResponse) UnmarshalProtoJSON(s *json.UnmarshalState)

UnmarshalProtoJSON unmarshals the StartGitCloneResponse message from JSON.

func (*StartGitCloneResponse) UnmarshalVT

func (m *StartGitCloneResponse) UnmarshalVT(dAtA []byte) error

type UpdateWizardStateRequest

type UpdateWizardStateRequest struct {

	// Step is the new step value. Set to -1 to leave unchanged.
	Step int32 `protobuf:"varint,1,opt,name=step,proto3" json:"step,omitempty"`
	// Name is the new name. Empty string leaves unchanged.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// ConfigData is the new config data. Nil leaves unchanged.
	ConfigData []byte `protobuf:"bytes,3,opt,name=config_data,json=configData,proto3" json:"configData,omitempty"`
	// HasConfigData indicates config_data is being set (allows clearing to empty bytes).
	HasConfigData bool `protobuf:"varint,4,opt,name=has_config_data,json=hasConfigData,proto3" json:"hasConfigData,omitempty"`
	// contains filtered or unexported fields
}

UpdateWizardStateRequest updates the wizard block state.

func (*UpdateWizardStateRequest) CloneMessageVT

func (*UpdateWizardStateRequest) CloneVT

func (*UpdateWizardStateRequest) EqualMessageVT

func (this *UpdateWizardStateRequest) EqualMessageVT(thatMsg any) bool

func (*UpdateWizardStateRequest) EqualVT

func (*UpdateWizardStateRequest) GetConfigData

func (x *UpdateWizardStateRequest) GetConfigData() []byte

func (*UpdateWizardStateRequest) GetHasConfigData

func (x *UpdateWizardStateRequest) GetHasConfigData() bool

func (*UpdateWizardStateRequest) GetName

func (x *UpdateWizardStateRequest) GetName() string

func (*UpdateWizardStateRequest) GetStep

func (x *UpdateWizardStateRequest) GetStep() int32

func (*UpdateWizardStateRequest) MarshalJSON

func (x *UpdateWizardStateRequest) MarshalJSON() ([]byte, error)

MarshalJSON marshals the UpdateWizardStateRequest to JSON.

func (*UpdateWizardStateRequest) MarshalProtoJSON

func (x *UpdateWizardStateRequest) MarshalProtoJSON(s *json.MarshalState)

MarshalProtoJSON marshals the UpdateWizardStateRequest message to JSON.

func (*UpdateWizardStateRequest) MarshalProtoText

func (x *UpdateWizardStateRequest) MarshalProtoText() string

func (*UpdateWizardStateRequest) MarshalToSizedBufferVT

func (m *UpdateWizardStateRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*UpdateWizardStateRequest) MarshalToVT

func (m *UpdateWizardStateRequest) MarshalToVT(dAtA []byte) (int, error)

func (*UpdateWizardStateRequest) MarshalVT

func (m *UpdateWizardStateRequest) MarshalVT() (dAtA []byte, err error)

func (*UpdateWizardStateRequest) ProtoMessage

func (*UpdateWizardStateRequest) ProtoMessage()

func (*UpdateWizardStateRequest) Reset

func (x *UpdateWizardStateRequest) Reset()

func (*UpdateWizardStateRequest) SizeVT

func (m *UpdateWizardStateRequest) SizeVT() (n int)

func (*UpdateWizardStateRequest) String

func (x *UpdateWizardStateRequest) String() string

func (*UpdateWizardStateRequest) UnmarshalJSON

func (x *UpdateWizardStateRequest) UnmarshalJSON(b []byte) error

UnmarshalJSON unmarshals the UpdateWizardStateRequest from JSON.

func (*UpdateWizardStateRequest) UnmarshalProtoJSON

func (x *UpdateWizardStateRequest) UnmarshalProtoJSON(s *json.UnmarshalState)

UnmarshalProtoJSON unmarshals the UpdateWizardStateRequest message from JSON.

func (*UpdateWizardStateRequest) UnmarshalVT

func (m *UpdateWizardStateRequest) UnmarshalVT(dAtA []byte) error

type UpdateWizardStateResponse

type UpdateWizardStateResponse struct {

	// State is the updated wizard state.
	State *WizardState `protobuf:"bytes,1,opt,name=state,proto3" json:"state,omitempty"`
	// contains filtered or unexported fields
}

UpdateWizardStateResponse is the response for UpdateWizardState.

func (*UpdateWizardStateResponse) CloneMessageVT

func (*UpdateWizardStateResponse) CloneVT

func (*UpdateWizardStateResponse) EqualMessageVT

func (this *UpdateWizardStateResponse) EqualMessageVT(thatMsg any) bool

func (*UpdateWizardStateResponse) EqualVT

func (*UpdateWizardStateResponse) GetState

func (x *UpdateWizardStateResponse) GetState() *WizardState

func (*UpdateWizardStateResponse) MarshalJSON

func (x *UpdateWizardStateResponse) MarshalJSON() ([]byte, error)

MarshalJSON marshals the UpdateWizardStateResponse to JSON.

func (*UpdateWizardStateResponse) MarshalProtoJSON

func (x *UpdateWizardStateResponse) MarshalProtoJSON(s *json.MarshalState)

MarshalProtoJSON marshals the UpdateWizardStateResponse message to JSON.

func (*UpdateWizardStateResponse) MarshalProtoText

func (x *UpdateWizardStateResponse) MarshalProtoText() string

func (*UpdateWizardStateResponse) MarshalToSizedBufferVT

func (m *UpdateWizardStateResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*UpdateWizardStateResponse) MarshalToVT

func (m *UpdateWizardStateResponse) MarshalToVT(dAtA []byte) (int, error)

func (*UpdateWizardStateResponse) MarshalVT

func (m *UpdateWizardStateResponse) MarshalVT() (dAtA []byte, err error)

func (*UpdateWizardStateResponse) ProtoMessage

func (*UpdateWizardStateResponse) ProtoMessage()

func (*UpdateWizardStateResponse) Reset

func (x *UpdateWizardStateResponse) Reset()

func (*UpdateWizardStateResponse) SizeVT

func (m *UpdateWizardStateResponse) SizeVT() (n int)

func (*UpdateWizardStateResponse) String

func (x *UpdateWizardStateResponse) String() string

func (*UpdateWizardStateResponse) UnmarshalJSON

func (x *UpdateWizardStateResponse) UnmarshalJSON(b []byte) error

UnmarshalJSON unmarshals the UpdateWizardStateResponse from JSON.

func (*UpdateWizardStateResponse) UnmarshalProtoJSON

func (x *UpdateWizardStateResponse) UnmarshalProtoJSON(s *json.UnmarshalState)

UnmarshalProtoJSON unmarshals the UpdateWizardStateResponse message from JSON.

func (*UpdateWizardStateResponse) UnmarshalVT

func (m *UpdateWizardStateResponse) UnmarshalVT(dAtA []byte) error

type WatchGitCloneProgressRequest

type WatchGitCloneProgressRequest struct {
	// contains filtered or unexported fields
}

WatchGitCloneProgressRequest is the request for WatchGitCloneProgress.

func (*WatchGitCloneProgressRequest) CloneMessageVT

func (*WatchGitCloneProgressRequest) CloneVT

func (*WatchGitCloneProgressRequest) EqualMessageVT

func (this *WatchGitCloneProgressRequest) EqualMessageVT(thatMsg any) bool

func (*WatchGitCloneProgressRequest) EqualVT

func (*WatchGitCloneProgressRequest) MarshalJSON

func (x *WatchGitCloneProgressRequest) MarshalJSON() ([]byte, error)

MarshalJSON marshals the WatchGitCloneProgressRequest to JSON.

func (*WatchGitCloneProgressRequest) MarshalProtoJSON

func (x *WatchGitCloneProgressRequest) MarshalProtoJSON(s *json.MarshalState)

MarshalProtoJSON marshals the WatchGitCloneProgressRequest message to JSON.

func (*WatchGitCloneProgressRequest) MarshalProtoText

func (x *WatchGitCloneProgressRequest) MarshalProtoText() string

func (*WatchGitCloneProgressRequest) MarshalToSizedBufferVT

func (m *WatchGitCloneProgressRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*WatchGitCloneProgressRequest) MarshalToVT

func (m *WatchGitCloneProgressRequest) MarshalToVT(dAtA []byte) (int, error)

func (*WatchGitCloneProgressRequest) MarshalVT

func (m *WatchGitCloneProgressRequest) MarshalVT() (dAtA []byte, err error)

func (*WatchGitCloneProgressRequest) ProtoMessage

func (*WatchGitCloneProgressRequest) ProtoMessage()

func (*WatchGitCloneProgressRequest) Reset

func (x *WatchGitCloneProgressRequest) Reset()

func (*WatchGitCloneProgressRequest) SizeVT

func (m *WatchGitCloneProgressRequest) SizeVT() (n int)

func (*WatchGitCloneProgressRequest) String

func (*WatchGitCloneProgressRequest) UnmarshalJSON

func (x *WatchGitCloneProgressRequest) UnmarshalJSON(b []byte) error

UnmarshalJSON unmarshals the WatchGitCloneProgressRequest from JSON.

func (*WatchGitCloneProgressRequest) UnmarshalProtoJSON

func (x *WatchGitCloneProgressRequest) UnmarshalProtoJSON(s *json.UnmarshalState)

UnmarshalProtoJSON unmarshals the WatchGitCloneProgressRequest message from JSON.

func (*WatchGitCloneProgressRequest) UnmarshalVT

func (m *WatchGitCloneProgressRequest) UnmarshalVT(dAtA []byte) error

type WatchGitCloneProgressResponse

type WatchGitCloneProgressResponse struct {

	// Progress is the current clone progress snapshot.
	Progress *GitCloneProgress `protobuf:"bytes,1,opt,name=progress,proto3" json:"progress,omitempty"`
	// contains filtered or unexported fields
}

WatchGitCloneProgressResponse is a stream response with Git clone progress.

func (*WatchGitCloneProgressResponse) CloneMessageVT

func (*WatchGitCloneProgressResponse) CloneVT

func (*WatchGitCloneProgressResponse) EqualMessageVT

func (this *WatchGitCloneProgressResponse) EqualMessageVT(thatMsg any) bool

func (*WatchGitCloneProgressResponse) EqualVT

func (*WatchGitCloneProgressResponse) GetProgress

func (*WatchGitCloneProgressResponse) MarshalJSON

func (x *WatchGitCloneProgressResponse) MarshalJSON() ([]byte, error)

MarshalJSON marshals the WatchGitCloneProgressResponse to JSON.

func (*WatchGitCloneProgressResponse) MarshalProtoJSON

func (x *WatchGitCloneProgressResponse) MarshalProtoJSON(s *json.MarshalState)

MarshalProtoJSON marshals the WatchGitCloneProgressResponse message to JSON.

func (*WatchGitCloneProgressResponse) MarshalProtoText

func (x *WatchGitCloneProgressResponse) MarshalProtoText() string

func (*WatchGitCloneProgressResponse) MarshalToSizedBufferVT

func (m *WatchGitCloneProgressResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*WatchGitCloneProgressResponse) MarshalToVT

func (m *WatchGitCloneProgressResponse) MarshalToVT(dAtA []byte) (int, error)

func (*WatchGitCloneProgressResponse) MarshalVT

func (m *WatchGitCloneProgressResponse) MarshalVT() (dAtA []byte, err error)

func (*WatchGitCloneProgressResponse) ProtoMessage

func (*WatchGitCloneProgressResponse) ProtoMessage()

func (*WatchGitCloneProgressResponse) Reset

func (x *WatchGitCloneProgressResponse) Reset()

func (*WatchGitCloneProgressResponse) SizeVT

func (m *WatchGitCloneProgressResponse) SizeVT() (n int)

func (*WatchGitCloneProgressResponse) String

func (*WatchGitCloneProgressResponse) UnmarshalJSON

func (x *WatchGitCloneProgressResponse) UnmarshalJSON(b []byte) error

UnmarshalJSON unmarshals the WatchGitCloneProgressResponse from JSON.

func (*WatchGitCloneProgressResponse) UnmarshalProtoJSON

func (x *WatchGitCloneProgressResponse) UnmarshalProtoJSON(s *json.UnmarshalState)

UnmarshalProtoJSON unmarshals the WatchGitCloneProgressResponse message from JSON.

func (*WatchGitCloneProgressResponse) UnmarshalVT

func (m *WatchGitCloneProgressResponse) UnmarshalVT(dAtA []byte) error

type WatchWizardStateRequest

type WatchWizardStateRequest struct {
	// contains filtered or unexported fields
}

WatchWizardStateRequest is the request for WatchWizardState.

func (*WatchWizardStateRequest) CloneMessageVT

func (*WatchWizardStateRequest) CloneVT

func (*WatchWizardStateRequest) EqualMessageVT

func (this *WatchWizardStateRequest) EqualMessageVT(thatMsg any) bool

func (*WatchWizardStateRequest) EqualVT

func (*WatchWizardStateRequest) MarshalJSON

func (x *WatchWizardStateRequest) MarshalJSON() ([]byte, error)

MarshalJSON marshals the WatchWizardStateRequest to JSON.

func (*WatchWizardStateRequest) MarshalProtoJSON

func (x *WatchWizardStateRequest) MarshalProtoJSON(s *json.MarshalState)

MarshalProtoJSON marshals the WatchWizardStateRequest message to JSON.

func (*WatchWizardStateRequest) MarshalProtoText

func (x *WatchWizardStateRequest) MarshalProtoText() string

func (*WatchWizardStateRequest) MarshalToSizedBufferVT

func (m *WatchWizardStateRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*WatchWizardStateRequest) MarshalToVT

func (m *WatchWizardStateRequest) MarshalToVT(dAtA []byte) (int, error)

func (*WatchWizardStateRequest) MarshalVT

func (m *WatchWizardStateRequest) MarshalVT() (dAtA []byte, err error)

func (*WatchWizardStateRequest) ProtoMessage

func (*WatchWizardStateRequest) ProtoMessage()

func (*WatchWizardStateRequest) Reset

func (x *WatchWizardStateRequest) Reset()

func (*WatchWizardStateRequest) SizeVT

func (m *WatchWizardStateRequest) SizeVT() (n int)

func (*WatchWizardStateRequest) String

func (x *WatchWizardStateRequest) String() string

func (*WatchWizardStateRequest) UnmarshalJSON

func (x *WatchWizardStateRequest) UnmarshalJSON(b []byte) error

UnmarshalJSON unmarshals the WatchWizardStateRequest from JSON.

func (*WatchWizardStateRequest) UnmarshalProtoJSON

func (x *WatchWizardStateRequest) UnmarshalProtoJSON(s *json.UnmarshalState)

UnmarshalProtoJSON unmarshals the WatchWizardStateRequest message from JSON.

func (*WatchWizardStateRequest) UnmarshalVT

func (m *WatchWizardStateRequest) UnmarshalVT(dAtA []byte) error

type WatchWizardStateResponse

type WatchWizardStateResponse struct {

	// State is the current wizard state.
	State *WizardState `protobuf:"bytes,1,opt,name=state,proto3" json:"state,omitempty"`
	// contains filtered or unexported fields
}

WatchWizardStateResponse is a stream response with wizard state.

func (*WatchWizardStateResponse) CloneMessageVT

func (*WatchWizardStateResponse) CloneVT

func (*WatchWizardStateResponse) EqualMessageVT

func (this *WatchWizardStateResponse) EqualMessageVT(thatMsg any) bool

func (*WatchWizardStateResponse) EqualVT

func (*WatchWizardStateResponse) GetState

func (x *WatchWizardStateResponse) GetState() *WizardState

func (*WatchWizardStateResponse) MarshalJSON

func (x *WatchWizardStateResponse) MarshalJSON() ([]byte, error)

MarshalJSON marshals the WatchWizardStateResponse to JSON.

func (*WatchWizardStateResponse) MarshalProtoJSON

func (x *WatchWizardStateResponse) MarshalProtoJSON(s *json.MarshalState)

MarshalProtoJSON marshals the WatchWizardStateResponse message to JSON.

func (*WatchWizardStateResponse) MarshalProtoText

func (x *WatchWizardStateResponse) MarshalProtoText() string

func (*WatchWizardStateResponse) MarshalToSizedBufferVT

func (m *WatchWizardStateResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*WatchWizardStateResponse) MarshalToVT

func (m *WatchWizardStateResponse) MarshalToVT(dAtA []byte) (int, error)

func (*WatchWizardStateResponse) MarshalVT

func (m *WatchWizardStateResponse) MarshalVT() (dAtA []byte, err error)

func (*WatchWizardStateResponse) ProtoMessage

func (*WatchWizardStateResponse) ProtoMessage()

func (*WatchWizardStateResponse) Reset

func (x *WatchWizardStateResponse) Reset()

func (*WatchWizardStateResponse) SizeVT

func (m *WatchWizardStateResponse) SizeVT() (n int)

func (*WatchWizardStateResponse) String

func (x *WatchWizardStateResponse) String() string

func (*WatchWizardStateResponse) UnmarshalJSON

func (x *WatchWizardStateResponse) UnmarshalJSON(b []byte) error

UnmarshalJSON unmarshals the WatchWizardStateResponse from JSON.

func (*WatchWizardStateResponse) UnmarshalProtoJSON

func (x *WatchWizardStateResponse) UnmarshalProtoJSON(s *json.UnmarshalState)

UnmarshalProtoJSON unmarshals the WatchWizardStateResponse message from JSON.

func (*WatchWizardStateResponse) UnmarshalVT

func (m *WatchWizardStateResponse) UnmarshalVT(dAtA []byte) error

type WatchWizardsRequest added in v0.51.2

type WatchWizardsRequest struct {

	// InstanceKey selects the wizards visible to one plugin installation, such
	// as a Space world engine id. Empty selects only global wizards.
	InstanceKey string `protobuf:"bytes,1,opt,name=instance_key,json=instanceKey,proto3" json:"instanceKey,omitempty"`
	// contains filtered or unexported fields
}

WatchWizardsRequest is the request for WatchWizards.

func (*WatchWizardsRequest) CloneMessageVT added in v0.51.2

func (*WatchWizardsRequest) CloneVT added in v0.51.2

func (*WatchWizardsRequest) EqualMessageVT added in v0.51.2

func (this *WatchWizardsRequest) EqualMessageVT(thatMsg any) bool

func (*WatchWizardsRequest) EqualVT added in v0.51.2

func (this *WatchWizardsRequest) EqualVT(that *WatchWizardsRequest) bool

func (*WatchWizardsRequest) GetInstanceKey

func (x *WatchWizardsRequest) GetInstanceKey() string

func (*WatchWizardsRequest) MarshalJSON added in v0.51.2

func (x *WatchWizardsRequest) MarshalJSON() ([]byte, error)

MarshalJSON marshals the WatchWizardsRequest to JSON.

func (*WatchWizardsRequest) MarshalProtoJSON added in v0.51.2

func (x *WatchWizardsRequest) MarshalProtoJSON(s *json.MarshalState)

MarshalProtoJSON marshals the WatchWizardsRequest message to JSON.

func (*WatchWizardsRequest) MarshalProtoText added in v0.51.2

func (x *WatchWizardsRequest) MarshalProtoText() string

func (*WatchWizardsRequest) MarshalToSizedBufferVT added in v0.51.2

func (m *WatchWizardsRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*WatchWizardsRequest) MarshalToVT added in v0.51.2

func (m *WatchWizardsRequest) MarshalToVT(dAtA []byte) (int, error)

func (*WatchWizardsRequest) MarshalVT added in v0.51.2

func (m *WatchWizardsRequest) MarshalVT() (dAtA []byte, err error)

func (*WatchWizardsRequest) ProtoMessage added in v0.51.2

func (*WatchWizardsRequest) ProtoMessage()

func (*WatchWizardsRequest) Reset added in v0.51.2

func (x *WatchWizardsRequest) Reset()

func (*WatchWizardsRequest) SizeVT added in v0.51.2

func (m *WatchWizardsRequest) SizeVT() (n int)

func (*WatchWizardsRequest) String added in v0.51.2

func (x *WatchWizardsRequest) String() string

func (*WatchWizardsRequest) UnmarshalJSON added in v0.51.2

func (x *WatchWizardsRequest) UnmarshalJSON(b []byte) error

UnmarshalJSON unmarshals the WatchWizardsRequest from JSON.

func (*WatchWizardsRequest) UnmarshalProtoJSON added in v0.51.2

func (x *WatchWizardsRequest) UnmarshalProtoJSON(s *json.UnmarshalState)

UnmarshalProtoJSON unmarshals the WatchWizardsRequest message from JSON.

func (*WatchWizardsRequest) UnmarshalVT added in v0.51.2

func (m *WatchWizardsRequest) UnmarshalVT(dAtA []byte) error

type WatchWizardsResponse added in v0.51.2

type WatchWizardsResponse struct {

	// Wizards is the list of registered object wizards.
	Wizards []*ObjectWizard `protobuf:"bytes,1,rep,name=wizards,proto3" json:"wizards,omitempty"`
	// contains filtered or unexported fields
}

WatchWizardsResponse contains the current registered object wizards.

func (*WatchWizardsResponse) CloneMessageVT added in v0.51.2

func (*WatchWizardsResponse) CloneVT added in v0.51.2

func (*WatchWizardsResponse) EqualMessageVT added in v0.51.2

func (this *WatchWizardsResponse) EqualMessageVT(thatMsg any) bool

func (*WatchWizardsResponse) EqualVT added in v0.51.2

func (this *WatchWizardsResponse) EqualVT(that *WatchWizardsResponse) bool

func (*WatchWizardsResponse) GetWizards added in v0.51.2

func (x *WatchWizardsResponse) GetWizards() []*ObjectWizard

func (*WatchWizardsResponse) MarshalJSON added in v0.51.2

func (x *WatchWizardsResponse) MarshalJSON() ([]byte, error)

MarshalJSON marshals the WatchWizardsResponse to JSON.

func (*WatchWizardsResponse) MarshalProtoJSON added in v0.51.2

func (x *WatchWizardsResponse) MarshalProtoJSON(s *json.MarshalState)

MarshalProtoJSON marshals the WatchWizardsResponse message to JSON.

func (*WatchWizardsResponse) MarshalProtoText added in v0.51.2

func (x *WatchWizardsResponse) MarshalProtoText() string

func (*WatchWizardsResponse) MarshalToSizedBufferVT added in v0.51.2

func (m *WatchWizardsResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*WatchWizardsResponse) MarshalToVT added in v0.51.2

func (m *WatchWizardsResponse) MarshalToVT(dAtA []byte) (int, error)

func (*WatchWizardsResponse) MarshalVT added in v0.51.2

func (m *WatchWizardsResponse) MarshalVT() (dAtA []byte, err error)

func (*WatchWizardsResponse) ProtoMessage added in v0.51.2

func (*WatchWizardsResponse) ProtoMessage()

func (*WatchWizardsResponse) Reset added in v0.51.2

func (x *WatchWizardsResponse) Reset()

func (*WatchWizardsResponse) SizeVT added in v0.51.2

func (m *WatchWizardsResponse) SizeVT() (n int)

func (*WatchWizardsResponse) String added in v0.51.2

func (x *WatchWizardsResponse) String() string

func (*WatchWizardsResponse) UnmarshalJSON added in v0.51.2

func (x *WatchWizardsResponse) UnmarshalJSON(b []byte) error

UnmarshalJSON unmarshals the WatchWizardsResponse from JSON.

func (*WatchWizardsResponse) UnmarshalProtoJSON added in v0.51.2

func (x *WatchWizardsResponse) UnmarshalProtoJSON(s *json.UnmarshalState)

UnmarshalProtoJSON unmarshals the WatchWizardsResponse message from JSON.

func (*WatchWizardsResponse) UnmarshalVT added in v0.51.2

func (m *WatchWizardsResponse) UnmarshalVT(dAtA []byte) error

type WizardRegistryResource

type WizardRegistryResource struct {
	// contains filtered or unexported fields
}

WizardRegistryResource implements ObjectWizardRegistryResourceService. Plugins register object wizards through their prepared registration generation; listings select the wizards visible to one installation.

func NewWizardRegistryResource

func NewWizardRegistryResource(generations *registration.Registry) *WizardRegistryResource

NewWizardRegistryResource creates a new WizardRegistryResource.

func (*WizardRegistryResource) GetMux

func (r *WizardRegistryResource) GetMux() srpc.Mux

GetMux returns the SRPC mux for the resource.

func (*WizardRegistryResource) ListWizards

ListWizards returns the object wizards visible to the requested installation.

func (*WizardRegistryResource) RegisterWizard added in v0.51.2

RegisterWizard registers a plugin-provided object wizard.

func (*WizardRegistryResource) WatchWizards added in v0.51.2

WatchWizards streams the object wizards visible to the requested installation.

type WizardState

type WizardState struct {

	// Step is the current wizard step (0-indexed).
	Step int32 `protobuf:"varint,1,opt,name=step,proto3" json:"step,omitempty"`
	// TargetTypeId is the object type being created (e.g., "git/repo").
	TargetTypeId string `protobuf:"bytes,2,opt,name=target_type_id,json=targetTypeId,proto3" json:"targetTypeId,omitempty"`
	// TargetKeyPrefix is the key prefix for the target object.
	TargetKeyPrefix string `protobuf:"bytes,3,opt,name=target_key_prefix,json=targetKeyPrefix,proto3" json:"targetKeyPrefix,omitempty"`
	// Name is the user-provided name for the target object.
	Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
	// ConfigData is type-specific wizard configuration (serialized by the target wizard viewer).
	ConfigData []byte `protobuf:"bytes,5,opt,name=config_data,json=configData,proto3" json:"configData,omitempty"`
	// contains filtered or unexported fields
}

WizardState is the block state for a persistent wizard object. Stored as the world object block for wizard/* type objects.

func UnmarshalWizardState

func UnmarshalWizardState(ctx context.Context, bcs *block.Cursor) (*WizardState, error)

UnmarshalWizardState unmarshals a wizard state from a cursor.

func (*WizardState) CloneMessageVT

func (m *WizardState) CloneMessageVT() protobuf_go_lite.CloneMessage

func (*WizardState) CloneVT

func (m *WizardState) CloneVT() *WizardState

func (*WizardState) EqualMessageVT

func (this *WizardState) EqualMessageVT(thatMsg any) bool

func (*WizardState) EqualVT

func (this *WizardState) EqualVT(that *WizardState) bool

func (*WizardState) GetConfigData

func (x *WizardState) GetConfigData() []byte

func (*WizardState) GetName

func (x *WizardState) GetName() string

func (*WizardState) GetStep

func (x *WizardState) GetStep() int32

func (*WizardState) GetTargetKeyPrefix

func (x *WizardState) GetTargetKeyPrefix() string

func (*WizardState) GetTargetTypeId

func (x *WizardState) GetTargetTypeId() string

func (*WizardState) MarshalBlock

func (s *WizardState) MarshalBlock() ([]byte, error)

MarshalBlock marshals the block to binary.

func (*WizardState) MarshalJSON

func (x *WizardState) MarshalJSON() ([]byte, error)

MarshalJSON marshals the WizardState to JSON.

func (*WizardState) MarshalProtoJSON

func (x *WizardState) MarshalProtoJSON(s *json.MarshalState)

MarshalProtoJSON marshals the WizardState message to JSON.

func (*WizardState) MarshalProtoText

func (x *WizardState) MarshalProtoText() string

func (*WizardState) MarshalToSizedBufferVT

func (m *WizardState) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*WizardState) MarshalToVT

func (m *WizardState) MarshalToVT(dAtA []byte) (int, error)

func (*WizardState) MarshalVT

func (m *WizardState) MarshalVT() (dAtA []byte, err error)

func (*WizardState) ProtoMessage

func (*WizardState) ProtoMessage()

func (*WizardState) Reset

func (x *WizardState) Reset()

func (*WizardState) SizeVT

func (m *WizardState) SizeVT() (n int)

func (*WizardState) String

func (x *WizardState) String() string

func (*WizardState) UnmarshalBlock

func (s *WizardState) UnmarshalBlock(data []byte) error

UnmarshalBlock unmarshals the block to the object.

func (*WizardState) UnmarshalJSON

func (x *WizardState) UnmarshalJSON(b []byte) error

UnmarshalJSON unmarshals the WizardState from JSON.

func (*WizardState) UnmarshalProtoJSON

func (x *WizardState) UnmarshalProtoJSON(s *json.UnmarshalState)

UnmarshalProtoJSON unmarshals the WizardState message from JSON.

func (*WizardState) UnmarshalVT

func (m *WizardState) UnmarshalVT(dAtA []byte) error

func (*WizardState) Validate

func (s *WizardState) Validate() error

Validate performs cursory checks on the WizardState block.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL