Help us shape the future of Go! Take the 2026 Go Developer Survey

v1alpha1

package
v0.24.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 23, 2026 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Overview

Package v1alpha1 contains the v1alpha1 group Sample resources of the GitHub provider. +kubebuilder:object:generate=true +groupName=organizations.github.crossplane.io +versionName=v1alpha1

Index

Constants

View Source
const (
	Group   = "organizations.github.crossplane.io"
	Version = "v1alpha1"
)

Package type metadata.

Variables

View Source
var (
	ActionsSecretAccessKind             = reflect.TypeOf(ActionsSecretAccess{}).Name()
	ActionsSecretAccessGroupKind        = schema.GroupKind{Group: Group, Kind: ActionsSecretAccessKind}.String()
	ActionsSecretAccessKindAPIVersion   = ActionsSecretAccessKind + "." + SchemeGroupVersion.String()
	ActionsSecretAccessGroupVersionKind = SchemeGroupVersion.WithKind(ActionsSecretAccessKind)
)

ActionsSecretAccess type metadata.

View Source
var (
	DependabotSecretAccessKind             = reflect.TypeOf(DependabotSecretAccess{}).Name()
	DependabotSecretAccessGroupKind        = schema.GroupKind{Group: Group, Kind: DependabotSecretAccessKind}.String()
	DependabotSecretAccessKindAPIVersion   = DependabotSecretAccessKind + "." + SchemeGroupVersion.String()
	DependabotSecretAccessGroupVersionKind = SchemeGroupVersion.WithKind(DependabotSecretAccessKind)
)

DependabotSecretAccess type metadata.

View Source
var (
	// SchemeGroupVersion is group version used to register these objects
	SchemeGroupVersion = schema.GroupVersion{Group: Group, Version: Version}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion}
)
View Source
var (
	MembershipKind             = reflect.TypeOf(Membership{}).Name()
	MembershipGroupKind        = schema.GroupKind{Group: Group, Kind: MembershipKind}.String()
	MembershipKindAPIVersion   = MembershipKind + "." + SchemeGroupVersion.String()
	MembershipGroupVersionKind = SchemeGroupVersion.WithKind(MembershipKind)
)

Membership type metadata.

View Source
var (
	OrganizationKind             = reflect.TypeOf(Organization{}).Name()
	OrganizationGroupKind        = schema.GroupKind{Group: Group, Kind: OrganizationKind}.String()
	OrganizationKindAPIVersion   = OrganizationKind + "." + SchemeGroupVersion.String()
	OrganizationGroupVersionKind = SchemeGroupVersion.WithKind(OrganizationKind)
)

Organization type metadata.

View Source
var (
	OrganizationVariableKind             = reflect.TypeOf(OrganizationVariable{}).Name()
	OrganizationVariableGroupKind        = schema.GroupKind{Group: Group, Kind: OrganizationVariableKind}.String()
	OrganizationVariableKindAPIVersion   = OrganizationVariableKind + "." + SchemeGroupVersion.String()
	OrganizationVariableGroupVersionKind = SchemeGroupVersion.WithKind(OrganizationVariableKind)
)

OrganizationVariable type metadata.

View Source
var (
	OrganizationWebhookKind             = reflect.TypeOf(OrganizationWebhook{}).Name()
	OrganizationWebhookGroupKind        = schema.GroupKind{Group: Group, Kind: OrganizationWebhookKind}.String()
	OrganizationWebhookKindAPIVersion   = OrganizationWebhookKind + "." + SchemeGroupVersion.String()
	OrganizationWebhookGroupVersionKind = SchemeGroupVersion.WithKind(OrganizationWebhookKind)
)

OrganizationWebhook type metadata.

View Source
var (
	RepositoryKind             = reflect.TypeOf(Repository{}).Name()
	RepositoryGroupKind        = schema.GroupKind{Group: Group, Kind: RepositoryKind}.String()
	RepositoryKindAPIVersion   = RepositoryKind + "." + SchemeGroupVersion.String()
	RepositoryGroupVersionKind = SchemeGroupVersion.WithKind(RepositoryKind)
)

Repository type metadata.

View Source
var (
	RunnerGroupKind             = reflect.TypeOf(RunnerGroup{}).Name()
	RunnerGroupGroupKind        = schema.GroupKind{Group: Group, Kind: RunnerGroupKind}.String()
	RunnerGroupKindAPIVersion   = RunnerGroupKind + "." + SchemeGroupVersion.String()
	RunnerGroupGroupVersionKind = SchemeGroupVersion.WithKind(RunnerGroupKind)
)

RunnerGroup type metadata.

View Source
var (
	TeamKind             = reflect.TypeOf(Team{}).Name()
	TeamGroupKind        = schema.GroupKind{Group: Group, Kind: TeamKind}.String()
	TeamKindAPIVersion   = TeamKind + "." + SchemeGroupVersion.String()
	TeamGroupVersionKind = SchemeGroupVersion.WithKind(TeamKind)
)

Team type metadata.

Functions

This section is empty.

Types

type ActionEnabledRepo

type ActionEnabledRepo struct {
	// Name of the repository
	// +crossplane:generate:reference:type=github.com/provider-github/provider-github/apis/cluster/organizations/v1alpha1.Repository
	Repo string `json:"repo,omitempty"`

	// RepoRef is a reference to the Repositories
	// +optional
	RepoRef *xpv2.Reference `json:"repoRef,omitempty"`

	// RepoSelector selects a reference to an Repositories
	// +optional
	RepoSelector *xpv2.Selector `json:"repoSelector,omitempty"`
}

func (*ActionEnabledRepo) DeepCopy

func (in *ActionEnabledRepo) DeepCopy() *ActionEnabledRepo

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ActionEnabledRepo.

func (*ActionEnabledRepo) DeepCopyInto

func (in *ActionEnabledRepo) DeepCopyInto(out *ActionEnabledRepo)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ActionEnabledRepoObservation

type ActionEnabledRepoObservation struct {
	// Repo is the name of the repository.
	Repo string `json:"repo,omitempty"`
}

ActionEnabledRepoObservation is a repository enabled for GitHub Actions.

func (*ActionEnabledRepoObservation) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ActionEnabledRepoObservation.

func (*ActionEnabledRepoObservation) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ActionsConfiguration

type ActionsConfiguration struct {
	// EnabledRepos is the set of repositories allowed to run GitHub
	// Actions at the organization level (equivalent to GitHub's
	// "selected_repository_ids" list when the org's Actions permission
	// policy is "selected"). The provider reconciles the org's enabled
	// list to match this field via a single atomic PUT.
	//
	// The field is tri-state:
	//   - omitted / nil: the provider does not manage the enabled list;
	//     whatever is already configured on GitHub is left untouched.
	//   - empty slice ([]): the provider sets the enabled list to empty,
	//     disabling Actions for every repository in the org.
	//   - non-empty: the provider sets the enabled list to exactly these
	//     repositories, adding any missing and removing any extras.
	//
	// To stop managing the list, remove the field. Setting it to [] is
	// an explicit "wipe" and will affect every repo in the org.
	// +optional
	EnabledRepos []ActionEnabledRepo `json:"enabledRepos"`
}

ActionsConfiguration are the configurable fields of an Organization Actions.

func (*ActionsConfiguration) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ActionsConfiguration.

func (*ActionsConfiguration) DeepCopyInto

func (in *ActionsConfiguration) DeepCopyInto(out *ActionsConfiguration)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ActionsConfigurationObservation

type ActionsConfigurationObservation struct {
	// EnabledRepos lists the repositories enabled to run GitHub Actions at
	// the organization level. GitHub is queried for the list only while
	// forProvider.actions.enabledRepos is set, so the field is empty otherwise.
	// +optional
	EnabledRepos []ActionEnabledRepoObservation `json:"enabledRepos"`
}

ActionsConfigurationObservation is the observed Actions configuration of an Organization.

func (*ActionsConfigurationObservation) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ActionsConfigurationObservation.

func (*ActionsConfigurationObservation) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ActionsSecretAccess

type ActionsSecretAccess struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   ActionsSecretAccessSpec   `json:"spec"`
	Status ActionsSecretAccessStatus `json:"status,omitempty"`
}

An ActionsSecretAccess manages which repositories can use an existing GitHub Actions organization secret. +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,github} +kubebuilder:validation:XValidation:rule="!has(self.spec) || !has(self.spec.managementPolicies) || !('*' in self.spec.managementPolicies || 'Create' in self.spec.managementPolicies || 'Update' in self.spec.managementPolicies) || has(self.spec.forProvider.visibility)",message="visibility is required unless managementPolicies is Observe-only"

func (*ActionsSecretAccess) DeepCopy

func (in *ActionsSecretAccess) DeepCopy() *ActionsSecretAccess

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ActionsSecretAccess.

func (*ActionsSecretAccess) DeepCopyInto

func (in *ActionsSecretAccess) DeepCopyInto(out *ActionsSecretAccess)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ActionsSecretAccess) DeepCopyObject

func (in *ActionsSecretAccess) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*ActionsSecretAccess) GetCondition

func (mg *ActionsSecretAccess) GetCondition(ct xpv2.ConditionType) xpv2.Condition

GetCondition of this ActionsSecretAccess.

func (*ActionsSecretAccess) GetDeletionPolicy

func (mg *ActionsSecretAccess) GetDeletionPolicy() xpv2.DeletionPolicy

GetDeletionPolicy of this ActionsSecretAccess.

func (*ActionsSecretAccess) GetManagementPolicies

func (mg *ActionsSecretAccess) GetManagementPolicies() xpv2.ManagementPolicies

GetManagementPolicies of this ActionsSecretAccess.

func (*ActionsSecretAccess) GetProviderConfigReference

func (mg *ActionsSecretAccess) GetProviderConfigReference() *xpv2.Reference

GetProviderConfigReference of this ActionsSecretAccess.

func (*ActionsSecretAccess) GetWriteConnectionSecretToReference

func (mg *ActionsSecretAccess) GetWriteConnectionSecretToReference() *xpv2.SecretReference

GetWriteConnectionSecretToReference of this ActionsSecretAccess.

func (*ActionsSecretAccess) ResolveReferences

func (mg *ActionsSecretAccess) ResolveReferences(ctx context.Context, c client.Reader) error

ResolveReferences of this ActionsSecretAccess.

func (*ActionsSecretAccess) SetConditions

func (mg *ActionsSecretAccess) SetConditions(c ...xpv2.Condition)

SetConditions of this ActionsSecretAccess.

func (*ActionsSecretAccess) SetDeletionPolicy

func (mg *ActionsSecretAccess) SetDeletionPolicy(r xpv2.DeletionPolicy)

SetDeletionPolicy of this ActionsSecretAccess.

func (*ActionsSecretAccess) SetManagementPolicies

func (mg *ActionsSecretAccess) SetManagementPolicies(r xpv2.ManagementPolicies)

SetManagementPolicies of this ActionsSecretAccess.

func (*ActionsSecretAccess) SetProviderConfigReference

func (mg *ActionsSecretAccess) SetProviderConfigReference(r *xpv2.Reference)

SetProviderConfigReference of this ActionsSecretAccess.

func (*ActionsSecretAccess) SetWriteConnectionSecretToReference

func (mg *ActionsSecretAccess) SetWriteConnectionSecretToReference(r *xpv2.SecretReference)

SetWriteConnectionSecretToReference of this ActionsSecretAccess.

type ActionsSecretAccessList

type ActionsSecretAccessList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []ActionsSecretAccess `json:"items"`
}

ActionsSecretAccessList contains a list of ActionsSecretAccess

func (*ActionsSecretAccessList) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ActionsSecretAccessList.

func (*ActionsSecretAccessList) DeepCopyInto

func (in *ActionsSecretAccessList) DeepCopyInto(out *ActionsSecretAccessList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ActionsSecretAccessList) DeepCopyObject

func (in *ActionsSecretAccessList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*ActionsSecretAccessList) GetItems

func (l *ActionsSecretAccessList) GetItems() []resource.Managed

GetItems of this ActionsSecretAccessList.

type ActionsSecretAccessObservation

type ActionsSecretAccessObservation struct {
	// ID is the external name of the secret on GitHub.
	ID string `json:"id,omitempty"`

	// Org is the organization the secret was found under.
	Org string `json:"org,omitempty"`

	// Visibility is the visibility GitHub reports for the secret.
	Visibility string `json:"visibility,omitempty"`

	// SelectedRepositories lists the repositories that may use the secret on
	// GitHub. GitHub is queried for the list only while
	// forProvider.visibility is "selected", so the field is empty otherwise.
	// +optional
	SelectedRepositories []SecretSelectedRepoObservation `json:"selectedRepositories"`
}

ActionsSecretAccessObservation are the observable fields of an ActionsSecretAccess.

func (*ActionsSecretAccessObservation) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ActionsSecretAccessObservation.

func (*ActionsSecretAccessObservation) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ActionsSecretAccessParameters

type ActionsSecretAccessParameters struct {
	// Org is the name of the GitHub organization that owns this secret.
	// +crossplane:generate:reference:type=github.com/provider-github/provider-github/apis/cluster/organizations/v1alpha1.Organization
	Org string `json:"org,omitempty"`

	// OrgRef is a reference to an Organization.
	// +optional
	OrgRef *xpv2.Reference `json:"orgRef,omitempty"`

	// OrgSelector selects a reference to an Organization.
	// +optional
	OrgSelector *xpv2.Selector `json:"orgSelector,omitempty"`

	// Visibility declares which repositories may use the secret: all, private,
	// or the selected list. The provider enforces the list when visibility is
	// "selected" but cannot change visibility itself; a mismatch with GitHub
	// sets Ready=False with the reason.
	// +kubebuilder:validation:Enum=all;private;selected
	// +optional
	Visibility string `json:"visibility,omitempty"`

	// SelectedRepositories lists the repositories that may use the secret.
	// Only used (and required) when Visibility is "selected".
	// +optional
	SelectedRepositories []SecretSelectedRepo `json:"selectedRepositories"`
}

ActionsSecretAccessParameters are the configurable fields of an ActionsSecretAccess. +kubebuilder:validation:XValidation:rule="!has(self.visibility) || self.visibility != 'selected' || (has(self.selectedRepositories) && size(self.selectedRepositories) > 0)",message="selectedRepositories is required when visibility is selected"

func (*ActionsSecretAccessParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ActionsSecretAccessParameters.

func (*ActionsSecretAccessParameters) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ActionsSecretAccessSpec

type ActionsSecretAccessSpec struct {
	xpv2.ClusterManagedResourceSpec `json:",inline"`
	ForProvider                     ActionsSecretAccessParameters `json:"forProvider"`

	// DriftDetection configures which forProvider fields are owned outside
	// Crossplane and how drift in those fields is detected and corrected.
	// Absent configuration means drift detection is enabled with no ignored
	// paths.
	// +optional
	DriftDetection *driftdetection.DriftDetection `json:"driftDetection,omitempty"`
}

An ActionsSecretAccessSpec defines the desired state of an ActionsSecretAccess.

func (*ActionsSecretAccessSpec) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ActionsSecretAccessSpec.

func (*ActionsSecretAccessSpec) DeepCopyInto

func (in *ActionsSecretAccessSpec) DeepCopyInto(out *ActionsSecretAccessSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ActionsSecretAccessStatus

type ActionsSecretAccessStatus struct {
	xpv2.ManagedResourceStatus `json:",inline"`
	AtProvider                 ActionsSecretAccessObservation `json:"atProvider,omitempty"`
}

An ActionsSecretAccessStatus represents the observed state of an ActionsSecretAccess.

func (*ActionsSecretAccessStatus) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ActionsSecretAccessStatus.

func (*ActionsSecretAccessStatus) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type BranchProtectionRestrictions

type BranchProtectionRestrictions struct {
	// If set to true, will cause the restrictions setting to also block pushes which create new branches
	// unless initiated by a user, team, app with the ability to push.
	// Default: false
	// +optional
	BlockCreations *bool `json:"blockCreations,omitempty"`

	// Only people allowed to push will be able to create new branches matching this rule.
	// +optional
	Users []string `json:"users"`

	// Only teams allowed to push will be able to create new branches matching this rule.
	// +optional
	Teams []string `json:"teams"`

	// Only apps allowed to push will be able to create new branches matching this rule.
	// +optional
	Apps []string `json:"apps"`
}

BranchProtectionRestrictions defines the restrictions to apply to a branch protection rule.

func (*BranchProtectionRestrictions) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BranchProtectionRestrictions.

func (*BranchProtectionRestrictions) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type BranchProtectionRestrictionsObservation

type BranchProtectionRestrictionsObservation struct {
	// BlockCreations is whether pushes that create new branches are blocked
	// unless initiated by an actor allowed to push.
	BlockCreations *bool `json:"blockCreations,omitempty"`

	// Users lists the user logins allowed to push.
	// +optional
	Users []string `json:"users"`

	// Teams lists the team slugs allowed to push.
	// +optional
	Teams []string `json:"teams"`

	// Apps lists the app slugs allowed to push.
	// +optional
	Apps []string `json:"apps"`
}

BranchProtectionRestrictionsObservation lists who can push to a protected branch.

func (*BranchProtectionRestrictionsObservation) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BranchProtectionRestrictionsObservation.

func (*BranchProtectionRestrictionsObservation) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type BranchProtectionRule

type BranchProtectionRule struct {
	// The branch name to apply the protection rule to.
	Branch string `json:"branch"`

	// Require status checks to pass before merging.
	// When enabled, commits must first be pushed to another branch,
	// then merged or pushed directly to a branch that matches this rule after status checks have passed.
	// +optional
	RequiredStatusChecks *RequiredStatusChecks `json:"requiredStatusChecks,omitempty"`

	// Require a pull request before merging.
	// When enabled, all commits must be made to a non-protected branch and submitted via a pull request
	// before they can be merged into a branch that matches this rule.
	// +optional
	RequiredPullRequestReviews *RequiredPullRequestReviews `json:"requiredPullRequestReviews,omitempty"`

	// Restrict who can push to matching branches.
	// Specify people, teams, or apps allowed to push to matching branches.
	// Required status checks will still prevent these people, teams, and apps from merging if the checks fail.
	// +optional
	BranchProtectionRestrictions *BranchProtectionRestrictions `json:"branchProtectionRestrictions,omitempty"`

	// Enforce settings even for administrators and custom roles with the "bypass branch protections" permission.
	EnforceAdmins bool `json:"enforceAdmins"`

	// Prevent merge commits from being pushed to matching branches.
	// Default: false
	// +optional
	RequireLinearHistory *bool `json:"requireLinearHistory,omitempty"`

	// Permit force pushes for all users with push access.
	// Default: false
	// +optional
	AllowForcePushes *bool `json:"allowForcePushes,omitempty"`

	// Allow users with push access to delete matching branches.
	// Default: false
	// +optional
	AllowDeletions *bool `json:"allowDeletions,omitempty"`

	// When enabled, all conversations on code must be resolved before a pull request can be merged into a branch that matches this rule.
	// Default: false
	// +optional
	RequiredConversationResolution *bool `json:"requiredConversationResolution,omitempty"`

	// Branch is read-only. Users cannot push to the branch.
	// Default: false
	// +optional
	LockBranch *bool `json:"lockBranch,omitempty"`

	// Will allow users to pull changes from upstream when the branch is locked.
	// Default: false
	// +optional
	AllowForkSyncing *bool `json:"allowForkSyncing,omitempty"`

	// Commits pushed to matching branches must have verified signatures.
	// Default: false
	// +optional
	RequireSignedCommits *bool `json:"requireSignedCommits,omitempty"`
}

BranchProtectionRule represents a rule for protecting a branch in a repository. It includes various parameters for enforcing code quality and access control.

func (*BranchProtectionRule) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BranchProtectionRule.

func (*BranchProtectionRule) DeepCopyInto

func (in *BranchProtectionRule) DeepCopyInto(out *BranchProtectionRule)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type BranchProtectionRuleObservation

type BranchProtectionRuleObservation struct {
	// Branch is the name of the protected branch.
	Branch string `json:"branch,omitempty"`

	// RequiredStatusChecks is the observed status checks requirement.
	RequiredStatusChecks *RequiredStatusChecksObservation `json:"requiredStatusChecks,omitempty"`

	// RequiredPullRequestReviews is the observed pull request requirement.
	RequiredPullRequestReviews *RequiredPullRequestReviewsObservation `json:"requiredPullRequestReviews,omitempty"`

	// BranchProtectionRestrictions is the observed push restriction.
	BranchProtectionRestrictions *BranchProtectionRestrictionsObservation `json:"branchProtectionRestrictions,omitempty"`

	// EnforceAdmins is whether the rule is enforced for administrators.
	EnforceAdmins *bool `json:"enforceAdmins,omitempty"`

	// RequireLinearHistory is whether merge commits are prevented.
	RequireLinearHistory *bool `json:"requireLinearHistory,omitempty"`

	// AllowForcePushes is whether force pushes are permitted.
	AllowForcePushes *bool `json:"allowForcePushes,omitempty"`

	// AllowDeletions is whether the branch can be deleted.
	AllowDeletions *bool `json:"allowDeletions,omitempty"`

	// RequiredConversationResolution is whether conversations must be resolved before merging.
	RequiredConversationResolution *bool `json:"requiredConversationResolution,omitempty"`

	// LockBranch is whether the branch is read-only.
	LockBranch *bool `json:"lockBranch,omitempty"`

	// AllowForkSyncing is whether users can pull changes from upstream while the branch is locked.
	AllowForkSyncing *bool `json:"allowForkSyncing,omitempty"`

	// RequireSignedCommits is whether commits must have verified signatures.
	RequireSignedCommits *bool `json:"requireSignedCommits,omitempty"`
}

BranchProtectionRuleObservation is the observed protection of a branch.

func (*BranchProtectionRuleObservation) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BranchProtectionRuleObservation.

func (*BranchProtectionRuleObservation) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type BypassPullRequestAllowancesObservation

type BypassPullRequestAllowancesObservation struct {
	// Users lists the user logins.
	// +optional
	Users []string `json:"users"`

	// Teams lists the team slugs.
	// +optional
	Teams []string `json:"teams"`

	// Apps lists the app slugs.
	// +optional
	Apps []string `json:"apps"`
}

BypassPullRequestAllowancesObservation lists who can bypass pull request requirements.

func (*BypassPullRequestAllowancesObservation) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BypassPullRequestAllowancesObservation.

func (*BypassPullRequestAllowancesObservation) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type BypassPullRequestAllowancesRequest

type BypassPullRequestAllowancesRequest struct {
	// The list of user logins allowed to bypass pull request requirements.
	// +optional
	Users []string `json:"users"`

	// The list of team slugs allowed to bypass pull request requirements.
	// +optional
	Teams []string `json:"teams"`

	// The list of app slugs allowed to bypass pull request requirements.
	// +optional
	Apps []string `json:"apps"`
}

func (*BypassPullRequestAllowancesRequest) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BypassPullRequestAllowancesRequest.

func (*BypassPullRequestAllowancesRequest) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DependabotSecretAccess

type DependabotSecretAccess struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   DependabotSecretAccessSpec   `json:"spec"`
	Status DependabotSecretAccessStatus `json:"status,omitempty"`
}

A DependabotSecretAccess manages which repositories can use an existing Dependabot organization secret. +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,github} +kubebuilder:validation:XValidation:rule="!has(self.spec) || !has(self.spec.managementPolicies) || !('*' in self.spec.managementPolicies || 'Create' in self.spec.managementPolicies || 'Update' in self.spec.managementPolicies) || has(self.spec.forProvider.visibility)",message="visibility is required unless managementPolicies is Observe-only"

func (*DependabotSecretAccess) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DependabotSecretAccess.

func (*DependabotSecretAccess) DeepCopyInto

func (in *DependabotSecretAccess) DeepCopyInto(out *DependabotSecretAccess)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*DependabotSecretAccess) DeepCopyObject

func (in *DependabotSecretAccess) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*DependabotSecretAccess) GetCondition

GetCondition of this DependabotSecretAccess.

func (*DependabotSecretAccess) GetDeletionPolicy

func (mg *DependabotSecretAccess) GetDeletionPolicy() xpv2.DeletionPolicy

GetDeletionPolicy of this DependabotSecretAccess.

func (*DependabotSecretAccess) GetManagementPolicies

func (mg *DependabotSecretAccess) GetManagementPolicies() xpv2.ManagementPolicies

GetManagementPolicies of this DependabotSecretAccess.

func (*DependabotSecretAccess) GetProviderConfigReference

func (mg *DependabotSecretAccess) GetProviderConfigReference() *xpv2.Reference

GetProviderConfigReference of this DependabotSecretAccess.

func (*DependabotSecretAccess) GetWriteConnectionSecretToReference

func (mg *DependabotSecretAccess) GetWriteConnectionSecretToReference() *xpv2.SecretReference

GetWriteConnectionSecretToReference of this DependabotSecretAccess.

func (*DependabotSecretAccess) ResolveReferences

func (mg *DependabotSecretAccess) ResolveReferences(ctx context.Context, c client.Reader) error

ResolveReferences of this DependabotSecretAccess.

func (*DependabotSecretAccess) SetConditions

func (mg *DependabotSecretAccess) SetConditions(c ...xpv2.Condition)

SetConditions of this DependabotSecretAccess.

func (*DependabotSecretAccess) SetDeletionPolicy

func (mg *DependabotSecretAccess) SetDeletionPolicy(r xpv2.DeletionPolicy)

SetDeletionPolicy of this DependabotSecretAccess.

func (*DependabotSecretAccess) SetManagementPolicies

func (mg *DependabotSecretAccess) SetManagementPolicies(r xpv2.ManagementPolicies)

SetManagementPolicies of this DependabotSecretAccess.

func (*DependabotSecretAccess) SetProviderConfigReference

func (mg *DependabotSecretAccess) SetProviderConfigReference(r *xpv2.Reference)

SetProviderConfigReference of this DependabotSecretAccess.

func (*DependabotSecretAccess) SetWriteConnectionSecretToReference

func (mg *DependabotSecretAccess) SetWriteConnectionSecretToReference(r *xpv2.SecretReference)

SetWriteConnectionSecretToReference of this DependabotSecretAccess.

type DependabotSecretAccessList

type DependabotSecretAccessList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []DependabotSecretAccess `json:"items"`
}

DependabotSecretAccessList contains a list of DependabotSecretAccess

func (*DependabotSecretAccessList) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DependabotSecretAccessList.

func (*DependabotSecretAccessList) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*DependabotSecretAccessList) DeepCopyObject

func (in *DependabotSecretAccessList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*DependabotSecretAccessList) GetItems

GetItems of this DependabotSecretAccessList.

type DependabotSecretAccessObservation

type DependabotSecretAccessObservation struct {
	// ID is the external name of the secret on GitHub.
	ID string `json:"id,omitempty"`

	// Org is the organization the secret was found under.
	Org string `json:"org,omitempty"`

	// Visibility is the visibility GitHub reports for the secret.
	Visibility string `json:"visibility,omitempty"`

	// SelectedRepositories lists the repositories that may use the secret on
	// GitHub. GitHub is queried for the list only while
	// forProvider.visibility is "selected", so the field is empty otherwise.
	// +optional
	SelectedRepositories []SecretSelectedRepoObservation `json:"selectedRepositories"`
}

DependabotSecretAccessObservation are the observable fields of a DependabotSecretAccess.

func (*DependabotSecretAccessObservation) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DependabotSecretAccessObservation.

func (*DependabotSecretAccessObservation) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DependabotSecretAccessParameters

type DependabotSecretAccessParameters struct {
	// Org is the name of the GitHub organization that owns this secret.
	// +crossplane:generate:reference:type=github.com/provider-github/provider-github/apis/cluster/organizations/v1alpha1.Organization
	Org string `json:"org,omitempty"`

	// OrgRef is a reference to an Organization.
	// +optional
	OrgRef *xpv2.Reference `json:"orgRef,omitempty"`

	// OrgSelector selects a reference to an Organization.
	// +optional
	OrgSelector *xpv2.Selector `json:"orgSelector,omitempty"`

	// Visibility declares which repositories may use the secret: all, private,
	// or the selected list. The provider enforces the list when visibility is
	// "selected" but cannot change visibility itself; a mismatch with GitHub
	// sets Ready=False with the reason.
	// +kubebuilder:validation:Enum=all;private;selected
	// +optional
	Visibility string `json:"visibility,omitempty"`

	// SelectedRepositories lists the repositories that may use the secret.
	// Only used (and required) when Visibility is "selected".
	// +optional
	SelectedRepositories []SecretSelectedRepo `json:"selectedRepositories"`
}

DependabotSecretAccessParameters are the configurable fields of a DependabotSecretAccess. +kubebuilder:validation:XValidation:rule="!has(self.visibility) || self.visibility != 'selected' || (has(self.selectedRepositories) && size(self.selectedRepositories) > 0)",message="selectedRepositories is required when visibility is selected"

func (*DependabotSecretAccessParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DependabotSecretAccessParameters.

func (*DependabotSecretAccessParameters) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DependabotSecretAccessSpec

type DependabotSecretAccessSpec struct {
	xpv2.ClusterManagedResourceSpec `json:",inline"`
	ForProvider                     DependabotSecretAccessParameters `json:"forProvider"`

	// DriftDetection configures which forProvider fields are owned outside
	// Crossplane and how drift in those fields is detected and corrected.
	// Absent configuration means drift detection is enabled with no ignored
	// paths.
	// +optional
	DriftDetection *driftdetection.DriftDetection `json:"driftDetection,omitempty"`
}

A DependabotSecretAccessSpec defines the desired state of a DependabotSecretAccess.

func (*DependabotSecretAccessSpec) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DependabotSecretAccessSpec.

func (*DependabotSecretAccessSpec) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DependabotSecretAccessStatus

type DependabotSecretAccessStatus struct {
	xpv2.ManagedResourceStatus `json:",inline"`
	AtProvider                 DependabotSecretAccessObservation `json:"atProvider,omitempty"`
}

A DependabotSecretAccessStatus represents the observed state of a DependabotSecretAccess.

func (*DependabotSecretAccessStatus) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DependabotSecretAccessStatus.

func (*DependabotSecretAccessStatus) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DismissalRestrictionsObservation

type DismissalRestrictionsObservation struct {
	// Users lists the user logins.
	// +optional
	Users []string `json:"users"`

	// Teams lists the team slugs.
	// +optional
	Teams []string `json:"teams"`

	// Apps lists the app slugs.
	// +optional
	Apps []string `json:"apps"`
}

DismissalRestrictionsObservation lists who can dismiss pull request reviews.

func (*DismissalRestrictionsObservation) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DismissalRestrictionsObservation.

func (*DismissalRestrictionsObservation) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DismissalRestrictionsRequest

type DismissalRestrictionsRequest struct {
	// The list of user logins with dismissal access.
	// +optional
	Users *[]string `json:"users"`

	// The list of team slugs with dismissal access.
	// +optional
	Teams *[]string `json:"teams"`

	// The list of app slugs with dismissal access.
	// +optional
	Apps *[]string `json:"apps"`
}

func (*DismissalRestrictionsRequest) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DismissalRestrictionsRequest.

func (*DismissalRestrictionsRequest) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Membership

type Membership struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   MembershipSpec   `json:"spec"`
	Status MembershipStatus `json:"status,omitempty"`
}

A Membership is an example API type. +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,github} +kubebuilder:validation:XValidation:rule="!has(self.spec) || !has(self.spec.managementPolicies) || !('*' in self.spec.managementPolicies || 'Create' in self.spec.managementPolicies || 'Update' in self.spec.managementPolicies) || has(self.spec.forProvider.role)",message="role is required unless managementPolicies is Observe-only"

func (*Membership) DeepCopy

func (in *Membership) DeepCopy() *Membership

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Membership.

func (*Membership) DeepCopyInto

func (in *Membership) DeepCopyInto(out *Membership)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Membership) DeepCopyObject

func (in *Membership) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*Membership) GetCondition

func (mg *Membership) GetCondition(ct xpv2.ConditionType) xpv2.Condition

GetCondition of this Membership.

func (*Membership) GetDeletionPolicy

func (mg *Membership) GetDeletionPolicy() xpv2.DeletionPolicy

GetDeletionPolicy of this Membership.

func (*Membership) GetManagementPolicies

func (mg *Membership) GetManagementPolicies() xpv2.ManagementPolicies

GetManagementPolicies of this Membership.

func (*Membership) GetProviderConfigReference

func (mg *Membership) GetProviderConfigReference() *xpv2.Reference

GetProviderConfigReference of this Membership.

func (*Membership) GetWriteConnectionSecretToReference

func (mg *Membership) GetWriteConnectionSecretToReference() *xpv2.SecretReference

GetWriteConnectionSecretToReference of this Membership.

func (*Membership) ResolveReferences

func (mg *Membership) ResolveReferences(ctx context.Context, c client.Reader) error

ResolveReferences of this Membership.

func (*Membership) SetConditions

func (mg *Membership) SetConditions(c ...xpv2.Condition)

SetConditions of this Membership.

func (*Membership) SetDeletionPolicy

func (mg *Membership) SetDeletionPolicy(r xpv2.DeletionPolicy)

SetDeletionPolicy of this Membership.

func (*Membership) SetManagementPolicies

func (mg *Membership) SetManagementPolicies(r xpv2.ManagementPolicies)

SetManagementPolicies of this Membership.

func (*Membership) SetProviderConfigReference

func (mg *Membership) SetProviderConfigReference(r *xpv2.Reference)

SetProviderConfigReference of this Membership.

func (*Membership) SetWriteConnectionSecretToReference

func (mg *Membership) SetWriteConnectionSecretToReference(r *xpv2.SecretReference)

SetWriteConnectionSecretToReference of this Membership.

type MembershipList

type MembershipList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []Membership `json:"items"`
}

MembershipList contains a list of Membership

func (*MembershipList) DeepCopy

func (in *MembershipList) DeepCopy() *MembershipList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MembershipList.

func (*MembershipList) DeepCopyInto

func (in *MembershipList) DeepCopyInto(out *MembershipList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*MembershipList) DeepCopyObject

func (in *MembershipList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*MembershipList) GetItems

func (l *MembershipList) GetItems() []resource.Managed

GetItems of this MembershipList.

type MembershipObservation

type MembershipObservation struct {
	// ID is the external name of the membership (the user's login) on GitHub.
	ID string `json:"id,omitempty"`

	// Role is the role GitHub reports for the membership.
	Role string `json:"role,omitempty"`

	// Org is the organization the membership was found under.
	Org string `json:"org,omitempty"`

	ObservableField string `json:"observableField,omitempty"`
}

MembershipObservation are the observable fields of a Membership.

func (*MembershipObservation) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MembershipObservation.

func (*MembershipObservation) DeepCopyInto

func (in *MembershipObservation) DeepCopyInto(out *MembershipObservation)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type MembershipParameters

type MembershipParameters struct {
	// +optional
	Role string `json:"role,omitempty"`

	// Org is the Organization for the Membership
	// +immutable
	// +crossplane:generate:reference:type=github.com/provider-github/provider-github/apis/cluster/organizations/v1alpha1.Organization
	Org string `json:"org,omitempty"`

	// OrgRef is a reference to an Organization
	// +optional
	OrgRef *xpv2.Reference `json:"orgRef,omitempty"`

	// OrgSlector selects a reference to an Organization
	// +optional
	OrgSelector *xpv2.Selector `json:"orgSelector,omitempty"`
}

MembershipParameters are the configurable fields of a Membership.

func (*MembershipParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MembershipParameters.

func (*MembershipParameters) DeepCopyInto

func (in *MembershipParameters) DeepCopyInto(out *MembershipParameters)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type MembershipSpec

type MembershipSpec struct {
	xpv2.ClusterManagedResourceSpec `json:",inline"`
	ForProvider                     MembershipParameters `json:"forProvider"`

	// DriftDetection configures which forProvider fields are owned outside
	// Crossplane and how drift in those fields is detected and corrected.
	// Absent configuration means drift detection is enabled with no ignored
	// paths.
	// +optional
	DriftDetection *driftdetection.DriftDetection `json:"driftDetection,omitempty"`
}

A MembershipSpec defines the desired state of a Membership.

func (*MembershipSpec) DeepCopy

func (in *MembershipSpec) DeepCopy() *MembershipSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MembershipSpec.

func (*MembershipSpec) DeepCopyInto

func (in *MembershipSpec) DeepCopyInto(out *MembershipSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type MembershipStatus

type MembershipStatus struct {
	xpv2.ManagedResourceStatus `json:",inline"`
	AtProvider                 MembershipObservation `json:"atProvider,omitempty"`
}

A MembershipStatus represents the observed state of a Membership.

func (*MembershipStatus) DeepCopy

func (in *MembershipStatus) DeepCopy() *MembershipStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MembershipStatus.

func (*MembershipStatus) DeepCopyInto

func (in *MembershipStatus) DeepCopyInto(out *MembershipStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type OrgSecret

type OrgSecret struct {
	// Name of the GitHub secret
	Name string `json:"name"`

	// List of repositories that have access to the secret.
	// +optional
	RepositoryAccessList []SecretSelectedRepo `json:"repositoryAccessList"`
}

func (*OrgSecret) DeepCopy

func (in *OrgSecret) DeepCopy() *OrgSecret

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OrgSecret.

func (*OrgSecret) DeepCopyInto

func (in *OrgSecret) DeepCopyInto(out *OrgSecret)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type OrgSecretObservation

type OrgSecretObservation struct {
	// Name of the GitHub secret.
	Name string `json:"name,omitempty"`

	// RepositoryAccessList lists the repositories that have access to the secret.
	// +optional
	RepositoryAccessList []SecretSelectedRepoObservation `json:"repositoryAccessList"`
}

OrgSecretObservation is an organization secret and the repositories that have access to it.

func (*OrgSecretObservation) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OrgSecretObservation.

func (*OrgSecretObservation) DeepCopyInto

func (in *OrgSecretObservation) DeepCopyInto(out *OrgSecretObservation)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Organization

type Organization struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   OrganizationSpec   `json:"spec"`
	Status OrganizationStatus `json:"status,omitempty"`
}

A Organization is an example API type. +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,github} +kubebuilder:validation:XValidation:rule="!has(self.spec) || !has(self.spec.managementPolicies) || !('*' in self.spec.managementPolicies || 'Create' in self.spec.managementPolicies || 'Update' in self.spec.managementPolicies) || has(self.spec.forProvider.description)",message="description is required unless managementPolicies is Observe-only"

func (*Organization) DeepCopy

func (in *Organization) DeepCopy() *Organization

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Organization.

func (*Organization) DeepCopyInto

func (in *Organization) DeepCopyInto(out *Organization)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Organization) DeepCopyObject

func (in *Organization) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*Organization) GetCondition

func (mg *Organization) GetCondition(ct xpv2.ConditionType) xpv2.Condition

GetCondition of this Organization.

func (*Organization) GetDeletionPolicy

func (mg *Organization) GetDeletionPolicy() xpv2.DeletionPolicy

GetDeletionPolicy of this Organization.

func (*Organization) GetManagementPolicies

func (mg *Organization) GetManagementPolicies() xpv2.ManagementPolicies

GetManagementPolicies of this Organization.

func (*Organization) GetProviderConfigReference

func (mg *Organization) GetProviderConfigReference() *xpv2.Reference

GetProviderConfigReference of this Organization.

func (*Organization) GetWriteConnectionSecretToReference

func (mg *Organization) GetWriteConnectionSecretToReference() *xpv2.SecretReference

GetWriteConnectionSecretToReference of this Organization.

func (*Organization) ResolveReferences

func (mg *Organization) ResolveReferences(ctx context.Context, c client.Reader) error

ResolveReferences of this Organization.

func (*Organization) SetConditions

func (mg *Organization) SetConditions(c ...xpv2.Condition)

SetConditions of this Organization.

func (*Organization) SetDeletionPolicy

func (mg *Organization) SetDeletionPolicy(r xpv2.DeletionPolicy)

SetDeletionPolicy of this Organization.

func (*Organization) SetManagementPolicies

func (mg *Organization) SetManagementPolicies(r xpv2.ManagementPolicies)

SetManagementPolicies of this Organization.

func (*Organization) SetProviderConfigReference

func (mg *Organization) SetProviderConfigReference(r *xpv2.Reference)

SetProviderConfigReference of this Organization.

func (*Organization) SetWriteConnectionSecretToReference

func (mg *Organization) SetWriteConnectionSecretToReference(r *xpv2.SecretReference)

SetWriteConnectionSecretToReference of this Organization.

type OrganizationList

type OrganizationList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []Organization `json:"items"`
}

OrganizationList contains a list of Organization

func (*OrganizationList) DeepCopy

func (in *OrganizationList) DeepCopy() *OrganizationList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OrganizationList.

func (*OrganizationList) DeepCopyInto

func (in *OrganizationList) DeepCopyInto(out *OrganizationList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*OrganizationList) DeepCopyObject

func (in *OrganizationList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*OrganizationList) GetItems

func (l *OrganizationList) GetItems() []resource.Managed

GetItems of this OrganizationList.

type OrganizationObservation

type OrganizationObservation struct {
	// ID is the external name of the organization on GitHub.
	ID string `json:"id,omitempty"`

	Description string `json:"description,omitempty"`

	// Actions is the observed GitHub Actions configuration of the organization.
	Actions ActionsConfigurationObservation `json:"actions,omitempty"`

	// Secrets is the observed state of the organization secrets named in
	// forProvider.secrets. GitHub is queried for them only while that field is set.
	Secrets *SecretConfigurationObservation `json:"secrets,omitempty"`
}

OrganizationObservation are the observable fields of a Organization.

func (*OrganizationObservation) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OrganizationObservation.

func (*OrganizationObservation) DeepCopyInto

func (in *OrganizationObservation) DeepCopyInto(out *OrganizationObservation)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type OrganizationParameters

type OrganizationParameters struct {
	// +optional
	Description string               `json:"description"`
	Actions     ActionsConfiguration `json:"actions,omitempty"`

	// Configuration for Organization Secrets.
	// +optional
	Secrets *SecretConfiguration `json:"secrets,omitempty"`
}

OrganizationParameters are the configurable fields of a Organization.

func (*OrganizationParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OrganizationParameters.

func (*OrganizationParameters) DeepCopyInto

func (in *OrganizationParameters) DeepCopyInto(out *OrganizationParameters)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type OrganizationSpec

type OrganizationSpec struct {
	xpv2.ClusterManagedResourceSpec `json:",inline"`
	ForProvider                     OrganizationParameters `json:"forProvider"`

	// DriftDetection configures which forProvider fields are owned outside
	// Crossplane and how drift in those fields is detected and corrected.
	// Absent configuration means drift detection is enabled with no ignored
	// paths.
	// +optional
	DriftDetection *driftdetection.DriftDetection `json:"driftDetection,omitempty"`
}

A OrganizationSpec defines the desired state of a Organization.

func (*OrganizationSpec) DeepCopy

func (in *OrganizationSpec) DeepCopy() *OrganizationSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OrganizationSpec.

func (*OrganizationSpec) DeepCopyInto

func (in *OrganizationSpec) DeepCopyInto(out *OrganizationSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type OrganizationStatus

type OrganizationStatus struct {
	xpv2.ManagedResourceStatus `json:",inline"`
	AtProvider                 OrganizationObservation `json:"atProvider,omitempty"`
}

A OrganizationStatus represents the observed state of a Organization.

func (*OrganizationStatus) DeepCopy

func (in *OrganizationStatus) DeepCopy() *OrganizationStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OrganizationStatus.

func (*OrganizationStatus) DeepCopyInto

func (in *OrganizationStatus) DeepCopyInto(out *OrganizationStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type OrganizationVariable

type OrganizationVariable struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   OrganizationVariableSpec   `json:"spec"`
	Status OrganizationVariableStatus `json:"status,omitempty"`
}

A OrganizationVariable is an example API type. +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,github} +kubebuilder:validation:XValidation:rule="!has(self.spec) || !has(self.spec.managementPolicies) || !('*' in self.spec.managementPolicies || 'Create' in self.spec.managementPolicies || 'Update' in self.spec.managementPolicies) || has(self.spec.forProvider.value)",message="value is required unless managementPolicies is Observe-only" +kubebuilder:validation:XValidation:rule="!has(self.spec) || !has(self.spec.managementPolicies) || !('*' in self.spec.managementPolicies || 'Create' in self.spec.managementPolicies || 'Update' in self.spec.managementPolicies) || has(self.spec.forProvider.visibility)",message="visibility is required unless managementPolicies is Observe-only"

func (*OrganizationVariable) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OrganizationVariable.

func (*OrganizationVariable) DeepCopyInto

func (in *OrganizationVariable) DeepCopyInto(out *OrganizationVariable)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*OrganizationVariable) DeepCopyObject

func (in *OrganizationVariable) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*OrganizationVariable) GetCondition

func (mg *OrganizationVariable) GetCondition(ct xpv2.ConditionType) xpv2.Condition

GetCondition of this OrganizationVariable.

func (*OrganizationVariable) GetDeletionPolicy

func (mg *OrganizationVariable) GetDeletionPolicy() xpv2.DeletionPolicy

GetDeletionPolicy of this OrganizationVariable.

func (*OrganizationVariable) GetManagementPolicies

func (mg *OrganizationVariable) GetManagementPolicies() xpv2.ManagementPolicies

GetManagementPolicies of this OrganizationVariable.

func (*OrganizationVariable) GetProviderConfigReference

func (mg *OrganizationVariable) GetProviderConfigReference() *xpv2.Reference

GetProviderConfigReference of this OrganizationVariable.

func (*OrganizationVariable) GetWriteConnectionSecretToReference

func (mg *OrganizationVariable) GetWriteConnectionSecretToReference() *xpv2.SecretReference

GetWriteConnectionSecretToReference of this OrganizationVariable.

func (*OrganizationVariable) ResolveReferences

func (mg *OrganizationVariable) ResolveReferences(ctx context.Context, c client.Reader) error

ResolveReferences of this OrganizationVariable.

func (*OrganizationVariable) SetConditions

func (mg *OrganizationVariable) SetConditions(c ...xpv2.Condition)

SetConditions of this OrganizationVariable.

func (*OrganizationVariable) SetDeletionPolicy

func (mg *OrganizationVariable) SetDeletionPolicy(r xpv2.DeletionPolicy)

SetDeletionPolicy of this OrganizationVariable.

func (*OrganizationVariable) SetManagementPolicies

func (mg *OrganizationVariable) SetManagementPolicies(r xpv2.ManagementPolicies)

SetManagementPolicies of this OrganizationVariable.

func (*OrganizationVariable) SetProviderConfigReference

func (mg *OrganizationVariable) SetProviderConfigReference(r *xpv2.Reference)

SetProviderConfigReference of this OrganizationVariable.

func (*OrganizationVariable) SetWriteConnectionSecretToReference

func (mg *OrganizationVariable) SetWriteConnectionSecretToReference(r *xpv2.SecretReference)

SetWriteConnectionSecretToReference of this OrganizationVariable.

type OrganizationVariableList

type OrganizationVariableList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []OrganizationVariable `json:"items"`
}

OrganizationVariableList contains a list of OrganizationVariable

func (*OrganizationVariableList) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OrganizationVariableList.

func (*OrganizationVariableList) DeepCopyInto

func (in *OrganizationVariableList) DeepCopyInto(out *OrganizationVariableList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*OrganizationVariableList) DeepCopyObject

func (in *OrganizationVariableList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*OrganizationVariableList) GetItems

func (l *OrganizationVariableList) GetItems() []resource.Managed

GetItems of this OrganizationVariableList.

type OrganizationVariableObservation

type OrganizationVariableObservation struct {
	// ID is the external name of the variable on GitHub.
	ID string `json:"id,omitempty"`

	// Org is the organization the variable was found under.
	Org string `json:"org,omitempty"`

	// Value of the variable.
	Value string `json:"value,omitempty"`

	// Visibility is the visibility GitHub reports for the variable.
	Visibility string `json:"visibility,omitempty"`

	// SelectedRepositories lists the repositories that have access to the
	// variable on GitHub. GitHub is queried for the list only while
	// forProvider.visibility is "selected", so the field is empty otherwise.
	// +optional
	SelectedRepositories []VariableSelectedRepoObservation `json:"selectedRepositories"`
}

OrganizationVariableObservation are the observable fields of a OrganizationVariable.

func (*OrganizationVariableObservation) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OrganizationVariableObservation.

func (*OrganizationVariableObservation) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type OrganizationVariableParameters

type OrganizationVariableParameters struct {
	// Org is the name of the GitHub organization that owns this variable.
	// +crossplane:generate:reference:type=github.com/provider-github/provider-github/apis/cluster/organizations/v1alpha1.Organization
	Org string `json:"org,omitempty"`

	// OrgRef is a reference to an Organization.
	// +optional
	OrgRef *xpv2.Reference `json:"orgRef,omitempty"`

	// OrgSelector selects a reference to an Organization.
	// +optional
	OrgSelector *xpv2.Selector `json:"orgSelector,omitempty"`

	// Value of the variable.
	// +optional
	Value string `json:"value"`

	// Visibility controls which repositories can access this variable.
	// +kubebuilder:validation:Enum=all;private;selected
	// +optional
	Visibility string `json:"visibility,omitempty"`

	// SelectedRepositories lists repositories that have access to the
	// variable. Only used (and required) when Visibility is "selected".
	// +optional
	SelectedRepositories []VariableSelectedRepo `json:"selectedRepositories"`
}

OrganizationVariableParameters are the configurable fields of a OrganizationVariable.

func (*OrganizationVariableParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OrganizationVariableParameters.

func (*OrganizationVariableParameters) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type OrganizationVariableSpec

type OrganizationVariableSpec struct {
	xpv2.ClusterManagedResourceSpec `json:",inline"`
	ForProvider                     OrganizationVariableParameters `json:"forProvider"`

	// DriftDetection configures which forProvider fields are owned outside
	// Crossplane and how drift in those fields is detected and corrected.
	// Absent configuration means drift detection is enabled with no ignored
	// paths.
	// +optional
	DriftDetection *driftdetection.DriftDetection `json:"driftDetection,omitempty"`
}

A OrganizationVariableSpec defines the desired state of a OrganizationVariable.

func (*OrganizationVariableSpec) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OrganizationVariableSpec.

func (*OrganizationVariableSpec) DeepCopyInto

func (in *OrganizationVariableSpec) DeepCopyInto(out *OrganizationVariableSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type OrganizationVariableStatus

type OrganizationVariableStatus struct {
	xpv2.ManagedResourceStatus `json:",inline"`
	AtProvider                 OrganizationVariableObservation `json:"atProvider,omitempty"`
}

A OrganizationVariableStatus represents the observed state of a OrganizationVariable.

func (*OrganizationVariableStatus) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OrganizationVariableStatus.

func (*OrganizationVariableStatus) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type OrganizationWebhook

type OrganizationWebhook struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   OrganizationWebhookSpec   `json:"spec"`
	Status OrganizationWebhookStatus `json:"status,omitempty"`
}

An OrganizationWebhook is a GitHub organization webhook. +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,github} +kubebuilder:validation:XValidation:rule="!has(self.spec) || !has(self.spec.managementPolicies) || !('*' in self.spec.managementPolicies || 'Create' in self.spec.managementPolicies || 'Update' in self.spec.managementPolicies) || has(self.spec.forProvider.url)",message="url is required unless managementPolicies is Observe-only" +kubebuilder:validation:XValidation:rule="!has(self.spec) || !has(self.spec.managementPolicies) || !('*' in self.spec.managementPolicies || 'Create' in self.spec.managementPolicies || 'Update' in self.spec.managementPolicies) || has(self.spec.forProvider.contentType)",message="contentType is required unless managementPolicies is Observe-only" +kubebuilder:validation:XValidation:rule="!has(self.spec) || !has(self.spec.managementPolicies) || !('*' in self.spec.managementPolicies || 'Create' in self.spec.managementPolicies || 'Update' in self.spec.managementPolicies) || has(self.spec.forProvider.events)",message="events is required unless managementPolicies is Observe-only"

func (*OrganizationWebhook) DeepCopy

func (in *OrganizationWebhook) DeepCopy() *OrganizationWebhook

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OrganizationWebhook.

func (*OrganizationWebhook) DeepCopyInto

func (in *OrganizationWebhook) DeepCopyInto(out *OrganizationWebhook)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*OrganizationWebhook) DeepCopyObject

func (in *OrganizationWebhook) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*OrganizationWebhook) GetCondition

func (mg *OrganizationWebhook) GetCondition(ct xpv2.ConditionType) xpv2.Condition

GetCondition of this OrganizationWebhook.

func (*OrganizationWebhook) GetDeletionPolicy

func (mg *OrganizationWebhook) GetDeletionPolicy() xpv2.DeletionPolicy

GetDeletionPolicy of this OrganizationWebhook.

func (*OrganizationWebhook) GetManagementPolicies

func (mg *OrganizationWebhook) GetManagementPolicies() xpv2.ManagementPolicies

GetManagementPolicies of this OrganizationWebhook.

func (*OrganizationWebhook) GetProviderConfigReference

func (mg *OrganizationWebhook) GetProviderConfigReference() *xpv2.Reference

GetProviderConfigReference of this OrganizationWebhook.

func (*OrganizationWebhook) GetWriteConnectionSecretToReference

func (mg *OrganizationWebhook) GetWriteConnectionSecretToReference() *xpv2.SecretReference

GetWriteConnectionSecretToReference of this OrganizationWebhook.

func (*OrganizationWebhook) ResolveReferences

func (mg *OrganizationWebhook) ResolveReferences(ctx context.Context, c client.Reader) error

ResolveReferences of this OrganizationWebhook.

func (*OrganizationWebhook) SetConditions

func (mg *OrganizationWebhook) SetConditions(c ...xpv2.Condition)

SetConditions of this OrganizationWebhook.

func (*OrganizationWebhook) SetDeletionPolicy

func (mg *OrganizationWebhook) SetDeletionPolicy(r xpv2.DeletionPolicy)

SetDeletionPolicy of this OrganizationWebhook.

func (*OrganizationWebhook) SetManagementPolicies

func (mg *OrganizationWebhook) SetManagementPolicies(r xpv2.ManagementPolicies)

SetManagementPolicies of this OrganizationWebhook.

func (*OrganizationWebhook) SetProviderConfigReference

func (mg *OrganizationWebhook) SetProviderConfigReference(r *xpv2.Reference)

SetProviderConfigReference of this OrganizationWebhook.

func (*OrganizationWebhook) SetWriteConnectionSecretToReference

func (mg *OrganizationWebhook) SetWriteConnectionSecretToReference(r *xpv2.SecretReference)

SetWriteConnectionSecretToReference of this OrganizationWebhook.

type OrganizationWebhookList

type OrganizationWebhookList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []OrganizationWebhook `json:"items"`
}

OrganizationWebhookList contains a list of OrganizationWebhook

func (*OrganizationWebhookList) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OrganizationWebhookList.

func (*OrganizationWebhookList) DeepCopyInto

func (in *OrganizationWebhookList) DeepCopyInto(out *OrganizationWebhookList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*OrganizationWebhookList) DeepCopyObject

func (in *OrganizationWebhookList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*OrganizationWebhookList) GetItems

func (l *OrganizationWebhookList) GetItems() []resource.Managed

GetItems of this OrganizationWebhookList.

type OrganizationWebhookObservation

type OrganizationWebhookObservation struct {
	// ID is the GitHub webhook ID.
	ID int64 `json:"id,omitempty"`

	// Org is the organization the webhook was found under.
	Org string `json:"org,omitempty"`

	// URL is the URL to which GitHub delivers payloads.
	URL string `json:"url,omitempty"`

	// ContentType is the media type GitHub uses to serialize payloads.
	ContentType string `json:"contentType,omitempty"`

	// Events lists what the hook is triggered for.
	// +optional
	Events []string `json:"events"`

	// Active is whether notifications are sent when the webhook is triggered.
	Active *bool `json:"active,omitempty"`

	// InsecureSSL is whether GitHub skips verifying the SSL certificate of
	// the host for url.
	InsecureSSL *bool `json:"insecureSsl,omitempty"`
}

OrganizationWebhookObservation are the observable fields of an OrganizationWebhook.

func (*OrganizationWebhookObservation) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OrganizationWebhookObservation.

func (*OrganizationWebhookObservation) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type OrganizationWebhookParameters

type OrganizationWebhookParameters struct {
	// Org is the name of the GitHub organization that owns this webhook.
	// +crossplane:generate:reference:type=github.com/provider-github/provider-github/apis/cluster/organizations/v1alpha1.Organization
	Org string `json:"org,omitempty"`

	// OrgRef is a reference to an Organization.
	// +optional
	OrgRef *xpv2.Reference `json:"orgRef,omitempty"`

	// OrgSelector selects a reference to an Organization.
	// +optional
	OrgSelector *xpv2.Selector `json:"orgSelector,omitempty"`

	// The URL to which the payloads will be delivered. An existing
	// webhook with this URL is adopted.
	// +optional
	URL string `json:"url,omitempty"`

	// The media type used to serialize the payloads. Supported values include json and form.
	// +kubebuilder:validation:Enum=json;form
	// +optional
	ContentType string `json:"contentType,omitempty"`

	// Determines what events the hook is triggered for. See https://docs.github.com/en/webhooks/webhook-events-and-payloads
	// +kubebuilder:validation:MinItems=1
	// +optional
	Events []string `json:"events"`

	// Determines if notifications are sent when the webhook is triggered.
	// Default: true
	// +optional
	Active *bool `json:"active,omitempty"`

	// Determines whether the SSL certificate of the host for url will be verified when delivering payloads.
	// We strongly recommend not setting this to true as you are subject to man-in-the-middle and other attacks.
	// Default: false
	// +optional
	InsecureSSL *bool `json:"insecureSsl,omitempty"`

	// Reference to a secret key containing the webhook secret.
	// You can use the webhook secret to limit incoming requests to only those originating from GitHub.
	// For more information, see https://docs.github.com/en/webhooks/using-webhooks/validating-webhook-deliveries
	// Requires spec.writeConnectionSecretToRef, where the applied secret is recorded.
	// +optional
	SecretKeyRef *xpv2.SecretKeySelector `json:"secretKeyRef,omitempty"`
}

OrganizationWebhookParameters are the configurable fields of an OrganizationWebhook.

func (*OrganizationWebhookParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OrganizationWebhookParameters.

func (*OrganizationWebhookParameters) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type OrganizationWebhookSpec

type OrganizationWebhookSpec struct {
	xpv2.ClusterManagedResourceSpec `json:",inline"`
	ForProvider                     OrganizationWebhookParameters `json:"forProvider"`

	// DriftDetection configures which forProvider fields are owned outside
	// Crossplane and how drift in those fields is detected and corrected.
	// Absent configuration means drift detection is enabled with no ignored
	// paths.
	// +optional
	DriftDetection *driftdetection.DriftDetection `json:"driftDetection,omitempty"`
}

An OrganizationWebhookSpec defines the desired state of an OrganizationWebhook.

func (*OrganizationWebhookSpec) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OrganizationWebhookSpec.

func (*OrganizationWebhookSpec) DeepCopyInto

func (in *OrganizationWebhookSpec) DeepCopyInto(out *OrganizationWebhookSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type OrganizationWebhookStatus

type OrganizationWebhookStatus struct {
	xpv2.ManagedResourceStatus `json:",inline"`
	AtProvider                 OrganizationWebhookObservation `json:"atProvider,omitempty"`
}

An OrganizationWebhookStatus represents the observed state of an OrganizationWebhook.

func (*OrganizationWebhookStatus) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OrganizationWebhookStatus.

func (*OrganizationWebhookStatus) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type RepoFork

type RepoFork struct {
	// The account owner of the repository. The name is not case-sensitive.
	Owner string `json:"owner"`

	// The name of the repository without the .git extension. The name is not case-sensitive.
	Repo string `json:"repo"`

	// When forking from an existing repository, fork with only the default branch.
	DefaultBranchOnly bool `json:"defaultBranchOnly"`
}

func (*RepoFork) DeepCopy

func (in *RepoFork) DeepCopy() *RepoFork

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RepoFork.

func (*RepoFork) DeepCopyInto

func (in *RepoFork) DeepCopyInto(out *RepoFork)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type RepoForkObservation

type RepoForkObservation struct {
	// Owner is the account owner of the parent repository.
	Owner string `json:"owner,omitempty"`

	// Repo is the name of the parent repository.
	Repo string `json:"repo,omitempty"`
}

RepoForkObservation is the repository a repository was forked from.

func (*RepoForkObservation) DeepCopy

func (in *RepoForkObservation) DeepCopy() *RepoForkObservation

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RepoForkObservation.

func (*RepoForkObservation) DeepCopyInto

func (in *RepoForkObservation) DeepCopyInto(out *RepoForkObservation)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Repository

type Repository struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   RepositorySpec   `json:"spec"`
	Status RepositoryStatus `json:"status,omitempty"`
}

A Repository is an example API type. +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="COLLAB-PARTIAL",type="string",JSONPath=".status.conditions[?(@.type=='CollaboratorPartial')].status" +kubebuilder:printcolumn:name="BPR-PARTIAL",type="string",JSONPath=".status.conditions[?(@.type=='BranchProtectionPartial')].status" +kubebuilder:printcolumn:name="SETTINGS-PARTIAL",type="string",JSONPath=".status.conditions[?(@.type=='SettingsPartial')].status" +kubebuilder:printcolumn:name="RULESETS-PARTIAL",type="string",JSONPath=".status.conditions[?(@.type=='RulesetsPartial')].status" +kubebuilder:printcolumn:name="ARCHIVED",type="string",JSONPath=".status.conditions[?(@.type=='ArchivedConfigFrozen')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,github}

func (*Repository) DeepCopy

func (in *Repository) DeepCopy() *Repository

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Repository.

func (*Repository) DeepCopyInto

func (in *Repository) DeepCopyInto(out *Repository)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Repository) DeepCopyObject

func (in *Repository) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*Repository) GetCondition

func (mg *Repository) GetCondition(ct xpv2.ConditionType) xpv2.Condition

GetCondition of this Repository.

func (*Repository) GetDeletionPolicy

func (mg *Repository) GetDeletionPolicy() xpv2.DeletionPolicy

GetDeletionPolicy of this Repository.

func (*Repository) GetManagementPolicies

func (mg *Repository) GetManagementPolicies() xpv2.ManagementPolicies

GetManagementPolicies of this Repository.

func (*Repository) GetProviderConfigReference

func (mg *Repository) GetProviderConfigReference() *xpv2.Reference

GetProviderConfigReference of this Repository.

func (*Repository) GetWriteConnectionSecretToReference

func (mg *Repository) GetWriteConnectionSecretToReference() *xpv2.SecretReference

GetWriteConnectionSecretToReference of this Repository.

func (*Repository) ResolveReferences

func (mg *Repository) ResolveReferences(ctx context.Context, c client.Reader) error

ResolveReferences of this Repository.

func (*Repository) SetConditions

func (mg *Repository) SetConditions(c ...xpv2.Condition)

SetConditions of this Repository.

func (*Repository) SetDeletionPolicy

func (mg *Repository) SetDeletionPolicy(r xpv2.DeletionPolicy)

SetDeletionPolicy of this Repository.

func (*Repository) SetManagementPolicies

func (mg *Repository) SetManagementPolicies(r xpv2.ManagementPolicies)

SetManagementPolicies of this Repository.

func (*Repository) SetProviderConfigReference

func (mg *Repository) SetProviderConfigReference(r *xpv2.Reference)

SetProviderConfigReference of this Repository.

func (*Repository) SetWriteConnectionSecretToReference

func (mg *Repository) SetWriteConnectionSecretToReference(r *xpv2.SecretReference)

SetWriteConnectionSecretToReference of this Repository.

type RepositoryList

type RepositoryList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []Repository `json:"items"`
}

RepositoryList contains a list of Repository

func (*RepositoryList) DeepCopy

func (in *RepositoryList) DeepCopy() *RepositoryList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RepositoryList.

func (*RepositoryList) DeepCopyInto

func (in *RepositoryList) DeepCopyInto(out *RepositoryList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*RepositoryList) DeepCopyObject

func (in *RepositoryList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*RepositoryList) GetItems

func (l *RepositoryList) GetItems() []resource.Managed

GetItems of this RepositoryList.

type RepositoryObservation

type RepositoryObservation struct {
	// ID is the external name of the repository on GitHub.
	ID string `json:"id,omitempty"`

	// Description is the description GitHub reports for the repository.
	Description string `json:"description,omitempty"`

	// Permissions is the observed access to the repository. Collaborators
	// and teams are listed only while the repository is read for them.
	Permissions RepositoryPermissionsObservation `json:"permissions,omitempty"`

	// Webhooks lists the webhooks of the repository. GitHub is queried for
	// them only while forProvider.webhooks is set, so the field is empty otherwise.
	// +optional
	Webhooks []RepositoryWebhookObservation `json:"webhooks"`

	// BranchProtectionRules lists the protection of every protected branch.
	// GitHub is queried for it only while forProvider.branchProtectionRules
	// is set, so the field is empty otherwise.
	// +optional
	BranchProtectionRules []BranchProtectionRuleObservation `json:"branchProtectionRules"`

	// RepositoryRules lists the rulesets of the repository. GitHub is queried
	// for them only while forProvider.repositoryRules is set, so the field is
	// empty otherwise.
	// +optional
	RepositoryRules []RepositoryRulesetObservation `json:"repositoryRules,omitzero"`

	// CreateFromTemplate is the template the repository was created from, when
	// GitHub reports one. Whether all branches were included is not reported.
	CreateFromTemplate *TemplateRepoObservation `json:"createFromTemplate,omitempty"`

	// CreateFork is the repository this repository is a fork of, when GitHub
	// reports one. Whether only the default branch was forked is not reported.
	CreateFork *RepoForkObservation `json:"createFork,omitempty"`

	// Org is the organization that owns the repository.
	Org string `json:"org,omitempty"`

	// Archived is whether the repository is archived.
	Archived *bool `json:"archived,omitempty"`

	// ForceDelete is the provider-side deletion safeguard. GitHub has no such
	// setting and never returns it, so the field is not populated.
	ForceDelete *bool `json:"forceDelete,omitempty"`

	// Private is whether the repository is private.
	Private *bool `json:"private,omitempty"`

	// IsTemplate is whether the repository is a template repository.
	IsTemplate *bool `json:"isTemplate,omitempty"`

	// Topics is the list of topics of the repository.
	// +optional
	Topics []string `json:"topics"`

	// DefaultBranch is the name of the default branch.
	DefaultBranch *string `json:"defaultBranch,omitempty"`

	// AllowMergeCommit is whether merge commits are allowed.
	AllowMergeCommit *bool `json:"allowMergeCommit,omitempty"`

	// AllowSquashMerge is whether squash merging is allowed.
	AllowSquashMerge *bool `json:"allowSquashMerge,omitempty"`

	// AllowRebaseMerge is whether rebase merging is allowed.
	AllowRebaseMerge *bool `json:"allowRebaseMerge,omitempty"`

	// AllowAutoMerge is whether auto-merge is allowed.
	AllowAutoMerge *bool `json:"allowAutoMerge,omitempty"`

	// AllowUpdateBranch is whether users can update pull request branches from the base branch.
	AllowUpdateBranch *bool `json:"allowUpdateBranch,omitempty"`

	// DeleteBranchOnMerge is whether head branches are deleted when pull requests merge.
	DeleteBranchOnMerge *bool `json:"deleteBranchOnMerge,omitempty"`

	// HasIssues is whether the Issues feature is enabled.
	HasIssues *bool `json:"hasIssues,omitempty"`

	// HasProjects is whether the Projects feature is enabled.
	HasProjects *bool `json:"hasProjects,omitempty"`

	// HasWiki is whether the Wiki feature is enabled.
	HasWiki *bool `json:"hasWiki,omitempty"`

	// HasDiscussions is whether the Discussions feature is enabled.
	HasDiscussions *bool `json:"hasDiscussions,omitempty"`

	// MergeCommitTitle is the default title format for merge commits.
	MergeCommitTitle *string `json:"mergeCommitTitle,omitempty"`

	// MergeCommitMessage is the default body format for merge commits.
	MergeCommitMessage *string `json:"mergeCommitMessage,omitempty"`

	// SquashMergeCommitTitle is the default title format for squash-merge commits.
	SquashMergeCommitTitle *string `json:"squashMergeCommitTitle,omitempty"`

	// SquashMergeCommitMessage is the default body format for squash-merge commits.
	SquashMergeCommitMessage *string `json:"squashMergeCommitMessage,omitempty"`

	// Branch protection items GitHub did not apply on the last push, per declared rule.
	// +optional
	UnappliedBranchProtection []UnappliedBranchProtection `json:"unappliedBranchProtection"`

	// Repository settings GitHub did not apply on the last push, with the value that was declared.
	// +optional
	UnappliedSettings []UnappliedSetting `json:"unappliedSettings"`
}

RepositoryObservation are the observable fields of a Repository.

func (*RepositoryObservation) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RepositoryObservation.

func (*RepositoryObservation) DeepCopyInto

func (in *RepositoryObservation) DeepCopyInto(out *RepositoryObservation)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type RepositoryParameters

type RepositoryParameters struct {
	Description string                `json:"description,omitempty"`
	Permissions RepositoryPermissions `json:"permissions,omitempty"`

	// +optional
	Webhooks []RepositoryWebhook `json:"webhooks"`

	// +optional
	BranchProtectionRules []BranchProtectionRule `json:"branchProtectionRules"`

	// RepositoryRules are the rulesets of the repository. When set, the list is
	// authoritative: the repository ends up with exactly the rulesets it names, and
	// an empty list ([]) deletes them all. When the field is absent, the rulesets
	// on GitHub stay as they are. GitHub allows at most 75 rulesets per repository.
	// +kubebuilder:validation:MaxItems=75
	// +kubebuilder:validation:XValidation:rule="self.all(x, self.exists_one(y, y.name == x.name))",message="each ruleset name may appear once in repositoryRules"
	// +optional
	RepositoryRules *[]RepositoryRuleset `json:"repositoryRules,omitzero"`

	// Creates a new repository using a repository template
	CreateFromTemplate *TemplateRepo `json:"createFromTemplate,omitempty"`

	// Creates a repository fork, it takes precedence over "CreateFromTemplate" setting.
	CreateFork *RepoFork `json:"createFork,omitempty"`

	// Org is the Organization for the Membership
	// +immutable
	// +crossplane:generate:reference:type=github.com/provider-github/provider-github/apis/cluster/organizations/v1alpha1.Organization
	Org string `json:"org,omitempty"`

	// OrgRef is a reference to an Organization
	// +optional
	OrgRef *xpv2.Reference `json:"orgRef,omitempty"`

	// OrgSlector selects a reference to an Organization
	// +optional
	OrgSelector *xpv2.Selector `json:"orgSelector,omitempty"`

	// Archived sets if a repository should be archived on delete
	// +optional
	Archived *bool `json:"archived,omitempty"`

	// Safeguard for accidental deletion
	ForceDelete *bool `json:"forceDelete,omitempty"`

	// Private sets the repository to private, if false it will be public
	Private *bool `json:"private,omitempty"`

	// Set to true to make this repo available as a template repository.
	// Default: false
	// +optional
	IsTemplate *bool `json:"isTemplate,omitempty"`

	// Topics is the list of topics for the repository.
	// Topics help categorize and discover repositories.
	// +optional
	// +kubebuilder:validation:MaxItems=20
	Topics []string `json:"topics"`

	// DefaultBranch is the name of the default branch.
	// +optional
	DefaultBranch *string `json:"defaultBranch,omitempty"`

	// AllowMergeCommit allows merge commits on the repository.
	// +optional
	AllowMergeCommit *bool `json:"allowMergeCommit,omitempty"`

	// AllowSquashMerge allows squash merging on the repository.
	// +optional
	AllowSquashMerge *bool `json:"allowSquashMerge,omitempty"`

	// AllowRebaseMerge allows rebase merging on the repository.
	// +optional
	AllowRebaseMerge *bool `json:"allowRebaseMerge,omitempty"`

	// AllowAutoMerge allows auto-merge on the repository.
	// Requires GitHub Pro/Team/Enterprise or a public repository; on a free-tier
	// org's private repo, GitHub silently rejects setting this to true, which
	// causes a reconcile loop.
	// +optional
	AllowAutoMerge *bool `json:"allowAutoMerge,omitempty"`

	// AllowUpdateBranch allows users to update pull request branches from the base branch.
	// +optional
	AllowUpdateBranch *bool `json:"allowUpdateBranch,omitempty"`

	// DeleteBranchOnMerge deletes head branches automatically when pull requests merge.
	// +optional
	DeleteBranchOnMerge *bool `json:"deleteBranchOnMerge,omitempty"`

	// HasIssues enables the Issues feature on the repository.
	// +optional
	HasIssues *bool `json:"hasIssues,omitempty"`

	// HasProjects enables the Projects feature on the repository.
	// +optional
	HasProjects *bool `json:"hasProjects,omitempty"`

	// HasWiki enables the Wiki feature on the repository.
	// +optional
	HasWiki *bool `json:"hasWiki,omitempty"`

	// HasDiscussions enables the Discussions feature on the repository.
	// +optional
	HasDiscussions *bool `json:"hasDiscussions,omitempty"`

	// MergeCommitTitle sets the default title format for merge commits.
	// Requires AllowMergeCommit to be true; GitHub rejects the request otherwise.
	// +optional
	// +kubebuilder:validation:Enum=PR_TITLE;MERGE_MESSAGE
	MergeCommitTitle *string `json:"mergeCommitTitle,omitempty"`

	// MergeCommitMessage sets the default body format for merge commits.
	// Requires AllowMergeCommit to be true; GitHub rejects the request otherwise.
	// +optional
	// +kubebuilder:validation:Enum=PR_BODY;PR_TITLE;BLANK
	MergeCommitMessage *string `json:"mergeCommitMessage,omitempty"`

	// SquashMergeCommitTitle sets the default title format for squash-merge commits.
	// Requires AllowSquashMerge to be true; GitHub rejects the request otherwise.
	// +optional
	// +kubebuilder:validation:Enum=PR_TITLE;COMMIT_OR_PR_TITLE
	SquashMergeCommitTitle *string `json:"squashMergeCommitTitle,omitempty"`

	// SquashMergeCommitMessage sets the default body format for squash-merge commits.
	// Requires AllowSquashMerge to be true; GitHub rejects the request otherwise.
	// +optional
	// +kubebuilder:validation:Enum=PR_BODY;COMMIT_MESSAGES;BLANK
	SquashMergeCommitMessage *string `json:"squashMergeCommitMessage,omitempty"`
}

RepositoryParameters are the configurable fields of a Repository.

func (*RepositoryParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RepositoryParameters.

func (*RepositoryParameters) DeepCopyInto

func (in *RepositoryParameters) DeepCopyInto(out *RepositoryParameters)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type RepositoryPermissions

type RepositoryPermissions struct {
	// +optional
	Users []RepositoryUser `json:"users"`
	// +optional
	Teams []RepositoryTeam `json:"teams"`
}

RepositoryParameters are the configurable fields of a Repository.

func (*RepositoryPermissions) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RepositoryPermissions.

func (*RepositoryPermissions) DeepCopyInto

func (in *RepositoryPermissions) DeepCopyInto(out *RepositoryPermissions)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type RepositoryPermissionsObservation

type RepositoryPermissionsObservation struct {
	// Users lists the direct collaborators of the repository.
	// +optional
	Users []RepositoryUserObservation `json:"users"`

	// Teams lists the teams with access to the repository.
	// +optional
	Teams []RepositoryTeamObservation `json:"teams"`
}

RepositoryPermissionsObservation is the observed access to a repository.

func (*RepositoryPermissionsObservation) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RepositoryPermissionsObservation.

func (*RepositoryPermissionsObservation) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type RepositoryRuleset

type RepositoryRuleset struct {
	// Name is the name of the ruleset
	// +kubebuilder:validation:MaxLength=255
	Name string `json:"name"`
	// Enforcement is the enforcement level of the ruleset, one of "disabled", "active" or
	// "evaluate" (GitHub Enterprise only). Defaults to "active".
	// +kubebuilder:validation:Enum=disabled;active;evaluate
	// +optional
	Enforcement *string `json:"enforcement,omitempty"`
	// Target is what the ruleset applies to, one of "branch", "tag" or "push". Defaults to "branch".
	// +kubebuilder:validation:Enum=branch;tag;push
	// +optional
	Target *string `json:"target,omitempty"`
	// BypassActors is the list of actors that can bypass the ruleset. An empty list
	// makes the ruleset apply to everyone. Each actor is listed once: an unset BypassMode
	// counts as "always", and OrganizationAdmin and DeployKey match on ActorType and BypassMode.
	// +optional
	BypassActors []*RulesetByPassActors `json:"bypassActors"`
	// Conditions is the conditions for the ruleset, which branches or tags are included or excluded from the ruleset.
	// Branch and tag rulesets only. A push ruleset applies to every push.
	// +optional
	Conditions *RulesetConditions `json:"conditions,omitempty"`
	// Rules is the rules for the ruleset
	// +optional
	Rules *Rules `json:"rules,omitempty"`
}

RepositoryRuleset represents the rules for a repository +kubebuilder:validation:XValidation:rule="(has(self.target) && self.target == 'push') || !has(self.rules) || !(has(self.rules.fileExtensionRestriction) || has(self.rules.filePathRestriction) || has(self.rules.maxFilePathLength) || has(self.rules.maxFileSize))",message="fileExtensionRestriction, filePathRestriction, maxFilePathLength and maxFileSize apply to a push ruleset" +kubebuilder:validation:XValidation:rule="!(has(self.target) && self.target == 'push') || !has(self.conditions)",message="conditions apply to a branch or tag ruleset"

func (*RepositoryRuleset) DeepCopy

func (in *RepositoryRuleset) DeepCopy() *RepositoryRuleset

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RepositoryRuleset.

func (*RepositoryRuleset) DeepCopyInto

func (in *RepositoryRuleset) DeepCopyInto(out *RepositoryRuleset)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type RepositoryRulesetObservation

type RepositoryRulesetObservation struct {
	// Name is the name of the ruleset.
	Name string `json:"name,omitempty"`

	// Enforcement is the enforcement level of the ruleset.
	Enforcement *string `json:"enforcement,omitempty"`

	// Target is the target of the ruleset.
	Target *string `json:"target,omitempty"`

	// BypassActors lists the actors that can bypass the ruleset.
	// +optional
	BypassActors []RulesetByPassActorsObservation `json:"bypassActors"`

	// Conditions selects the branches or tags the ruleset applies to.
	Conditions *RulesetConditionsObservation `json:"conditions,omitempty"`

	// Rules is the observed rules of the ruleset.
	Rules *RulesObservation `json:"rules,omitempty"`
}

RepositoryRulesetObservation is an observed ruleset of a repository.

func (*RepositoryRulesetObservation) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RepositoryRulesetObservation.

func (*RepositoryRulesetObservation) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type RepositorySpec

type RepositorySpec struct {
	xpv2.ClusterManagedResourceSpec `json:",inline"`
	ForProvider                     RepositoryParameters `json:"forProvider"`

	// DriftDetection configures which forProvider fields are owned outside
	// Crossplane and how drift in those fields is detected and corrected.
	// Absent configuration means drift detection is enabled with no ignored
	// paths.
	// +optional
	DriftDetection *driftdetection.DriftDetection `json:"driftDetection,omitempty"`
}

A RepositorySpec defines the desired state of a Repository.

func (*RepositorySpec) DeepCopy

func (in *RepositorySpec) DeepCopy() *RepositorySpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RepositorySpec.

func (*RepositorySpec) DeepCopyInto

func (in *RepositorySpec) DeepCopyInto(out *RepositorySpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type RepositoryStatus

type RepositoryStatus struct {
	xpv2.ManagedResourceStatus `json:",inline"`
	AtProvider                 RepositoryObservation `json:"atProvider,omitempty"`
}

A RepositoryStatus represents the observed state of a Repository.

func (*RepositoryStatus) DeepCopy

func (in *RepositoryStatus) DeepCopy() *RepositoryStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RepositoryStatus.

func (*RepositoryStatus) DeepCopyInto

func (in *RepositoryStatus) DeepCopyInto(out *RepositoryStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type RepositoryTeam

type RepositoryTeam struct {
	// Team is the name of the team
	// +crossplane:generate:reference:type=github.com/provider-github/provider-github/apis/cluster/organizations/v1alpha1.Team
	Team string `json:"team,omitempty"`

	// TeamRef is a reference to a Team
	// +optional
	TeamRef *xpv2.Reference `json:"teamRef,omitempty"`

	// TeamSelector selects a reference to a Team
	// +optional
	TeamSelector *xpv2.Selector `json:"teamSelector,omitempty"`

	// Role is the role of the team
	Role string `json:"role"`
}

func (*RepositoryTeam) DeepCopy

func (in *RepositoryTeam) DeepCopy() *RepositoryTeam

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RepositoryTeam.

func (*RepositoryTeam) DeepCopyInto

func (in *RepositoryTeam) DeepCopyInto(out *RepositoryTeam)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type RepositoryTeamObservation

type RepositoryTeamObservation struct {
	// Team is the slug of the team.
	Team string `json:"team,omitempty"`

	// Role is the role of the team.
	Role string `json:"role,omitempty"`
}

RepositoryTeamObservation is a team with access to a repository and the role GitHub reports for it.

func (*RepositoryTeamObservation) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RepositoryTeamObservation.

func (*RepositoryTeamObservation) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type RepositoryUser

type RepositoryUser struct {
	// Name is the name of the user
	// +crossplane:generate:reference:type=github.com/provider-github/provider-github/apis/cluster/organizations/v1alpha1.Membership
	User string `json:"user,omitempty"`

	// Name is a reference to an Membership
	// +optional
	UserRef *xpv2.Reference `json:"userRef,omitempty"`

	// NameSelector selects a reference to an Organization
	// +optional
	UserSelector *xpv2.Selector `json:"userSelector,omitempty"`

	// Role is the role of the user
	Role string `json:"role"`
}

func (*RepositoryUser) DeepCopy

func (in *RepositoryUser) DeepCopy() *RepositoryUser

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RepositoryUser.

func (*RepositoryUser) DeepCopyInto

func (in *RepositoryUser) DeepCopyInto(out *RepositoryUser)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type RepositoryUserObservation

type RepositoryUserObservation struct {
	// User is the login of the collaborator.
	User string `json:"user,omitempty"`

	// Role is the role of the collaborator.
	Role string `json:"role,omitempty"`
}

RepositoryUserObservation is a direct collaborator of a repository and the role GitHub reports for them.

func (*RepositoryUserObservation) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RepositoryUserObservation.

func (*RepositoryUserObservation) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type RepositoryWebhook

type RepositoryWebhook struct {
	// The URL to which the payloads will be delivered.
	URL string `json:"url"`

	// Determines whether the SSL certificate of the host for url will be verified when delivering payloads.
	// We strongly recommend not setting this to true as you are subject to man-in-the-middle and other attacks.
	// Default: false
	// +optional
	InsecureSSL *bool `json:"insecureSsl,omitempty"`

	// The media type used to serialize the payloads. Supported values include json and form.
	// +kubebuilder:validation:Enum=json;form
	ContentType string `json:"contentType"`

	// Webhook secret, see https://docs.github.com/en/webhooks/using-webhooks/validating-webhook-deliveries
	// Internal field not exposed to Kubernetes API
	Secret *string `json:"-"`

	// Reference to a secret key containing the webhook secret.
	// You can use the webhook secret to limit incoming requests to only those originating from GitHub.
	// For more information, see https://docs.github.com/en/webhooks/using-webhooks/validating-webhook-deliveries
	// +optional
	SecretKeyRef *xpv2.SecretKeySelector `json:"secretKeyRef,omitempty"`

	// Determines what events the hook is triggered for. See https://docs.github.com/en/webhooks/webhook-events-and-payloads
	Events []string `json:"events"`

	// Determines if notifications are sent when the webhook is triggered.
	// Default: true
	// +optional
	Active *bool `json:"active,omitempty"`
}

Repository webhook https://docs.github.com/en/webhooks/types-of-webhooks#repository-webhooks

func (*RepositoryWebhook) DeepCopy

func (in *RepositoryWebhook) DeepCopy() *RepositoryWebhook

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RepositoryWebhook.

func (*RepositoryWebhook) DeepCopyInto

func (in *RepositoryWebhook) DeepCopyInto(out *RepositoryWebhook)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type RepositoryWebhookObservation

type RepositoryWebhookObservation struct {
	// URL to which the payloads are delivered.
	URL string `json:"url,omitempty"`

	// InsecureSSL is whether the SSL certificate of the host for url is not verified.
	InsecureSSL *bool `json:"insecureSsl,omitempty"`

	// ContentType is the media type used to serialize the payloads.
	ContentType string `json:"contentType,omitempty"`

	// Events lists what the hook is triggered for.
	// +optional
	Events []string `json:"events"`

	// Active is whether notifications are sent when the webhook is triggered.
	Active *bool `json:"active,omitempty"`
}

RepositoryWebhookObservation is a webhook of a repository. The webhook secret is write-only material that GitHub never returns, so it is not part of the observation.

func (*RepositoryWebhookObservation) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RepositoryWebhookObservation.

func (*RepositoryWebhookObservation) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type RequiredPullRequestReviews

type RequiredPullRequestReviews struct {
	// Set to true if you want to automatically dismiss approving reviews when someone pushes a new commit.
	DismissStaleReviews bool `json:"dismissStaleReviews"`

	// Blocks merging pull requests until code owners review them.
	RequireCodeOwnerReviews bool `json:"requireCodeOwnerReviews"`

	// Specify the number of reviewers required to approve pull requests. Use a number between 1 and 6 or 0 to not require reviewers.
	RequiredApprovingReviewCount int `json:"requiredApprovingReviewCount"`

	// Whether the most recent push must be approved by someone other than the person who pushed it.
	// Default: false
	// +optional
	RequireLastPushApproval *bool `json:"requireLastPushApproval,omitempty"`

	// Allow specific users, teams, or apps to bypass pull request requirements.
	// +optional
	BypassPullRequestAllowances *BypassPullRequestAllowancesRequest `json:"bypassPullRequestAllowances,omitempty"`

	// Specify which users, teams, and apps can dismiss pull request reviews.
	// +optional
	DismissalRestrictions *DismissalRestrictionsRequest `json:"dismissalRestrictions,omitempty"`
}

RequiredPullRequestReviews represents the required reviews for a pull request before merging.

func (*RequiredPullRequestReviews) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RequiredPullRequestReviews.

func (*RequiredPullRequestReviews) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type RequiredPullRequestReviewsObservation

type RequiredPullRequestReviewsObservation struct {
	// DismissStaleReviews is whether approving reviews are dismissed on a new commit.
	DismissStaleReviews *bool `json:"dismissStaleReviews,omitempty"`

	// RequireCodeOwnerReviews is whether code owners must review.
	RequireCodeOwnerReviews *bool `json:"requireCodeOwnerReviews,omitempty"`

	// RequiredApprovingReviewCount is the number of approving reviews required.
	RequiredApprovingReviewCount *int `json:"requiredApprovingReviewCount,omitempty"`

	// RequireLastPushApproval is whether the most recent push must be approved by someone else.
	RequireLastPushApproval *bool `json:"requireLastPushApproval,omitempty"`

	// BypassPullRequestAllowances is who can bypass the pull request requirements.
	BypassPullRequestAllowances *BypassPullRequestAllowancesObservation `json:"bypassPullRequestAllowances,omitempty"`

	// DismissalRestrictions is who can dismiss pull request reviews.
	DismissalRestrictions *DismissalRestrictionsObservation `json:"dismissalRestrictions,omitempty"`
}

RequiredPullRequestReviewsObservation is the observed pull request requirement of a branch.

func (*RequiredPullRequestReviewsObservation) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RequiredPullRequestReviewsObservation.

func (*RequiredPullRequestReviewsObservation) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type RequiredStatusCheck

type RequiredStatusCheck struct {
	// The name of the required check.
	Context string `json:"context"`

	// The ID of the GitHub App that must provide this check.
	// Omit this field to explicitly allow any app to set the status.
	// +kubebuilder:validation:Minimum=2
	// +optional
	AppID *int64 `json:"appId,omitempty"`
}

RequiredStatusCheck represents the configuration for a single check

func (*RequiredStatusCheck) DeepCopy

func (in *RequiredStatusCheck) DeepCopy() *RequiredStatusCheck

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RequiredStatusCheck.

func (*RequiredStatusCheck) DeepCopyInto

func (in *RequiredStatusCheck) DeepCopyInto(out *RequiredStatusCheck)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type RequiredStatusCheckObservation

type RequiredStatusCheckObservation struct {
	// Context is the name of the required check.
	Context string `json:"context,omitempty"`

	// AppID is the ID of the GitHub App that must provide the check.
	AppID *int64 `json:"appId,omitempty"`
}

RequiredStatusCheckObservation is a single required status check.

func (*RequiredStatusCheckObservation) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RequiredStatusCheckObservation.

func (*RequiredStatusCheckObservation) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type RequiredStatusChecks

type RequiredStatusChecks struct {
	// Require branches to be up-to-date before merging.
	Strict bool `json:"strict"`

	// The list of status checks to require in order to merge into this branch.
	Checks []*RequiredStatusCheck `json:"checks"`
}

RequiredStatusChecks represents the configuration for required status checks to apply to a branch protection rule.

func (*RequiredStatusChecks) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RequiredStatusChecks.

func (*RequiredStatusChecks) DeepCopyInto

func (in *RequiredStatusChecks) DeepCopyInto(out *RequiredStatusChecks)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type RequiredStatusChecksObservation

type RequiredStatusChecksObservation struct {
	// Strict is whether branches must be up-to-date before merging.
	Strict *bool `json:"strict,omitempty"`

	// Checks lists the status checks required to merge.
	// +optional
	Checks []RequiredStatusCheckObservation `json:"checks"`
}

RequiredStatusChecksObservation is the observed status checks requirement of a branch.

func (*RequiredStatusChecksObservation) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RequiredStatusChecksObservation.

func (*RequiredStatusChecksObservation) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Rules

type Rules struct {
	// Creation restricts the creation of matching branches or tags that are set in Conditions
	// +optional
	Creation *bool `json:"creation,omitempty"`
	// Deletion restricts the deletion of matching branches or tags that are set in Conditions
	// +optional
	Deletion *bool `json:"deletion,omitempty"`
	// Update restricts the update of matching branches or tags that are set in Conditions
	// +optional
	Update *bool `json:"update,omitempty"`
	// UpdateAllowsFetchAndMerge lets the branch pull changes from its upstream repository
	// while Update is on. Defaults to false. It takes effect on forks only.
	// +optional
	UpdateAllowsFetchAndMerge *bool `json:"updateAllowsFetchAndMerge,omitempty"`
	// RequiredLinearHistory requires a linear commit history, which prevents merge commits.
	// +optional
	RequiredLinearHistory *bool `json:"requiredLinearHistory,omitempty"`
	// RequiredDeployments requires that deployment to specific environments are successful before merging.
	// +optional
	RequiredDeployments *RulesRequiredDeployments `json:"requiredDeployments,omitempty"`
	// RequiredSignatures requires signed commits.
	// +optional
	RequiredSignatures *bool `json:"requiredSignatures,omitempty"`
	// PullRequest is the rules for pull requests
	// +optional
	PullRequest *RulesPullRequest `json:"pullRequest,omitempty"`
	// RequiredStatusChecks requires status checks to pass before merging.
	// +optional
	RequiredStatusChecks *RulesRequiredStatusChecks `json:"requiredStatusChecks,omitempty"`
	// NonFastForward restricts force pushes to matching branches or tags that are set in Conditions
	// +optional
	NonFastForward *bool `json:"nonFastForward,omitempty"`
	// MergeQueue requires merges to go through a merge queue.
	// +optional
	MergeQueue *RulesMergeQueue `json:"mergeQueue,omitempty"`
	// CommitMessagePattern requires commit messages to match a pattern.
	// +optional
	CommitMessagePattern *RulesPattern `json:"commitMessagePattern,omitempty"`
	// CommitAuthorEmailPattern requires commit author emails to match a pattern.
	// +optional
	CommitAuthorEmailPattern *RulesPattern `json:"commitAuthorEmailPattern,omitempty"`
	// CommitterEmailPattern requires committer emails to match a pattern.
	// +optional
	CommitterEmailPattern *RulesPattern `json:"committerEmailPattern,omitempty"`
	// BranchNamePattern requires branch names to match a pattern.
	// +optional
	BranchNamePattern *RulesPattern `json:"branchNamePattern,omitempty"`
	// TagNamePattern requires tag names to match a pattern.
	// +optional
	TagNamePattern *RulesPattern `json:"tagNamePattern,omitempty"`
	// CodeScanning requires code scanning results before merging.
	// +optional
	CodeScanning *RulesCodeScanning `json:"codeScanning,omitempty"`
	// CodeQuality requires code quality results before merging.
	// +optional
	CodeQuality *RulesCodeQuality `json:"codeQuality,omitempty"`
	// CodeCoverage requires code coverage results before merging.
	// +optional
	CodeCoverage *RulesCodeCoverage `json:"codeCoverage,omitempty"`
	// LicenseComplianceScanning requires license compliance scanning results before merging.
	// It needs license compliance scanning enabled on GitHub, or GitHub answers 422.
	// +optional
	LicenseComplianceScanning *bool `json:"licenseComplianceScanning,omitempty"`
	// RequireSecretScanningAlertResolution blocks merging pull requests with unresolved secret
	// scanning alerts. {} turns it on for GitHub's default secret types. It needs GitHub Secret
	// Protection or Advanced Security enabled, or GitHub answers 422.
	// +optional
	RequireSecretScanningAlertResolution *RulesSecretScanningAlertResolution `json:"requireSecretScanningAlertResolution,omitempty"`
	// CopilotCodeReview requests a Copilot code review for new pull requests.
	// +optional
	CopilotCodeReview *RulesCopilotCodeReview `json:"copilotCodeReview,omitempty"`
	// FileExtensionRestriction prevents pushing files with the listed extensions. Push rulesets only.
	// +optional
	FileExtensionRestriction *RulesFileExtensionRestriction `json:"fileExtensionRestriction,omitempty"`
	// FilePathRestriction prevents pushing changes to the listed file paths. Push rulesets only.
	// +optional
	FilePathRestriction *RulesFilePathRestriction `json:"filePathRestriction,omitempty"`
	// MaxFilePathLength prevents pushing files with longer paths. Push rulesets only.
	// +optional
	MaxFilePathLength *RulesMaxFilePathLength `json:"maxFilePathLength,omitempty"`
	// MaxFileSize prevents pushing files larger than the limit. Push rulesets only.
	// +optional
	MaxFileSize *RulesMaxFileSize `json:"maxFileSize,omitempty"`
}

func (*Rules) DeepCopy

func (in *Rules) DeepCopy() *Rules

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Rules.

func (*Rules) DeepCopyInto

func (in *Rules) DeepCopyInto(out *Rules)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type RulesCodeCoverage

type RulesCodeCoverage struct {
	// MinimumCoverage is the lowest coverage percentage allowed, a decimal number from 0 to 100 such as "80" or "72.5".
	// Unset leaves the minimum open.
	// +kubebuilder:validation:Pattern=`^(100(\.0+)?|[0-9]{1,2}(\.[0-9]+)?)$`
	// +optional
	MinimumCoverage *string `json:"minimumCoverage,omitempty"`
	// MaxCoverageDrop is the largest drop in coverage percentage allowed, a decimal number from 0 to 100 such as "5" or "0.5".
	// Unset leaves the drop open.
	// +kubebuilder:validation:Pattern=`^(100(\.0+)?|[0-9]{1,2}(\.[0-9]+)?)$`
	// +optional
	MaxCoverageDrop *string `json:"maxCoverageDrop,omitempty"`
}

func (*RulesCodeCoverage) DeepCopy

func (in *RulesCodeCoverage) DeepCopy() *RulesCodeCoverage

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RulesCodeCoverage.

func (*RulesCodeCoverage) DeepCopyInto

func (in *RulesCodeCoverage) DeepCopyInto(out *RulesCodeCoverage)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type RulesCodeCoverageObservation

type RulesCodeCoverageObservation struct {
	// MinimumCoverage is the lowest coverage percentage allowed.
	MinimumCoverage *string `json:"minimumCoverage,omitempty"`

	// MaxCoverageDrop is the largest drop in coverage percentage allowed.
	MaxCoverageDrop *string `json:"maxCoverageDrop,omitempty"`
}

RulesCodeCoverageObservation is the observed code coverage requirement of a ruleset.

func (*RulesCodeCoverageObservation) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RulesCodeCoverageObservation.

func (*RulesCodeCoverageObservation) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type RulesCodeQuality

type RulesCodeQuality struct {
	// Severity is the lowest severity of code quality results that blocks a pull request.
	// +kubebuilder:validation:Enum=errors;warnings;notes;all
	Severity string `json:"severity"`
}

func (*RulesCodeQuality) DeepCopy

func (in *RulesCodeQuality) DeepCopy() *RulesCodeQuality

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RulesCodeQuality.

func (*RulesCodeQuality) DeepCopyInto

func (in *RulesCodeQuality) DeepCopyInto(out *RulesCodeQuality)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type RulesCodeQualityObservation

type RulesCodeQualityObservation struct {
	// Severity is the lowest severity of code quality results that blocks a pull request.
	Severity string `json:"severity,omitempty"`
}

RulesCodeQualityObservation is the observed code quality requirement of a ruleset.

func (*RulesCodeQualityObservation) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RulesCodeQualityObservation.

func (*RulesCodeQualityObservation) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type RulesCodeScanning

type RulesCodeScanning struct {
	// CodeScanningTools is the list of tools that must provide code scanning results.
	CodeScanningTools []*RulesCodeScanningTool `json:"codeScanningTools"`
}

func (*RulesCodeScanning) DeepCopy

func (in *RulesCodeScanning) DeepCopy() *RulesCodeScanning

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RulesCodeScanning.

func (*RulesCodeScanning) DeepCopyInto

func (in *RulesCodeScanning) DeepCopyInto(out *RulesCodeScanning)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type RulesCodeScanningObservation

type RulesCodeScanningObservation struct {
	// CodeScanningTools lists the tools that must provide code scanning results.
	// +optional
	CodeScanningTools []RulesCodeScanningToolObservation `json:"codeScanningTools"`
}

RulesCodeScanningObservation is the observed code scanning requirement of a ruleset.

func (*RulesCodeScanningObservation) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RulesCodeScanningObservation.

func (*RulesCodeScanningObservation) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type RulesCodeScanningTool

type RulesCodeScanningTool struct {
	// Tool is the name of a code scanning tool.
	Tool string `json:"tool"`
	// AlertsThreshold is the severity level at which code scanning results that raise alerts block a reference update.
	// +kubebuilder:validation:Enum=none;errors;errors_and_warnings;all
	AlertsThreshold string `json:"alertsThreshold"`
	// SecurityAlertsThreshold is the severity level at which code scanning results that raise security alerts block a reference update.
	// +kubebuilder:validation:Enum=none;critical;high_or_higher;medium_or_higher;all
	SecurityAlertsThreshold string `json:"securityAlertsThreshold"`
}

func (*RulesCodeScanningTool) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RulesCodeScanningTool.

func (*RulesCodeScanningTool) DeepCopyInto

func (in *RulesCodeScanningTool) DeepCopyInto(out *RulesCodeScanningTool)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type RulesCodeScanningToolObservation

type RulesCodeScanningToolObservation struct {
	// Tool is the name of the code scanning tool.
	Tool string `json:"tool,omitempty"`

	// AlertsThreshold is the severity at which alerts block a reference update.
	AlertsThreshold string `json:"alertsThreshold,omitempty"`

	// SecurityAlertsThreshold is the severity at which security alerts block a reference update.
	SecurityAlertsThreshold string `json:"securityAlertsThreshold,omitempty"`
}

RulesCodeScanningToolObservation is a code scanning tool required by a ruleset.

func (*RulesCodeScanningToolObservation) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RulesCodeScanningToolObservation.

func (*RulesCodeScanningToolObservation) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type RulesCopilotCodeReview

type RulesCopilotCodeReview struct {
	// ReviewOnPush requests a new review on each push to the pull request.
	// +optional
	ReviewOnPush *bool `json:"reviewOnPush,omitempty"`
	// ReviewDraftPullRequests requests reviews on draft pull requests too.
	// +optional
	ReviewDraftPullRequests *bool `json:"reviewDraftPullRequests,omitempty"`
}

func (*RulesCopilotCodeReview) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RulesCopilotCodeReview.

func (*RulesCopilotCodeReview) DeepCopyInto

func (in *RulesCopilotCodeReview) DeepCopyInto(out *RulesCopilotCodeReview)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type RulesCopilotCodeReviewObservation

type RulesCopilotCodeReviewObservation struct {
	// ReviewOnPush is whether a new review is requested on each push.
	ReviewOnPush *bool `json:"reviewOnPush,omitempty"`

	// ReviewDraftPullRequests is whether draft pull requests are reviewed too.
	ReviewDraftPullRequests *bool `json:"reviewDraftPullRequests,omitempty"`
}

RulesCopilotCodeReviewObservation is the observed Copilot code review requirement of a ruleset.

func (*RulesCopilotCodeReviewObservation) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RulesCopilotCodeReviewObservation.

func (*RulesCopilotCodeReviewObservation) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type RulesDismissalActor

type RulesDismissalActor struct {
	// Id is the ID of the actor: the user ID, the team ID, the App's installation ID
	// for IntegrationInstallation, or the repository role ID.
	ID int64 `json:"id"`
	// Type is the type of the actor.
	// +kubebuilder:validation:Enum=User;Team;IntegrationInstallation;RepositoryRole
	Type string `json:"type"`
}

func (*RulesDismissalActor) DeepCopy

func (in *RulesDismissalActor) DeepCopy() *RulesDismissalActor

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RulesDismissalActor.

func (*RulesDismissalActor) DeepCopyInto

func (in *RulesDismissalActor) DeepCopyInto(out *RulesDismissalActor)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type RulesDismissalActorObservation

type RulesDismissalActorObservation struct {
	// ID is the ID of the actor.
	ID int64 `json:"id,omitempty"`

	// Type is the type of the actor.
	Type string `json:"type,omitempty"`
}

RulesDismissalActorObservation is an actor who may dismiss reviews.

func (*RulesDismissalActorObservation) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RulesDismissalActorObservation.

func (*RulesDismissalActorObservation) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type RulesDismissalRestriction

type RulesDismissalRestriction struct {
	// Enabled limits review dismissal to AllowedActors.
	Enabled bool `json:"enabled"`
	// AllowedActors are the actors who may dismiss reviews. Each must have write access
	// to the repository; of the repository roles, only admin is accepted.
	// +optional
	AllowedActors []*RulesDismissalActor `json:"allowedActors"`
}

func (*RulesDismissalRestriction) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RulesDismissalRestriction.

func (*RulesDismissalRestriction) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type RulesDismissalRestrictionObservation

type RulesDismissalRestrictionObservation struct {
	// Enabled is whether review dismissal is limited to AllowedActors.
	// +optional
	Enabled bool `json:"enabled"`

	// AllowedActors lists the actors who may dismiss reviews.
	// +optional
	AllowedActors []RulesDismissalActorObservation `json:"allowedActors"`
}

RulesDismissalRestrictionObservation is the observed limit on who may dismiss reviews.

func (*RulesDismissalRestrictionObservation) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RulesDismissalRestrictionObservation.

func (*RulesDismissalRestrictionObservation) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type RulesFileExtensionRestriction

type RulesFileExtensionRestriction struct {
	// RestrictedFileExtensions is the list of file extensions GitHub rejects in a push, each starting with "*.", such as "*.exe".
	RestrictedFileExtensions []string `json:"restrictedFileExtensions"`
}

func (*RulesFileExtensionRestriction) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RulesFileExtensionRestriction.

func (*RulesFileExtensionRestriction) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type RulesFileExtensionRestrictionObservation

type RulesFileExtensionRestrictionObservation struct {
	// RestrictedFileExtensions lists the file extensions GitHub rejects in a push.
	// +optional
	RestrictedFileExtensions []string `json:"restrictedFileExtensions"`
}

RulesFileExtensionRestrictionObservation is the observed file extension restriction of a ruleset.

func (*RulesFileExtensionRestrictionObservation) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RulesFileExtensionRestrictionObservation.

func (*RulesFileExtensionRestrictionObservation) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type RulesFilePathRestriction

type RulesFilePathRestriction struct {
	// RestrictedFilePaths is the list of file paths GitHub rejects changes to.
	RestrictedFilePaths []string `json:"restrictedFilePaths"`
	// IgnoredFilePaths are paths exempt from the rule. Unset means an empty list.
	// +optional
	IgnoredFilePaths []string `json:"ignoredFilePaths"`
}

func (*RulesFilePathRestriction) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RulesFilePathRestriction.

func (*RulesFilePathRestriction) DeepCopyInto

func (in *RulesFilePathRestriction) DeepCopyInto(out *RulesFilePathRestriction)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type RulesFilePathRestrictionObservation

type RulesFilePathRestrictionObservation struct {
	// RestrictedFilePaths lists the file paths GitHub rejects changes to.
	// +optional
	RestrictedFilePaths []string `json:"restrictedFilePaths"`

	// IgnoredFilePaths lists the paths exempt from the rule.
	// +optional
	IgnoredFilePaths []string `json:"ignoredFilePaths"`
}

RulesFilePathRestrictionObservation is the observed file path restriction of a ruleset.

func (*RulesFilePathRestrictionObservation) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RulesFilePathRestrictionObservation.

func (*RulesFilePathRestrictionObservation) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type RulesMaxFilePathLength

type RulesMaxFilePathLength struct {
	// MaxFilePathLength is the maximum number of characters allowed in file paths.
	// +kubebuilder:validation:Minimum=1
	// +kubebuilder:validation:Maximum=32767
	MaxFilePathLength int `json:"maxFilePathLength"`
}

func (*RulesMaxFilePathLength) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RulesMaxFilePathLength.

func (*RulesMaxFilePathLength) DeepCopyInto

func (in *RulesMaxFilePathLength) DeepCopyInto(out *RulesMaxFilePathLength)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type RulesMaxFilePathLengthObservation

type RulesMaxFilePathLengthObservation struct {
	// MaxFilePathLength is the maximum number of characters allowed in file paths.
	MaxFilePathLength int `json:"maxFilePathLength,omitempty"`
}

RulesMaxFilePathLengthObservation is the observed file path length limit of a ruleset.

func (*RulesMaxFilePathLengthObservation) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RulesMaxFilePathLengthObservation.

func (*RulesMaxFilePathLengthObservation) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type RulesMaxFileSize

type RulesMaxFileSize struct {
	// MaxFileSize is the maximum file size allowed, in megabytes.
	// +kubebuilder:validation:Minimum=1
	// +kubebuilder:validation:Maximum=100
	MaxFileSize int64 `json:"maxFileSize"`
	// IgnoredFilePaths are paths exempt from the rule. Unset means an empty list.
	// +optional
	IgnoredFilePaths []string `json:"ignoredFilePaths"`
}

func (*RulesMaxFileSize) DeepCopy

func (in *RulesMaxFileSize) DeepCopy() *RulesMaxFileSize

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RulesMaxFileSize.

func (*RulesMaxFileSize) DeepCopyInto

func (in *RulesMaxFileSize) DeepCopyInto(out *RulesMaxFileSize)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type RulesMaxFileSizeObservation

type RulesMaxFileSizeObservation struct {
	// MaxFileSize is the maximum file size allowed, in megabytes.
	MaxFileSize int64 `json:"maxFileSize,omitempty"`

	// IgnoredFilePaths lists the paths exempt from the rule.
	// +optional
	IgnoredFilePaths []string `json:"ignoredFilePaths"`
}

RulesMaxFileSizeObservation is the observed file size limit of a ruleset.

func (*RulesMaxFileSizeObservation) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RulesMaxFileSizeObservation.

func (*RulesMaxFileSizeObservation) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type RulesMergeMethod

type RulesMergeMethod string

RulesMergeMethod is a method a pull request may be merged with. +kubebuilder:validation:Enum=merge;squash;rebase

type RulesMergeQueue

type RulesMergeQueue struct {
	// CheckResponseTimeoutMinutes is the maximum time, in minutes, for a required status check to report a conclusion.
	// +kubebuilder:validation:Minimum=1
	// +kubebuilder:validation:Maximum=360
	CheckResponseTimeoutMinutes int `json:"checkResponseTimeoutMinutes"`
	// GroupingStrategy decides which pull requests' checks must pass: all of them (ALLGREEN) or the head of the group (HEADGREEN).
	// +kubebuilder:validation:Enum=ALLGREEN;HEADGREEN
	GroupingStrategy string `json:"groupingStrategy"`
	// MaxEntriesToBuild is the maximum number of queued pull requests requesting checks and workflow runs at the same time.
	// +kubebuilder:validation:Minimum=0
	// +kubebuilder:validation:Maximum=100
	MaxEntriesToBuild int `json:"maxEntriesToBuild"`
	// MaxEntriesToMerge is the maximum number of pull requests merged together in a group.
	// +kubebuilder:validation:Minimum=0
	// +kubebuilder:validation:Maximum=100
	MaxEntriesToMerge int `json:"maxEntriesToMerge"`
	// MergeMethod is the method used to merge changes in queued pull requests.
	// +kubebuilder:validation:Enum=MERGE;SQUASH;REBASE
	MergeMethod string `json:"mergeMethod"`
	// MinEntriesToMerge is the minimum number of pull requests merged together in a group.
	// +kubebuilder:validation:Minimum=0
	// +kubebuilder:validation:Maximum=100
	MinEntriesToMerge int `json:"minEntriesToMerge"`
	// MinEntriesToMergeWaitMinutes is the time, in minutes, the merge queue waits for MinEntriesToMerge pull requests.
	// +kubebuilder:validation:Minimum=0
	// +kubebuilder:validation:Maximum=360
	MinEntriesToMergeWaitMinutes int `json:"minEntriesToMergeWaitMinutes"`
}

func (*RulesMergeQueue) DeepCopy

func (in *RulesMergeQueue) DeepCopy() *RulesMergeQueue

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RulesMergeQueue.

func (*RulesMergeQueue) DeepCopyInto

func (in *RulesMergeQueue) DeepCopyInto(out *RulesMergeQueue)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type RulesMergeQueueObservation

type RulesMergeQueueObservation struct {
	// CheckResponseTimeoutMinutes is the maximum time, in minutes, for a required status check to report a conclusion.
	// +optional
	CheckResponseTimeoutMinutes int `json:"checkResponseTimeoutMinutes"`

	// GroupingStrategy is whether all pull requests' checks (ALLGREEN) or the head of the group's (HEADGREEN) must pass.
	GroupingStrategy string `json:"groupingStrategy,omitempty"`

	// MaxEntriesToBuild is the maximum number of queued pull requests requesting checks at the same time.
	// +optional
	MaxEntriesToBuild int `json:"maxEntriesToBuild"`

	// MaxEntriesToMerge is the maximum number of pull requests merged together in a group.
	// +optional
	MaxEntriesToMerge int `json:"maxEntriesToMerge"`

	// MergeMethod is the method used to merge queued pull requests.
	MergeMethod string `json:"mergeMethod,omitempty"`

	// MinEntriesToMerge is the minimum number of pull requests merged together in a group.
	// +optional
	MinEntriesToMerge int `json:"minEntriesToMerge"`

	// MinEntriesToMergeWaitMinutes is the time, in minutes, the queue waits for MinEntriesToMerge pull requests.
	// +optional
	MinEntriesToMergeWaitMinutes int `json:"minEntriesToMergeWaitMinutes"`
}

RulesMergeQueueObservation is the observed merge queue requirement of a ruleset.

func (*RulesMergeQueueObservation) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RulesMergeQueueObservation.

func (*RulesMergeQueueObservation) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type RulesObservation

type RulesObservation struct {
	// Creation is whether creating matching refs is restricted.
	Creation *bool `json:"creation,omitempty"`

	// Deletion is whether deleting matching refs is restricted.
	Deletion *bool `json:"deletion,omitempty"`

	// Update is whether updating matching refs is restricted.
	Update *bool `json:"update,omitempty"`

	// RequiredLinearHistory is whether a linear commit history is required.
	RequiredLinearHistory *bool `json:"requiredLinearHistory,omitempty"`

	// RequiredDeployments is the observed deployments requirement.
	RequiredDeployments *RulesRequiredDeploymentsObservation `json:"requiredDeployments,omitempty"`

	// RequiredSignatures is whether signed commits are required.
	RequiredSignatures *bool `json:"requiredSignatures,omitempty"`

	// PullRequest is the observed pull request rules.
	PullRequest *RulesPullRequestObservation `json:"pullRequest,omitempty"`

	// RequiredStatusChecks is the observed status checks requirement.
	RequiredStatusChecks *RulesStatusChecksObservation `json:"requiredStatusChecks,omitempty"`

	// NonFastForward is whether force pushes to matching refs are restricted.
	NonFastForward *bool `json:"nonFastForward,omitempty"`

	// UpdateAllowsFetchAndMerge is whether the branch may pull changes from its
	// upstream repository while updates are restricted. GitHub returns it on forks only.
	UpdateAllowsFetchAndMerge *bool `json:"updateAllowsFetchAndMerge,omitempty"`

	// MergeQueue is the observed merge queue requirement.
	MergeQueue *RulesMergeQueueObservation `json:"mergeQueue,omitempty"`

	// CommitMessagePattern is the observed commit message pattern.
	CommitMessagePattern *RulesPatternObservation `json:"commitMessagePattern,omitempty"`

	// CommitAuthorEmailPattern is the observed commit author email pattern.
	CommitAuthorEmailPattern *RulesPatternObservation `json:"commitAuthorEmailPattern,omitempty"`

	// CommitterEmailPattern is the observed committer email pattern.
	CommitterEmailPattern *RulesPatternObservation `json:"committerEmailPattern,omitempty"`

	// BranchNamePattern is the observed branch name pattern.
	BranchNamePattern *RulesPatternObservation `json:"branchNamePattern,omitempty"`

	// TagNamePattern is the observed tag name pattern.
	TagNamePattern *RulesPatternObservation `json:"tagNamePattern,omitempty"`

	// CodeScanning is the observed code scanning requirement.
	CodeScanning *RulesCodeScanningObservation `json:"codeScanning,omitempty"`

	// CodeQuality is the observed code quality requirement.
	CodeQuality *RulesCodeQualityObservation `json:"codeQuality,omitempty"`

	// CodeCoverage is the observed code coverage requirement.
	CodeCoverage *RulesCodeCoverageObservation `json:"codeCoverage,omitempty"`

	// LicenseComplianceScanning is whether license compliance scanning results are required.
	LicenseComplianceScanning *bool `json:"licenseComplianceScanning,omitempty"`

	// ScanningAlertResolution is the observed requirement that secret scanning alerts are
	// resolved before merging. It is requireSecretScanningAlertResolution in the spec.
	ScanningAlertResolution *RulesScanningAlertResolutionObservation `json:"requireSecretScanningAlertResolution,omitempty"`

	// CopilotCodeReview is the observed Copilot code review requirement.
	CopilotCodeReview *RulesCopilotCodeReviewObservation `json:"copilotCodeReview,omitempty"`

	// FileExtensionRestriction is the observed file extension restriction.
	FileExtensionRestriction *RulesFileExtensionRestrictionObservation `json:"fileExtensionRestriction,omitempty"`

	// FilePathRestriction is the observed file path restriction.
	FilePathRestriction *RulesFilePathRestrictionObservation `json:"filePathRestriction,omitempty"`

	// MaxFilePathLength is the observed file path length limit.
	MaxFilePathLength *RulesMaxFilePathLengthObservation `json:"maxFilePathLength,omitempty"`

	// MaxFileSize is the observed file size limit.
	MaxFileSize *RulesMaxFileSizeObservation `json:"maxFileSize,omitempty"`
}

RulesObservation is the observed rules of a ruleset.

func (*RulesObservation) DeepCopy

func (in *RulesObservation) DeepCopy() *RulesObservation

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RulesObservation.

func (*RulesObservation) DeepCopyInto

func (in *RulesObservation) DeepCopyInto(out *RulesObservation)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type RulesPattern

type RulesPattern struct {
	// Name is how this rule appears to users.
	// +optional
	Name *string `json:"name,omitempty"`
	// Negate inverts the rule: matching the pattern fails it.
	// +optional
	Negate *bool `json:"negate,omitempty"`
	// Operator is how the pattern is matched.
	// +kubebuilder:validation:Enum=starts_with;ends_with;contains;regex
	Operator string `json:"operator"`
	// Pattern is the pattern to match with.
	Pattern string `json:"pattern"`
}

func (*RulesPattern) DeepCopy

func (in *RulesPattern) DeepCopy() *RulesPattern

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RulesPattern.

func (*RulesPattern) DeepCopyInto

func (in *RulesPattern) DeepCopyInto(out *RulesPattern)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type RulesPatternObservation

type RulesPatternObservation struct {
	// Name is how the rule appears to users.
	Name *string `json:"name,omitempty"`

	// Negate is whether matching the pattern fails the rule.
	Negate *bool `json:"negate,omitempty"`

	// Operator is how the pattern is matched.
	Operator string `json:"operator,omitempty"`

	// Pattern is the pattern to match with.
	Pattern string `json:"pattern,omitempty"`
}

RulesPatternObservation is an observed pattern rule of a ruleset.

func (*RulesPatternObservation) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RulesPatternObservation.

func (*RulesPatternObservation) DeepCopyInto

func (in *RulesPatternObservation) DeepCopyInto(out *RulesPatternObservation)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type RulesPullRequest

type RulesPullRequest struct {
	// AllowedMergeMethods are the methods pull requests may be merged with, each listed once. Unset allows all three.
	// +kubebuilder:validation:MinItems=1
	// +kubebuilder:validation:MaxItems=3
	// +kubebuilder:validation:XValidation:rule="self.all(x, self.exists_one(y, y == x))",message="each merge method may appear once in allowedMergeMethods"
	// +optional
	AllowedMergeMethods []RulesMergeMethod `json:"allowedMergeMethods"`
	// DismissalRestriction limits who can dismiss reviews. Unset lets everyone with write access dismiss them.
	// +optional
	DismissalRestriction *RulesDismissalRestriction `json:"dismissalRestriction,omitempty"`
	// DismissStaleReviewsOnPush automatically dismiss approving reviews when someone pushes a new commit.
	// +optional
	DismissStaleReviewsOnPush *bool `json:"dismissStaleReviewsOnPush,omitempty"`
	// RequireExtraApprovalForUnattributedChanges requires an additional approval for
	// pull requests containing unattributed changes, such as those Copilot makes. When
	// unset, the provider sends true, GitHub's default, once GitHub returns the field for
	// the rule, and sends the rule without it otherwise.
	// +optional
	RequireExtraApprovalForUnattributedChanges *bool `json:"requireExtraApprovalForUnattributedChanges,omitempty"`
	// RequiredReviewers requires approvals from specific teams for changes to matching files. Unset means an empty list.
	// +optional
	RequiredReviewers []*RulesRequiredReviewer `json:"requiredReviewers"`
	// RequireCodeOwnerReview requires the pull request to be approved by a code owner.
	// +optional
	RequireCodeOwnerReview *bool `json:"requireCodeOwnerReview,omitempty"`
	// RequireLastPushApproval requires the most recent push to be approved by someone other than the person who pushed it.
	// +optional
	RequireLastPushApproval *bool `json:"requireLastPushApproval,omitempty"`
	// RequiredApprovingReviewCount specifies the number of reviewers required to approve pull requests.
	// +kubebuilder:validation:Minimum=0
	// +kubebuilder:validation:Maximum=10
	// +optional
	RequiredApprovingReviewCount *int `json:"requiredApprovingReviewCount,omitempty"`
	// RequiredReviewThreadResolution requires all conversations on code to be resolved before a pull request can be merged.
	// +optional
	RequiredReviewThreadResolution *bool `json:"requiredReviewThreadResolution,omitempty"`
}

func (*RulesPullRequest) DeepCopy

func (in *RulesPullRequest) DeepCopy() *RulesPullRequest

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RulesPullRequest.

func (*RulesPullRequest) DeepCopyInto

func (in *RulesPullRequest) DeepCopyInto(out *RulesPullRequest)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type RulesPullRequestObservation

type RulesPullRequestObservation struct {
	// DismissStaleReviewsOnPush is whether approving reviews are dismissed on a new commit.
	DismissStaleReviewsOnPush *bool `json:"dismissStaleReviewsOnPush,omitempty"`

	// RequireCodeOwnerReview is whether a code owner must approve.
	RequireCodeOwnerReview *bool `json:"requireCodeOwnerReview,omitempty"`

	// RequireLastPushApproval is whether the most recent push must be approved by someone else.
	RequireLastPushApproval *bool `json:"requireLastPushApproval,omitempty"`

	// RequiredApprovingReviewCount is the number of approving reviews required.
	RequiredApprovingReviewCount *int `json:"requiredApprovingReviewCount,omitempty"`

	// RequiredReviewThreadResolution is whether conversations must be resolved before merging.
	RequiredReviewThreadResolution *bool `json:"requiredReviewThreadResolution,omitempty"`

	// AllowedMergeMethods lists the methods pull requests may be merged with.
	// +optional
	AllowedMergeMethods []string `json:"allowedMergeMethods"`

	// DismissalRestriction is who may dismiss reviews.
	DismissalRestriction *RulesDismissalRestrictionObservation `json:"dismissalRestriction,omitempty"`

	// RequireExtraApprovalForUnattributedChanges is whether pull requests with
	// unattributed changes need an additional approval. GitHub returns it for some rules only.
	RequireExtraApprovalForUnattributedChanges *bool `json:"requireExtraApprovalForUnattributedChanges,omitempty"`

	// RequiredReviewers lists the teams whose approval is required for matching files.
	// +optional
	RequiredReviewers []RulesRequiredReviewerObservation `json:"requiredReviewers"`
}

RulesPullRequestObservation is the observed pull request rules of a ruleset.

func (*RulesPullRequestObservation) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RulesPullRequestObservation.

func (*RulesPullRequestObservation) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type RulesRequiredDeployments

type RulesRequiredDeployments struct {
	// Environments is the list of environments that are required to be deployed to before merging
	// +optional
	Environments []string `json:"environments"`
}

func (*RulesRequiredDeployments) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RulesRequiredDeployments.

func (*RulesRequiredDeployments) DeepCopyInto

func (in *RulesRequiredDeployments) DeepCopyInto(out *RulesRequiredDeployments)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type RulesRequiredDeploymentsObservation

type RulesRequiredDeploymentsObservation struct {
	// Environments lists the required environments.
	// +optional
	Environments []string `json:"environments"`
}

RulesRequiredDeploymentsObservation lists the environments that must be deployed to before merging.

func (*RulesRequiredDeploymentsObservation) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RulesRequiredDeploymentsObservation.

func (*RulesRequiredDeploymentsObservation) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type RulesRequiredReviewer

type RulesRequiredReviewer struct {
	// FilePatterns are the file patterns whose changes need the reviewer's approval.
	FilePatterns []string `json:"filePatterns"`
	// MinimumApprovals is how many approvals the reviewer must give.
	// +kubebuilder:validation:Minimum=0
	// +kubebuilder:validation:Maximum=10
	MinimumApprovals int `json:"minimumApprovals"`
	// Reviewer is the team that must approve.
	Reviewer RulesReviewer `json:"reviewer"`
}

func (*RulesRequiredReviewer) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RulesRequiredReviewer.

func (*RulesRequiredReviewer) DeepCopyInto

func (in *RulesRequiredReviewer) DeepCopyInto(out *RulesRequiredReviewer)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type RulesRequiredReviewerObservation

type RulesRequiredReviewerObservation struct {
	// FilePatterns lists the file patterns whose changes need the reviewer's approval.
	// +optional
	FilePatterns []string `json:"filePatterns"`

	// MinimumApprovals is how many approvals the reviewer must give.
	// +optional
	MinimumApprovals int `json:"minimumApprovals"`

	// Reviewer is the team that must approve.
	Reviewer RulesReviewerObservation `json:"reviewer,omitempty"`
}

RulesRequiredReviewerObservation is a team whose approval a ruleset requires for matching files.

func (*RulesRequiredReviewerObservation) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RulesRequiredReviewerObservation.

func (*RulesRequiredReviewerObservation) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type RulesRequiredStatusChecks

type RulesRequiredStatusChecks struct {
	// DoNotEnforceOnCreate allows a branch to be created even if the status checks would fail. Defaults to false.
	// +optional
	DoNotEnforceOnCreate *bool `json:"doNotEnforceOnCreate,omitempty"`
	// RequiredStatusChecks is the list of status checks to require in order to merge into this branch.
	// +optional
	RequiredStatusChecks []*RulesRequiredStatusChecksParameters `json:"requiredStatusChecks"`
	// StrictRequiredStatusChecksPolicy requires branches to be up-to-date before merging.
	// +optional
	StrictRequiredStatusChecksPolicy *bool `json:"strictRequiredStatusChecksPolicy,omitempty"`
}

func (*RulesRequiredStatusChecks) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RulesRequiredStatusChecks.

func (*RulesRequiredStatusChecks) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type RulesRequiredStatusChecksParameters

type RulesRequiredStatusChecksParameters struct {
	// Context is the name of the required check.
	Context string `json:"context"`
	// IntegrationId is the ID of integration that must provide this check.
	// +optional
	IntegrationID *int64 `json:"integrationId,omitempty"`
}

func (*RulesRequiredStatusChecksParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RulesRequiredStatusChecksParameters.

func (*RulesRequiredStatusChecksParameters) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type RulesRequiredStatusChecksParametersObservation

type RulesRequiredStatusChecksParametersObservation struct {
	// Context is the name of the required check.
	Context string `json:"context,omitempty"`

	// IntegrationID is the ID of the integration that must provide the check.
	IntegrationID *int64 `json:"integrationId,omitempty"`
}

RulesRequiredStatusChecksParametersObservation is a single status check required by a ruleset.

func (*RulesRequiredStatusChecksParametersObservation) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RulesRequiredStatusChecksParametersObservation.

func (*RulesRequiredStatusChecksParametersObservation) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type RulesReviewer

type RulesReviewer struct {
	// Id is the ID of the team.
	ID int64 `json:"id"`
	// Type is the type of the reviewer.
	// +kubebuilder:validation:Enum=Team
	Type string `json:"type"`
}

func (*RulesReviewer) DeepCopy

func (in *RulesReviewer) DeepCopy() *RulesReviewer

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RulesReviewer.

func (*RulesReviewer) DeepCopyInto

func (in *RulesReviewer) DeepCopyInto(out *RulesReviewer)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type RulesReviewerObservation

type RulesReviewerObservation struct {
	// ID is the ID of the team.
	ID int64 `json:"id,omitempty"`

	// Type is the type of the reviewer.
	Type string `json:"type,omitempty"`
}

RulesReviewerObservation is the team that must approve.

func (*RulesReviewerObservation) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RulesReviewerObservation.

func (*RulesReviewerObservation) DeepCopyInto

func (in *RulesReviewerObservation) DeepCopyInto(out *RulesReviewerObservation)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type RulesScanningAlertResolutionObservation

type RulesScanningAlertResolutionObservation struct {
	// AlertTypes lists the kinds of alerts that must be resolved. It is secretTypes in the spec.
	// +optional
	AlertTypes []string `json:"secretTypes"`
}

RulesScanningAlertResolutionObservation is the observed secret scanning alert requirement of a ruleset.

func (*RulesScanningAlertResolutionObservation) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RulesScanningAlertResolutionObservation.

func (*RulesScanningAlertResolutionObservation) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type RulesSecretScanningAlertResolution

type RulesSecretScanningAlertResolution struct {
	// SecretTypes are the kinds of alerts that must be resolved, each listed once. Unset or
	// empty means provider_patterns, GitHub's default.
	// +kubebuilder:validation:MaxItems=3
	// +kubebuilder:validation:XValidation:rule="self.all(x, self.exists_one(y, y == x))",message="each secret type may appear once in secretTypes"
	// +optional
	SecretTypes []RulesSecretType `json:"secretTypes"`
}

func (*RulesSecretScanningAlertResolution) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RulesSecretScanningAlertResolution.

func (*RulesSecretScanningAlertResolution) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type RulesSecretType

type RulesSecretType string

RulesSecretType is a kind of secret scanning alert. +kubebuilder:validation:Enum=provider_patterns;custom_patterns;generic_patterns

type RulesStatusChecksObservation

type RulesStatusChecksObservation struct {
	// RequiredStatusChecks lists the status checks required to merge.
	// +optional
	RequiredStatusChecks []RulesRequiredStatusChecksParametersObservation `json:"requiredStatusChecks"`

	// StrictRequiredStatusChecksPolicy is whether branches must be up-to-date before merging.
	StrictRequiredStatusChecksPolicy *bool `json:"strictRequiredStatusChecksPolicy,omitempty"`

	// DoNotEnforceOnCreate is whether a branch may be created even if the status checks would fail.
	DoNotEnforceOnCreate *bool `json:"doNotEnforceOnCreate,omitempty"`
}

RulesStatusChecksObservation is the observed status checks requirement of a ruleset.

func (*RulesStatusChecksObservation) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RulesStatusChecksObservation.

func (*RulesStatusChecksObservation) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type RulesetByPassActors

type RulesetByPassActors struct {
	// ActorId is the ID of the actor: the App ID for Integration, the role ID for
	// RepositoryRole, the team ID for Team and the user ID for User. OrganizationAdmin
	// and DeployKey are identified by their type alone, so ActorId is optional for them.
	// +optional
	ActorID *int64 `json:"actorId,omitempty"`
	// ActorType is the type of the actor, one of: Integration, OrganizationAdmin, RepositoryRole, Team, DeployKey, User
	// +kubebuilder:validation:Enum=Integration;OrganizationAdmin;RepositoryRole;Team;DeployKey;User
	// +optional
	ActorType *string `json:"actorType,omitempty"`
	// BypassMode is the bypass mode of the actor, one of: "always", "pull_request", "exempt"
	// +kubebuilder:validation:Enum=always;pull_request;exempt
	// +optional
	BypassMode *string `json:"bypassMode,omitempty"`
}

func (*RulesetByPassActors) DeepCopy

func (in *RulesetByPassActors) DeepCopy() *RulesetByPassActors

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RulesetByPassActors.

func (*RulesetByPassActors) DeepCopyInto

func (in *RulesetByPassActors) DeepCopyInto(out *RulesetByPassActors)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type RulesetByPassActorsObservation

type RulesetByPassActorsObservation struct {
	// ActorID is the ID of the actor.
	ActorID *int64 `json:"actorId,omitempty"`

	// ActorType is the type of the actor.
	ActorType *string `json:"actorType,omitempty"`

	// BypassMode is the bypass mode of the actor.
	BypassMode *string `json:"bypassMode,omitempty"`
}

RulesetByPassActorsObservation is an actor that can bypass a ruleset.

func (*RulesetByPassActorsObservation) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RulesetByPassActorsObservation.

func (*RulesetByPassActorsObservation) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type RulesetConditions

type RulesetConditions struct {
	// RefName selects the refs the ruleset applies to. Unset selects an empty set of refs.
	// +optional
	RefName *RulesetRefName `json:"refName,omitempty"`
}

func (*RulesetConditions) DeepCopy

func (in *RulesetConditions) DeepCopy() *RulesetConditions

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RulesetConditions.

func (*RulesetConditions) DeepCopyInto

func (in *RulesetConditions) DeepCopyInto(out *RulesetConditions)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type RulesetConditionsObservation

type RulesetConditionsObservation struct {
	// RefName is the observed ref name condition.
	RefName *RulesetRefNameObservation `json:"refName,omitempty"`
}

RulesetConditionsObservation selects the branches or tags a ruleset applies to.

func (*RulesetConditionsObservation) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RulesetConditionsObservation.

func (*RulesetConditionsObservation) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type RulesetRefName

type RulesetRefName struct {
	// Include is the list of refs to include: full ref patterns such as
	// "refs/heads/main" or "refs/tags/v*", or "~DEFAULT_BRANCH" or "~ALL". Each pattern is listed once.
	Include []string `json:"include"`
	// Exclude is the list of refs to exclude, in the same form as Include. Each pattern is listed once.
	Exclude []string `json:"exclude"`
}

func (*RulesetRefName) DeepCopy

func (in *RulesetRefName) DeepCopy() *RulesetRefName

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RulesetRefName.

func (*RulesetRefName) DeepCopyInto

func (in *RulesetRefName) DeepCopyInto(out *RulesetRefName)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type RulesetRefNameObservation

type RulesetRefNameObservation struct {
	// Include lists the branches or tags included.
	// +optional
	Include []string `json:"include"`

	// Exclude lists the branches or tags excluded.
	// +optional
	Exclude []string `json:"exclude"`
}

RulesetRefNameObservation lists the refs included in and excluded from a ruleset.

func (*RulesetRefNameObservation) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RulesetRefNameObservation.

func (*RulesetRefNameObservation) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type RunnerGroup

type RunnerGroup struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   RunnerGroupSpec   `json:"spec"`
	Status RunnerGroupStatus `json:"status,omitempty"`
}

A RunnerGroup is a GitHub Actions organization runner group. +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,github} +kubebuilder:validation:XValidation:rule="!has(self.spec) || !has(self.spec.managementPolicies) || !('*' in self.spec.managementPolicies || 'Create' in self.spec.managementPolicies || 'Update' in self.spec.managementPolicies) || has(self.spec.forProvider.visibility)",message="visibility is required unless managementPolicies is Observe-only"

func (*RunnerGroup) DeepCopy

func (in *RunnerGroup) DeepCopy() *RunnerGroup

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RunnerGroup.

func (*RunnerGroup) DeepCopyInto

func (in *RunnerGroup) DeepCopyInto(out *RunnerGroup)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*RunnerGroup) DeepCopyObject

func (in *RunnerGroup) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*RunnerGroup) GetCondition

func (mg *RunnerGroup) GetCondition(ct xpv2.ConditionType) xpv2.Condition

GetCondition of this RunnerGroup.

func (*RunnerGroup) GetDeletionPolicy

func (mg *RunnerGroup) GetDeletionPolicy() xpv2.DeletionPolicy

GetDeletionPolicy of this RunnerGroup.

func (*RunnerGroup) GetManagementPolicies

func (mg *RunnerGroup) GetManagementPolicies() xpv2.ManagementPolicies

GetManagementPolicies of this RunnerGroup.

func (*RunnerGroup) GetProviderConfigReference

func (mg *RunnerGroup) GetProviderConfigReference() *xpv2.Reference

GetProviderConfigReference of this RunnerGroup.

func (*RunnerGroup) GetWriteConnectionSecretToReference

func (mg *RunnerGroup) GetWriteConnectionSecretToReference() *xpv2.SecretReference

GetWriteConnectionSecretToReference of this RunnerGroup.

func (*RunnerGroup) ResolveReferences

func (mg *RunnerGroup) ResolveReferences(ctx context.Context, c client.Reader) error

ResolveReferences of this RunnerGroup.

func (*RunnerGroup) SetConditions

func (mg *RunnerGroup) SetConditions(c ...xpv2.Condition)

SetConditions of this RunnerGroup.

func (*RunnerGroup) SetDeletionPolicy

func (mg *RunnerGroup) SetDeletionPolicy(r xpv2.DeletionPolicy)

SetDeletionPolicy of this RunnerGroup.

func (*RunnerGroup) SetManagementPolicies

func (mg *RunnerGroup) SetManagementPolicies(r xpv2.ManagementPolicies)

SetManagementPolicies of this RunnerGroup.

func (*RunnerGroup) SetProviderConfigReference

func (mg *RunnerGroup) SetProviderConfigReference(r *xpv2.Reference)

SetProviderConfigReference of this RunnerGroup.

func (*RunnerGroup) SetWriteConnectionSecretToReference

func (mg *RunnerGroup) SetWriteConnectionSecretToReference(r *xpv2.SecretReference)

SetWriteConnectionSecretToReference of this RunnerGroup.

type RunnerGroupList

type RunnerGroupList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []RunnerGroup `json:"items"`
}

RunnerGroupList contains a list of RunnerGroup

func (*RunnerGroupList) DeepCopy

func (in *RunnerGroupList) DeepCopy() *RunnerGroupList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RunnerGroupList.

func (*RunnerGroupList) DeepCopyInto

func (in *RunnerGroupList) DeepCopyInto(out *RunnerGroupList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*RunnerGroupList) DeepCopyObject

func (in *RunnerGroupList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*RunnerGroupList) GetItems

func (l *RunnerGroupList) GetItems() []resource.Managed

GetItems of this RunnerGroupList.

type RunnerGroupObservation

type RunnerGroupObservation struct {
	// ID is the GitHub runner group ID.
	ID int64 `json:"id,omitempty"`

	// Org is the organization the runner group was found under.
	Org string `json:"org,omitempty"`

	// Visibility is the visibility GitHub reports for the runner group.
	Visibility string `json:"visibility,omitempty"`

	// SelectedRepositories lists the repositories that can use the runner
	// group on GitHub. GitHub is queried for the list only while
	// forProvider.visibility is "selected", so the field is empty otherwise.
	// +optional
	SelectedRepositories []RunnerGroupSelectedRepoObservation `json:"selectedRepositories"`

	// AllowsPublicRepositories is whether GitHub lets public repositories
	// use the runner group.
	AllowsPublicRepositories *bool `json:"allowsPublicRepositories,omitempty"`

	// SelectedWorkflows lists the workflows GitHub restricts the runner group to.
	// +optional
	SelectedWorkflows []WorkflowRefObservation `json:"selectedWorkflows"`
}

RunnerGroupObservation are the observable fields of a RunnerGroup.

func (*RunnerGroupObservation) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RunnerGroupObservation.

func (*RunnerGroupObservation) DeepCopyInto

func (in *RunnerGroupObservation) DeepCopyInto(out *RunnerGroupObservation)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type RunnerGroupParameters

type RunnerGroupParameters struct {
	// Org is the name of the GitHub organization that owns this runner group.
	// +crossplane:generate:reference:type=github.com/provider-github/provider-github/apis/cluster/organizations/v1alpha1.Organization
	Org string `json:"org,omitempty"`

	// OrgRef is a reference to an Organization.
	// +optional
	OrgRef *xpv2.Reference `json:"orgRef,omitempty"`

	// OrgSelector selects a reference to an Organization.
	// +optional
	OrgSelector *xpv2.Selector `json:"orgSelector,omitempty"`

	// Visibility controls which repositories can use this runner group.
	// +kubebuilder:validation:Enum=all;selected;private
	// +optional
	Visibility string `json:"visibility,omitempty"`

	// SelectedRepositories lists repositories that can use the runner
	// group. Only used when Visibility is "selected".
	// +optional
	SelectedRepositories []RunnerGroupSelectedRepo `json:"selectedRepositories"`

	// AllowsPublicRepositories lets public repositories use the runner group.
	// Default: false
	// +optional
	AllowsPublicRepositories bool `json:"allowsPublicRepositories,omitempty"`

	// SelectedWorkflows lists the workflows allowed to use the runner
	// group, as owner/repo/.github/workflows/file.yml@ref, where ref is
	// refs/heads/<branch>, refs/tags/<tag> or a full 40-character commit
	// SHA. Setting it restricts the runner group to these workflows.
	// +optional
	SelectedWorkflows []WorkflowRef `json:"selectedWorkflows"`
}

RunnerGroupParameters are the configurable fields of a RunnerGroup.

func (*RunnerGroupParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RunnerGroupParameters.

func (*RunnerGroupParameters) DeepCopyInto

func (in *RunnerGroupParameters) DeepCopyInto(out *RunnerGroupParameters)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type RunnerGroupSelectedRepo

type RunnerGroupSelectedRepo struct {
	// Name of the repository.
	// +crossplane:generate:reference:type=github.com/provider-github/provider-github/apis/cluster/organizations/v1alpha1.Repository
	Repo string `json:"repo,omitempty"`

	// RepoRef is a reference to a Repository.
	// +optional
	RepoRef *xpv2.Reference `json:"repoRef,omitempty"`

	// RepoSelector selects a reference to a Repository.
	// +optional
	RepoSelector *xpv2.Selector `json:"repoSelector,omitempty"`
}

RunnerGroupSelectedRepo references a repository that has access to a runner group whose visibility is "selected".

func (*RunnerGroupSelectedRepo) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RunnerGroupSelectedRepo.

func (*RunnerGroupSelectedRepo) DeepCopyInto

func (in *RunnerGroupSelectedRepo) DeepCopyInto(out *RunnerGroupSelectedRepo)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type RunnerGroupSelectedRepoObservation

type RunnerGroupSelectedRepoObservation struct {
	// Repo is the name of the repository.
	Repo string `json:"repo,omitempty"`
}

RunnerGroupSelectedRepoObservation is a repository that has access to a runner group whose visibility is "selected".

func (*RunnerGroupSelectedRepoObservation) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RunnerGroupSelectedRepoObservation.

func (*RunnerGroupSelectedRepoObservation) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type RunnerGroupSpec

type RunnerGroupSpec struct {
	xpv2.ClusterManagedResourceSpec `json:",inline"`
	ForProvider                     RunnerGroupParameters `json:"forProvider"`

	// DriftDetection configures which forProvider fields are owned outside
	// Crossplane and how drift in those fields is detected and corrected.
	// Absent configuration means drift detection is enabled with no ignored
	// paths.
	// +optional
	DriftDetection *driftdetection.DriftDetection `json:"driftDetection,omitempty"`
}

A RunnerGroupSpec defines the desired state of a RunnerGroup.

func (*RunnerGroupSpec) DeepCopy

func (in *RunnerGroupSpec) DeepCopy() *RunnerGroupSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RunnerGroupSpec.

func (*RunnerGroupSpec) DeepCopyInto

func (in *RunnerGroupSpec) DeepCopyInto(out *RunnerGroupSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type RunnerGroupStatus

type RunnerGroupStatus struct {
	xpv2.ManagedResourceStatus `json:",inline"`
	AtProvider                 RunnerGroupObservation `json:"atProvider,omitempty"`
}

A RunnerGroupStatus represents the observed state of a RunnerGroup.

func (*RunnerGroupStatus) DeepCopy

func (in *RunnerGroupStatus) DeepCopy() *RunnerGroupStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RunnerGroupStatus.

func (*RunnerGroupStatus) DeepCopyInto

func (in *RunnerGroupStatus) DeepCopyInto(out *RunnerGroupStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type SecretConfiguration

type SecretConfiguration struct {
	// List of GitHub Actions secrets
	//
	// DEPRECATED, use ActionsSecretAccess instead.
	// +optional
	ActionsSecrets []OrgSecret `json:"actionsSecrets"`

	// List of Dependabot secrets
	//
	// DEPRECATED, use DependabotSecretAccess instead.
	// +optional
	DependabotSecrets []OrgSecret `json:"dependabotSecrets"`
}

func (*SecretConfiguration) DeepCopy

func (in *SecretConfiguration) DeepCopy() *SecretConfiguration

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretConfiguration.

func (*SecretConfiguration) DeepCopyInto

func (in *SecretConfiguration) DeepCopyInto(out *SecretConfiguration)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type SecretConfigurationObservation

type SecretConfigurationObservation struct {
	// ActionsSecrets lists the GitHub Actions secrets named in
	// forProvider.secrets.actionsSecrets and their repository access.
	// +optional
	ActionsSecrets []OrgSecretObservation `json:"actionsSecrets"`

	// DependabotSecrets lists the Dependabot secrets named in
	// forProvider.secrets.dependabotSecrets and their repository access.
	// +optional
	DependabotSecrets []OrgSecretObservation `json:"dependabotSecrets"`
}

SecretConfigurationObservation is the observed state of the organization secrets listed in forProvider.secrets. Secret values are never returned by GitHub and are not part of the observation.

func (*SecretConfigurationObservation) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretConfigurationObservation.

func (*SecretConfigurationObservation) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type SecretSelectedRepo

type SecretSelectedRepo struct {
	// Name of the repository
	// +crossplane:generate:reference:type=github.com/provider-github/provider-github/apis/cluster/organizations/v1alpha1.Repository
	Repo string `json:"repo,omitempty"`

	// RepoRef is a reference to the Repositories
	// +optional
	RepoRef *xpv2.Reference `json:"repoRef,omitempty"`

	// RepoSelector selects a reference to a Repository
	// +optional
	RepoSelector *xpv2.Selector `json:"repoSelector,omitempty"`
}

func (*SecretSelectedRepo) DeepCopy

func (in *SecretSelectedRepo) DeepCopy() *SecretSelectedRepo

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretSelectedRepo.

func (*SecretSelectedRepo) DeepCopyInto

func (in *SecretSelectedRepo) DeepCopyInto(out *SecretSelectedRepo)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type SecretSelectedRepoObservation

type SecretSelectedRepoObservation struct {
	// Repo is the name of the repository.
	Repo string `json:"repo,omitempty"`
}

SecretSelectedRepoObservation is a repository that has access to a secret.

func (*SecretSelectedRepoObservation) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretSelectedRepoObservation.

func (*SecretSelectedRepoObservation) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Team

type Team struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   TeamSpec   `json:"spec"`
	Status TeamStatus `json:"status,omitempty"`
}

A Team is an example API type. +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="MEMBERSHIP-PARTIAL",type="string",JSONPath=".status.conditions[?(@.type=='TeamMembershipPartial')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,github}

func (*Team) DeepCopy

func (in *Team) DeepCopy() *Team

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Team.

func (*Team) DeepCopyInto

func (in *Team) DeepCopyInto(out *Team)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Team) DeepCopyObject

func (in *Team) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*Team) GetCondition

func (mg *Team) GetCondition(ct xpv2.ConditionType) xpv2.Condition

GetCondition of this Team.

func (*Team) GetDeletionPolicy

func (mg *Team) GetDeletionPolicy() xpv2.DeletionPolicy

GetDeletionPolicy of this Team.

func (*Team) GetManagementPolicies

func (mg *Team) GetManagementPolicies() xpv2.ManagementPolicies

GetManagementPolicies of this Team.

func (*Team) GetProviderConfigReference

func (mg *Team) GetProviderConfigReference() *xpv2.Reference

GetProviderConfigReference of this Team.

func (*Team) GetWriteConnectionSecretToReference

func (mg *Team) GetWriteConnectionSecretToReference() *xpv2.SecretReference

GetWriteConnectionSecretToReference of this Team.

func (*Team) ResolveReferences

func (mg *Team) ResolveReferences(ctx context.Context, c client.Reader) error

ResolveReferences of this Team.

func (*Team) SetConditions

func (mg *Team) SetConditions(c ...xpv2.Condition)

SetConditions of this Team.

func (*Team) SetDeletionPolicy

func (mg *Team) SetDeletionPolicy(r xpv2.DeletionPolicy)

SetDeletionPolicy of this Team.

func (*Team) SetManagementPolicies

func (mg *Team) SetManagementPolicies(r xpv2.ManagementPolicies)

SetManagementPolicies of this Team.

func (*Team) SetProviderConfigReference

func (mg *Team) SetProviderConfigReference(r *xpv2.Reference)

SetProviderConfigReference of this Team.

func (*Team) SetWriteConnectionSecretToReference

func (mg *Team) SetWriteConnectionSecretToReference(r *xpv2.SecretReference)

SetWriteConnectionSecretToReference of this Team.

type TeamList

type TeamList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []Team `json:"items"`
}

TeamList contains a list of Team

func (*TeamList) DeepCopy

func (in *TeamList) DeepCopy() *TeamList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TeamList.

func (*TeamList) DeepCopyInto

func (in *TeamList) DeepCopyInto(out *TeamList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*TeamList) DeepCopyObject

func (in *TeamList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*TeamList) GetItems

func (l *TeamList) GetItems() []resource.Managed

GetItems of this TeamList.

type TeamMemberTeam

type TeamMemberTeam struct {
	// Team is the name of the team
	// +crossplane:generate:reference:type=github.com/provider-github/provider-github/apis/cluster/organizations/v1alpha1.Team
	Team string `json:"team,omitempty"`

	// TeamRef is a reference to a Team
	// +optional
	TeamRef *xpv2.Reference `json:"teamRef,omitempty"`

	// TeamSelector selects a reference to a Team
	// +optional
	TeamSelector *xpv2.Selector `json:"teamSelector,omitempty"`

	// Role is the role of the team
	Role string `json:"role"`
}

func (*TeamMemberTeam) DeepCopy

func (in *TeamMemberTeam) DeepCopy() *TeamMemberTeam

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TeamMemberTeam.

func (*TeamMemberTeam) DeepCopyInto

func (in *TeamMemberTeam) DeepCopyInto(out *TeamMemberTeam)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type TeamMemberUser

type TeamMemberUser struct {
	// Name is the name of the user
	// +crossplane:generate:reference:type=github.com/provider-github/provider-github/apis/cluster/organizations/v1alpha1.Membership
	User string `json:"user,omitempty"`

	// Name is a reference to an Membership
	// +optional
	UserRef *xpv2.Reference `json:"userRef,omitempty"`

	// NameSelector selects a reference to an Organization
	// +optional
	UserSelector *xpv2.Selector `json:"userSelector,omitempty"`

	// Role is the role of the user
	Role string `json:"role"`
}

func (*TeamMemberUser) DeepCopy

func (in *TeamMemberUser) DeepCopy() *TeamMemberUser

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TeamMemberUser.

func (*TeamMemberUser) DeepCopyInto

func (in *TeamMemberUser) DeepCopyInto(out *TeamMemberUser)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type TeamMemberUserObservation

type TeamMemberUserObservation struct {
	// User is the login of the member.
	User string `json:"user,omitempty"`

	// Role is the role of the member on the team.
	Role string `json:"role,omitempty"`
}

TeamMemberUserObservation is a member of a team and the role GitHub reports for them.

func (*TeamMemberUserObservation) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TeamMemberUserObservation.

func (*TeamMemberUserObservation) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type TeamObservation

type TeamObservation struct {
	// ID is the external name of the team on GitHub.
	ID string `json:"id,omitempty"`

	// Description is the description GitHub reports for the team.
	Description string `json:"description,omitempty"`

	// Members lists the direct members of the team and their roles. Members
	// that the team only inherits from its child teams are not listed.
	// +optional
	Members []TeamMemberUserObservation `json:"members"`

	// Org is the organization the team was found under.
	Org string `json:"org,omitempty"`

	// Parent is the name of the parent team, when the team has one.
	Parent *string `json:"parent,omitempty"`

	// Privacy represents the visibility of the team (secret, closed)
	Privacy *string `json:"privacy,omitempty"`

	ObservableField string `json:"observableField,omitempty"`
}

TeamObservation are the observable fields of a Team.

func (*TeamObservation) DeepCopy

func (in *TeamObservation) DeepCopy() *TeamObservation

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TeamObservation.

func (*TeamObservation) DeepCopyInto

func (in *TeamObservation) DeepCopyInto(out *TeamObservation)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type TeamParameters

type TeamParameters struct {
	Description string `json:"description,omitempty"`

	// +optional
	Members []TeamMemberUser `json:"members"`

	// Org is the Organization for the Membership
	// +immutable
	// +crossplane:generate:reference:type=github.com/provider-github/provider-github/apis/cluster/organizations/v1alpha1.Organization
	Org string `json:"org,omitempty"`

	// OrgRef is a reference to an Organization
	// +optional
	OrgRef *xpv2.Reference `json:"orgRef,omitempty"`

	// OrgSlector selects a reference to an Organization
	// +optional
	OrgSelector *xpv2.Selector `json:"orgSelector,omitempty"`

	// Parent is the parent team of a Team
	// +crossplane:generate:reference:type=github.com/provider-github/provider-github/apis/cluster/organizations/v1alpha1.Team
	Parent *string `json:"parent,omitempty"`

	// ParentRef is a reference to a parent team
	// +optional
	ParentRef *xpv2.Reference `json:"parentRef,omitempty"`

	// ParentSlector selects a reference to an a parent team
	// +optional
	ParentSelector *xpv2.Selector `json:"parentSelector,omitempty"`

	// Privacy represents the visibility of the team (secret, closed)
	Privacy *string `json:"privacy,omitempty"`
}

TeamParameters are the configurable fields of a Team.

func (*TeamParameters) DeepCopy

func (in *TeamParameters) DeepCopy() *TeamParameters

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TeamParameters.

func (*TeamParameters) DeepCopyInto

func (in *TeamParameters) DeepCopyInto(out *TeamParameters)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type TeamSpec

type TeamSpec struct {
	xpv2.ClusterManagedResourceSpec `json:",inline"`
	ForProvider                     TeamParameters `json:"forProvider"`

	// DriftDetection configures which forProvider fields are owned outside
	// Crossplane and how drift in those fields is detected and corrected.
	// Absent configuration means drift detection is enabled with no ignored
	// paths.
	// +optional
	DriftDetection *driftdetection.DriftDetection `json:"driftDetection,omitempty"`
}

A TeamSpec defines the desired state of a Team.

func (*TeamSpec) DeepCopy

func (in *TeamSpec) DeepCopy() *TeamSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TeamSpec.

func (*TeamSpec) DeepCopyInto

func (in *TeamSpec) DeepCopyInto(out *TeamSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type TeamStatus

type TeamStatus struct {
	xpv2.ManagedResourceStatus `json:",inline"`
	AtProvider                 TeamObservation `json:"atProvider,omitempty"`
}

A TeamStatus represents the observed state of a Team.

func (*TeamStatus) DeepCopy

func (in *TeamStatus) DeepCopy() *TeamStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TeamStatus.

func (*TeamStatus) DeepCopyInto

func (in *TeamStatus) DeepCopyInto(out *TeamStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type TemplateRepo

type TemplateRepo struct {
	// The account owner of the template repository. The name is not case-sensitive.
	Owner string `json:"owner"`

	// The name of the template repository without the .git extension. The name is not case-sensitive.
	Repo string `json:"repo"`

	// Set to true to include the directory structure and files from all branches in the template repository,
	// and not just the default branch.
	IncludeAllBranches bool `json:"includeAllBranches"`
}

TemplateRepo represents the configuration for creating a new repository from a template.

func (*TemplateRepo) DeepCopy

func (in *TemplateRepo) DeepCopy() *TemplateRepo

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TemplateRepo.

func (*TemplateRepo) DeepCopyInto

func (in *TemplateRepo) DeepCopyInto(out *TemplateRepo)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type TemplateRepoObservation

type TemplateRepoObservation struct {
	// Owner is the account owner of the template repository.
	Owner string `json:"owner,omitempty"`

	// Repo is the name of the template repository.
	Repo string `json:"repo,omitempty"`
}

TemplateRepoObservation is the template a repository was created from.

func (*TemplateRepoObservation) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TemplateRepoObservation.

func (*TemplateRepoObservation) DeepCopyInto

func (in *TemplateRepoObservation) DeepCopyInto(out *TemplateRepoObservation)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type UnappliedBranchProtection

type UnappliedBranchProtection struct {
	Branch string `json:"branch"`
	// Hash of the declared rule the items were observed against.
	RuleHash string `json:"ruleHash"`
	// Items GitHub did not apply, e.g. "bypassApps:some-app" or "allowForcePushes".
	Items []string `json:"items"`
}

UnappliedBranchProtection records the items GitHub left out when the provider pushed a branch protection rule.

func (*UnappliedBranchProtection) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UnappliedBranchProtection.

func (*UnappliedBranchProtection) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type UnappliedSetting

type UnappliedSetting struct {
	// Field name as in spec.forProvider, e.g. "hasWiki".
	Field string `json:"field"`
	// Declared value the refusal was observed against, e.g. "true".
	Declared string `json:"declared"`
}

UnappliedSetting records a repository setting GitHub left unchanged when the provider pushed it.

func (*UnappliedSetting) DeepCopy

func (in *UnappliedSetting) DeepCopy() *UnappliedSetting

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UnappliedSetting.

func (*UnappliedSetting) DeepCopyInto

func (in *UnappliedSetting) DeepCopyInto(out *UnappliedSetting)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type VariableSelectedRepo

type VariableSelectedRepo struct {
	// Name of the repository.
	// +crossplane:generate:reference:type=github.com/provider-github/provider-github/apis/cluster/organizations/v1alpha1.Repository
	Repo string `json:"repo,omitempty"`

	// RepoRef is a reference to a Repository.
	// +optional
	RepoRef *xpv2.Reference `json:"repoRef,omitempty"`

	// RepoSelector selects a reference to a Repository.
	// +optional
	RepoSelector *xpv2.Selector `json:"repoSelector,omitempty"`
}

VariableSelectedRepo references a repository that has access to an organization variable whose visibility is "selected".

func (*VariableSelectedRepo) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VariableSelectedRepo.

func (*VariableSelectedRepo) DeepCopyInto

func (in *VariableSelectedRepo) DeepCopyInto(out *VariableSelectedRepo)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type VariableSelectedRepoObservation

type VariableSelectedRepoObservation struct {
	// Repo is the name of the repository.
	Repo string `json:"repo,omitempty"`
}

VariableSelectedRepoObservation is a repository that has access to an organization variable whose visibility is "selected".

func (*VariableSelectedRepoObservation) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VariableSelectedRepoObservation.

func (*VariableSelectedRepoObservation) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type WorkflowRef

type WorkflowRef string

WorkflowRef is a workflow allowed to use a runner group, as owner/repo/.github/workflows/file.yml@ref. +kubebuilder:validation:Pattern=`^[^/@]+/[^/@]+/\.github/workflows/[^/@]+@(refs/heads/.+|refs/tags/.+|[0-9a-f]{40})$` +kubebuilder:validation:MaxLength=512

type WorkflowRefObservation

type WorkflowRefObservation string

WorkflowRefObservation is a workflow allowed to use a runner group, as owner/repo/.github/workflows/file.yml@ref.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL