Skip to content

Commit

Permalink
updating container package
Browse files Browse the repository at this point in the history
  • Loading branch information
acx1729 committed Dec 21, 2024
1 parent a2b7625 commit 35cd8e9
Showing 1 changed file with 7 additions and 65 deletions.
72 changes: 7 additions & 65 deletions provider/resource_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,51 +20,9 @@ var ResourceTypes = map[string]model.ResourceType{
GetDescriber: DescribeSingleByRepo(describer.GetArtifact),
},

<<<<<<< HEAD
"Github/Actions/Runner": {
IntegrationType: configs.IntegrationName,
ResourceName: "Github/Actions/Runner",
Tags: map[string][]string{
"category": {"Action"},
},
Labels: map[string]string{
},
Annotations: map[string]string{
},
ListDescriber: DescribeByGithub(describer.GetAllRunners),
GetDescriber: DescribeSingleByRepo(describer.GetActionRunner),
},

"Github/Actions/Secret": {
IntegrationType: configs.IntegrationName,
ResourceName: "Github/Actions/Secret",
Tags: map[string][]string{
"category": {"Action"},
},
Labels: map[string]string{
},
Annotations: map[string]string{
},
ListDescriber: DescribeByGithub(describer.GetAllSecrets),
GetDescriber: DescribeSingleByRepo(describer.GetRepoActionSecret),
},

"Github/Actions/WorkflowRun": {
IntegrationType: configs.IntegrationName,
ResourceName: "Github/Actions/WorkflowRun",
Tags: map[string][]string{
"category": {"Action"},
},
Labels: map[string]string{
},
Annotations: map[string]string{
},
ListDescriber: DescribeByGithub(describer.GetAllWorkflowRuns),
GetDescriber: nil,
=======
"Github/Actions/Repository/Runner": {
IntegrationType: configs.IntegrationName,
ResourceName: "Github/Actions/Repository/Runner",
IntegrationType: configs.IntegrationName,
ResourceName: "Github/Actions/Runner",
Tags: map[string][]string{
"category": {"Action"},
},
Expand All @@ -74,9 +32,9 @@ var ResourceTypes = map[string]model.ResourceType{
GetDescriber: DescribeSingleByRepo(describer.GetActionRunner),
},

"Github/Actions/Repository/Secret": {
"Github/Actions/Secret": {
IntegrationType: configs.IntegrationName,
ResourceName: "Github/Actions/Repository/Secret",
ResourceName: "Github/Actions/Secret",
Tags: map[string][]string{
"category": {"Action"},
},
Expand All @@ -86,17 +44,16 @@ var ResourceTypes = map[string]model.ResourceType{
GetDescriber: DescribeSingleByRepo(describer.GetRepoActionSecret),
},

"Github/Actions/Repository/Workflow_run": {
"Github/Actions/WorkflowRun": {
IntegrationType: configs.IntegrationName,
ResourceName: "Github/Actions/Repository/Workflow_run",
ResourceName: "Github/Actions/WorkflowRun",
Tags: map[string][]string{
"category": {"Action"},
},
Labels: map[string]string{},
Annotations: map[string]string{},
ListDescriber: DescribeByGithub(describer.GetAllWorkflowRuns),
GetDescriber: nil,
>>>>>>> 2f991e7 (updating container package)
},

"Github/Blob": {
Expand Down Expand Up @@ -264,7 +221,7 @@ var ResourceTypes = map[string]model.ResourceType{
Labels: map[string]string{},
Annotations: map[string]string{},
ListDescriber: DescribeByGithub(describer.GetRepositoryList),
GetDescriber: DescribeSingleByRepo(describer.GetRepository),
GetDescriber: nil,
},

"Github/Repository/Collaborator": {
Expand Down Expand Up @@ -363,21 +320,6 @@ var ResourceTypes = map[string]model.ResourceType{
GetDescriber: nil,
},

<<<<<<< HEAD
=======
"Github/Team": {
IntegrationType: configs.IntegrationName,
ResourceName: "Github/Team",
Tags: map[string][]string{
"category": {"Team"},
},
Labels: map[string]string{},
Annotations: map[string]string{},
ListDescriber: DescribeByGithub(describer.GetTeamList),
GetDescriber: nil,
},

>>>>>>> 2f991e7 (updating container package)
"Github/Team/Member": {
IntegrationType: configs.IntegrationName,
ResourceName: "Github/Team/Member",
Expand Down

0 comments on commit 35cd8e9

Please sign in to comment.