Skip to content

Commit 8b31ee3

Browse files
pnlxjsonnet-libs-bot
authored andcommitted
update: source github.com/jsonnet-libs/k8s@0a40d11b
1 parent fea7383 commit 8b31ee3

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

76 files changed

+395218
-2
lines changed

.github/workflows/main.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
"jobs":
2+
"build":
3+
"name": "Deploy docs"
4+
"runs-on": "ubuntu-latest"
5+
"steps":
6+
- "name": "Checkout main"
7+
"uses": "actions/checkout@v3"
8+
"with":
9+
"fetch-depth": 0
10+
- "uses": "actions/setup-python@v2"
11+
- "run": "pip install -r requirements.txt"
12+
- "run": "git config user.name 'github-actions[bot]' && git config user.email 'github-actions[bot]@users.noreply.github.com'"
13+
- "name": "Publish docs"
14+
"run": "mkdocs gh-deploy --force"
15+
"name": "Publish docs via GitHub Pages"
16+
"on":
17+
"push":
18+
"branches":
19+
- "main"
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
local d = (import 'doc-util/main.libsonnet'),
3+
'#':: d.pkg(name='argoproj', url='', help=''),
4+
v1alpha1: (import 'v1alpha1/main.libsonnet'),
5+
v1beta1: (import 'v1beta1/main.libsonnet'),
6+
}

0.12.2/_gen/argoproj/v1alpha1/appProject.libsonnet

Lines changed: 212 additions & 0 deletions
Large diffs are not rendered by default.

0.12.2/_gen/argoproj/v1alpha1/application.libsonnet

Lines changed: 1101 additions & 0 deletions
Large diffs are not rendered by default.

0.12.2/_gen/argoproj/v1alpha1/applicationSet.libsonnet

Lines changed: 14805 additions & 0 deletions
Large diffs are not rendered by default.

0.12.2/_gen/argoproj/v1alpha1/argoCD.libsonnet

Lines changed: 2834 additions & 0 deletions
Large diffs are not rendered by default.

0.12.2/_gen/argoproj/v1alpha1/argoCDExport.libsonnet

Lines changed: 145 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
local d = (import 'doc-util/main.libsonnet'),
3+
'#':: d.pkg(name='v1alpha1', url='', help=''),
4+
appProject: (import 'appProject.libsonnet'),
5+
application: (import 'application.libsonnet'),
6+
applicationSet: (import 'applicationSet.libsonnet'),
7+
argoCD: (import 'argoCD.libsonnet'),
8+
argoCDExport: (import 'argoCDExport.libsonnet'),
9+
notificationsConfiguration: (import 'notificationsConfiguration.libsonnet'),
10+
}
Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
1+
{
2+
local d = (import 'doc-util/main.libsonnet'),
3+
'#':: d.pkg(name='notificationsConfiguration', url='', help='"NotificationsConfiguration is the Schema for the NotificationsConfiguration API"'),
4+
'#metadata':: d.obj(help='"ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create."'),
5+
metadata: {
6+
'#withAnnotations':: d.fn(help='"Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations"', args=[d.arg(name='annotations', type=d.T.object)]),
7+
withAnnotations(annotations): { metadata+: { annotations: annotations } },
8+
'#withAnnotationsMixin':: d.fn(help='"Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations"\n\n**Note:** This function appends passed data to existing values', args=[d.arg(name='annotations', type=d.T.object)]),
9+
withAnnotationsMixin(annotations): { metadata+: { annotations+: annotations } },
10+
'#withClusterName':: d.fn(help='"The name of the cluster which the object belongs to. This is used to distinguish resources with same name and namespace in different clusters. This field is not set anywhere right now and apiserver is going to ignore it if set in create or update request."', args=[d.arg(name='clusterName', type=d.T.string)]),
11+
withClusterName(clusterName): { metadata+: { clusterName: clusterName } },
12+
'#withCreationTimestamp':: d.fn(help='"Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers."', args=[d.arg(name='creationTimestamp', type=d.T.string)]),
13+
withCreationTimestamp(creationTimestamp): { metadata+: { creationTimestamp: creationTimestamp } },
14+
'#withDeletionGracePeriodSeconds':: d.fn(help='"Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only."', args=[d.arg(name='deletionGracePeriodSeconds', type=d.T.integer)]),
15+
withDeletionGracePeriodSeconds(deletionGracePeriodSeconds): { metadata+: { deletionGracePeriodSeconds: deletionGracePeriodSeconds } },
16+
'#withDeletionTimestamp':: d.fn(help='"Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers."', args=[d.arg(name='deletionTimestamp', type=d.T.string)]),
17+
withDeletionTimestamp(deletionTimestamp): { metadata+: { deletionTimestamp: deletionTimestamp } },
18+
'#withFinalizers':: d.fn(help='"Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list."', args=[d.arg(name='finalizers', type=d.T.array)]),
19+
withFinalizers(finalizers): { metadata+: { finalizers: if std.isArray(v=finalizers) then finalizers else [finalizers] } },
20+
'#withFinalizersMixin':: d.fn(help='"Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list."\n\n**Note:** This function appends passed data to existing values', args=[d.arg(name='finalizers', type=d.T.array)]),
21+
withFinalizersMixin(finalizers): { metadata+: { finalizers+: if std.isArray(v=finalizers) then finalizers else [finalizers] } },
22+
'#withGenerateName':: d.fn(help='"GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server.\\n\\nIf this field is specified and the generated name exists, the server will NOT return a 409 - instead, it will either return 201 Created or 500 with Reason ServerTimeout indicating a unique name could not be found in the time allotted, and the client should retry (optionally after the time indicated in the Retry-After header).\\n\\nApplied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency"', args=[d.arg(name='generateName', type=d.T.string)]),
23+
withGenerateName(generateName): { metadata+: { generateName: generateName } },
24+
'#withGeneration':: d.fn(help='"A sequence number representing a specific generation of the desired state. Populated by the system. Read-only."', args=[d.arg(name='generation', type=d.T.integer)]),
25+
withGeneration(generation): { metadata+: { generation: generation } },
26+
'#withLabels':: d.fn(help='"Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels"', args=[d.arg(name='labels', type=d.T.object)]),
27+
withLabels(labels): { metadata+: { labels: labels } },
28+
'#withLabelsMixin':: d.fn(help='"Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels"\n\n**Note:** This function appends passed data to existing values', args=[d.arg(name='labels', type=d.T.object)]),
29+
withLabelsMixin(labels): { metadata+: { labels+: labels } },
30+
'#withName':: d.fn(help='"Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names"', args=[d.arg(name='name', type=d.T.string)]),
31+
withName(name): { metadata+: { name: name } },
32+
'#withNamespace':: d.fn(help='"Namespace defines the space within which each name must be unique. An empty namespace is equivalent to the \\"default\\" namespace, but \\"default\\" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty.\\n\\nMust be a DNS_LABEL. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/namespaces"', args=[d.arg(name='namespace', type=d.T.string)]),
33+
withNamespace(namespace): { metadata+: { namespace: namespace } },
34+
'#withOwnerReferences':: d.fn(help='"List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller."', args=[d.arg(name='ownerReferences', type=d.T.array)]),
35+
withOwnerReferences(ownerReferences): { metadata+: { ownerReferences: if std.isArray(v=ownerReferences) then ownerReferences else [ownerReferences] } },
36+
'#withOwnerReferencesMixin':: d.fn(help='"List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller."\n\n**Note:** This function appends passed data to existing values', args=[d.arg(name='ownerReferences', type=d.T.array)]),
37+
withOwnerReferencesMixin(ownerReferences): { metadata+: { ownerReferences+: if std.isArray(v=ownerReferences) then ownerReferences else [ownerReferences] } },
38+
'#withResourceVersion':: d.fn(help='"An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources.\\n\\nPopulated by the system. Read-only. Value must be treated as opaque by clients and . More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency"', args=[d.arg(name='resourceVersion', type=d.T.string)]),
39+
withResourceVersion(resourceVersion): { metadata+: { resourceVersion: resourceVersion } },
40+
'#withSelfLink':: d.fn(help='"SelfLink is a URL representing this object. Populated by the system. Read-only.\\n\\nDEPRECATED Kubernetes will stop propagating this field in 1.20 release and the field is planned to be removed in 1.21 release."', args=[d.arg(name='selfLink', type=d.T.string)]),
41+
withSelfLink(selfLink): { metadata+: { selfLink: selfLink } },
42+
'#withUid':: d.fn(help='"UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations.\\n\\nPopulated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids"', args=[d.arg(name='uid', type=d.T.string)]),
43+
withUid(uid): { metadata+: { uid: uid } },
44+
},
45+
'#new':: d.fn(help='new returns an instance of NotificationsConfiguration', args=[d.arg(name='name', type=d.T.string)]),
46+
new(name): {
47+
apiVersion: 'argoproj.io/v1alpha1',
48+
kind: 'NotificationsConfiguration',
49+
} + self.metadata.withName(name=name),
50+
'#spec':: d.obj(help='"NotificationsConfigurationSpec allows users to define the triggers, templates, services, context and\\nsubscriptions for the notifications"'),
51+
spec: {
52+
'#withContext':: d.fn(help='"Context is used to define some shared context between all notification templates"', args=[d.arg(name='context', type=d.T.object)]),
53+
withContext(context): { spec+: { context: context } },
54+
'#withContextMixin':: d.fn(help='"Context is used to define some shared context between all notification templates"\n\n**Note:** This function appends passed data to existing values', args=[d.arg(name='context', type=d.T.object)]),
55+
withContextMixin(context): { spec+: { context+: context } },
56+
'#withServices':: d.fn(help='"Services are used to deliver message"', args=[d.arg(name='services', type=d.T.object)]),
57+
withServices(services): { spec+: { services: services } },
58+
'#withServicesMixin':: d.fn(help='"Services are used to deliver message"\n\n**Note:** This function appends passed data to existing values', args=[d.arg(name='services', type=d.T.object)]),
59+
withServicesMixin(services): { spec+: { services+: services } },
60+
'#withSubscriptions':: d.fn(help='"Subscriptions contain centrally managed global application subscriptions"', args=[d.arg(name='subscriptions', type=d.T.object)]),
61+
withSubscriptions(subscriptions): { spec+: { subscriptions: subscriptions } },
62+
'#withSubscriptionsMixin':: d.fn(help='"Subscriptions contain centrally managed global application subscriptions"\n\n**Note:** This function appends passed data to existing values', args=[d.arg(name='subscriptions', type=d.T.object)]),
63+
withSubscriptionsMixin(subscriptions): { spec+: { subscriptions+: subscriptions } },
64+
'#withTemplates':: d.fn(help='"Templates are used to generate the notification template message"', args=[d.arg(name='templates', type=d.T.object)]),
65+
withTemplates(templates): { spec+: { templates: templates } },
66+
'#withTemplatesMixin':: d.fn(help='"Templates are used to generate the notification template message"\n\n**Note:** This function appends passed data to existing values', args=[d.arg(name='templates', type=d.T.object)]),
67+
withTemplatesMixin(templates): { spec+: { templates+: templates } },
68+
'#withTriggers':: d.fn(help='"Triggers define the condition when the notification should be sent and list of templates required to generate the message\\nRecipients can subscribe to the trigger and specify the required message template and destination notification service."', args=[d.arg(name='triggers', type=d.T.object)]),
69+
withTriggers(triggers): { spec+: { triggers: triggers } },
70+
'#withTriggersMixin':: d.fn(help='"Triggers define the condition when the notification should be sent and list of templates required to generate the message\\nRecipients can subscribe to the trigger and specify the required message template and destination notification service."\n\n**Note:** This function appends passed data to existing values', args=[d.arg(name='triggers', type=d.T.object)]),
71+
withTriggersMixin(triggers): { spec+: { triggers+: triggers } },
72+
},
73+
'#mixin': 'ignore',
74+
mixin: self,
75+
}

0 commit comments

Comments
 (0)