Documentation
¶
Index ¶
- Variables
- type Data
- func (*Data) Descriptor() ([]byte, []int)deprecated
- func (x *Data) GetData() isData_Data
- func (x *Data) GetKeyAction() *KeyAction
- func (x *Data) GetSystemAction() *SystemAction
- func (x *Data) GetTaskType() TaskType
- func (*Data) ProtoMessage()
- func (x *Data) ProtoReflect() protoreflect.Message
- func (x *Data) Reset()
- func (x *Data) String() string
- type Data_KeyAction
- type Data_SystemAction
- type KeyAction
- func (*KeyAction) Descriptor() ([]byte, []int)deprecated
- func (x *KeyAction) GetCmkRegion() string
- func (x *KeyAction) GetKeyId() string
- func (x *KeyAction) GetTenantId() string
- func (*KeyAction) ProtoMessage()
- func (x *KeyAction) ProtoReflect() protoreflect.Message
- func (x *KeyAction) Reset()
- func (x *KeyAction) String() string
- type SystemAction
- func (*SystemAction) Descriptor() ([]byte, []int)deprecated
- func (x *SystemAction) GetCmkRegion() string
- func (x *SystemAction) GetKeyAccessMetaData() []byte
- func (x *SystemAction) GetKeyIdFrom() string
- func (x *SystemAction) GetKeyIdTo() string
- func (x *SystemAction) GetKeyProvider() string
- func (x *SystemAction) GetSystemId() string
- func (x *SystemAction) GetSystemRegion() string
- func (x *SystemAction) GetSystemType() string
- func (x *SystemAction) GetTenantId() string
- func (x *SystemAction) GetTenantOwnerId() string
- func (x *SystemAction) GetTenantOwnerType() string
- func (*SystemAction) ProtoMessage()
- func (x *SystemAction) ProtoReflect() protoreflect.Message
- func (x *SystemAction) Reset()
- func (x *SystemAction) String() string
- type TaskType
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) GetKeyAction ¶
func (*Data) GetSystemAction ¶
func (x *Data) GetSystemAction() *SystemAction
func (*Data) GetTaskType ¶
func (*Data) ProtoMessage ¶
func (*Data) ProtoMessage()
func (*Data) ProtoReflect ¶
func (x *Data) ProtoReflect() protoreflect.Message
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) GetCmkRegion ¶
func (*KeyAction) GetTenantId ¶
func (*KeyAction) ProtoMessage ¶
func (*KeyAction) ProtoMessage()
func (*KeyAction) ProtoReflect ¶
func (x *KeyAction) ProtoReflect() protoreflect.Message
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
func (TaskType) Descriptor ¶
func (TaskType) Descriptor() protoreflect.EnumDescriptor
func (TaskType) EnumDescriptor
deprecated
func (TaskType) Number ¶
func (x TaskType) Number() protoreflect.EnumNumber
func (TaskType) Type ¶
func (TaskType) Type() protoreflect.EnumType
Click to show internal directories.
Click to hide internal directories.