proto

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	TaskType_name = map[int32]string{
		0: "KEY_ENABLE",
		1: "KEY_DISABLE",
		2: "KEY_DELETE",
		3: "KEY_ROTATE",
		4: "SYSTEM_LINK",
		5: "SYSTEM_UNLINK",
		6: "SYSTEM_SWITCH",
		7: "KEY_DETACH",
	}
	TaskType_value = map[string]int32{
		"KEY_ENABLE":    0,
		"KEY_DISABLE":   1,
		"KEY_DELETE":    2,
		"KEY_ROTATE":    3,
		"SYSTEM_LINK":   4,
		"SYSTEM_UNLINK": 5,
		"SYSTEM_SWITCH": 6,
		"KEY_DETACH":    7,
	}
)

Enum value maps for TaskType.

View Source
var File_internal_event_processor_proto_task_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Data

type Data struct {
	TaskType TaskType `protobuf:"varint,5,opt,name=task_type,json=taskType,proto3,enum=proto.TaskType" json:"task_type,omitempty"`
	// Types that are valid to be assigned to Data:
	//
	//	*Data_KeyAction
	//	*Data_SystemAction
	Data isData_Data `protobuf_oneof:"data"`
	// contains filtered or unexported fields
}

Wrapped proto for Orbital TaskRequest.data.

func (*Data) Descriptor deprecated

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

Deprecated: Use Data.ProtoReflect.Descriptor instead.

func (*Data) GetData

func (x *Data) GetData() isData_Data

func (*Data) GetKeyAction

func (x *Data) GetKeyAction() *KeyAction

func (*Data) GetSystemAction

func (x *Data) GetSystemAction() *SystemAction

func (*Data) GetTaskType

func (x *Data) GetTaskType() TaskType

func (*Data) ProtoMessage

func (*Data) ProtoMessage()

func (*Data) ProtoReflect

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

func (*Data) Reset

func (x *Data) Reset()

func (*Data) String

func (x *Data) String() string

type Data_KeyAction

type Data_KeyAction struct {
	KeyAction *KeyAction `protobuf:"bytes,10,opt,name=key_action,json=keyAction,proto3,oneof"`
}

type Data_SystemAction

type Data_SystemAction struct {
	SystemAction *SystemAction `protobuf:"bytes,20,opt,name=system_action,json=systemAction,proto3,oneof"`
}

type KeyAction

type KeyAction struct {
	KeyId     string `protobuf:"bytes,10,opt,name=key_id,json=keyId,proto3" json:"key_id,omitempty"`
	TenantId  string `protobuf:"bytes,20,opt,name=tenant_id,json=tenantId,proto3" json:"tenant_id,omitempty"`
	CmkRegion string `protobuf:"bytes,30,opt,name=cmk_region,json=cmkRegion,proto3" json:"cmk_region,omitempty"`
	// contains filtered or unexported fields
}

TaskType KEY_ENABLE, KEY_DISABLE, KEY_DELETE, KEY_ROTATE

func (*KeyAction) Descriptor deprecated

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

Deprecated: Use KeyAction.ProtoReflect.Descriptor instead.

func (*KeyAction) GetCmkRegion

func (x *KeyAction) GetCmkRegion() string

func (*KeyAction) GetKeyId

func (x *KeyAction) GetKeyId() string

func (*KeyAction) GetTenantId

func (x *KeyAction) GetTenantId() string

func (*KeyAction) ProtoMessage

func (*KeyAction) ProtoMessage()

func (*KeyAction) ProtoReflect

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

func (*KeyAction) Reset

func (x *KeyAction) Reset()

func (*KeyAction) String

func (x *KeyAction) String() string

type SystemAction

type SystemAction struct {
	SystemId          string `protobuf:"bytes,10,opt,name=system_id,json=systemId,proto3" json:"system_id,omitempty"`
	SystemRegion      string `protobuf:"bytes,12,opt,name=system_region,json=systemRegion,proto3" json:"system_region,omitempty"`
	SystemType        string `protobuf:"bytes,15,opt,name=system_type,json=systemType,proto3" json:"system_type,omitempty"`
	KeyIdFrom         string `protobuf:"bytes,20,opt,name=key_id_from,json=keyIdFrom,proto3" json:"key_id_from,omitempty"`
	KeyIdTo           string `protobuf:"bytes,30,opt,name=key_id_to,json=keyIdTo,proto3" json:"key_id_to,omitempty"`
	KeyProvider       string `protobuf:"bytes,35,opt,name=key_provider,json=keyProvider,proto3" json:"key_provider,omitempty"`
	KeyAccessMetaData []byte `protobuf:"bytes,40,opt,name=key_access_meta_data,json=keyAccessMetaData,proto3" json:"key_access_meta_data,omitempty"`
	TenantId          string `protobuf:"bytes,50,opt,name=tenant_id,json=tenantId,proto3" json:"tenant_id,omitempty"`
	TenantOwnerId     string `protobuf:"bytes,51,opt,name=tenant_owner_id,json=tenantOwnerId,proto3" json:"tenant_owner_id,omitempty"`
	TenantOwnerType   string `protobuf:"bytes,52,opt,name=tenant_owner_type,json=tenantOwnerType,proto3" json:"tenant_owner_type,omitempty"`
	CmkRegion         string `protobuf:"bytes,60,opt,name=cmk_region,json=cmkRegion,proto3" json:"cmk_region,omitempty"`
	// contains filtered or unexported fields
}

TaskType SYSTEM_LINK, SYSTEM_UNLINK, SYSTEM_SWITCH

func (*SystemAction) Descriptor deprecated

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

Deprecated: Use SystemAction.ProtoReflect.Descriptor instead.

func (*SystemAction) GetCmkRegion

func (x *SystemAction) GetCmkRegion() string

func (*SystemAction) GetKeyAccessMetaData

func (x *SystemAction) GetKeyAccessMetaData() []byte

func (*SystemAction) GetKeyIdFrom

func (x *SystemAction) GetKeyIdFrom() string

func (*SystemAction) GetKeyIdTo

func (x *SystemAction) GetKeyIdTo() string

func (*SystemAction) GetKeyProvider

func (x *SystemAction) GetKeyProvider() string

func (*SystemAction) GetSystemId

func (x *SystemAction) GetSystemId() string

func (*SystemAction) GetSystemRegion

func (x *SystemAction) GetSystemRegion() string

func (*SystemAction) GetSystemType

func (x *SystemAction) GetSystemType() string

func (*SystemAction) GetTenantId

func (x *SystemAction) GetTenantId() string

func (*SystemAction) GetTenantOwnerId

func (x *SystemAction) GetTenantOwnerId() string

func (*SystemAction) GetTenantOwnerType

func (x *SystemAction) GetTenantOwnerType() string

func (*SystemAction) ProtoMessage

func (*SystemAction) ProtoMessage()

func (*SystemAction) ProtoReflect

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

func (*SystemAction) Reset

func (x *SystemAction) Reset()

func (*SystemAction) String

func (x *SystemAction) String() string

type TaskType

type TaskType int32
const (
	TaskType_KEY_ENABLE    TaskType = 0
	TaskType_KEY_DISABLE   TaskType = 1
	TaskType_KEY_DELETE    TaskType = 2
	TaskType_KEY_ROTATE    TaskType = 3
	TaskType_SYSTEM_LINK   TaskType = 4
	TaskType_SYSTEM_UNLINK TaskType = 5
	TaskType_SYSTEM_SWITCH TaskType = 6
	TaskType_KEY_DETACH    TaskType = 7
)

func (TaskType) Descriptor

func (TaskType) Descriptor() protoreflect.EnumDescriptor

func (TaskType) Enum

func (x TaskType) Enum() *TaskType

func (TaskType) EnumDescriptor deprecated

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

Deprecated: Use TaskType.Descriptor instead.

func (TaskType) Number

func (x TaskType) Number() protoreflect.EnumNumber

func (TaskType) String

func (x TaskType) String() string

func (TaskType) Type

Jump to

Keyboard shortcuts

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