Documentation ¶
Index ¶
- Variables
- func NewAssetStoreServer(handler AssetStore, opts ...AssetStoreServerOption) http.Handler
- type Asset
- func (*Asset) Descriptor() ([]byte, []int)deprecated
- func (x *Asset) GetAnnotations() map[string]string
- func (x *Asset) GetArch() string
- func (x *Asset) GetAssetType() string
- func (x *Asset) GetBuild() string
- func (x *Asset) GetCategory() asset.AssetCategory
- func (x *Asset) GetCicdProjectMrn() string
- func (x *Asset) GetFamily() []string
- func (x *Asset) GetFqdn() string
- func (x *Asset) GetId() int64
- func (x *Asset) GetIds() []string
- func (x *Asset) GetKind() providers.Kind
- func (x *Asset) GetLabels() map[string]string
- func (x *Asset) GetManagedBy() string
- func (x *Asset) GetMrn() string
- func (x *Asset) GetName() string
- func (x *Asset) GetPlatform() *platform.Platform
- func (x *Asset) GetPlatformIds() []string
- func (x *Asset) GetPlatformName() string
- func (x *Asset) GetRuntime() string
- func (x *Asset) GetSpace() string
- func (x *Asset) GetState() asset.State
- func (x *Asset) GetTitle() string
- func (x *Asset) GetUpdatedAt() string
- func (x *Asset) GetVersion() string
- func (*Asset) ProtoMessage()
- func (x *Asset) ProtoReflect() protoreflect.Message
- func (x *Asset) Reset()
- func (x *Asset) String() string
- type AssetOrder
- func (*AssetOrder) Descriptor() ([]byte, []int)deprecated
- func (x *AssetOrder) GetDirection() api.OrderDirection
- func (x *AssetOrder) GetField() AssetOrderField
- func (*AssetOrder) ProtoMessage()
- func (x *AssetOrder) ProtoReflect() protoreflect.Message
- func (x *AssetOrder) Reset()
- func (x *AssetOrder) String() string
- type AssetOrderField
- func (AssetOrderField) Descriptor() protoreflect.EnumDescriptor
- func (x AssetOrderField) Enum() *AssetOrderField
- func (AssetOrderField) EnumDescriptor() ([]byte, []int)deprecated
- func (x AssetOrderField) Number() protoreflect.EnumNumber
- func (x AssetOrderField) String() string
- func (AssetOrderField) Type() protoreflect.EnumType
- type AssetSearchFilter
- func (*AssetSearchFilter) Descriptor() ([]byte, []int)deprecated
- func (x *AssetSearchFilter) GetAssetMrns() []string
- func (x *AssetSearchFilter) GetAssetTypes() []string
- func (x *AssetSearchFilter) GetCicdProjectMrn() string
- func (x *AssetSearchFilter) GetGroups() []*GroupFilter
- func (x *AssetSearchFilter) GetKinds() []string
- func (x *AssetSearchFilter) GetOrderBy() *AssetOrder
- func (x *AssetSearchFilter) GetPage() *api.PageRequest
- func (x *AssetSearchFilter) GetPlatformIdPrefix() string
- func (x *AssetSearchFilter) GetPlatformIds() []string
- func (x *AssetSearchFilter) GetQueryTerms() []string
- func (x *AssetSearchFilter) GetRelatedToAssetMrn() string
- func (x *AssetSearchFilter) GetScoreRange() []*ScoreRange
- func (x *AssetSearchFilter) GetScoreType() ScoreType
- func (x *AssetSearchFilter) GetSpaceMrn() string
- func (*AssetSearchFilter) ProtoMessage()
- func (x *AssetSearchFilter) ProtoReflect() protoreflect.Message
- func (x *AssetSearchFilter) Reset()
- func (x *AssetSearchFilter) String() string
- type AssetStore
- type AssetStoreClient
- type AssetStoreServer
- type AssetStoreServerOption
- type AssetsPage
- type Comparison
- type DateFilter
- func (*DateFilter) Descriptor() ([]byte, []int)deprecated
- func (x *DateFilter) GetComparison() Comparison
- func (x *DateFilter) GetField() DateFilterField
- func (x *DateFilter) GetTimestamp() string
- func (*DateFilter) ProtoMessage()
- func (x *DateFilter) ProtoReflect() protoreflect.Message
- func (x *DateFilter) Reset()
- func (x *DateFilter) String() string
- type DateFilterField
- func (DateFilterField) Descriptor() protoreflect.EnumDescriptor
- func (x DateFilterField) Enum() *DateFilterField
- func (DateFilterField) EnumDescriptor() ([]byte, []int)deprecated
- func (x DateFilterField) Number() protoreflect.EnumNumber
- func (x DateFilterField) String() string
- func (DateFilterField) Type() protoreflect.EnumType
- type DeleteAssetsConfirmation
- func (*DeleteAssetsConfirmation) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteAssetsConfirmation) GetAssetMrns() []string
- func (x *DeleteAssetsConfirmation) GetErrors() map[string]string
- func (*DeleteAssetsConfirmation) ProtoMessage()
- func (x *DeleteAssetsConfirmation) ProtoReflect() protoreflect.Message
- func (x *DeleteAssetsConfirmation) Reset()
- func (x *DeleteAssetsConfirmation) String() string
- type DeleteAssetsRequest
- func (*DeleteAssetsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteAssetsRequest) GetAssetMrns() []string
- func (x *DeleteAssetsRequest) GetDateFilter() *DateFilter
- func (x *DeleteAssetsRequest) GetDeleteAll() bool
- func (x *DeleteAssetsRequest) GetManagedBy() string
- func (x *DeleteAssetsRequest) GetPlatformRuntime() string
- func (x *DeleteAssetsRequest) GetSpaceMrn() string
- func (*DeleteAssetsRequest) ProtoMessage()
- func (x *DeleteAssetsRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteAssetsRequest) Reset()
- func (x *DeleteAssetsRequest) String() string
- type GroupFilter
- func (*GroupFilter) Descriptor() ([]byte, []int)deprecated
- func (x *GroupFilter) GetAssetTypes() []string
- func (x *GroupFilter) GetGroup() string
- func (*GroupFilter) ProtoMessage()
- func (x *GroupFilter) ProtoReflect() protoreflect.Message
- func (x *GroupFilter) Reset()
- func (x *GroupFilter) String() string
- type ScoreRange
- type ScoreType
Constants ¶
This section is empty.
Variables ¶
var ( ScoreType_name = map[int32]string{ 0: "UNKNOWN", 2: "RESULT", 4: "ERROR", 16: "UNSCORED", } ScoreType_value = map[string]int32{ "UNKNOWN": 0, "RESULT": 2, "ERROR": 4, "UNSCORED": 16, } )
Enum value maps for ScoreType.
var ( AssetOrderField_name = map[int32]string{ 0: "ORDER_ID", 2: "ORDER_NAME", 3: "ORDER_PLATFORM", 4: "ORDER_SCORE", 5: "ORDER_LAST_UPDATED", 6: "ORDER_CREATED", } AssetOrderField_value = map[string]int32{ "ORDER_ID": 0, "ORDER_NAME": 2, "ORDER_PLATFORM": 3, "ORDER_SCORE": 4, "ORDER_LAST_UPDATED": 5, "ORDER_CREATED": 6, } )
Enum value maps for AssetOrderField.
var ( Comparison_name = map[int32]string{ 0: "GREATER_THAN", 1: "LESS_THAN", } Comparison_value = map[string]int32{ "GREATER_THAN": 0, "LESS_THAN": 1, } )
Enum value maps for Comparison.
var ( DateFilterField_name = map[int32]string{ 0: "FILTER_LAST_UPDATED", 1: "FILTER_CREATED", } DateFilterField_value = map[string]int32{ "FILTER_LAST_UPDATED": 0, "FILTER_CREATED": 1, } )
Enum value maps for DateFilterField.
var File_policy_proto protoreflect.FileDescriptor
Functions ¶
func NewAssetStoreServer ¶
func NewAssetStoreServer(handler AssetStore, opts ...AssetStoreServerOption) http.Handler
Types ¶
type Asset ¶
type Asset struct { Mrn string `protobuf:"bytes,1,opt,name=mrn,proto3" json:"mrn,omitempty"` Space string `protobuf:"bytes,2,opt,name=space,proto3" json:"space,omitempty"` Name string `protobuf:"bytes,18,opt,name=name,proto3" json:"name,omitempty"` // labels added by mondoo Labels map[string]string `` /* 154-byte string literal not displayed */ PlatformIds []string `protobuf:"bytes,20,rep,name=platform_ids,json=platformIds,proto3" json:"platform_ids,omitempty"` UpdatedAt string `protobuf:"bytes,21,opt,name=updatedAt,proto3" json:"updatedAt,omitempty"` // asset state State asset.State `protobuf:"varint,22,opt,name=state,proto3,enum=cnquery.motor.asset.v1.State" json:"state,omitempty"` // asset platform // FIXME: remove in v8.0 vv Platform *platform.Platform `protobuf:"bytes,23,opt,name=platform,proto3" json:"platform,omitempty"` // annotations are user-added, editable Annotations map[string]string `` /* 164-byte string literal not displayed */ Category asset.AssetCategory `protobuf:"varint,25,opt,name=category,proto3,enum=cnquery.motor.asset.v1.AssetCategory" json:"category,omitempty"` Id int64 `protobuf:"varint,27,opt,name=id,proto3" json:"id,omitempty"` CicdProjectMrn string `protobuf:"bytes,26,opt,name=cicd_project_mrn,json=cicdProjectMrn,proto3" json:"cicd_project_mrn,omitempty"` // if the asset is a cicd asset the project is the owner AssetType string `protobuf:"bytes,28,opt,name=asset_type,json=assetType,proto3" json:"asset_type,omitempty"` // Platform IDs Ids []string `protobuf:"bytes,30,rep,name=ids,proto3" json:"ids,omitempty"` // Platform Name PlatformName string `protobuf:"bytes,31,opt,name=platformName,proto3" json:"platformName,omitempty"` // Platform Title Title string `protobuf:"bytes,32,opt,name=title,proto3" json:"title,omitempty"` // Platform Architecture Arch string `protobuf:"bytes,33,opt,name=arch,proto3" json:"arch,omitempty"` // Platform families Family []string `protobuf:"bytes,34,rep,name=family,proto3" json:"family,omitempty"` // Platform build Build string `protobuf:"bytes,35,opt,name=build,proto3" json:"build,omitempty"` // Platform version Version string `protobuf:"bytes,36,opt,name=version,proto3" json:"version,omitempty"` // Platform Kind Kind providers.Kind `protobuf:"varint,37,opt,name=kind,proto3,enum=cnquery.motor.providers.v1.Kind" json:"kind,omitempty"` // Platform Runtime Runtime string `protobuf:"bytes,38,opt,name=runtime,proto3" json:"runtime,omitempty"` // Asset FQDN, when present Fqdn string `protobuf:"bytes,39,opt,name=fqdn,proto3" json:"fqdn,omitempty"` // ManagedBy for clients to "claim" responsbility for asset ManagedBy string `protobuf:"bytes,40,opt,name=managed_by,json=managedBy,proto3" json:"managed_by,omitempty"` // contains filtered or unexported fields }
func (*Asset) Descriptor
deprecated
func (*Asset) GetAnnotations ¶
func (*Asset) GetAssetType ¶
func (*Asset) GetCategory ¶
func (x *Asset) GetCategory() asset.AssetCategory
func (*Asset) GetCicdProjectMrn ¶
func (*Asset) GetManagedBy ¶
func (*Asset) GetPlatform ¶
func (*Asset) GetPlatformIds ¶
func (*Asset) GetPlatformName ¶
func (*Asset) GetRuntime ¶
func (*Asset) GetUpdatedAt ¶
func (*Asset) GetVersion ¶
func (*Asset) ProtoMessage ¶
func (*Asset) ProtoMessage()
func (*Asset) ProtoReflect ¶
func (x *Asset) ProtoReflect() protoreflect.Message
type AssetOrder ¶
type AssetOrder struct { Direction api.OrderDirection `protobuf:"varint,1,opt,name=direction,proto3,enum=mondoo.captain.v1.OrderDirection" json:"direction,omitempty"` Field AssetOrderField `protobuf:"varint,2,opt,name=field,proto3,enum=mondoo.policy.AssetOrderField" json:"field,omitempty"` // contains filtered or unexported fields }
func (*AssetOrder) Descriptor
deprecated
func (*AssetOrder) Descriptor() ([]byte, []int)
Deprecated: Use AssetOrder.ProtoReflect.Descriptor instead.
func (*AssetOrder) GetDirection ¶
func (x *AssetOrder) GetDirection() api.OrderDirection
func (*AssetOrder) GetField ¶
func (x *AssetOrder) GetField() AssetOrderField
func (*AssetOrder) ProtoMessage ¶
func (*AssetOrder) ProtoMessage()
func (*AssetOrder) ProtoReflect ¶
func (x *AssetOrder) ProtoReflect() protoreflect.Message
func (*AssetOrder) Reset ¶
func (x *AssetOrder) Reset()
func (*AssetOrder) String ¶
func (x *AssetOrder) String() string
type AssetOrderField ¶
type AssetOrderField int32
const ( AssetOrderField_ORDER_ID AssetOrderField = 0 AssetOrderField_ORDER_NAME AssetOrderField = 2 AssetOrderField_ORDER_PLATFORM AssetOrderField = 3 AssetOrderField_ORDER_SCORE AssetOrderField = 4 AssetOrderField_ORDER_LAST_UPDATED AssetOrderField = 5 AssetOrderField_ORDER_CREATED AssetOrderField = 6 )
func (AssetOrderField) Descriptor ¶
func (AssetOrderField) Descriptor() protoreflect.EnumDescriptor
func (AssetOrderField) Enum ¶
func (x AssetOrderField) Enum() *AssetOrderField
func (AssetOrderField) EnumDescriptor
deprecated
func (AssetOrderField) EnumDescriptor() ([]byte, []int)
Deprecated: Use AssetOrderField.Descriptor instead.
func (AssetOrderField) Number ¶
func (x AssetOrderField) Number() protoreflect.EnumNumber
func (AssetOrderField) String ¶
func (x AssetOrderField) String() string
func (AssetOrderField) Type ¶
func (AssetOrderField) Type() protoreflect.EnumType
type AssetSearchFilter ¶
type AssetSearchFilter struct { Page *api.PageRequest `protobuf:"bytes,1,opt,name=page,proto3" json:"page,omitempty"` OrderBy *AssetOrder `protobuf:"bytes,2,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"` SpaceMrn string `protobuf:"bytes,3,opt,name=space_mrn,json=spaceMrn,proto3" json:"space_mrn,omitempty"` // allows filtering by tag, name content etc. QueryTerms []string `protobuf:"bytes,20,rep,name=query_terms,json=queryTerms,proto3" json:"query_terms,omitempty"` AssetMrns []string `protobuf:"bytes,21,rep,name=asset_mrns,json=assetMrns,proto3" json:"asset_mrns,omitempty"` // the query will use OR for slice requests PlatformIds []string `protobuf:"bytes,22,rep,name=platform_ids,json=platformIds,proto3" json:"platform_ids,omitempty"` ScoreRange []*ScoreRange `protobuf:"bytes,23,rep,name=score_range,json=scoreRange,proto3" json:"score_range,omitempty"` // search for specific project_id CicdProjectMrn string `protobuf:"bytes,24,opt,name=cicd_project_mrn,json=cicdProjectMrn,proto3" json:"cicd_project_mrn,omitempty"` // score type for the asset ScoreType ScoreType `protobuf:"varint,25,opt,name=score_type,json=scoreType,proto3,enum=mondoo.policy.ScoreType" json:"score_type,omitempty"` // filter based on contents of platformIDs PlatformIdPrefix string `protobuf:"bytes,26,opt,name=platform_id_prefix,json=platformIdPrefix,proto3" json:"platform_id_prefix,omitempty"` // return only assets of the specified kinds Kinds []string `protobuf:"bytes,27,rep,name=kinds,proto3" json:"kinds,omitempty"` // list of groups to filter by. Empty matches all // groups Groups []*GroupFilter `protobuf:"bytes,28,rep,name=groups,proto3" json:"groups,omitempty"` RelatedToAssetMrn string `protobuf:"bytes,29,opt,name=related_to_asset_mrn,json=relatedToAssetMrn,proto3" json:"related_to_asset_mrn,omitempty"` AssetTypes []string `protobuf:"bytes,30,rep,name=asset_types,json=assetTypes,proto3" json:"asset_types,omitempty"` // contains filtered or unexported fields }
func (*AssetSearchFilter) Descriptor
deprecated
func (*AssetSearchFilter) Descriptor() ([]byte, []int)
Deprecated: Use AssetSearchFilter.ProtoReflect.Descriptor instead.
func (*AssetSearchFilter) GetAssetMrns ¶
func (x *AssetSearchFilter) GetAssetMrns() []string
func (*AssetSearchFilter) GetAssetTypes ¶
func (x *AssetSearchFilter) GetAssetTypes() []string
func (*AssetSearchFilter) GetCicdProjectMrn ¶
func (x *AssetSearchFilter) GetCicdProjectMrn() string
func (*AssetSearchFilter) GetGroups ¶
func (x *AssetSearchFilter) GetGroups() []*GroupFilter
func (*AssetSearchFilter) GetKinds ¶
func (x *AssetSearchFilter) GetKinds() []string
func (*AssetSearchFilter) GetOrderBy ¶
func (x *AssetSearchFilter) GetOrderBy() *AssetOrder
func (*AssetSearchFilter) GetPage ¶
func (x *AssetSearchFilter) GetPage() *api.PageRequest
func (*AssetSearchFilter) GetPlatformIdPrefix ¶
func (x *AssetSearchFilter) GetPlatformIdPrefix() string
func (*AssetSearchFilter) GetPlatformIds ¶
func (x *AssetSearchFilter) GetPlatformIds() []string
func (*AssetSearchFilter) GetQueryTerms ¶
func (x *AssetSearchFilter) GetQueryTerms() []string
func (*AssetSearchFilter) GetRelatedToAssetMrn ¶
func (x *AssetSearchFilter) GetRelatedToAssetMrn() string
func (*AssetSearchFilter) GetScoreRange ¶
func (x *AssetSearchFilter) GetScoreRange() []*ScoreRange
func (*AssetSearchFilter) GetScoreType ¶
func (x *AssetSearchFilter) GetScoreType() ScoreType
func (*AssetSearchFilter) GetSpaceMrn ¶
func (x *AssetSearchFilter) GetSpaceMrn() string
func (*AssetSearchFilter) ProtoMessage ¶
func (*AssetSearchFilter) ProtoMessage()
func (*AssetSearchFilter) ProtoReflect ¶
func (x *AssetSearchFilter) ProtoReflect() protoreflect.Message
func (*AssetSearchFilter) Reset ¶
func (x *AssetSearchFilter) Reset()
func (*AssetSearchFilter) String ¶
func (x *AssetSearchFilter) String() string
type AssetStore ¶
type AssetStore interface { ListAssets(context.Context, *AssetSearchFilter) (*AssetsPage, error) DeleteAssets(context.Context, *DeleteAssetsRequest) (*DeleteAssetsConfirmation, error) }
type AssetStoreClient ¶
func NewAssetStoreClient ¶
func NewAssetStoreClient(addr string, client ranger.HTTPClient, plugins ...ranger.ClientPlugin) (*AssetStoreClient, error)
func (*AssetStoreClient) DeleteAssets ¶
func (c *AssetStoreClient) DeleteAssets(ctx context.Context, in *DeleteAssetsRequest) (*DeleteAssetsConfirmation, error)
func (*AssetStoreClient) ListAssets ¶
func (c *AssetStoreClient) ListAssets(ctx context.Context, in *AssetSearchFilter) (*AssetsPage, error)
type AssetStoreServer ¶
type AssetStoreServer struct {
// contains filtered or unexported fields
}
func (*AssetStoreServer) DeleteAssets ¶
func (*AssetStoreServer) ListAssets ¶
type AssetStoreServerOption ¶
type AssetStoreServerOption func(s *AssetStoreServer)
func WithUnknownFieldsForAssetStoreServer ¶
func WithUnknownFieldsForAssetStoreServer() AssetStoreServerOption
type AssetsPage ¶
type AssetsPage struct { Page *api.PageInfo `protobuf:"bytes,1,opt,name=page,proto3" json:"page,omitempty"` List []*Asset `protobuf:"bytes,2,rep,name=list,proto3" json:"list,omitempty"` // contains filtered or unexported fields }
func (*AssetsPage) Descriptor
deprecated
func (*AssetsPage) Descriptor() ([]byte, []int)
Deprecated: Use AssetsPage.ProtoReflect.Descriptor instead.
func (*AssetsPage) GetList ¶
func (x *AssetsPage) GetList() []*Asset
func (*AssetsPage) GetPage ¶
func (x *AssetsPage) GetPage() *api.PageInfo
func (*AssetsPage) ProtoMessage ¶
func (*AssetsPage) ProtoMessage()
func (*AssetsPage) ProtoReflect ¶
func (x *AssetsPage) ProtoReflect() protoreflect.Message
func (*AssetsPage) Reset ¶
func (x *AssetsPage) Reset()
func (*AssetsPage) String ¶
func (x *AssetsPage) String() string
type Comparison ¶
type Comparison int32
const ( Comparison_GREATER_THAN Comparison = 0 Comparison_LESS_THAN Comparison = 1 )
func (Comparison) Descriptor ¶
func (Comparison) Descriptor() protoreflect.EnumDescriptor
func (Comparison) Enum ¶
func (x Comparison) Enum() *Comparison
func (Comparison) EnumDescriptor
deprecated
func (Comparison) EnumDescriptor() ([]byte, []int)
Deprecated: Use Comparison.Descriptor instead.
func (Comparison) Number ¶
func (x Comparison) Number() protoreflect.EnumNumber
func (Comparison) String ¶
func (x Comparison) String() string
func (Comparison) Type ¶
func (Comparison) Type() protoreflect.EnumType
type DateFilter ¶
type DateFilter struct { Timestamp string `protobuf:"bytes,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // RFC3339 Comparison Comparison `protobuf:"varint,2,opt,name=comparison,proto3,enum=mondoo.policy.Comparison" json:"comparison,omitempty"` Field DateFilterField `protobuf:"varint,3,opt,name=field,proto3,enum=mondoo.policy.DateFilterField" json:"field,omitempty"` // contains filtered or unexported fields }
func (*DateFilter) Descriptor
deprecated
func (*DateFilter) Descriptor() ([]byte, []int)
Deprecated: Use DateFilter.ProtoReflect.Descriptor instead.
func (*DateFilter) GetComparison ¶
func (x *DateFilter) GetComparison() Comparison
func (*DateFilter) GetField ¶
func (x *DateFilter) GetField() DateFilterField
func (*DateFilter) GetTimestamp ¶
func (x *DateFilter) GetTimestamp() string
func (*DateFilter) ProtoMessage ¶
func (*DateFilter) ProtoMessage()
func (*DateFilter) ProtoReflect ¶
func (x *DateFilter) ProtoReflect() protoreflect.Message
func (*DateFilter) Reset ¶
func (x *DateFilter) Reset()
func (*DateFilter) String ¶
func (x *DateFilter) String() string
type DateFilterField ¶
type DateFilterField int32
const ( DateFilterField_FILTER_LAST_UPDATED DateFilterField = 0 DateFilterField_FILTER_CREATED DateFilterField = 1 )
func (DateFilterField) Descriptor ¶
func (DateFilterField) Descriptor() protoreflect.EnumDescriptor
func (DateFilterField) Enum ¶
func (x DateFilterField) Enum() *DateFilterField
func (DateFilterField) EnumDescriptor
deprecated
func (DateFilterField) EnumDescriptor() ([]byte, []int)
Deprecated: Use DateFilterField.Descriptor instead.
func (DateFilterField) Number ¶
func (x DateFilterField) Number() protoreflect.EnumNumber
func (DateFilterField) String ¶
func (x DateFilterField) String() string
func (DateFilterField) Type ¶
func (DateFilterField) Type() protoreflect.EnumType
type DeleteAssetsConfirmation ¶
type DeleteAssetsConfirmation struct { AssetMrns []string `protobuf:"bytes,1,rep,name=asset_mrns,json=assetMrns,proto3" json:"asset_mrns,omitempty"` Errors map[string]string `` /* 153-byte string literal not displayed */ // contains filtered or unexported fields }
func (*DeleteAssetsConfirmation) Descriptor
deprecated
func (*DeleteAssetsConfirmation) Descriptor() ([]byte, []int)
Deprecated: Use DeleteAssetsConfirmation.ProtoReflect.Descriptor instead.
func (*DeleteAssetsConfirmation) GetAssetMrns ¶
func (x *DeleteAssetsConfirmation) GetAssetMrns() []string
func (*DeleteAssetsConfirmation) GetErrors ¶
func (x *DeleteAssetsConfirmation) GetErrors() map[string]string
func (*DeleteAssetsConfirmation) ProtoMessage ¶
func (*DeleteAssetsConfirmation) ProtoMessage()
func (*DeleteAssetsConfirmation) ProtoReflect ¶
func (x *DeleteAssetsConfirmation) ProtoReflect() protoreflect.Message
func (*DeleteAssetsConfirmation) Reset ¶
func (x *DeleteAssetsConfirmation) Reset()
func (*DeleteAssetsConfirmation) String ¶
func (x *DeleteAssetsConfirmation) String() string
type DeleteAssetsRequest ¶
type DeleteAssetsRequest struct { SpaceMrn string `protobuf:"bytes,1,opt,name=spaceMrn,proto3" json:"spaceMrn,omitempty"` AssetMrns []string `protobuf:"bytes,2,rep,name=asset_mrns,json=assetMrns,proto3" json:"asset_mrns,omitempty"` DeleteAll bool `protobuf:"varint,3,opt,name=delete_all,json=deleteAll,proto3" json:"delete_all,omitempty"` // if you want to delete all assets in the space DateFilter *DateFilter `protobuf:"bytes,4,opt,name=date_filter,json=dateFilter,proto3" json:"date_filter,omitempty"` ManagedBy string `protobuf:"bytes,5,opt,name=managed_by,json=managedBy,proto3" json:"managed_by,omitempty"` PlatformRuntime string `protobuf:"bytes,6,opt,name=platform_runtime,json=platformRuntime,proto3" json:"platform_runtime,omitempty"` // contains filtered or unexported fields }
func (*DeleteAssetsRequest) Descriptor
deprecated
func (*DeleteAssetsRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteAssetsRequest.ProtoReflect.Descriptor instead.
func (*DeleteAssetsRequest) GetAssetMrns ¶
func (x *DeleteAssetsRequest) GetAssetMrns() []string
func (*DeleteAssetsRequest) GetDateFilter ¶
func (x *DeleteAssetsRequest) GetDateFilter() *DateFilter
func (*DeleteAssetsRequest) GetDeleteAll ¶
func (x *DeleteAssetsRequest) GetDeleteAll() bool
func (*DeleteAssetsRequest) GetManagedBy ¶
func (x *DeleteAssetsRequest) GetManagedBy() string
func (*DeleteAssetsRequest) GetPlatformRuntime ¶
func (x *DeleteAssetsRequest) GetPlatformRuntime() string
func (*DeleteAssetsRequest) GetSpaceMrn ¶
func (x *DeleteAssetsRequest) GetSpaceMrn() string
func (*DeleteAssetsRequest) ProtoMessage ¶
func (*DeleteAssetsRequest) ProtoMessage()
func (*DeleteAssetsRequest) ProtoReflect ¶
func (x *DeleteAssetsRequest) ProtoReflect() protoreflect.Message
func (*DeleteAssetsRequest) Reset ¶
func (x *DeleteAssetsRequest) Reset()
func (*DeleteAssetsRequest) String ¶
func (x *DeleteAssetsRequest) String() string
type GroupFilter ¶
type GroupFilter struct { Group string `protobuf:"bytes,1,opt,name=group,proto3" json:"group,omitempty"` // TODO: how do we define asset types AssetTypes []string `protobuf:"bytes,2,rep,name=assetTypes,proto3" json:"assetTypes,omitempty"` // contains filtered or unexported fields }
func (*GroupFilter) Descriptor
deprecated
func (*GroupFilter) Descriptor() ([]byte, []int)
Deprecated: Use GroupFilter.ProtoReflect.Descriptor instead.
func (*GroupFilter) GetAssetTypes ¶
func (x *GroupFilter) GetAssetTypes() []string
func (*GroupFilter) GetGroup ¶
func (x *GroupFilter) GetGroup() string
func (*GroupFilter) ProtoMessage ¶
func (*GroupFilter) ProtoMessage()
func (*GroupFilter) ProtoReflect ¶
func (x *GroupFilter) ProtoReflect() protoreflect.Message
func (*GroupFilter) Reset ¶
func (x *GroupFilter) Reset()
func (*GroupFilter) String ¶
func (x *GroupFilter) String() string
type ScoreRange ¶
type ScoreRange struct { Begin uint32 `protobuf:"varint,1,opt,name=begin,proto3" json:"begin,omitempty"` End uint32 `protobuf:"varint,2,opt,name=end,proto3" json:"end,omitempty"` // contains filtered or unexported fields }
func (*ScoreRange) Descriptor
deprecated
func (*ScoreRange) Descriptor() ([]byte, []int)
Deprecated: Use ScoreRange.ProtoReflect.Descriptor instead.
func (*ScoreRange) GetBegin ¶
func (x *ScoreRange) GetBegin() uint32
func (*ScoreRange) GetEnd ¶
func (x *ScoreRange) GetEnd() uint32
func (*ScoreRange) ProtoMessage ¶
func (*ScoreRange) ProtoMessage()
func (*ScoreRange) ProtoReflect ¶
func (x *ScoreRange) ProtoReflect() protoreflect.Message
func (*ScoreRange) Reset ¶
func (x *ScoreRange) Reset()
func (*ScoreRange) String ¶
func (x *ScoreRange) String() string
type ScoreType ¶
type ScoreType int32
func (ScoreType) Descriptor ¶
func (ScoreType) Descriptor() protoreflect.EnumDescriptor
func (ScoreType) EnumDescriptor
deprecated
func (ScoreType) Number ¶
func (x ScoreType) Number() protoreflect.EnumNumber
func (ScoreType) Type ¶
func (ScoreType) Type() protoreflect.EnumType