Skip to content

repo.v1alpha1.branchProtectionv3

"BranchProtectionv3 is the Schema for the BranchProtectionv3s API. Protects a GitHub branch using the v3 / REST implementation. The"

Index

Fields

fn new

new(name)

new returns an instance of BranchProtectionv3

obj metadata

"ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create."

fn metadata.withAnnotations

withAnnotations(annotations)

"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"

fn metadata.withAnnotationsMixin

withAnnotationsMixin(annotations)

"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"

Note: This function appends passed data to existing values

fn metadata.withClusterName

withClusterName(clusterName)

"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."

fn metadata.withCreationTimestamp

withCreationTimestamp(creationTimestamp)

"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."

fn metadata.withDeletionGracePeriodSeconds

withDeletionGracePeriodSeconds(deletionGracePeriodSeconds)

"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."

fn metadata.withDeletionTimestamp

withDeletionTimestamp(deletionTimestamp)

"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."

fn metadata.withFinalizers

withFinalizers(finalizers)

"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."

fn metadata.withFinalizersMixin

withFinalizersMixin(finalizers)

"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."

Note: This function appends passed data to existing values

fn metadata.withGenerateName

withGenerateName(generateName)

"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"

fn metadata.withGeneration

withGeneration(generation)

"A sequence number representing a specific generation of the desired state. Populated by the system. Read-only."

fn metadata.withLabels

withLabels(labels)

"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"

fn metadata.withLabelsMixin

withLabelsMixin(labels)

"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"

Note: This function appends passed data to existing values

fn metadata.withName

withName(name)

"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"

fn metadata.withNamespace

withNamespace(namespace)

"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"

fn metadata.withOwnerReferences

withOwnerReferences(ownerReferences)

"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."

fn metadata.withOwnerReferencesMixin

withOwnerReferencesMixin(ownerReferences)

"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."

Note: This function appends passed data to existing values

fn metadata.withResourceVersion

withResourceVersion(resourceVersion)

"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"

withSelfLink(selfLink)

"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."

fn metadata.withUid

withUid(uid)

"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"

obj spec

"BranchProtectionv3Spec defines the desired state of BranchProtectionv3"

fn spec.withManagementPolicies

withManagementPolicies(managementPolicies)

"THIS IS A BETA FIELD. It is on by default but can be opted out\nthrough a Crossplane feature flag.\nManagementPolicies specify the array of actions Crossplane is allowed to\ntake on the managed and external resources.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223\nand this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md"

fn spec.withManagementPoliciesMixin

withManagementPoliciesMixin(managementPolicies)

"THIS IS A BETA FIELD. It is on by default but can be opted out\nthrough a Crossplane feature flag.\nManagementPolicies specify the array of actions Crossplane is allowed to\ntake on the managed and external resources.\nSee the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223\nand this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md"

Note: This function appends passed data to existing values

obj spec.forProvider

fn spec.forProvider.withBranch

withBranch(branch)

"The Git branch to protect.\nThe Git branch to protect."

fn spec.forProvider.withEnforceAdmins

withEnforceAdmins(enforceAdmins)

"Boolean, setting this to true enforces status checks for repository administrators.\nSetting this to 'true' enforces status checks for repository administrators."

fn spec.forProvider.withRepository

withRepository(repository)

"The GitHub repository name.\nThe GitHub repository name."

fn spec.forProvider.withRequireConversationResolution

withRequireConversationResolution(requireConversationResolution)

"Boolean, setting this to true requires all conversations on code must be resolved before a pull request can be merged.\nSetting this to 'true' requires all conversations on code must be resolved before a pull request can be merged."

fn spec.forProvider.withRequireSignedCommits

withRequireSignedCommits(requireSignedCommits)

"Boolean, setting this to true requires all commits to be signed with GPG.\nSetting this to 'true' requires all commits to be signed with GPG."

fn spec.forProvider.withRequiredPullRequestReviews

withRequiredPullRequestReviews(requiredPullRequestReviews)

"Enforce restrictions for pull request reviews. See Required Pull Request Reviews below for details.\nEnforce restrictions for pull request reviews."

fn spec.forProvider.withRequiredPullRequestReviewsMixin

withRequiredPullRequestReviewsMixin(requiredPullRequestReviews)

"Enforce restrictions for pull request reviews. See Required Pull Request Reviews below for details.\nEnforce restrictions for pull request reviews."

Note: This function appends passed data to existing values

fn spec.forProvider.withRequiredStatusChecks

withRequiredStatusChecks(requiredStatusChecks)

"Enforce restrictions for required status checks. See Required Status Checks below for details.\nEnforce restrictions for required status checks."

fn spec.forProvider.withRequiredStatusChecksMixin

withRequiredStatusChecksMixin(requiredStatusChecks)

"Enforce restrictions for required status checks. See Required Status Checks below for details.\nEnforce restrictions for required status checks."

Note: This function appends passed data to existing values

fn spec.forProvider.withRestrictions

withRestrictions(restrictions)

"Enforce restrictions for the users and teams that may push to the branch. See Restrictions below for details.\nEnforce restrictions for the users and teams that may push to the branch."

fn spec.forProvider.withRestrictionsMixin

withRestrictionsMixin(restrictions)

"Enforce restrictions for the users and teams that may push to the branch. See Restrictions below for details.\nEnforce restrictions for the users and teams that may push to the branch."

Note: This function appends passed data to existing values

obj spec.forProvider.repositoryRef

"Reference to a Repository in repo to populate repository."

fn spec.forProvider.repositoryRef.withName

withName(name)

"Name of the referenced object."

fn spec.forProvider.repositoryRef.withNamespace

withNamespace(namespace)

"Namespace of the referenced object"

obj spec.forProvider.repositoryRef.policy

"Policies for referencing."

fn spec.forProvider.repositoryRef.policy.withResolution

withResolution(resolution)

"Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved."

fn spec.forProvider.repositoryRef.policy.withResolve

withResolve(resolve)

"Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile."

obj spec.forProvider.repositorySelector

"Selector for a Repository in repo to populate repository."

fn spec.forProvider.repositorySelector.withMatchControllerRef

withMatchControllerRef(matchControllerRef)

"MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected."

fn spec.forProvider.repositorySelector.withMatchLabels

withMatchLabels(matchLabels)

"MatchLabels ensures an object with matching labels is selected."

fn spec.forProvider.repositorySelector.withMatchLabelsMixin

withMatchLabelsMixin(matchLabels)

"MatchLabels ensures an object with matching labels is selected."

Note: This function appends passed data to existing values

fn spec.forProvider.repositorySelector.withNamespace

withNamespace(namespace)

"Namespace for the selector"

obj spec.forProvider.repositorySelector.policy

"Policies for selection."

fn spec.forProvider.repositorySelector.policy.withResolution

withResolution(resolution)

"Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved."

fn spec.forProvider.repositorySelector.policy.withResolve

withResolve(resolve)

"Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile."

obj spec.forProvider.requiredPullRequestReviews

"Enforce restrictions for pull request reviews. See Required Pull Request Reviews below for details.\nEnforce restrictions for pull request reviews."

fn spec.forProvider.requiredPullRequestReviews.withBypassPullRequestAllowances

withBypassPullRequestAllowances(bypassPullRequestAllowances)

": Allow specific users, teams, or apps to bypass pull request requirements. See Bypass Pull Request Allowances below for details."

fn spec.forProvider.requiredPullRequestReviews.withBypassPullRequestAllowancesMixin

withBypassPullRequestAllowancesMixin(bypassPullRequestAllowances)

": Allow specific users, teams, or apps to bypass pull request requirements. See Bypass Pull Request Allowances below for details."

Note: This function appends passed data to existing values

fn spec.forProvider.requiredPullRequestReviews.withDismissStaleReviews

withDismissStaleReviews(dismissStaleReviews)

": Dismiss approved reviews automatically when a new commit is pushed. Defaults to false.\nDismiss approved reviews automatically when a new commit is pushed."

fn spec.forProvider.requiredPullRequestReviews.withDismissalApps

withDismissalApps(dismissalApps)

": The list of app slugs with dismissal access.\nThe list of apps slugs with dismissal access. Always use slug of the app, not its name. Each app already has to have access to the repository."

fn spec.forProvider.requiredPullRequestReviews.withDismissalAppsMixin

withDismissalAppsMixin(dismissalApps)

": The list of app slugs with dismissal access.\nThe list of apps slugs with dismissal access. Always use slug of the app, not its name. Each app already has to have access to the repository."

Note: This function appends passed data to existing values

fn spec.forProvider.requiredPullRequestReviews.withDismissalTeams

withDismissalTeams(dismissalTeams)

": The list of team slugs with dismissal access.\nAlways use slug of the team, not its name. Each team already has to have access to the repository.\nThe list of team slugs with dismissal access. Always use slug of the team, not its name. Each team already has to have access to the repository."

fn spec.forProvider.requiredPullRequestReviews.withDismissalTeamsMixin

withDismissalTeamsMixin(dismissalTeams)

": The list of team slugs with dismissal access.\nAlways use slug of the team, not its name. Each team already has to have access to the repository.\nThe list of team slugs with dismissal access. Always use slug of the team, not its name. Each team already has to have access to the repository."

Note: This function appends passed data to existing values

fn spec.forProvider.requiredPullRequestReviews.withDismissalTeamsRefs

withDismissalTeamsRefs(dismissalTeamsRefs)

"References to Team in team to populate dismissalTeams."

fn spec.forProvider.requiredPullRequestReviews.withDismissalTeamsRefsMixin

withDismissalTeamsRefsMixin(dismissalTeamsRefs)

"References to Team in team to populate dismissalTeams."

Note: This function appends passed data to existing values

fn spec.forProvider.requiredPullRequestReviews.withDismissalUsers

withDismissalUsers(dismissalUsers)

": The list of user logins with dismissal access\nThe list of user logins with dismissal access."

fn spec.forProvider.requiredPullRequestReviews.withDismissalUsersMixin

withDismissalUsersMixin(dismissalUsers)

": The list of user logins with dismissal access\nThe list of user logins with dismissal access."

Note: This function appends passed data to existing values

fn spec.forProvider.requiredPullRequestReviews.withIncludeAdmins

withIncludeAdmins(includeAdmins)

fn spec.forProvider.requiredPullRequestReviews.withRequireCodeOwnerReviews

withRequireCodeOwnerReviews(requireCodeOwnerReviews)

": Require an approved review in pull requests including files with a designated code owner. Defaults to false.\nRequire an approved review in pull requests including files with a designated code owner."

fn spec.forProvider.requiredPullRequestReviews.withRequireLastPushApproval

withRequireLastPushApproval(requireLastPushApproval)

": Require that the most recent push must be approved by someone other than the last pusher. Defaults to false\nRequire that the most recent push must be approved by someone other than the last pusher."

fn spec.forProvider.requiredPullRequestReviews.withRequiredApprovingReviewCount

withRequiredApprovingReviewCount(requiredApprovingReviewCount)

"6. This requirement matches GitHub's API, see the upstream documentation for more information.\nRequire 'x' number of approvals to satisfy branch protection requirements. If this is specified it must be a number between 0-6."

obj spec.forProvider.requiredPullRequestReviews.bypassPullRequestAllowances

": Allow specific users, teams, or apps to bypass pull request requirements. See Bypass Pull Request Allowances below for details."

fn spec.forProvider.requiredPullRequestReviews.bypassPullRequestAllowances.withApps

withApps(apps)

": The list of app slugs with push access."

fn spec.forProvider.requiredPullRequestReviews.bypassPullRequestAllowances.withAppsMixin

withAppsMixin(apps)

": The list of app slugs with push access."

Note: This function appends passed data to existing values

fn spec.forProvider.requiredPullRequestReviews.bypassPullRequestAllowances.withTeams

withTeams(teams)

": The list of team slugs with push access.\nAlways use slug of the team, not its name. Each team already has to have access to the repository."

fn spec.forProvider.requiredPullRequestReviews.bypassPullRequestAllowances.withTeamsMixin

withTeamsMixin(teams)

": The list of team slugs with push access.\nAlways use slug of the team, not its name. Each team already has to have access to the repository."

Note: This function appends passed data to existing values

fn spec.forProvider.requiredPullRequestReviews.bypassPullRequestAllowances.withTeamsRefs

withTeamsRefs(teamsRefs)

"References to Team in team to populate teams."

fn spec.forProvider.requiredPullRequestReviews.bypassPullRequestAllowances.withTeamsRefsMixin

withTeamsRefsMixin(teamsRefs)

"References to Team in team to populate teams."

Note: This function appends passed data to existing values

fn spec.forProvider.requiredPullRequestReviews.bypassPullRequestAllowances.withUsers

withUsers(users)

": The list of user logins with push access."

fn spec.forProvider.requiredPullRequestReviews.bypassPullRequestAllowances.withUsersMixin

withUsersMixin(users)

": The list of user logins with push access."

Note: This function appends passed data to existing values

obj spec.forProvider.requiredPullRequestReviews.bypassPullRequestAllowances.teamsRefs

"References to Team in team to populate teams."

fn spec.forProvider.requiredPullRequestReviews.bypassPullRequestAllowances.teamsRefs.withName

withName(name)

"Name of the referenced object."

fn spec.forProvider.requiredPullRequestReviews.bypassPullRequestAllowances.teamsRefs.withNamespace

withNamespace(namespace)

"Namespace of the referenced object"

obj spec.forProvider.requiredPullRequestReviews.bypassPullRequestAllowances.teamsRefs.policy

"Policies for referencing."

fn spec.forProvider.requiredPullRequestReviews.bypassPullRequestAllowances.teamsRefs.policy.withResolution

withResolution(resolution)

"Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved."

fn spec.forProvider.requiredPullRequestReviews.bypassPullRequestAllowances.teamsRefs.policy.withResolve

withResolve(resolve)

"Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile."

obj spec.forProvider.requiredPullRequestReviews.bypassPullRequestAllowances.teamsSelector

"Selector for a list of Team in team to populate teams."

fn spec.forProvider.requiredPullRequestReviews.bypassPullRequestAllowances.teamsSelector.withMatchControllerRef

withMatchControllerRef(matchControllerRef)

"MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected."

fn spec.forProvider.requiredPullRequestReviews.bypassPullRequestAllowances.teamsSelector.withMatchLabels

withMatchLabels(matchLabels)

"MatchLabels ensures an object with matching labels is selected."

fn spec.forProvider.requiredPullRequestReviews.bypassPullRequestAllowances.teamsSelector.withMatchLabelsMixin

withMatchLabelsMixin(matchLabels)

"MatchLabels ensures an object with matching labels is selected."

Note: This function appends passed data to existing values

fn spec.forProvider.requiredPullRequestReviews.bypassPullRequestAllowances.teamsSelector.withNamespace

withNamespace(namespace)

"Namespace for the selector"

obj spec.forProvider.requiredPullRequestReviews.bypassPullRequestAllowances.teamsSelector.policy

"Policies for selection."

fn spec.forProvider.requiredPullRequestReviews.bypassPullRequestAllowances.teamsSelector.policy.withResolution

withResolution(resolution)

"Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved."

fn spec.forProvider.requiredPullRequestReviews.bypassPullRequestAllowances.teamsSelector.policy.withResolve

withResolve(resolve)

"Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile."

obj spec.forProvider.requiredPullRequestReviews.dismissalTeamsRefs

"References to Team in team to populate dismissalTeams."

fn spec.forProvider.requiredPullRequestReviews.dismissalTeamsRefs.withName

withName(name)

"Name of the referenced object."

fn spec.forProvider.requiredPullRequestReviews.dismissalTeamsRefs.withNamespace

withNamespace(namespace)

"Namespace of the referenced object"

obj spec.forProvider.requiredPullRequestReviews.dismissalTeamsRefs.policy

"Policies for referencing."

fn spec.forProvider.requiredPullRequestReviews.dismissalTeamsRefs.policy.withResolution

withResolution(resolution)

"Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved."

fn spec.forProvider.requiredPullRequestReviews.dismissalTeamsRefs.policy.withResolve

withResolve(resolve)

"Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile."

obj spec.forProvider.requiredPullRequestReviews.dismissalTeamsSelector

"Selector for a list of Team in team to populate dismissalTeams."

fn spec.forProvider.requiredPullRequestReviews.dismissalTeamsSelector.withMatchControllerRef

withMatchControllerRef(matchControllerRef)

"MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected."

fn spec.forProvider.requiredPullRequestReviews.dismissalTeamsSelector.withMatchLabels

withMatchLabels(matchLabels)

"MatchLabels ensures an object with matching labels is selected."

fn spec.forProvider.requiredPullRequestReviews.dismissalTeamsSelector.withMatchLabelsMixin

withMatchLabelsMixin(matchLabels)

"MatchLabels ensures an object with matching labels is selected."

Note: This function appends passed data to existing values

fn spec.forProvider.requiredPullRequestReviews.dismissalTeamsSelector.withNamespace

withNamespace(namespace)

"Namespace for the selector"

obj spec.forProvider.requiredPullRequestReviews.dismissalTeamsSelector.policy

"Policies for selection."

fn spec.forProvider.requiredPullRequestReviews.dismissalTeamsSelector.policy.withResolution

withResolution(resolution)

"Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved."

fn spec.forProvider.requiredPullRequestReviews.dismissalTeamsSelector.policy.withResolve

withResolve(resolve)

"Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile."

obj spec.forProvider.requiredStatusChecks

"Enforce restrictions for required status checks. See Required Status Checks below for details.\nEnforce restrictions for required status checks."

fn spec.forProvider.requiredStatusChecks.withChecks

withChecks(checks)

": The list of status checks to require in order to merge into this branch. No status checks are required by default. Checks should be strings containing the context and app_id like so \"context:app_id\".\nThe list of status checks to require in order to merge into this branch. No status checks are required by default. Checks should be strings containing the 'context' and 'app_id' like so 'context:app_id'"

fn spec.forProvider.requiredStatusChecks.withChecksMixin

withChecksMixin(checks)

": The list of status checks to require in order to merge into this branch. No status checks are required by default. Checks should be strings containing the context and app_id like so \"context:app_id\".\nThe list of status checks to require in order to merge into this branch. No status checks are required by default. Checks should be strings containing the 'context' and 'app_id' like so 'context:app_id'"

Note: This function appends passed data to existing values

fn spec.forProvider.requiredStatusChecks.withContexts

withContexts(contexts)

": [DEPRECATED] The list of status checks to require in order to merge into this branch. No status checks are required by default."

fn spec.forProvider.requiredStatusChecks.withContextsMixin

withContextsMixin(contexts)

": [DEPRECATED] The list of status checks to require in order to merge into this branch. No status checks are required by default."

Note: This function appends passed data to existing values

fn spec.forProvider.requiredStatusChecks.withIncludeAdmins

withIncludeAdmins(includeAdmins)

fn spec.forProvider.requiredStatusChecks.withStrict

withStrict(strict)

": Require branches to be up to date before merging. Defaults to false.\nRequire branches to be up to date before merging."

obj spec.forProvider.restrictions

"Enforce restrictions for the users and teams that may push to the branch. See Restrictions below for details.\nEnforce restrictions for the users and teams that may push to the branch."

fn spec.forProvider.restrictions.withApps

withApps(apps)

": The list of app slugs with push access.\nThe list of app slugs with push access."

fn spec.forProvider.restrictions.withAppsMixin

withAppsMixin(apps)

": The list of app slugs with push access.\nThe list of app slugs with push access."

Note: This function appends passed data to existing values

fn spec.forProvider.restrictions.withTeams

withTeams(teams)

": The list of team slugs with push access.\nAlways use slug of the team, not its name. Each team already has to have access to the repository.\nThe list of team slugs with push access. Always use slug of the team, not its name. Each team already has to have access to the repository."

fn spec.forProvider.restrictions.withTeamsMixin

withTeamsMixin(teams)

": The list of team slugs with push access.\nAlways use slug of the team, not its name. Each team already has to have access to the repository.\nThe list of team slugs with push access. Always use slug of the team, not its name. Each team already has to have access to the repository."

Note: This function appends passed data to existing values

fn spec.forProvider.restrictions.withTeamsRefs

withTeamsRefs(teamsRefs)

"References to Team in team to populate teams."

fn spec.forProvider.restrictions.withTeamsRefsMixin

withTeamsRefsMixin(teamsRefs)

"References to Team in team to populate teams."

Note: This function appends passed data to existing values

fn spec.forProvider.restrictions.withUsers

withUsers(users)

": The list of user logins with push access.\nThe list of user logins with push access."

fn spec.forProvider.restrictions.withUsersMixin

withUsersMixin(users)

": The list of user logins with push access.\nThe list of user logins with push access."

Note: This function appends passed data to existing values

obj spec.forProvider.restrictions.teamsRefs

"References to Team in team to populate teams."

fn spec.forProvider.restrictions.teamsRefs.withName

withName(name)

"Name of the referenced object."

fn spec.forProvider.restrictions.teamsRefs.withNamespace

withNamespace(namespace)

"Namespace of the referenced object"

obj spec.forProvider.restrictions.teamsRefs.policy

"Policies for referencing."

fn spec.forProvider.restrictions.teamsRefs.policy.withResolution

withResolution(resolution)

"Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved."

fn spec.forProvider.restrictions.teamsRefs.policy.withResolve

withResolve(resolve)

"Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile."

obj spec.forProvider.restrictions.teamsSelector

"Selector for a list of Team in team to populate teams."

fn spec.forProvider.restrictions.teamsSelector.withMatchControllerRef

withMatchControllerRef(matchControllerRef)

"MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected."

fn spec.forProvider.restrictions.teamsSelector.withMatchLabels

withMatchLabels(matchLabels)

"MatchLabels ensures an object with matching labels is selected."

fn spec.forProvider.restrictions.teamsSelector.withMatchLabelsMixin

withMatchLabelsMixin(matchLabels)

"MatchLabels ensures an object with matching labels is selected."

Note: This function appends passed data to existing values

fn spec.forProvider.restrictions.teamsSelector.withNamespace

withNamespace(namespace)

"Namespace for the selector"

obj spec.forProvider.restrictions.teamsSelector.policy

"Policies for selection."

fn spec.forProvider.restrictions.teamsSelector.policy.withResolution

withResolution(resolution)

"Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved."

fn spec.forProvider.restrictions.teamsSelector.policy.withResolve

withResolve(resolve)

"Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile."

obj spec.initProvider

"THIS IS A BETA FIELD. It will be honored\nunless the Management Policies feature flag is disabled.\nInitProvider holds the same fields as ForProvider, with the exception\nof Identifier and other resource reference fields. The fields that are\nin InitProvider are merged into ForProvider when the resource is created.\nThe same fields are also added to the terraform ignore_changes hook, to\navoid updating them after creation. This is useful for fields that are\nrequired on creation, but we do not desire to update them after creation,\nfor example because of an external controller is managing them, like an\nautoscaler."

fn spec.initProvider.withBranch

withBranch(branch)

"The Git branch to protect.\nThe Git branch to protect."

fn spec.initProvider.withEnforceAdmins

withEnforceAdmins(enforceAdmins)

"Boolean, setting this to true enforces status checks for repository administrators.\nSetting this to 'true' enforces status checks for repository administrators."

fn spec.initProvider.withRepository

withRepository(repository)

"The GitHub repository name.\nThe GitHub repository name."

fn spec.initProvider.withRequireConversationResolution

withRequireConversationResolution(requireConversationResolution)

"Boolean, setting this to true requires all conversations on code must be resolved before a pull request can be merged.\nSetting this to 'true' requires all conversations on code must be resolved before a pull request can be merged."

fn spec.initProvider.withRequireSignedCommits

withRequireSignedCommits(requireSignedCommits)

"Boolean, setting this to true requires all commits to be signed with GPG.\nSetting this to 'true' requires all commits to be signed with GPG."

fn spec.initProvider.withRequiredPullRequestReviews

withRequiredPullRequestReviews(requiredPullRequestReviews)

"Enforce restrictions for pull request reviews. See Required Pull Request Reviews below for details.\nEnforce restrictions for pull request reviews."

fn spec.initProvider.withRequiredPullRequestReviewsMixin

withRequiredPullRequestReviewsMixin(requiredPullRequestReviews)

"Enforce restrictions for pull request reviews. See Required Pull Request Reviews below for details.\nEnforce restrictions for pull request reviews."

Note: This function appends passed data to existing values

fn spec.initProvider.withRequiredStatusChecks

withRequiredStatusChecks(requiredStatusChecks)

"Enforce restrictions for required status checks. See Required Status Checks below for details.\nEnforce restrictions for required status checks."

fn spec.initProvider.withRequiredStatusChecksMixin

withRequiredStatusChecksMixin(requiredStatusChecks)

"Enforce restrictions for required status checks. See Required Status Checks below for details.\nEnforce restrictions for required status checks."

Note: This function appends passed data to existing values

fn spec.initProvider.withRestrictions

withRestrictions(restrictions)

"Enforce restrictions for the users and teams that may push to the branch. See Restrictions below for details.\nEnforce restrictions for the users and teams that may push to the branch."

fn spec.initProvider.withRestrictionsMixin

withRestrictionsMixin(restrictions)

"Enforce restrictions for the users and teams that may push to the branch. See Restrictions below for details.\nEnforce restrictions for the users and teams that may push to the branch."

Note: This function appends passed data to existing values

obj spec.initProvider.repositoryRef

"Reference to a Repository in repo to populate repository."

fn spec.initProvider.repositoryRef.withName

withName(name)

"Name of the referenced object."

fn spec.initProvider.repositoryRef.withNamespace

withNamespace(namespace)

"Namespace of the referenced object"

obj spec.initProvider.repositoryRef.policy

"Policies for referencing."

fn spec.initProvider.repositoryRef.policy.withResolution

withResolution(resolution)

"Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved."

fn spec.initProvider.repositoryRef.policy.withResolve

withResolve(resolve)

"Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile."

obj spec.initProvider.repositorySelector

"Selector for a Repository in repo to populate repository."

fn spec.initProvider.repositorySelector.withMatchControllerRef

withMatchControllerRef(matchControllerRef)

"MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected."

fn spec.initProvider.repositorySelector.withMatchLabels

withMatchLabels(matchLabels)

"MatchLabels ensures an object with matching labels is selected."

fn spec.initProvider.repositorySelector.withMatchLabelsMixin

withMatchLabelsMixin(matchLabels)

"MatchLabels ensures an object with matching labels is selected."

Note: This function appends passed data to existing values

fn spec.initProvider.repositorySelector.withNamespace

withNamespace(namespace)

"Namespace for the selector"

obj spec.initProvider.repositorySelector.policy

"Policies for selection."

fn spec.initProvider.repositorySelector.policy.withResolution

withResolution(resolution)

"Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved."

fn spec.initProvider.repositorySelector.policy.withResolve

withResolve(resolve)

"Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile."

obj spec.initProvider.requiredPullRequestReviews

"Enforce restrictions for pull request reviews. See Required Pull Request Reviews below for details.\nEnforce restrictions for pull request reviews."

fn spec.initProvider.requiredPullRequestReviews.withBypassPullRequestAllowances

withBypassPullRequestAllowances(bypassPullRequestAllowances)

": Allow specific users, teams, or apps to bypass pull request requirements. See Bypass Pull Request Allowances below for details."

fn spec.initProvider.requiredPullRequestReviews.withBypassPullRequestAllowancesMixin

withBypassPullRequestAllowancesMixin(bypassPullRequestAllowances)

": Allow specific users, teams, or apps to bypass pull request requirements. See Bypass Pull Request Allowances below for details."

Note: This function appends passed data to existing values

fn spec.initProvider.requiredPullRequestReviews.withDismissStaleReviews

withDismissStaleReviews(dismissStaleReviews)

": Dismiss approved reviews automatically when a new commit is pushed. Defaults to false.\nDismiss approved reviews automatically when a new commit is pushed."

fn spec.initProvider.requiredPullRequestReviews.withDismissalApps

withDismissalApps(dismissalApps)

": The list of app slugs with dismissal access.\nThe list of apps slugs with dismissal access. Always use slug of the app, not its name. Each app already has to have access to the repository."

fn spec.initProvider.requiredPullRequestReviews.withDismissalAppsMixin

withDismissalAppsMixin(dismissalApps)

": The list of app slugs with dismissal access.\nThe list of apps slugs with dismissal access. Always use slug of the app, not its name. Each app already has to have access to the repository."

Note: This function appends passed data to existing values

fn spec.initProvider.requiredPullRequestReviews.withDismissalTeams

withDismissalTeams(dismissalTeams)

": The list of team slugs with dismissal access.\nAlways use slug of the team, not its name. Each team already has to have access to the repository.\nThe list of team slugs with dismissal access. Always use slug of the team, not its name. Each team already has to have access to the repository."

fn spec.initProvider.requiredPullRequestReviews.withDismissalTeamsMixin

withDismissalTeamsMixin(dismissalTeams)

": The list of team slugs with dismissal access.\nAlways use slug of the team, not its name. Each team already has to have access to the repository.\nThe list of team slugs with dismissal access. Always use slug of the team, not its name. Each team already has to have access to the repository."

Note: This function appends passed data to existing values

fn spec.initProvider.requiredPullRequestReviews.withDismissalTeamsRefs

withDismissalTeamsRefs(dismissalTeamsRefs)

"References to Team in team to populate dismissalTeams."

fn spec.initProvider.requiredPullRequestReviews.withDismissalTeamsRefsMixin

withDismissalTeamsRefsMixin(dismissalTeamsRefs)

"References to Team in team to populate dismissalTeams."

Note: This function appends passed data to existing values

fn spec.initProvider.requiredPullRequestReviews.withDismissalUsers

withDismissalUsers(dismissalUsers)

": The list of user logins with dismissal access\nThe list of user logins with dismissal access."

fn spec.initProvider.requiredPullRequestReviews.withDismissalUsersMixin

withDismissalUsersMixin(dismissalUsers)

": The list of user logins with dismissal access\nThe list of user logins with dismissal access."

Note: This function appends passed data to existing values

fn spec.initProvider.requiredPullRequestReviews.withIncludeAdmins

withIncludeAdmins(includeAdmins)

fn spec.initProvider.requiredPullRequestReviews.withRequireCodeOwnerReviews

withRequireCodeOwnerReviews(requireCodeOwnerReviews)

": Require an approved review in pull requests including files with a designated code owner. Defaults to false.\nRequire an approved review in pull requests including files with a designated code owner."

fn spec.initProvider.requiredPullRequestReviews.withRequireLastPushApproval

withRequireLastPushApproval(requireLastPushApproval)

": Require that the most recent push must be approved by someone other than the last pusher. Defaults to false\nRequire that the most recent push must be approved by someone other than the last pusher."

fn spec.initProvider.requiredPullRequestReviews.withRequiredApprovingReviewCount

withRequiredApprovingReviewCount(requiredApprovingReviewCount)

"6. This requirement matches GitHub's API, see the upstream documentation for more information.\nRequire 'x' number of approvals to satisfy branch protection requirements. If this is specified it must be a number between 0-6."

obj spec.initProvider.requiredPullRequestReviews.bypassPullRequestAllowances

": Allow specific users, teams, or apps to bypass pull request requirements. See Bypass Pull Request Allowances below for details."

fn spec.initProvider.requiredPullRequestReviews.bypassPullRequestAllowances.withApps

withApps(apps)

": The list of app slugs with push access."

fn spec.initProvider.requiredPullRequestReviews.bypassPullRequestAllowances.withAppsMixin

withAppsMixin(apps)

": The list of app slugs with push access."

Note: This function appends passed data to existing values

fn spec.initProvider.requiredPullRequestReviews.bypassPullRequestAllowances.withTeams

withTeams(teams)

": The list of team slugs with push access.\nAlways use slug of the team, not its name. Each team already has to have access to the repository."

fn spec.initProvider.requiredPullRequestReviews.bypassPullRequestAllowances.withTeamsMixin

withTeamsMixin(teams)

": The list of team slugs with push access.\nAlways use slug of the team, not its name. Each team already has to have access to the repository."

Note: This function appends passed data to existing values

fn spec.initProvider.requiredPullRequestReviews.bypassPullRequestAllowances.withTeamsRefs

withTeamsRefs(teamsRefs)

"References to Team in team to populate teams."

fn spec.initProvider.requiredPullRequestReviews.bypassPullRequestAllowances.withTeamsRefsMixin

withTeamsRefsMixin(teamsRefs)

"References to Team in team to populate teams."

Note: This function appends passed data to existing values

fn spec.initProvider.requiredPullRequestReviews.bypassPullRequestAllowances.withUsers

withUsers(users)

": The list of user logins with push access."

fn spec.initProvider.requiredPullRequestReviews.bypassPullRequestAllowances.withUsersMixin

withUsersMixin(users)

": The list of user logins with push access."

Note: This function appends passed data to existing values

obj spec.initProvider.requiredPullRequestReviews.bypassPullRequestAllowances.teamsRefs

"References to Team in team to populate teams."

fn spec.initProvider.requiredPullRequestReviews.bypassPullRequestAllowances.teamsRefs.withName

withName(name)

"Name of the referenced object."

fn spec.initProvider.requiredPullRequestReviews.bypassPullRequestAllowances.teamsRefs.withNamespace

withNamespace(namespace)

"Namespace of the referenced object"

obj spec.initProvider.requiredPullRequestReviews.bypassPullRequestAllowances.teamsRefs.policy

"Policies for referencing."

fn spec.initProvider.requiredPullRequestReviews.bypassPullRequestAllowances.teamsRefs.policy.withResolution

withResolution(resolution)

"Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved."

fn spec.initProvider.requiredPullRequestReviews.bypassPullRequestAllowances.teamsRefs.policy.withResolve

withResolve(resolve)

"Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile."

obj spec.initProvider.requiredPullRequestReviews.bypassPullRequestAllowances.teamsSelector

"Selector for a list of Team in team to populate teams."

fn spec.initProvider.requiredPullRequestReviews.bypassPullRequestAllowances.teamsSelector.withMatchControllerRef

withMatchControllerRef(matchControllerRef)

"MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected."

fn spec.initProvider.requiredPullRequestReviews.bypassPullRequestAllowances.teamsSelector.withMatchLabels

withMatchLabels(matchLabels)

"MatchLabels ensures an object with matching labels is selected."

fn spec.initProvider.requiredPullRequestReviews.bypassPullRequestAllowances.teamsSelector.withMatchLabelsMixin

withMatchLabelsMixin(matchLabels)

"MatchLabels ensures an object with matching labels is selected."

Note: This function appends passed data to existing values

fn spec.initProvider.requiredPullRequestReviews.bypassPullRequestAllowances.teamsSelector.withNamespace

withNamespace(namespace)

"Namespace for the selector"

obj spec.initProvider.requiredPullRequestReviews.bypassPullRequestAllowances.teamsSelector.policy

"Policies for selection."

fn spec.initProvider.requiredPullRequestReviews.bypassPullRequestAllowances.teamsSelector.policy.withResolution

withResolution(resolution)

"Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved."

fn spec.initProvider.requiredPullRequestReviews.bypassPullRequestAllowances.teamsSelector.policy.withResolve

withResolve(resolve)

"Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile."

obj spec.initProvider.requiredPullRequestReviews.dismissalTeamsRefs

"References to Team in team to populate dismissalTeams."

fn spec.initProvider.requiredPullRequestReviews.dismissalTeamsRefs.withName

withName(name)

"Name of the referenced object."

fn spec.initProvider.requiredPullRequestReviews.dismissalTeamsRefs.withNamespace

withNamespace(namespace)

"Namespace of the referenced object"

obj spec.initProvider.requiredPullRequestReviews.dismissalTeamsRefs.policy

"Policies for referencing."

fn spec.initProvider.requiredPullRequestReviews.dismissalTeamsRefs.policy.withResolution

withResolution(resolution)

"Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved."

fn spec.initProvider.requiredPullRequestReviews.dismissalTeamsRefs.policy.withResolve

withResolve(resolve)

"Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile."

obj spec.initProvider.requiredPullRequestReviews.dismissalTeamsSelector

"Selector for a list of Team in team to populate dismissalTeams."

fn spec.initProvider.requiredPullRequestReviews.dismissalTeamsSelector.withMatchControllerRef

withMatchControllerRef(matchControllerRef)

"MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected."

fn spec.initProvider.requiredPullRequestReviews.dismissalTeamsSelector.withMatchLabels

withMatchLabels(matchLabels)

"MatchLabels ensures an object with matching labels is selected."

fn spec.initProvider.requiredPullRequestReviews.dismissalTeamsSelector.withMatchLabelsMixin

withMatchLabelsMixin(matchLabels)

"MatchLabels ensures an object with matching labels is selected."

Note: This function appends passed data to existing values

fn spec.initProvider.requiredPullRequestReviews.dismissalTeamsSelector.withNamespace

withNamespace(namespace)

"Namespace for the selector"

obj spec.initProvider.requiredPullRequestReviews.dismissalTeamsSelector.policy

"Policies for selection."

fn spec.initProvider.requiredPullRequestReviews.dismissalTeamsSelector.policy.withResolution

withResolution(resolution)

"Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved."

fn spec.initProvider.requiredPullRequestReviews.dismissalTeamsSelector.policy.withResolve

withResolve(resolve)

"Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile."

obj spec.initProvider.requiredStatusChecks

"Enforce restrictions for required status checks. See Required Status Checks below for details.\nEnforce restrictions for required status checks."

fn spec.initProvider.requiredStatusChecks.withChecks

withChecks(checks)

": The list of status checks to require in order to merge into this branch. No status checks are required by default. Checks should be strings containing the context and app_id like so \"context:app_id\".\nThe list of status checks to require in order to merge into this branch. No status checks are required by default. Checks should be strings containing the 'context' and 'app_id' like so 'context:app_id'"

fn spec.initProvider.requiredStatusChecks.withChecksMixin

withChecksMixin(checks)

": The list of status checks to require in order to merge into this branch. No status checks are required by default. Checks should be strings containing the context and app_id like so \"context:app_id\".\nThe list of status checks to require in order to merge into this branch. No status checks are required by default. Checks should be strings containing the 'context' and 'app_id' like so 'context:app_id'"

Note: This function appends passed data to existing values

fn spec.initProvider.requiredStatusChecks.withContexts

withContexts(contexts)

": [DEPRECATED] The list of status checks to require in order to merge into this branch. No status checks are required by default."

fn spec.initProvider.requiredStatusChecks.withContextsMixin

withContextsMixin(contexts)

": [DEPRECATED] The list of status checks to require in order to merge into this branch. No status checks are required by default."

Note: This function appends passed data to existing values

fn spec.initProvider.requiredStatusChecks.withIncludeAdmins

withIncludeAdmins(includeAdmins)

fn spec.initProvider.requiredStatusChecks.withStrict

withStrict(strict)

": Require branches to be up to date before merging. Defaults to false.\nRequire branches to be up to date before merging."

obj spec.initProvider.restrictions

"Enforce restrictions for the users and teams that may push to the branch. See Restrictions below for details.\nEnforce restrictions for the users and teams that may push to the branch."

fn spec.initProvider.restrictions.withApps

withApps(apps)

": The list of app slugs with push access.\nThe list of app slugs with push access."

fn spec.initProvider.restrictions.withAppsMixin

withAppsMixin(apps)

": The list of app slugs with push access.\nThe list of app slugs with push access."

Note: This function appends passed data to existing values

fn spec.initProvider.restrictions.withTeams

withTeams(teams)

": The list of team slugs with push access.\nAlways use slug of the team, not its name. Each team already has to have access to the repository.\nThe list of team slugs with push access. Always use slug of the team, not its name. Each team already has to have access to the repository."

fn spec.initProvider.restrictions.withTeamsMixin

withTeamsMixin(teams)

": The list of team slugs with push access.\nAlways use slug of the team, not its name. Each team already has to have access to the repository.\nThe list of team slugs with push access. Always use slug of the team, not its name. Each team already has to have access to the repository."

Note: This function appends passed data to existing values

fn spec.initProvider.restrictions.withTeamsRefs

withTeamsRefs(teamsRefs)

"References to Team in team to populate teams."

fn spec.initProvider.restrictions.withTeamsRefsMixin

withTeamsRefsMixin(teamsRefs)

"References to Team in team to populate teams."

Note: This function appends passed data to existing values

fn spec.initProvider.restrictions.withUsers

withUsers(users)

": The list of user logins with push access.\nThe list of user logins with push access."

fn spec.initProvider.restrictions.withUsersMixin

withUsersMixin(users)

": The list of user logins with push access.\nThe list of user logins with push access."

Note: This function appends passed data to existing values

obj spec.initProvider.restrictions.teamsRefs

"References to Team in team to populate teams."

fn spec.initProvider.restrictions.teamsRefs.withName

withName(name)

"Name of the referenced object."

fn spec.initProvider.restrictions.teamsRefs.withNamespace

withNamespace(namespace)

"Namespace of the referenced object"

obj spec.initProvider.restrictions.teamsRefs.policy

"Policies for referencing."

fn spec.initProvider.restrictions.teamsRefs.policy.withResolution

withResolution(resolution)

"Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved."

fn spec.initProvider.restrictions.teamsRefs.policy.withResolve

withResolve(resolve)

"Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile."

obj spec.initProvider.restrictions.teamsSelector

"Selector for a list of Team in team to populate teams."

fn spec.initProvider.restrictions.teamsSelector.withMatchControllerRef

withMatchControllerRef(matchControllerRef)

"MatchControllerRef ensures an object with the same controller reference\nas the selecting object is selected."

fn spec.initProvider.restrictions.teamsSelector.withMatchLabels

withMatchLabels(matchLabels)

"MatchLabels ensures an object with matching labels is selected."

fn spec.initProvider.restrictions.teamsSelector.withMatchLabelsMixin

withMatchLabelsMixin(matchLabels)

"MatchLabels ensures an object with matching labels is selected."

Note: This function appends passed data to existing values

fn spec.initProvider.restrictions.teamsSelector.withNamespace

withNamespace(namespace)

"Namespace for the selector"

obj spec.initProvider.restrictions.teamsSelector.policy

"Policies for selection."

fn spec.initProvider.restrictions.teamsSelector.policy.withResolution

withResolution(resolution)

"Resolution specifies whether resolution of this reference is required.\nThe default is 'Required', which means the reconcile will fail if the\nreference cannot be resolved. 'Optional' means this reference will be\na no-op if it cannot be resolved."

fn spec.initProvider.restrictions.teamsSelector.policy.withResolve

withResolve(resolve)

"Resolve specifies when this reference should be resolved. The default\nis 'IfNotPresent', which will attempt to resolve the reference only when\nthe corresponding field is not present. Use 'Always' to resolve the\nreference on every reconcile."

obj spec.providerConfigRef

"ProviderConfigReference specifies how the provider that will be used to\ncreate, observe, update, and delete this managed resource should be\nconfigured."

fn spec.providerConfigRef.withKind

withKind(kind)

"Kind of the referenced object."

fn spec.providerConfigRef.withName

withName(name)

"Name of the referenced object."

obj spec.writeConnectionSecretToRef

"WriteConnectionSecretToReference specifies the namespace and name of a\nSecret to which any connection details for this managed resource should\nbe written. Connection details frequently include the endpoint, username,\nand password required to connect to the managed resource."

fn spec.writeConnectionSecretToRef.withName

withName(name)

"Name of the secret."