provisionerpb

package
v0.410.1 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ProvisionResponse_ProvisionResponseStatus_name = map[int32]string{
		0: "PROVISION_RESPONSE_STATUS_UNSPECIFIED",
		1: "PROVISION_RESPONSE_STATUS_SUBMITTED",
	}
	ProvisionResponse_ProvisionResponseStatus_value = map[string]int32{
		"PROVISION_RESPONSE_STATUS_UNSPECIFIED": 0,
		"PROVISION_RESPONSE_STATUS_SUBMITTED":   1,
	}
)

Enum value maps for ProvisionResponse_ProvisionResponseStatus.

View Source
var File_xyz_block_ftl_provisioner_v1beta1_plugin_proto protoreflect.FileDescriptor
View Source
var File_xyz_block_ftl_provisioner_v1beta1_service_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type ProvisionRequest

type ProvisionRequest struct {
	FtlClusterId   string     `protobuf:"bytes,1,opt,name=ftl_cluster_id,json=ftlClusterId,proto3" json:"ftl_cluster_id,omitempty"`
	DesiredModule  *v1.Module `protobuf:"bytes,2,opt,name=desired_module,json=desiredModule,proto3" json:"desired_module,omitempty"`
	PreviousModule *v1.Module `protobuf:"bytes,3,opt,name=previous_module,json=previousModule,proto3" json:"previous_module,omitempty"`
	Kinds          []string   `protobuf:"bytes,4,rep,name=kinds,proto3" json:"kinds,omitempty"`
	// contains filtered or unexported fields
}

func (*ProvisionRequest) Descriptor deprecated

func (*ProvisionRequest) Descriptor() ([]byte, []int)

Deprecated: Use ProvisionRequest.ProtoReflect.Descriptor instead.

func (*ProvisionRequest) GetDesiredModule added in v0.410.0

func (x *ProvisionRequest) GetDesiredModule() *v1.Module

func (*ProvisionRequest) GetFtlClusterId

func (x *ProvisionRequest) GetFtlClusterId() string

func (*ProvisionRequest) GetKinds added in v0.410.0

func (x *ProvisionRequest) GetKinds() []string

func (*ProvisionRequest) GetPreviousModule added in v0.410.0

func (x *ProvisionRequest) GetPreviousModule() *v1.Module

func (*ProvisionRequest) ProtoMessage

func (*ProvisionRequest) ProtoMessage()

func (*ProvisionRequest) ProtoReflect

func (x *ProvisionRequest) ProtoReflect() protoreflect.Message

func (*ProvisionRequest) Reset

func (x *ProvisionRequest) Reset()

func (*ProvisionRequest) String

func (x *ProvisionRequest) String() string

type ProvisionResponse

type ProvisionResponse struct {
	ProvisioningToken string                                    `protobuf:"bytes,1,opt,name=provisioning_token,json=provisioningToken,proto3" json:"provisioning_token,omitempty"`
	Status            ProvisionResponse_ProvisionResponseStatus `` /* 147-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*ProvisionResponse) Descriptor deprecated

func (*ProvisionResponse) Descriptor() ([]byte, []int)

Deprecated: Use ProvisionResponse.ProtoReflect.Descriptor instead.

func (*ProvisionResponse) GetProvisioningToken

func (x *ProvisionResponse) GetProvisioningToken() string

func (*ProvisionResponse) GetStatus

func (*ProvisionResponse) ProtoMessage

func (*ProvisionResponse) ProtoMessage()

func (*ProvisionResponse) ProtoReflect

func (x *ProvisionResponse) ProtoReflect() protoreflect.Message

func (*ProvisionResponse) Reset

func (x *ProvisionResponse) Reset()

func (*ProvisionResponse) String

func (x *ProvisionResponse) String() string

type ProvisionResponse_ProvisionResponseStatus

type ProvisionResponse_ProvisionResponseStatus int32
const (
	ProvisionResponse_PROVISION_RESPONSE_STATUS_UNSPECIFIED ProvisionResponse_ProvisionResponseStatus = 0
	ProvisionResponse_PROVISION_RESPONSE_STATUS_SUBMITTED   ProvisionResponse_ProvisionResponseStatus = 1
)

func (ProvisionResponse_ProvisionResponseStatus) Descriptor

func (ProvisionResponse_ProvisionResponseStatus) Enum

func (ProvisionResponse_ProvisionResponseStatus) EnumDescriptor deprecated

func (ProvisionResponse_ProvisionResponseStatus) EnumDescriptor() ([]byte, []int)

Deprecated: Use ProvisionResponse_ProvisionResponseStatus.Descriptor instead.

func (ProvisionResponse_ProvisionResponseStatus) Number

func (ProvisionResponse_ProvisionResponseStatus) String

func (ProvisionResponse_ProvisionResponseStatus) Type

type ProvisioningEvent added in v0.410.0

type ProvisioningEvent struct {

	// Types that are assignable to Value:
	//
	//	*ProvisioningEvent_ModuleRuntimeEvent
	//	*ProvisioningEvent_DatabaseRuntimeEvent
	//	*ProvisioningEvent_TopicRuntimeEvent
	//	*ProvisioningEvent_VerbRuntimeEvent
	Value isProvisioningEvent_Value `protobuf_oneof:"value"`
	// contains filtered or unexported fields
}

func (*ProvisioningEvent) Descriptor deprecated added in v0.410.0

func (*ProvisioningEvent) Descriptor() ([]byte, []int)

Deprecated: Use ProvisioningEvent.ProtoReflect.Descriptor instead.

func (*ProvisioningEvent) GetDatabaseRuntimeEvent added in v0.410.0

func (x *ProvisioningEvent) GetDatabaseRuntimeEvent() *v1.DatabaseRuntimeEvent

func (*ProvisioningEvent) GetModuleRuntimeEvent added in v0.410.0

func (x *ProvisioningEvent) GetModuleRuntimeEvent() *v1.ModuleRuntimeEvent

func (*ProvisioningEvent) GetTopicRuntimeEvent added in v0.410.0

func (x *ProvisioningEvent) GetTopicRuntimeEvent() *v1.TopicRuntimeEvent

func (*ProvisioningEvent) GetValue added in v0.410.0

func (m *ProvisioningEvent) GetValue() isProvisioningEvent_Value

func (*ProvisioningEvent) GetVerbRuntimeEvent added in v0.410.0

func (x *ProvisioningEvent) GetVerbRuntimeEvent() *v1.VerbRuntimeEvent

func (*ProvisioningEvent) ProtoMessage added in v0.410.0

func (*ProvisioningEvent) ProtoMessage()

func (*ProvisioningEvent) ProtoReflect added in v0.410.0

func (x *ProvisioningEvent) ProtoReflect() protoreflect.Message

func (*ProvisioningEvent) Reset added in v0.410.0

func (x *ProvisioningEvent) Reset()

func (*ProvisioningEvent) String added in v0.410.0

func (x *ProvisioningEvent) String() string

type ProvisioningEvent_DatabaseRuntimeEvent added in v0.410.0

type ProvisioningEvent_DatabaseRuntimeEvent struct {
	DatabaseRuntimeEvent *v1.DatabaseRuntimeEvent `protobuf:"bytes,2,opt,name=database_runtime_event,json=databaseRuntimeEvent,proto3,oneof"`
}

type ProvisioningEvent_ModuleRuntimeEvent added in v0.410.0

type ProvisioningEvent_ModuleRuntimeEvent struct {
	ModuleRuntimeEvent *v1.ModuleRuntimeEvent `protobuf:"bytes,1,opt,name=module_runtime_event,json=moduleRuntimeEvent,proto3,oneof"`
}

type ProvisioningEvent_TopicRuntimeEvent added in v0.410.0

type ProvisioningEvent_TopicRuntimeEvent struct {
	TopicRuntimeEvent *v1.TopicRuntimeEvent `protobuf:"bytes,3,opt,name=topic_runtime_event,json=topicRuntimeEvent,proto3,oneof"`
}

type ProvisioningEvent_VerbRuntimeEvent added in v0.410.0

type ProvisioningEvent_VerbRuntimeEvent struct {
	VerbRuntimeEvent *v1.VerbRuntimeEvent `protobuf:"bytes,4,opt,name=verb_runtime_event,json=verbRuntimeEvent,proto3,oneof"`
}

type StatusRequest

type StatusRequest struct {
	ProvisioningToken string `protobuf:"bytes,1,opt,name=provisioning_token,json=provisioningToken,proto3" json:"provisioning_token,omitempty"`
	// The outputs of this module are updated if the the status is a success
	DesiredModule *v1.Module `protobuf:"bytes,2,opt,name=desired_module,json=desiredModule,proto3" json:"desired_module,omitempty"`
	// contains filtered or unexported fields
}

func (*StatusRequest) Descriptor deprecated

func (*StatusRequest) Descriptor() ([]byte, []int)

Deprecated: Use StatusRequest.ProtoReflect.Descriptor instead.

func (*StatusRequest) GetDesiredModule added in v0.410.0

func (x *StatusRequest) GetDesiredModule() *v1.Module

func (*StatusRequest) GetProvisioningToken

func (x *StatusRequest) GetProvisioningToken() string

func (*StatusRequest) ProtoMessage

func (*StatusRequest) ProtoMessage()

func (*StatusRequest) ProtoReflect

func (x *StatusRequest) ProtoReflect() protoreflect.Message

func (*StatusRequest) Reset

func (x *StatusRequest) Reset()

func (*StatusRequest) String

func (x *StatusRequest) String() string

type StatusResponse

type StatusResponse struct {

	// Types that are assignable to Status:
	//
	//	*StatusResponse_Running
	//	*StatusResponse_Success
	Status isStatusResponse_Status `protobuf_oneof:"status"`
	// contains filtered or unexported fields
}

func (*StatusResponse) Descriptor deprecated

func (*StatusResponse) Descriptor() ([]byte, []int)

Deprecated: Use StatusResponse.ProtoReflect.Descriptor instead.

func (*StatusResponse) GetRunning

func (*StatusResponse) GetStatus

func (m *StatusResponse) GetStatus() isStatusResponse_Status

func (*StatusResponse) GetSuccess

func (*StatusResponse) ProtoMessage

func (*StatusResponse) ProtoMessage()

func (*StatusResponse) ProtoReflect

func (x *StatusResponse) ProtoReflect() protoreflect.Message

func (*StatusResponse) Reset

func (x *StatusResponse) Reset()

func (*StatusResponse) String

func (x *StatusResponse) String() string

type StatusResponse_ProvisioningFailed

type StatusResponse_ProvisioningFailed struct {
	ErrorMessage string `protobuf:"bytes,1,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"`
	// contains filtered or unexported fields
}

func (*StatusResponse_ProvisioningFailed) Descriptor deprecated

func (*StatusResponse_ProvisioningFailed) Descriptor() ([]byte, []int)

Deprecated: Use StatusResponse_ProvisioningFailed.ProtoReflect.Descriptor instead.

func (*StatusResponse_ProvisioningFailed) GetErrorMessage

func (x *StatusResponse_ProvisioningFailed) GetErrorMessage() string

func (*StatusResponse_ProvisioningFailed) ProtoMessage

func (*StatusResponse_ProvisioningFailed) ProtoMessage()

func (*StatusResponse_ProvisioningFailed) ProtoReflect

func (*StatusResponse_ProvisioningFailed) Reset

func (*StatusResponse_ProvisioningFailed) String

type StatusResponse_ProvisioningRunning

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

func (*StatusResponse_ProvisioningRunning) Descriptor deprecated

func (*StatusResponse_ProvisioningRunning) Descriptor() ([]byte, []int)

Deprecated: Use StatusResponse_ProvisioningRunning.ProtoReflect.Descriptor instead.

func (*StatusResponse_ProvisioningRunning) ProtoMessage

func (*StatusResponse_ProvisioningRunning) ProtoMessage()

func (*StatusResponse_ProvisioningRunning) ProtoReflect

func (*StatusResponse_ProvisioningRunning) Reset

func (*StatusResponse_ProvisioningRunning) String

type StatusResponse_ProvisioningSuccess

type StatusResponse_ProvisioningSuccess struct {
	Events []*ProvisioningEvent `protobuf:"bytes,1,rep,name=events,proto3" json:"events,omitempty"`
	// contains filtered or unexported fields
}

func (*StatusResponse_ProvisioningSuccess) Descriptor deprecated

func (*StatusResponse_ProvisioningSuccess) Descriptor() ([]byte, []int)

Deprecated: Use StatusResponse_ProvisioningSuccess.ProtoReflect.Descriptor instead.

func (*StatusResponse_ProvisioningSuccess) GetEvents added in v0.410.0

func (*StatusResponse_ProvisioningSuccess) ProtoMessage

func (*StatusResponse_ProvisioningSuccess) ProtoMessage()

func (*StatusResponse_ProvisioningSuccess) ProtoReflect

func (*StatusResponse_ProvisioningSuccess) Reset

func (*StatusResponse_ProvisioningSuccess) String

type StatusResponse_Running

type StatusResponse_Running struct {
	Running *StatusResponse_ProvisioningRunning `protobuf:"bytes,1,opt,name=running,proto3,oneof"`
}

type StatusResponse_Success

type StatusResponse_Success struct {
	Success *StatusResponse_ProvisioningSuccess `protobuf:"bytes,2,opt,name=success,proto3,oneof"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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