Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 32 additions & 0 deletions infrahub_sdk/protocols.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,13 @@ class CoreGroup(CoreNode):
children: RelationshipManager


class CoreKeyValue(CoreNode):
name: String
key: String
description: StringOptional
value: String


class CoreMenu(CoreNode):
namespace: String
name: String
Expand Down Expand Up @@ -240,6 +247,7 @@ class CoreWebhook(CoreNode):
description: StringOptional
url: URL
validate_certificates: BooleanOptional
headers: RelationshipManager


class CoreWeightedPoolResource(CoreNode):
Expand Down Expand Up @@ -348,6 +356,10 @@ class CoreDataValidator(CoreValidator):
pass


class CoreEnvKeyValue(CoreKeyValue):
pass


class CoreFileCheck(CoreCheck):
files: ListAttributeOptional
commit: StringOptional
Expand Down Expand Up @@ -552,6 +564,10 @@ class CoreStandardWebhook(CoreWebhook, CoreTaskTarget):
shared_key: String


class CoreStaticKeyValue(CoreKeyValue):
pass


class CoreThreadComment(CoreComment):
thread: RelatedNode

Expand Down Expand Up @@ -717,6 +733,13 @@ class CoreGroupSync(CoreNodeSync):
children: RelationshipManagerSync


class CoreKeyValueSync(CoreNodeSync):
name: String
key: String
description: StringOptional
value: String


class CoreMenuSync(CoreNodeSync):
namespace: String
name: String
Expand Down Expand Up @@ -805,6 +828,7 @@ class CoreWebhookSync(CoreNodeSync):
description: StringOptional
url: URL
validate_certificates: BooleanOptional
headers: RelationshipManagerSync


class CoreWeightedPoolResourceSync(CoreNodeSync):
Expand Down Expand Up @@ -913,6 +937,10 @@ class CoreDataValidatorSync(CoreValidatorSync):
pass


class CoreEnvKeyValueSync(CoreKeyValueSync):
pass


class CoreFileCheckSync(CoreCheckSync):
files: ListAttributeOptional
commit: StringOptional
Expand Down Expand Up @@ -1117,6 +1145,10 @@ class CoreStandardWebhookSync(CoreWebhookSync, CoreTaskTargetSync):
shared_key: String


class CoreStaticKeyValueSync(CoreKeyValueSync):
pass


class CoreThreadCommentSync(CoreCommentSync):
thread: RelatedNodeSync

Expand Down
Loading