corev2

package
v0.0.0-...-c82e7e9 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2026 License: MPL-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Hook_GetManifest_FullMethodName = "/flexmodule.core.v2.Hook/GetManifest"
	Hook_GetStatus_FullMethodName   = "/flexmodule.core.v2.Hook/GetStatus"
	Hook_OnStage_FullMethodName     = "/flexmodule.core.v2.Hook/OnStage"
	Hook_OnEvent_FullMethodName     = "/flexmodule.core.v2.Hook/OnEvent"
)
View Source
const (
	FileTransfer_Upload_FullMethodName       = "/flexmodule.core.v2.FileTransfer/Upload"
	FileTransfer_DeleteUpload_FullMethodName = "/flexmodule.core.v2.FileTransfer/DeleteUpload"
)
View Source
const (
	Core_GetConfig_FullMethodName = "/flexmodule.core.v2.Core/GetConfig"
)

Variables

View Source
var (
	ResourceClass_name = map[int32]string{
		0: "RESOURCE_CLASS_UNSPECIFIED",
		1: "RESOURCE_CLASS_GENERAL",
		2: "RESOURCE_CLASS_MEDIA",
	}
	ResourceClass_value = map[string]int32{
		"RESOURCE_CLASS_UNSPECIFIED": 0,
		"RESOURCE_CLASS_GENERAL":     1,
		"RESOURCE_CLASS_MEDIA":       2,
	}
)

Enum value maps for ResourceClass.

View Source
var (
	EgressPolicy_name = map[int32]string{
		0: "EGRESS_POLICY_UNSPECIFIED",
		1: "EGRESS_POLICY_NONE",
		2: "EGRESS_POLICY_PUBLIC_INTERNET",
	}
	EgressPolicy_value = map[string]int32{
		"EGRESS_POLICY_UNSPECIFIED":     0,
		"EGRESS_POLICY_NONE":            1,
		"EGRESS_POLICY_PUBLIC_INTERNET": 2,
	}
)

Enum value maps for EgressPolicy.

View Source
var (
	Stage_name = map[int32]string{
		0: "STAGE_UNSPECIFIED",
		1: "STAGE_INIT",
		2: "STAGE_START",
		3: "STAGE_DRAIN",
		4: "STAGE_STOP",
	}
	Stage_value = map[string]int32{
		"STAGE_UNSPECIFIED": 0,
		"STAGE_INIT":        1,
		"STAGE_START":       2,
		"STAGE_DRAIN":       3,
		"STAGE_STOP":        4,
	}
)

Enum value maps for Stage.

View Source
var (
	Readiness_name = map[int32]string{
		0: "READINESS_UNSPECIFIED",
		1: "READINESS_NOT_READY",
		2: "READINESS_READY",
		3: "READINESS_FAILED",
	}
	Readiness_value = map[string]int32{
		"READINESS_UNSPECIFIED": 0,
		"READINESS_NOT_READY":   1,
		"READINESS_READY":       2,
		"READINESS_FAILED":      3,
	}
)

Enum value maps for Readiness.

View Source
var (
	ErrorOrigin_name = map[int32]string{
		0: "ERROR_ORIGIN_UNSPECIFIED",
		1: "ERROR_ORIGIN_FLEXMODULE",
		2: "ERROR_ORIGIN_BACKEND",
		3: "ERROR_ORIGIN_TRANSPORT",
	}
	ErrorOrigin_value = map[string]int32{
		"ERROR_ORIGIN_UNSPECIFIED": 0,
		"ERROR_ORIGIN_FLEXMODULE":  1,
		"ERROR_ORIGIN_BACKEND":     2,
		"ERROR_ORIGIN_TRANSPORT":   3,
	}
)

Enum value maps for ErrorOrigin.

View Source
var (
	RemoteOutcome_name = map[int32]string{
		0: "REMOTE_OUTCOME_UNSPECIFIED",
		1: "REMOTE_OUTCOME_NOT_SENT",
		2: "REMOTE_OUTCOME_RESPONSE_RECEIVED",
		3: "REMOTE_OUTCOME_UNKNOWN",
	}
	RemoteOutcome_value = map[string]int32{
		"REMOTE_OUTCOME_UNSPECIFIED":       0,
		"REMOTE_OUTCOME_NOT_SENT":          1,
		"REMOTE_OUTCOME_RESPONSE_RECEIVED": 2,
		"REMOTE_OUTCOME_UNKNOWN":           3,
	}
)

Enum value maps for RemoteOutcome.

View Source
var Core_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "flexmodule.core.v2.Core",
	HandlerType: (*CoreServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetConfig",
			Handler:    _Core_GetConfig_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "core-v2/core.proto",
}

Core_ServiceDesc is the grpc.ServiceDesc for Core service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var FileTransfer_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "flexmodule.core.v2.FileTransfer",
	HandlerType: (*FileTransferServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "DeleteUpload",
			Handler:    _FileTransfer_DeleteUpload_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "Upload",
			Handler:       _FileTransfer_Upload_Handler,
			ClientStreams: true,
		},
	},
	Metadata: "core-v2/core.proto",
}

FileTransfer_ServiceDesc is the grpc.ServiceDesc for FileTransfer service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var File_core_v2_core_proto protoreflect.FileDescriptor
View Source
var Hook_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "flexmodule.core.v2.Hook",
	HandlerType: (*HookServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetManifest",
			Handler:    _Hook_GetManifest_Handler,
		},
		{
			MethodName: "GetStatus",
			Handler:    _Hook_GetStatus_Handler,
		},
		{
			MethodName: "OnStage",
			Handler:    _Hook_OnStage_Handler,
		},
		{
			MethodName: "OnEvent",
			Handler:    _Hook_OnEvent_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "core-v2/core.proto",
}

Hook_ServiceDesc is the grpc.ServiceDesc for Hook service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterCoreServer

func RegisterCoreServer(s grpc.ServiceRegistrar, srv CoreServer)

func RegisterFileTransferServer

func RegisterFileTransferServer(s grpc.ServiceRegistrar, srv FileTransferServer)

func RegisterHookServer

func RegisterHookServer(s grpc.ServiceRegistrar, srv HookServer)

Types

type BackendGrant

type BackendGrant struct {
	BackendId     string             `protobuf:"bytes,1,opt,name=backend_id,json=backendId,proto3" json:"backend_id,omitempty"`
	ProtocolMajor uint32             `protobuf:"varint,2,opt,name=protocol_major,json=protocolMajor,proto3" json:"protocol_major,omitempty"`
	Capabilities  []*CapabilityGrant `protobuf:"bytes,3,rep,name=capabilities,proto3" json:"capabilities,omitempty"`
	// contains filtered or unexported fields
}

func (*BackendGrant) Descriptor deprecated

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

Deprecated: Use BackendGrant.ProtoReflect.Descriptor instead.

func (*BackendGrant) GetBackendId

func (x *BackendGrant) GetBackendId() string

func (*BackendGrant) GetCapabilities

func (x *BackendGrant) GetCapabilities() []*CapabilityGrant

func (*BackendGrant) GetProtocolMajor

func (x *BackendGrant) GetProtocolMajor() uint32

func (*BackendGrant) ProtoMessage

func (*BackendGrant) ProtoMessage()

func (*BackendGrant) ProtoReflect

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

func (*BackendGrant) Reset

func (x *BackendGrant) Reset()

func (*BackendGrant) String

func (x *BackendGrant) String() string

type BackendRequirement

type BackendRequirement struct {
	BackendId            string               `protobuf:"bytes,1,opt,name=backend_id,json=backendId,proto3" json:"backend_id,omitempty"`
	ProtocolMajor        uint32               `protobuf:"varint,2,opt,name=protocol_major,json=protocolMajor,proto3" json:"protocol_major,omitempty"`
	Required             bool                 `protobuf:"varint,3,opt,name=required,proto3" json:"required,omitempty"`
	RequiredCapabilities []*CapabilityRequest `protobuf:"bytes,4,rep,name=required_capabilities,json=requiredCapabilities,proto3" json:"required_capabilities,omitempty"`
	OptionalCapabilities []*CapabilityRequest `protobuf:"bytes,5,rep,name=optional_capabilities,json=optionalCapabilities,proto3" json:"optional_capabilities,omitempty"`
	// contains filtered or unexported fields
}

func (*BackendRequirement) Descriptor deprecated

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

Deprecated: Use BackendRequirement.ProtoReflect.Descriptor instead.

func (*BackendRequirement) GetBackendId

func (x *BackendRequirement) GetBackendId() string

func (*BackendRequirement) GetOptionalCapabilities

func (x *BackendRequirement) GetOptionalCapabilities() []*CapabilityRequest

func (*BackendRequirement) GetProtocolMajor

func (x *BackendRequirement) GetProtocolMajor() uint32

func (*BackendRequirement) GetRequired

func (x *BackendRequirement) GetRequired() bool

func (*BackendRequirement) GetRequiredCapabilities

func (x *BackendRequirement) GetRequiredCapabilities() []*CapabilityRequest

func (*BackendRequirement) ProtoMessage

func (*BackendRequirement) ProtoMessage()

func (*BackendRequirement) ProtoReflect

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

func (*BackendRequirement) Reset

func (x *BackendRequirement) Reset()

func (*BackendRequirement) String

func (x *BackendRequirement) String() string

type CapabilityGrant

type CapabilityGrant struct {
	Name           string           `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	ResourceScopes []*ResourceScope `protobuf:"bytes,2,rep,name=resource_scopes,json=resourceScopes,proto3" json:"resource_scopes,omitempty"`
	Constraints    *anypb.Any       `protobuf:"bytes,3,opt,name=constraints,proto3" json:"constraints,omitempty"`
	// contains filtered or unexported fields
}

func (*CapabilityGrant) Descriptor deprecated

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

Deprecated: Use CapabilityGrant.ProtoReflect.Descriptor instead.

func (*CapabilityGrant) GetConstraints

func (x *CapabilityGrant) GetConstraints() *anypb.Any

func (*CapabilityGrant) GetName

func (x *CapabilityGrant) GetName() string

func (*CapabilityGrant) GetResourceScopes

func (x *CapabilityGrant) GetResourceScopes() []*ResourceScope

func (*CapabilityGrant) ProtoMessage

func (*CapabilityGrant) ProtoMessage()

func (*CapabilityGrant) ProtoReflect

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

func (*CapabilityGrant) Reset

func (x *CapabilityGrant) Reset()

func (*CapabilityGrant) String

func (x *CapabilityGrant) String() string

type CapabilityRequest

type CapabilityRequest struct {
	Name           string           `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	ResourceScopes []*ResourceScope `protobuf:"bytes,2,rep,name=resource_scopes,json=resourceScopes,proto3" json:"resource_scopes,omitempty"`
	// contains filtered or unexported fields
}

func (*CapabilityRequest) Descriptor deprecated

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

Deprecated: Use CapabilityRequest.ProtoReflect.Descriptor instead.

func (*CapabilityRequest) GetName

func (x *CapabilityRequest) GetName() string

func (*CapabilityRequest) GetResourceScopes

func (x *CapabilityRequest) GetResourceScopes() []*ResourceScope

func (*CapabilityRequest) ProtoMessage

func (*CapabilityRequest) ProtoMessage()

func (*CapabilityRequest) ProtoReflect

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

func (*CapabilityRequest) Reset

func (x *CapabilityRequest) Reset()

func (*CapabilityRequest) String

func (x *CapabilityRequest) String() string

type CoreClient

type CoreClient interface {
	// Only this connection's approved JSON object; never the host environment.
	GetConfig(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*JSONValue, error)
}

CoreClient is the client API for Core service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewCoreClient

func NewCoreClient(cc grpc.ClientConnInterface) CoreClient

type CoreServer

type CoreServer interface {
	// Only this connection's approved JSON object; never the host environment.
	GetConfig(context.Context, *emptypb.Empty) (*JSONValue, error)
}

CoreServer is the server API for Core service. All implementations should embed UnimplementedCoreServer for forward compatibility.

type CredentialRef

type CredentialRef struct {
	OpaqueId      string                 `protobuf:"bytes,1,opt,name=opaque_id,json=opaqueId,proto3" json:"opaque_id,omitempty"`
	BackendId     string                 `protobuf:"bytes,2,opt,name=backend_id,json=backendId,proto3" json:"backend_id,omitempty"`
	Purpose       string                 `protobuf:"bytes,3,opt,name=purpose,proto3" json:"purpose,omitempty"`
	ResourceScope *ResourceSelector      `protobuf:"bytes,4,opt,name=resource_scope,json=resourceScope,proto3" json:"resource_scope,omitempty"`
	ExpiresAt     *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=expires_at,json=expiresAt,proto3" json:"expires_at,omitempty"`
	// contains filtered or unexported fields
}

Metadata is descriptive only; the host vault is authoritative on every use.

func (*CredentialRef) Descriptor deprecated

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

Deprecated: Use CredentialRef.ProtoReflect.Descriptor instead.

func (*CredentialRef) GetBackendId

func (x *CredentialRef) GetBackendId() string

func (*CredentialRef) GetExpiresAt

func (x *CredentialRef) GetExpiresAt() *timestamppb.Timestamp

func (*CredentialRef) GetOpaqueId

func (x *CredentialRef) GetOpaqueId() string

func (*CredentialRef) GetPurpose

func (x *CredentialRef) GetPurpose() string

func (*CredentialRef) GetResourceScope

func (x *CredentialRef) GetResourceScope() *ResourceSelector

func (*CredentialRef) ProtoMessage

func (*CredentialRef) ProtoMessage()

func (*CredentialRef) ProtoReflect

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

func (*CredentialRef) Reset

func (x *CredentialRef) Reset()

func (*CredentialRef) String

func (x *CredentialRef) String() string

type DeleteUploadRequest

type DeleteUploadRequest struct {
	File *UploadedFileRef `protobuf:"bytes,1,opt,name=file,proto3" json:"file,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteUploadRequest) Descriptor deprecated

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

Deprecated: Use DeleteUploadRequest.ProtoReflect.Descriptor instead.

func (*DeleteUploadRequest) GetFile

func (x *DeleteUploadRequest) GetFile() *UploadedFileRef

func (*DeleteUploadRequest) ProtoMessage

func (*DeleteUploadRequest) ProtoMessage()

func (*DeleteUploadRequest) ProtoReflect

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

func (*DeleteUploadRequest) Reset

func (x *DeleteUploadRequest) Reset()

func (*DeleteUploadRequest) String

func (x *DeleteUploadRequest) String() string

type EgressPolicy

type EgressPolicy int32
const (
	EgressPolicy_EGRESS_POLICY_UNSPECIFIED     EgressPolicy = 0
	EgressPolicy_EGRESS_POLICY_NONE            EgressPolicy = 1
	EgressPolicy_EGRESS_POLICY_PUBLIC_INTERNET EgressPolicy = 2
)

func (EgressPolicy) Descriptor

func (EgressPolicy) Enum

func (x EgressPolicy) Enum() *EgressPolicy

func (EgressPolicy) EnumDescriptor deprecated

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

Deprecated: Use EgressPolicy.Descriptor instead.

func (EgressPolicy) Number

func (EgressPolicy) String

func (x EgressPolicy) String() string

func (EgressPolicy) Type

type ErrorDetail

type ErrorDetail struct {
	Origin        ErrorOrigin       `protobuf:"varint,1,opt,name=origin,proto3,enum=flexmodule.core.v2.ErrorOrigin" json:"origin,omitempty"`
	Reason        string            `protobuf:"bytes,2,opt,name=reason,proto3" json:"reason,omitempty"`
	Operation     string            `protobuf:"bytes,3,opt,name=operation,proto3" json:"operation,omitempty"`
	BackendId     string            `protobuf:"bytes,4,opt,name=backend_id,json=backendId,proto3" json:"backend_id,omitempty"`
	RemoteOutcome RemoteOutcome     `` /* 139-byte string literal not displayed */
	Violations    []*FieldViolation `protobuf:"bytes,6,rep,name=violations,proto3" json:"violations,omitempty"`
	BackendDetail *anypb.Any        `protobuf:"bytes,7,opt,name=backend_detail,json=backendDetail,proto3" json:"backend_detail,omitempty"`
	// contains filtered or unexported fields
}

func (*ErrorDetail) Descriptor deprecated

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

Deprecated: Use ErrorDetail.ProtoReflect.Descriptor instead.

func (*ErrorDetail) GetBackendDetail

func (x *ErrorDetail) GetBackendDetail() *anypb.Any

func (*ErrorDetail) GetBackendId

func (x *ErrorDetail) GetBackendId() string

func (*ErrorDetail) GetOperation

func (x *ErrorDetail) GetOperation() string

func (*ErrorDetail) GetOrigin

func (x *ErrorDetail) GetOrigin() ErrorOrigin

func (*ErrorDetail) GetReason

func (x *ErrorDetail) GetReason() string

func (*ErrorDetail) GetRemoteOutcome

func (x *ErrorDetail) GetRemoteOutcome() RemoteOutcome

func (*ErrorDetail) GetViolations

func (x *ErrorDetail) GetViolations() []*FieldViolation

func (*ErrorDetail) ProtoMessage

func (*ErrorDetail) ProtoMessage()

func (*ErrorDetail) ProtoReflect

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

func (*ErrorDetail) Reset

func (x *ErrorDetail) Reset()

func (*ErrorDetail) String

func (x *ErrorDetail) String() string

type ErrorOrigin

type ErrorOrigin int32
const (
	ErrorOrigin_ERROR_ORIGIN_UNSPECIFIED ErrorOrigin = 0
	ErrorOrigin_ERROR_ORIGIN_FLEXMODULE  ErrorOrigin = 1
	ErrorOrigin_ERROR_ORIGIN_BACKEND     ErrorOrigin = 2
	ErrorOrigin_ERROR_ORIGIN_TRANSPORT   ErrorOrigin = 3
)

func (ErrorOrigin) Descriptor

func (ErrorOrigin) Enum

func (x ErrorOrigin) Enum() *ErrorOrigin

func (ErrorOrigin) EnumDescriptor deprecated

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

Deprecated: Use ErrorOrigin.Descriptor instead.

func (ErrorOrigin) Number

func (x ErrorOrigin) Number() protoreflect.EnumNumber

func (ErrorOrigin) String

func (x ErrorOrigin) String() string

func (ErrorOrigin) Type

type EventEnvelope

type EventEnvelope struct {
	BackendId       string                 `protobuf:"bytes,1,opt,name=backend_id,json=backendId,proto3" json:"backend_id,omitempty"`
	BackendMajor    uint32                 `protobuf:"varint,2,opt,name=backend_major,json=backendMajor,proto3" json:"backend_major,omitempty"`
	EventType       string                 `protobuf:"bytes,3,opt,name=event_type,json=eventType,proto3" json:"event_type,omitempty"`
	IngressSequence uint64                 `protobuf:"varint,4,opt,name=ingress_sequence,json=ingressSequence,proto3" json:"ingress_sequence,omitempty"`
	ReceivedAt      *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=received_at,json=receivedAt,proto3" json:"received_at,omitempty"`
	Payload         *anypb.Any             `protobuf:"bytes,6,opt,name=payload,proto3" json:"payload,omitempty"`
	// contains filtered or unexported fields
}

func (*EventEnvelope) Descriptor deprecated

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

Deprecated: Use EventEnvelope.ProtoReflect.Descriptor instead.

func (*EventEnvelope) GetBackendId

func (x *EventEnvelope) GetBackendId() string

func (*EventEnvelope) GetBackendMajor

func (x *EventEnvelope) GetBackendMajor() uint32

func (*EventEnvelope) GetEventType

func (x *EventEnvelope) GetEventType() string

func (*EventEnvelope) GetIngressSequence

func (x *EventEnvelope) GetIngressSequence() uint64

func (*EventEnvelope) GetPayload

func (x *EventEnvelope) GetPayload() *anypb.Any

func (*EventEnvelope) GetReceivedAt

func (x *EventEnvelope) GetReceivedAt() *timestamppb.Timestamp

func (*EventEnvelope) ProtoMessage

func (*EventEnvelope) ProtoMessage()

func (*EventEnvelope) ProtoReflect

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

func (*EventEnvelope) Reset

func (x *EventEnvelope) Reset()

func (*EventEnvelope) String

func (x *EventEnvelope) String() string

type FieldViolation

type FieldViolation struct {
	FieldPath   string `protobuf:"bytes,1,opt,name=field_path,json=fieldPath,proto3" json:"field_path,omitempty"`
	Reason      string `protobuf:"bytes,2,opt,name=reason,proto3" json:"reason,omitempty"`
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	// contains filtered or unexported fields
}

func (*FieldViolation) Descriptor deprecated

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

Deprecated: Use FieldViolation.ProtoReflect.Descriptor instead.

func (*FieldViolation) GetDescription

func (x *FieldViolation) GetDescription() string

func (*FieldViolation) GetFieldPath

func (x *FieldViolation) GetFieldPath() string

func (*FieldViolation) GetReason

func (x *FieldViolation) GetReason() string

func (*FieldViolation) ProtoMessage

func (*FieldViolation) ProtoMessage()

func (*FieldViolation) ProtoReflect

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

func (*FieldViolation) Reset

func (x *FieldViolation) Reset()

func (*FieldViolation) String

func (x *FieldViolation) String() string

type FileChunk

type FileChunk struct {
	Offset uint64 `protobuf:"varint,1,opt,name=offset,proto3" json:"offset,omitempty"`
	Data   []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*FileChunk) Descriptor deprecated

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

Deprecated: Use FileChunk.ProtoReflect.Descriptor instead.

func (*FileChunk) GetData

func (x *FileChunk) GetData() []byte

func (*FileChunk) GetOffset

func (x *FileChunk) GetOffset() uint64

func (*FileChunk) ProtoMessage

func (*FileChunk) ProtoMessage()

func (*FileChunk) ProtoReflect

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

func (*FileChunk) Reset

func (x *FileChunk) Reset()

func (*FileChunk) String

func (x *FileChunk) String() string

type FileTransferClient

type FileTransferClient interface {
	// Metadata first, then nonempty ordered chunks. Only a committed ref succeeds.
	Upload(ctx context.Context, opts ...grpc.CallOption) (grpc.ClientStreamingClient[UploadChunk, UploadedFileRef], error)
	// Owned cleanup; repeated deletion is valid only before the original expiry.
	DeleteUpload(ctx context.Context, in *DeleteUploadRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
}

FileTransferClient is the client API for FileTransfer service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type FileTransferServer

type FileTransferServer interface {
	// Metadata first, then nonempty ordered chunks. Only a committed ref succeeds.
	Upload(grpc.ClientStreamingServer[UploadChunk, UploadedFileRef]) error
	// Owned cleanup; repeated deletion is valid only before the original expiry.
	DeleteUpload(context.Context, *DeleteUploadRequest) (*emptypb.Empty, error)
}

FileTransferServer is the server API for FileTransfer service. All implementations should embed UnimplementedFileTransferServer for forward compatibility.

type FileTransfer_UploadClient

type FileTransfer_UploadClient = grpc.ClientStreamingClient[UploadChunk, UploadedFileRef]

This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.

type FileTransfer_UploadServer

type FileTransfer_UploadServer = grpc.ClientStreamingServer[UploadChunk, UploadedFileRef]

This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.

type Grants

type Grants struct {
	CoreCapabilities []*CapabilityGrant `protobuf:"bytes,1,rep,name=core_capabilities,json=coreCapabilities,proto3" json:"core_capabilities,omitempty"`
	Backends         []*BackendGrant    `protobuf:"bytes,2,rep,name=backends,proto3" json:"backends,omitempty"`
	ResourceClass    ResourceClass      `` /* 139-byte string literal not displayed */
	ResourceLimits   *ResourceLimits    `protobuf:"bytes,4,opt,name=resource_limits,json=resourceLimits,proto3" json:"resource_limits,omitempty"`
	EgressPolicy     EgressPolicy       `` /* 135-byte string literal not displayed */
	// contains filtered or unexported fields
}

Grants are the host-approved immutable snapshot for one authenticated execution.

func (*Grants) Descriptor deprecated

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

Deprecated: Use Grants.ProtoReflect.Descriptor instead.

func (*Grants) GetBackends

func (x *Grants) GetBackends() []*BackendGrant

func (*Grants) GetCoreCapabilities

func (x *Grants) GetCoreCapabilities() []*CapabilityGrant

func (*Grants) GetEgressPolicy

func (x *Grants) GetEgressPolicy() EgressPolicy

func (*Grants) GetResourceClass

func (x *Grants) GetResourceClass() ResourceClass

func (*Grants) GetResourceLimits

func (x *Grants) GetResourceLimits() *ResourceLimits

func (*Grants) ProtoMessage

func (*Grants) ProtoMessage()

func (*Grants) ProtoReflect

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

func (*Grants) Reset

func (x *Grants) Reset()

func (*Grants) String

func (x *Grants) String() string

type HookClient

type HookClient interface {
	// Artifact metadata only; does not activate the module.
	GetManifest(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*ModuleManifest, error)
	GetStatus(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*Status, error)
	// InitContext is required on INIT and forbidden on every other stage.
	OnStage(ctx context.Context, in *StageRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// Acknowledges callback completion, not durable or exactly-once processing.
	OnEvent(ctx context.Context, in *EventEnvelope, opts ...grpc.CallOption) (*emptypb.Empty, error)
}

HookClient is the client API for Hook service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewHookClient

func NewHookClient(cc grpc.ClientConnInterface) HookClient

type HookServer

type HookServer interface {
	// Artifact metadata only; does not activate the module.
	GetManifest(context.Context, *emptypb.Empty) (*ModuleManifest, error)
	GetStatus(context.Context, *emptypb.Empty) (*Status, error)
	// InitContext is required on INIT and forbidden on every other stage.
	OnStage(context.Context, *StageRequest) (*emptypb.Empty, error)
	// Acknowledges callback completion, not durable or exactly-once processing.
	OnEvent(context.Context, *EventEnvelope) (*emptypb.Empty, error)
}

HookServer is the server API for Hook service. All implementations should embed UnimplementedHookServer for forward compatibility.

type InitContext

type InitContext struct {
	ModuleId            string  `protobuf:"bytes,1,opt,name=module_id,json=moduleId,proto3" json:"module_id,omitempty"`
	InstanceId          string  `protobuf:"bytes,2,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"`
	Grants              *Grants `protobuf:"bytes,3,opt,name=grants,proto3" json:"grants,omitempty"`
	PersistentDirectory string  `protobuf:"bytes,4,opt,name=persistent_directory,json=persistentDirectory,proto3" json:"persistent_directory,omitempty"`
	ScratchDirectory    string  `protobuf:"bytes,5,opt,name=scratch_directory,json=scratchDirectory,proto3" json:"scratch_directory,omitempty"`
	// contains filtered or unexported fields
}

func (*InitContext) Descriptor deprecated

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

Deprecated: Use InitContext.ProtoReflect.Descriptor instead.

func (*InitContext) GetGrants

func (x *InitContext) GetGrants() *Grants

func (*InitContext) GetInstanceId

func (x *InitContext) GetInstanceId() string

func (*InitContext) GetModuleId

func (x *InitContext) GetModuleId() string

func (*InitContext) GetPersistentDirectory

func (x *InitContext) GetPersistentDirectory() string

func (*InitContext) GetScratchDirectory

func (x *InitContext) GetScratchDirectory() string

func (*InitContext) ProtoMessage

func (*InitContext) ProtoMessage()

func (*InitContext) ProtoReflect

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

func (*InitContext) Reset

func (x *InitContext) Reset()

func (*InitContext) String

func (x *InitContext) String() string

type JSONValue

type JSONValue struct {
	Json []byte `protobuf:"bytes,1,opt,name=json,proto3" json:"json,omitempty"`
	// contains filtered or unexported fields
}

Exactly one complete UTF-8 JSON value; number lexemes are preserved.

func (*JSONValue) Descriptor deprecated

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

Deprecated: Use JSONValue.ProtoReflect.Descriptor instead.

func (*JSONValue) GetJson

func (x *JSONValue) GetJson() []byte

func (*JSONValue) ProtoMessage

func (*JSONValue) ProtoMessage()

func (*JSONValue) ProtoReflect

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

func (*JSONValue) Reset

func (x *JSONValue) Reset()

func (*JSONValue) String

func (x *JSONValue) String() string

type ModuleManifest

type ModuleManifest struct {
	ProtocolMajor        uint32                `protobuf:"varint,1,opt,name=protocol_major,json=protocolMajor,proto3" json:"protocol_major,omitempty"`
	Name                 string                `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Version              string                `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"`
	Author               string                `protobuf:"bytes,4,opt,name=author,proto3" json:"author,omitempty"`
	Repository           string                `protobuf:"bytes,5,opt,name=repository,proto3" json:"repository,omitempty"`
	RequiredCapabilities []*CapabilityRequest  `protobuf:"bytes,6,rep,name=required_capabilities,json=requiredCapabilities,proto3" json:"required_capabilities,omitempty"`
	OptionalCapabilities []*CapabilityRequest  `protobuf:"bytes,7,rep,name=optional_capabilities,json=optionalCapabilities,proto3" json:"optional_capabilities,omitempty"`
	BackendRequirements  []*BackendRequirement `protobuf:"bytes,8,rep,name=backend_requirements,json=backendRequirements,proto3" json:"backend_requirements,omitempty"`
	// contains filtered or unexported fields
}

func (*ModuleManifest) Descriptor deprecated

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

Deprecated: Use ModuleManifest.ProtoReflect.Descriptor instead.

func (*ModuleManifest) GetAuthor

func (x *ModuleManifest) GetAuthor() string

func (*ModuleManifest) GetBackendRequirements

func (x *ModuleManifest) GetBackendRequirements() []*BackendRequirement

func (*ModuleManifest) GetName

func (x *ModuleManifest) GetName() string

func (*ModuleManifest) GetOptionalCapabilities

func (x *ModuleManifest) GetOptionalCapabilities() []*CapabilityRequest

func (*ModuleManifest) GetProtocolMajor

func (x *ModuleManifest) GetProtocolMajor() uint32

func (*ModuleManifest) GetRepository

func (x *ModuleManifest) GetRepository() string

func (*ModuleManifest) GetRequiredCapabilities

func (x *ModuleManifest) GetRequiredCapabilities() []*CapabilityRequest

func (*ModuleManifest) GetVersion

func (x *ModuleManifest) GetVersion() string

func (*ModuleManifest) ProtoMessage

func (*ModuleManifest) ProtoMessage()

func (*ModuleManifest) ProtoReflect

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

func (*ModuleManifest) Reset

func (x *ModuleManifest) Reset()

func (*ModuleManifest) String

func (x *ModuleManifest) String() string

type NullableString

type NullableString struct {

	// Types that are valid to be assigned to Kind:
	//
	//	*NullableString_Value
	//	*NullableString_NullValue
	Kind isNullableString_Kind `protobuf_oneof:"kind"`
	// contains filtered or unexported fields
}

func (*NullableString) Descriptor deprecated

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

Deprecated: Use NullableString.ProtoReflect.Descriptor instead.

func (*NullableString) GetKind

func (x *NullableString) GetKind() isNullableString_Kind

func (*NullableString) GetNullValue

func (x *NullableString) GetNullValue() structpb.NullValue

func (*NullableString) GetValue

func (x *NullableString) GetValue() string

func (*NullableString) ProtoMessage

func (*NullableString) ProtoMessage()

func (*NullableString) ProtoReflect

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

func (*NullableString) Reset

func (x *NullableString) Reset()

func (*NullableString) String

func (x *NullableString) String() string

type NullableString_NullValue

type NullableString_NullValue struct {
	NullValue structpb.NullValue `protobuf:"varint,2,opt,name=null_value,json=nullValue,proto3,enum=google.protobuf.NullValue,oneof"`
}

type NullableString_Value

type NullableString_Value struct {
	Value string `protobuf:"bytes,1,opt,name=value,proto3,oneof"`
}

type NullableTimestamp

type NullableTimestamp struct {

	// Types that are valid to be assigned to Kind:
	//
	//	*NullableTimestamp_Value
	//	*NullableTimestamp_NullValue
	Kind isNullableTimestamp_Kind `protobuf_oneof:"kind"`
	// contains filtered or unexported fields
}

func (*NullableTimestamp) Descriptor deprecated

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

Deprecated: Use NullableTimestamp.ProtoReflect.Descriptor instead.

func (*NullableTimestamp) GetKind

func (x *NullableTimestamp) GetKind() isNullableTimestamp_Kind

func (*NullableTimestamp) GetNullValue

func (x *NullableTimestamp) GetNullValue() structpb.NullValue

func (*NullableTimestamp) GetValue

func (x *NullableTimestamp) GetValue() *timestamppb.Timestamp

func (*NullableTimestamp) ProtoMessage

func (*NullableTimestamp) ProtoMessage()

func (*NullableTimestamp) ProtoReflect

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

func (*NullableTimestamp) Reset

func (x *NullableTimestamp) Reset()

func (*NullableTimestamp) String

func (x *NullableTimestamp) String() string

type NullableTimestamp_NullValue

type NullableTimestamp_NullValue struct {
	NullValue structpb.NullValue `protobuf:"varint,2,opt,name=null_value,json=nullValue,proto3,enum=google.protobuf.NullValue,oneof"`
}

type NullableTimestamp_Value

type NullableTimestamp_Value struct {
	Value *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=value,proto3,oneof"`
}

type Readiness

type Readiness int32
const (
	Readiness_READINESS_UNSPECIFIED Readiness = 0
	Readiness_READINESS_NOT_READY   Readiness = 1
	Readiness_READINESS_READY       Readiness = 2
	Readiness_READINESS_FAILED      Readiness = 3
)

func (Readiness) Descriptor

func (Readiness) Descriptor() protoreflect.EnumDescriptor

func (Readiness) Enum

func (x Readiness) Enum() *Readiness

func (Readiness) EnumDescriptor deprecated

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

Deprecated: Use Readiness.Descriptor instead.

func (Readiness) Number

func (x Readiness) Number() protoreflect.EnumNumber

func (Readiness) String

func (x Readiness) String() string

func (Readiness) Type

type RemoteOutcome

type RemoteOutcome int32
const (
	RemoteOutcome_REMOTE_OUTCOME_UNSPECIFIED       RemoteOutcome = 0
	RemoteOutcome_REMOTE_OUTCOME_NOT_SENT          RemoteOutcome = 1
	RemoteOutcome_REMOTE_OUTCOME_RESPONSE_RECEIVED RemoteOutcome = 2
	RemoteOutcome_REMOTE_OUTCOME_UNKNOWN           RemoteOutcome = 3
)

func (RemoteOutcome) Descriptor

func (RemoteOutcome) Enum

func (x RemoteOutcome) Enum() *RemoteOutcome

func (RemoteOutcome) EnumDescriptor deprecated

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

Deprecated: Use RemoteOutcome.Descriptor instead.

func (RemoteOutcome) Number

func (RemoteOutcome) String

func (x RemoteOutcome) String() string

func (RemoteOutcome) Type

type ResourceClass

type ResourceClass int32
const (
	ResourceClass_RESOURCE_CLASS_UNSPECIFIED ResourceClass = 0
	ResourceClass_RESOURCE_CLASS_GENERAL     ResourceClass = 1
	ResourceClass_RESOURCE_CLASS_MEDIA       ResourceClass = 2
)

func (ResourceClass) Descriptor

func (ResourceClass) Enum

func (x ResourceClass) Enum() *ResourceClass

func (ResourceClass) EnumDescriptor deprecated

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

Deprecated: Use ResourceClass.Descriptor instead.

func (ResourceClass) Number

func (ResourceClass) String

func (x ResourceClass) String() string

func (ResourceClass) Type

type ResourceLimits

type ResourceLimits struct {
	CpuMillicores   uint32 `protobuf:"varint,1,opt,name=cpu_millicores,json=cpuMillicores,proto3" json:"cpu_millicores,omitempty"`
	MemoryBytes     uint64 `protobuf:"varint,2,opt,name=memory_bytes,json=memoryBytes,proto3" json:"memory_bytes,omitempty"`
	MaxPids         uint32 `protobuf:"varint,3,opt,name=max_pids,json=maxPids,proto3" json:"max_pids,omitempty"`
	PersistentBytes uint64 `protobuf:"varint,4,opt,name=persistent_bytes,json=persistentBytes,proto3" json:"persistent_bytes,omitempty"`
	ScratchBytes    uint64 `protobuf:"varint,5,opt,name=scratch_bytes,json=scratchBytes,proto3" json:"scratch_bytes,omitempty"`
	// contains filtered or unexported fields
}

func (*ResourceLimits) Descriptor deprecated

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

Deprecated: Use ResourceLimits.ProtoReflect.Descriptor instead.

func (*ResourceLimits) GetCpuMillicores

func (x *ResourceLimits) GetCpuMillicores() uint32

func (*ResourceLimits) GetMaxPids

func (x *ResourceLimits) GetMaxPids() uint32

func (*ResourceLimits) GetMemoryBytes

func (x *ResourceLimits) GetMemoryBytes() uint64

func (*ResourceLimits) GetPersistentBytes

func (x *ResourceLimits) GetPersistentBytes() uint64

func (*ResourceLimits) GetScratchBytes

func (x *ResourceLimits) GetScratchBytes() uint64

func (*ResourceLimits) ProtoMessage

func (*ResourceLimits) ProtoMessage()

func (*ResourceLimits) ProtoReflect

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

func (*ResourceLimits) Reset

func (x *ResourceLimits) Reset()

func (*ResourceLimits) String

func (x *ResourceLimits) String() string

type ResourceScope

type ResourceScope struct {

	// Types that are valid to be assigned to SelectorKind:
	//
	//	*ResourceScope_AllResources
	//	*ResourceScope_Selector
	SelectorKind isResourceScope_SelectorKind `protobuf_oneof:"selector_kind"`
	// contains filtered or unexported fields
}

func (*ResourceScope) Descriptor deprecated

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

Deprecated: Use ResourceScope.ProtoReflect.Descriptor instead.

func (*ResourceScope) GetAllResources

func (x *ResourceScope) GetAllResources() bool

func (*ResourceScope) GetSelector

func (x *ResourceScope) GetSelector() *ResourceSelector

func (*ResourceScope) GetSelectorKind

func (x *ResourceScope) GetSelectorKind() isResourceScope_SelectorKind

func (*ResourceScope) ProtoMessage

func (*ResourceScope) ProtoMessage()

func (*ResourceScope) ProtoReflect

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

func (*ResourceScope) Reset

func (x *ResourceScope) Reset()

func (*ResourceScope) String

func (x *ResourceScope) String() string

type ResourceScope_AllResources

type ResourceScope_AllResources struct {
	AllResources bool `protobuf:"varint,1,opt,name=all_resources,json=allResources,proto3,oneof"`
}

type ResourceScope_Selector

type ResourceScope_Selector struct {
	Selector *ResourceSelector `protobuf:"bytes,2,opt,name=selector,proto3,oneof"`
}

type ResourceSelector

type ResourceSelector struct {
	ResourceIds map[string]string `` /* 168-byte string literal not displayed */
	// contains filtered or unexported fields
}

Resource selectors are backend-defined conjunctions; scope lists are disjunctions.

func (*ResourceSelector) Descriptor deprecated

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

Deprecated: Use ResourceSelector.ProtoReflect.Descriptor instead.

func (*ResourceSelector) GetResourceIds

func (x *ResourceSelector) GetResourceIds() map[string]string

func (*ResourceSelector) ProtoMessage

func (*ResourceSelector) ProtoMessage()

func (*ResourceSelector) ProtoReflect

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

func (*ResourceSelector) Reset

func (x *ResourceSelector) Reset()

func (*ResourceSelector) String

func (x *ResourceSelector) String() string

type Stage

type Stage int32
const (
	Stage_STAGE_UNSPECIFIED Stage = 0
	Stage_STAGE_INIT        Stage = 1
	Stage_STAGE_START       Stage = 2
	Stage_STAGE_DRAIN       Stage = 3
	Stage_STAGE_STOP        Stage = 4
)

func (Stage) Descriptor

func (Stage) Descriptor() protoreflect.EnumDescriptor

func (Stage) Enum

func (x Stage) Enum() *Stage

func (Stage) EnumDescriptor deprecated

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

Deprecated: Use Stage.Descriptor instead.

func (Stage) Number

func (x Stage) Number() protoreflect.EnumNumber

func (Stage) String

func (x Stage) String() string

func (Stage) Type

func (Stage) Type() protoreflect.EnumType

type StageRequest

type StageRequest struct {
	Stage       Stage        `protobuf:"varint,1,opt,name=stage,proto3,enum=flexmodule.core.v2.Stage" json:"stage,omitempty"`
	InitContext *InitContext `protobuf:"bytes,2,opt,name=init_context,json=initContext,proto3" json:"init_context,omitempty"`
	// contains filtered or unexported fields
}

func (*StageRequest) Descriptor deprecated

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

Deprecated: Use StageRequest.ProtoReflect.Descriptor instead.

func (*StageRequest) GetInitContext

func (x *StageRequest) GetInitContext() *InitContext

func (*StageRequest) GetStage

func (x *StageRequest) GetStage() Stage

func (*StageRequest) ProtoMessage

func (*StageRequest) ProtoMessage()

func (*StageRequest) ProtoReflect

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

func (*StageRequest) Reset

func (x *StageRequest) Reset()

func (*StageRequest) String

func (x *StageRequest) String() string

type Status

type Status struct {
	Readiness Readiness `protobuf:"varint,1,opt,name=readiness,proto3,enum=flexmodule.core.v2.Readiness" json:"readiness,omitempty"`
	Detail    *string   `protobuf:"bytes,2,opt,name=detail,proto3,oneof" json:"detail,omitempty"`
	// contains filtered or unexported fields
}

func (*Status) Descriptor deprecated

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

Deprecated: Use Status.ProtoReflect.Descriptor instead.

func (*Status) GetDetail

func (x *Status) GetDetail() string

func (*Status) GetReadiness

func (x *Status) GetReadiness() Readiness

func (*Status) ProtoMessage

func (*Status) ProtoMessage()

func (*Status) ProtoReflect

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

func (*Status) Reset

func (x *Status) Reset()

func (*Status) String

func (x *Status) String() string

type StringList

type StringList struct {
	Values []string `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`
	// contains filtered or unexported fields
}

func (*StringList) Descriptor deprecated

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

Deprecated: Use StringList.ProtoReflect.Descriptor instead.

func (*StringList) GetValues

func (x *StringList) GetValues() []string

func (*StringList) ProtoMessage

func (*StringList) ProtoMessage()

func (*StringList) ProtoReflect

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

func (*StringList) Reset

func (x *StringList) Reset()

func (*StringList) String

func (x *StringList) String() string

type StringMap

type StringMap struct {
	Values map[string]string `` /* 139-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*StringMap) Descriptor deprecated

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

Deprecated: Use StringMap.ProtoReflect.Descriptor instead.

func (*StringMap) GetValues

func (x *StringMap) GetValues() map[string]string

func (*StringMap) ProtoMessage

func (*StringMap) ProtoMessage()

func (*StringMap) ProtoReflect

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

func (*StringMap) Reset

func (x *StringMap) Reset()

func (*StringMap) String

func (x *StringMap) String() string

type UnimplementedCoreServer

type UnimplementedCoreServer struct{}

UnimplementedCoreServer should be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedCoreServer) GetConfig

type UnimplementedFileTransferServer

type UnimplementedFileTransferServer struct{}

UnimplementedFileTransferServer should be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedFileTransferServer) DeleteUpload

func (UnimplementedFileTransferServer) Upload

type UnimplementedHookServer

type UnimplementedHookServer struct{}

UnimplementedHookServer should be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedHookServer) GetManifest

func (UnimplementedHookServer) GetStatus

func (UnimplementedHookServer) OnEvent

func (UnimplementedHookServer) OnStage

type UnsafeCoreServer

type UnsafeCoreServer interface {
	// contains filtered or unexported methods
}

UnsafeCoreServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to CoreServer will result in compilation errors.

type UnsafeFileTransferServer

type UnsafeFileTransferServer interface {
	// contains filtered or unexported methods
}

UnsafeFileTransferServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to FileTransferServer will result in compilation errors.

type UnsafeHookServer

type UnsafeHookServer interface {
	// contains filtered or unexported methods
}

UnsafeHookServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to HookServer will result in compilation errors.

type UploadChunk

type UploadChunk struct {

	// Types that are valid to be assigned to Part:
	//
	//	*UploadChunk_Metadata
	//	*UploadChunk_Chunk
	Part isUploadChunk_Part `protobuf_oneof:"part"`
	// contains filtered or unexported fields
}

func (*UploadChunk) Descriptor deprecated

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

Deprecated: Use UploadChunk.ProtoReflect.Descriptor instead.

func (*UploadChunk) GetChunk

func (x *UploadChunk) GetChunk() *FileChunk

func (*UploadChunk) GetMetadata

func (x *UploadChunk) GetMetadata() *UploadMetadata

func (*UploadChunk) GetPart

func (x *UploadChunk) GetPart() isUploadChunk_Part

func (*UploadChunk) ProtoMessage

func (*UploadChunk) ProtoMessage()

func (*UploadChunk) ProtoReflect

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

func (*UploadChunk) Reset

func (x *UploadChunk) Reset()

func (*UploadChunk) String

func (x *UploadChunk) String() string

type UploadChunk_Chunk

type UploadChunk_Chunk struct {
	Chunk *FileChunk `protobuf:"bytes,2,opt,name=chunk,proto3,oneof"`
}

type UploadChunk_Metadata

type UploadChunk_Metadata struct {
	Metadata *UploadMetadata `protobuf:"bytes,1,opt,name=metadata,proto3,oneof"`
}

type UploadMetadata

type UploadMetadata struct {
	FileName          string `protobuf:"bytes,1,opt,name=file_name,json=fileName,proto3" json:"file_name,omitempty"`
	ContentType       string `protobuf:"bytes,2,opt,name=content_type,json=contentType,proto3" json:"content_type,omitempty"`
	DeclaredSizeBytes uint64 `protobuf:"varint,3,opt,name=declared_size_bytes,json=declaredSizeBytes,proto3" json:"declared_size_bytes,omitempty"`
	// contains filtered or unexported fields
}

func (*UploadMetadata) Descriptor deprecated

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

Deprecated: Use UploadMetadata.ProtoReflect.Descriptor instead.

func (*UploadMetadata) GetContentType

func (x *UploadMetadata) GetContentType() string

func (*UploadMetadata) GetDeclaredSizeBytes

func (x *UploadMetadata) GetDeclaredSizeBytes() uint64

func (*UploadMetadata) GetFileName

func (x *UploadMetadata) GetFileName() string

func (*UploadMetadata) ProtoMessage

func (*UploadMetadata) ProtoMessage()

func (*UploadMetadata) ProtoReflect

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

func (*UploadMetadata) Reset

func (x *UploadMetadata) Reset()

func (*UploadMetadata) String

func (x *UploadMetadata) String() string

type UploadedFileRef

type UploadedFileRef struct {
	OpaqueId    string                 `protobuf:"bytes,1,opt,name=opaque_id,json=opaqueId,proto3" json:"opaque_id,omitempty"`
	FileName    string                 `protobuf:"bytes,2,opt,name=file_name,json=fileName,proto3" json:"file_name,omitempty"`
	ContentType string                 `protobuf:"bytes,3,opt,name=content_type,json=contentType,proto3" json:"content_type,omitempty"`
	SizeBytes   uint64                 `protobuf:"varint,4,opt,name=size_bytes,json=sizeBytes,proto3" json:"size_bytes,omitempty"`
	ExpiresAt   *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=expires_at,json=expiresAt,proto3" json:"expires_at,omitempty"`
	// contains filtered or unexported fields
}

func (*UploadedFileRef) Descriptor deprecated

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

Deprecated: Use UploadedFileRef.ProtoReflect.Descriptor instead.

func (*UploadedFileRef) GetContentType

func (x *UploadedFileRef) GetContentType() string

func (*UploadedFileRef) GetExpiresAt

func (x *UploadedFileRef) GetExpiresAt() *timestamppb.Timestamp

func (*UploadedFileRef) GetFileName

func (x *UploadedFileRef) GetFileName() string

func (*UploadedFileRef) GetOpaqueId

func (x *UploadedFileRef) GetOpaqueId() string

func (*UploadedFileRef) GetSizeBytes

func (x *UploadedFileRef) GetSizeBytes() uint64

func (*UploadedFileRef) ProtoMessage

func (*UploadedFileRef) ProtoMessage()

func (*UploadedFileRef) ProtoReflect

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

func (*UploadedFileRef) Reset

func (x *UploadedFileRef) Reset()

func (*UploadedFileRef) String

func (x *UploadedFileRef) String() string

Jump to

Keyboard shortcuts

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