Documentation ¶
Overview ¶
+kubebuilder:object:generate=true +groupName=repo.github.upbound.io +versionName=v1alpha1
Index ¶
- Constants
- Variables
- type AdvancedSecurityInitParameters
- type AdvancedSecurityObservation
- type AdvancedSecurityParameters
- type Branch
- func (in *Branch) DeepCopy() *Branch
- func (in *Branch) DeepCopyInto(out *Branch)
- func (in *Branch) DeepCopyObject() runtime.Object
- func (mg *Branch) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *Branch) GetConnectionDetailsMapping() map[string]string
- func (mg *Branch) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *Branch) GetID() string
- func (tr *Branch) GetInitParameters() (map[string]any, error)
- func (mg *Branch) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *Branch) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
- func (tr *Branch) GetObservation() (map[string]any, error)
- func (tr *Branch) GetParameters() (map[string]any, error)
- func (mg *Branch) GetProviderConfigReference() *xpv1.Reference
- func (mg *Branch) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *Branch) GetTerraformResourceType() string
- func (tr *Branch) GetTerraformSchemaVersion() int
- func (mg *Branch) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *Branch) Hub()
- func (tr *Branch) LateInitialize(attrs []byte) (bool, error)
- func (mg *Branch) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *Branch) SetConditions(c ...xpv1.Condition)
- func (mg *Branch) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *Branch) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *Branch) SetObservation(obs map[string]any) error
- func (tr *Branch) SetParameters(params map[string]any) error
- func (mg *Branch) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *Branch) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *Branch) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type BranchInitParameters
- type BranchList
- type BranchObservation
- type BranchParameters
- type BranchProtection
- func (in *BranchProtection) DeepCopy() *BranchProtection
- func (in *BranchProtection) DeepCopyInto(out *BranchProtection)
- func (in *BranchProtection) DeepCopyObject() runtime.Object
- func (mg *BranchProtection) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *BranchProtection) GetConnectionDetailsMapping() map[string]string
- func (mg *BranchProtection) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *BranchProtection) GetID() string
- func (tr *BranchProtection) GetInitParameters() (map[string]any, error)
- func (mg *BranchProtection) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *BranchProtection) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
- func (tr *BranchProtection) GetObservation() (map[string]any, error)
- func (tr *BranchProtection) GetParameters() (map[string]any, error)
- func (mg *BranchProtection) GetProviderConfigReference() *xpv1.Reference
- func (mg *BranchProtection) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *BranchProtection) GetTerraformResourceType() string
- func (tr *BranchProtection) GetTerraformSchemaVersion() int
- func (mg *BranchProtection) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *BranchProtection) Hub()
- func (tr *BranchProtection) LateInitialize(attrs []byte) (bool, error)
- func (mg *BranchProtection) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *BranchProtection) SetConditions(c ...xpv1.Condition)
- func (mg *BranchProtection) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *BranchProtection) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *BranchProtection) SetObservation(obs map[string]any) error
- func (tr *BranchProtection) SetParameters(params map[string]any) error
- func (mg *BranchProtection) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *BranchProtection) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *BranchProtection) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type BranchProtectionInitParameters
- type BranchProtectionList
- type BranchProtectionObservation
- type BranchProtectionParameters
- type BranchProtectionSpec
- type BranchProtectionStatus
- type BranchSpec
- type BranchStatus
- type ConfigurationInitParameters
- type ConfigurationObservation
- type ConfigurationParameters
- type DefaultBranch
- func (in *DefaultBranch) DeepCopy() *DefaultBranch
- func (in *DefaultBranch) DeepCopyInto(out *DefaultBranch)
- func (in *DefaultBranch) DeepCopyObject() runtime.Object
- func (mg *DefaultBranch) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *DefaultBranch) GetConnectionDetailsMapping() map[string]string
- func (mg *DefaultBranch) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *DefaultBranch) GetID() string
- func (tr *DefaultBranch) GetInitParameters() (map[string]any, error)
- func (mg *DefaultBranch) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *DefaultBranch) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
- func (tr *DefaultBranch) GetObservation() (map[string]any, error)
- func (tr *DefaultBranch) GetParameters() (map[string]any, error)
- func (mg *DefaultBranch) GetProviderConfigReference() *xpv1.Reference
- func (mg *DefaultBranch) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *DefaultBranch) GetTerraformResourceType() string
- func (tr *DefaultBranch) GetTerraformSchemaVersion() int
- func (mg *DefaultBranch) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *DefaultBranch) Hub()
- func (tr *DefaultBranch) LateInitialize(attrs []byte) (bool, error)
- func (mg *DefaultBranch) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *DefaultBranch) SetConditions(c ...xpv1.Condition)
- func (mg *DefaultBranch) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *DefaultBranch) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *DefaultBranch) SetObservation(obs map[string]any) error
- func (tr *DefaultBranch) SetParameters(params map[string]any) error
- func (mg *DefaultBranch) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *DefaultBranch) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *DefaultBranch) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type DefaultBranchInitParameters
- type DefaultBranchList
- type DefaultBranchObservation
- type DefaultBranchParameters
- type DefaultBranchSpec
- type DefaultBranchStatus
- type DeployKey
- func (in *DeployKey) DeepCopy() *DeployKey
- func (in *DeployKey) DeepCopyInto(out *DeployKey)
- func (in *DeployKey) DeepCopyObject() runtime.Object
- func (mg *DeployKey) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *DeployKey) GetConnectionDetailsMapping() map[string]string
- func (mg *DeployKey) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *DeployKey) GetID() string
- func (tr *DeployKey) GetInitParameters() (map[string]any, error)
- func (mg *DeployKey) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *DeployKey) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
- func (tr *DeployKey) GetObservation() (map[string]any, error)
- func (tr *DeployKey) GetParameters() (map[string]any, error)
- func (mg *DeployKey) GetProviderConfigReference() *xpv1.Reference
- func (mg *DeployKey) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *DeployKey) GetTerraformResourceType() string
- func (tr *DeployKey) GetTerraformSchemaVersion() int
- func (mg *DeployKey) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *DeployKey) Hub()
- func (tr *DeployKey) LateInitialize(attrs []byte) (bool, error)
- func (mg *DeployKey) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *DeployKey) SetConditions(c ...xpv1.Condition)
- func (mg *DeployKey) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *DeployKey) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *DeployKey) SetObservation(obs map[string]any) error
- func (tr *DeployKey) SetParameters(params map[string]any) error
- func (mg *DeployKey) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *DeployKey) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *DeployKey) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type DeployKeyInitParameters
- type DeployKeyList
- type DeployKeyObservation
- type DeployKeyParameters
- type DeployKeySpec
- type DeployKeyStatus
- type PagesInitParameters
- type PagesObservation
- type PagesParameters
- type PullRequest
- func (in *PullRequest) DeepCopy() *PullRequest
- func (in *PullRequest) DeepCopyInto(out *PullRequest)
- func (in *PullRequest) DeepCopyObject() runtime.Object
- func (mg *PullRequest) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *PullRequest) GetConnectionDetailsMapping() map[string]string
- func (mg *PullRequest) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *PullRequest) GetID() string
- func (tr *PullRequest) GetInitParameters() (map[string]any, error)
- func (mg *PullRequest) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *PullRequest) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
- func (tr *PullRequest) GetObservation() (map[string]any, error)
- func (tr *PullRequest) GetParameters() (map[string]any, error)
- func (mg *PullRequest) GetProviderConfigReference() *xpv1.Reference
- func (mg *PullRequest) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *PullRequest) GetTerraformResourceType() string
- func (tr *PullRequest) GetTerraformSchemaVersion() int
- func (mg *PullRequest) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *PullRequest) Hub()
- func (tr *PullRequest) LateInitialize(attrs []byte) (bool, error)
- func (mg *PullRequest) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *PullRequest) SetConditions(c ...xpv1.Condition)
- func (mg *PullRequest) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *PullRequest) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *PullRequest) SetObservation(obs map[string]any) error
- func (tr *PullRequest) SetParameters(params map[string]any) error
- func (mg *PullRequest) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *PullRequest) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *PullRequest) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type PullRequestInitParameters
- type PullRequestList
- type PullRequestObservation
- type PullRequestParameters
- type PullRequestSpec
- type PullRequestStatus
- type Repository
- func (in *Repository) DeepCopy() *Repository
- func (in *Repository) DeepCopyInto(out *Repository)
- func (in *Repository) DeepCopyObject() runtime.Object
- func (mg *Repository) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *Repository) GetConnectionDetailsMapping() map[string]string
- func (mg *Repository) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *Repository) GetID() string
- func (tr *Repository) GetInitParameters() (map[string]any, error)
- func (mg *Repository) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *Repository) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
- func (tr *Repository) GetObservation() (map[string]any, error)
- func (tr *Repository) GetParameters() (map[string]any, error)
- func (mg *Repository) GetProviderConfigReference() *xpv1.Reference
- func (mg *Repository) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *Repository) GetTerraformResourceType() string
- func (tr *Repository) GetTerraformSchemaVersion() int
- func (mg *Repository) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *Repository) Hub()
- func (tr *Repository) LateInitialize(attrs []byte) (bool, error)
- func (mg *Repository) SetConditions(c ...xpv1.Condition)
- func (mg *Repository) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *Repository) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *Repository) SetObservation(obs map[string]any) error
- func (tr *Repository) SetParameters(params map[string]any) error
- func (mg *Repository) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *Repository) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *Repository) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type RepositoryAutolinkReference
- func (in *RepositoryAutolinkReference) DeepCopy() *RepositoryAutolinkReference
- func (in *RepositoryAutolinkReference) DeepCopyInto(out *RepositoryAutolinkReference)
- func (in *RepositoryAutolinkReference) DeepCopyObject() runtime.Object
- func (mg *RepositoryAutolinkReference) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *RepositoryAutolinkReference) GetConnectionDetailsMapping() map[string]string
- func (mg *RepositoryAutolinkReference) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *RepositoryAutolinkReference) GetID() string
- func (tr *RepositoryAutolinkReference) GetInitParameters() (map[string]any, error)
- func (mg *RepositoryAutolinkReference) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *RepositoryAutolinkReference) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
- func (tr *RepositoryAutolinkReference) GetObservation() (map[string]any, error)
- func (tr *RepositoryAutolinkReference) GetParameters() (map[string]any, error)
- func (mg *RepositoryAutolinkReference) GetProviderConfigReference() *xpv1.Reference
- func (mg *RepositoryAutolinkReference) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *RepositoryAutolinkReference) GetTerraformResourceType() string
- func (tr *RepositoryAutolinkReference) GetTerraformSchemaVersion() int
- func (mg *RepositoryAutolinkReference) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *RepositoryAutolinkReference) Hub()
- func (tr *RepositoryAutolinkReference) LateInitialize(attrs []byte) (bool, error)
- func (mg *RepositoryAutolinkReference) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *RepositoryAutolinkReference) SetConditions(c ...xpv1.Condition)
- func (mg *RepositoryAutolinkReference) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *RepositoryAutolinkReference) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *RepositoryAutolinkReference) SetObservation(obs map[string]any) error
- func (tr *RepositoryAutolinkReference) SetParameters(params map[string]any) error
- func (mg *RepositoryAutolinkReference) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *RepositoryAutolinkReference) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *RepositoryAutolinkReference) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type RepositoryAutolinkReferenceInitParameters
- type RepositoryAutolinkReferenceList
- func (in *RepositoryAutolinkReferenceList) DeepCopy() *RepositoryAutolinkReferenceList
- func (in *RepositoryAutolinkReferenceList) DeepCopyInto(out *RepositoryAutolinkReferenceList)
- func (in *RepositoryAutolinkReferenceList) DeepCopyObject() runtime.Object
- func (l *RepositoryAutolinkReferenceList) GetItems() []resource.Managed
- type RepositoryAutolinkReferenceObservation
- type RepositoryAutolinkReferenceParameters
- type RepositoryAutolinkReferenceSpec
- type RepositoryAutolinkReferenceStatus
- type RepositoryFile
- func (in *RepositoryFile) DeepCopy() *RepositoryFile
- func (in *RepositoryFile) DeepCopyInto(out *RepositoryFile)
- func (in *RepositoryFile) DeepCopyObject() runtime.Object
- func (mg *RepositoryFile) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *RepositoryFile) GetConnectionDetailsMapping() map[string]string
- func (mg *RepositoryFile) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *RepositoryFile) GetID() string
- func (tr *RepositoryFile) GetInitParameters() (map[string]any, error)
- func (mg *RepositoryFile) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *RepositoryFile) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
- func (tr *RepositoryFile) GetObservation() (map[string]any, error)
- func (tr *RepositoryFile) GetParameters() (map[string]any, error)
- func (mg *RepositoryFile) GetProviderConfigReference() *xpv1.Reference
- func (mg *RepositoryFile) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *RepositoryFile) GetTerraformResourceType() string
- func (tr *RepositoryFile) GetTerraformSchemaVersion() int
- func (mg *RepositoryFile) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *RepositoryFile) Hub()
- func (tr *RepositoryFile) LateInitialize(attrs []byte) (bool, error)
- func (mg *RepositoryFile) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *RepositoryFile) SetConditions(c ...xpv1.Condition)
- func (mg *RepositoryFile) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *RepositoryFile) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *RepositoryFile) SetObservation(obs map[string]any) error
- func (tr *RepositoryFile) SetParameters(params map[string]any) error
- func (mg *RepositoryFile) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *RepositoryFile) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *RepositoryFile) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type RepositoryFileInitParameters
- type RepositoryFileList
- type RepositoryFileObservation
- type RepositoryFileParameters
- type RepositoryFileSpec
- type RepositoryFileStatus
- type RepositoryInitParameters
- type RepositoryList
- type RepositoryObservation
- type RepositoryParameters
- type RepositorySpec
- type RepositoryStatus
- type RepositoryWebhook
- func (in *RepositoryWebhook) DeepCopy() *RepositoryWebhook
- func (in *RepositoryWebhook) DeepCopyInto(out *RepositoryWebhook)
- func (in *RepositoryWebhook) DeepCopyObject() runtime.Object
- func (mg *RepositoryWebhook) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *RepositoryWebhook) GetConnectionDetailsMapping() map[string]string
- func (mg *RepositoryWebhook) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *RepositoryWebhook) GetID() string
- func (tr *RepositoryWebhook) GetInitParameters() (map[string]any, error)
- func (mg *RepositoryWebhook) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *RepositoryWebhook) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
- func (tr *RepositoryWebhook) GetObservation() (map[string]any, error)
- func (tr *RepositoryWebhook) GetParameters() (map[string]any, error)
- func (mg *RepositoryWebhook) GetProviderConfigReference() *xpv1.Reference
- func (mg *RepositoryWebhook) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *RepositoryWebhook) GetTerraformResourceType() string
- func (tr *RepositoryWebhook) GetTerraformSchemaVersion() int
- func (mg *RepositoryWebhook) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *RepositoryWebhook) Hub()
- func (tr *RepositoryWebhook) LateInitialize(attrs []byte) (bool, error)
- func (mg *RepositoryWebhook) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *RepositoryWebhook) SetConditions(c ...xpv1.Condition)
- func (mg *RepositoryWebhook) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *RepositoryWebhook) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *RepositoryWebhook) SetObservation(obs map[string]any) error
- func (tr *RepositoryWebhook) SetParameters(params map[string]any) error
- func (mg *RepositoryWebhook) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *RepositoryWebhook) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *RepositoryWebhook) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type RepositoryWebhookInitParameters
- type RepositoryWebhookList
- type RepositoryWebhookObservation
- type RepositoryWebhookParameters
- type RepositoryWebhookSpec
- type RepositoryWebhookStatus
- type RequiredPullRequestReviewsInitParameters
- type RequiredPullRequestReviewsObservation
- type RequiredPullRequestReviewsParameters
- type RequiredStatusChecksInitParameters
- type RequiredStatusChecksObservation
- type RequiredStatusChecksParameters
- type RestrictPushesInitParameters
- type RestrictPushesObservation
- type RestrictPushesParameters
- type SecretScanningInitParameters
- type SecretScanningObservation
- type SecretScanningParameters
- type SecretScanningPushProtectionInitParameters
- type SecretScanningPushProtectionObservation
- type SecretScanningPushProtectionParameters
- type SecurityAndAnalysisInitParameters
- type SecurityAndAnalysisObservation
- type SecurityAndAnalysisParameters
- type SourceInitParameters
- type SourceObservation
- type SourceParameters
- type TemplateInitParameters
- type TemplateObservation
- type TemplateParameters
Constants ¶
const ( CRDGroup = "repo.github.upbound.io" CRDVersion = "v1alpha1" )
Package type metadata.
Variables ¶
var ( Branch_Kind = "Branch" Branch_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Branch_Kind}.String() Branch_KindAPIVersion = Branch_Kind + "." + CRDGroupVersion.String() Branch_GroupVersionKind = CRDGroupVersion.WithKind(Branch_Kind) )
Repository type metadata.
var ( BranchProtection_Kind = "BranchProtection" BranchProtection_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: BranchProtection_Kind}.String() BranchProtection_KindAPIVersion = BranchProtection_Kind + "." + CRDGroupVersion.String() BranchProtection_GroupVersionKind = CRDGroupVersion.WithKind(BranchProtection_Kind) )
Repository type metadata.
var ( DefaultBranch_Kind = "DefaultBranch" DefaultBranch_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: DefaultBranch_Kind}.String() DefaultBranch_KindAPIVersion = DefaultBranch_Kind + "." + CRDGroupVersion.String() DefaultBranch_GroupVersionKind = CRDGroupVersion.WithKind(DefaultBranch_Kind) )
Repository type metadata.
var ( DeployKey_Kind = "DeployKey" DeployKey_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: DeployKey_Kind}.String() DeployKey_KindAPIVersion = DeployKey_Kind + "." + CRDGroupVersion.String() DeployKey_GroupVersionKind = CRDGroupVersion.WithKind(DeployKey_Kind) )
Repository type metadata.
var ( // CRDGroupVersion is the API Group Version used to register the objects CRDGroupVersion = schema.GroupVersion{Group: CRDGroup, Version: CRDVersion} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: CRDGroupVersion} // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme )
var ( PullRequest_Kind = "PullRequest" PullRequest_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: PullRequest_Kind}.String() PullRequest_KindAPIVersion = PullRequest_Kind + "." + CRDGroupVersion.String() PullRequest_GroupVersionKind = CRDGroupVersion.WithKind(PullRequest_Kind) )
Repository type metadata.
var ( Repository_Kind = "Repository" Repository_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Repository_Kind}.String() Repository_KindAPIVersion = Repository_Kind + "." + CRDGroupVersion.String() Repository_GroupVersionKind = CRDGroupVersion.WithKind(Repository_Kind) )
Repository type metadata.
var ( RepositoryAutolinkReference_Kind = "RepositoryAutolinkReference" RepositoryAutolinkReference_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: RepositoryAutolinkReference_Kind}.String() RepositoryAutolinkReference_KindAPIVersion = RepositoryAutolinkReference_Kind + "." + CRDGroupVersion.String() RepositoryAutolinkReference_GroupVersionKind = CRDGroupVersion.WithKind(RepositoryAutolinkReference_Kind) )
Repository type metadata.
var ( RepositoryFile_Kind = "RepositoryFile" RepositoryFile_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: RepositoryFile_Kind}.String() RepositoryFile_KindAPIVersion = RepositoryFile_Kind + "." + CRDGroupVersion.String() RepositoryFile_GroupVersionKind = CRDGroupVersion.WithKind(RepositoryFile_Kind) )
Repository type metadata.
var ( RepositoryWebhook_Kind = "RepositoryWebhook" RepositoryWebhook_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: RepositoryWebhook_Kind}.String() RepositoryWebhook_KindAPIVersion = RepositoryWebhook_Kind + "." + CRDGroupVersion.String() RepositoryWebhook_GroupVersionKind = CRDGroupVersion.WithKind(RepositoryWebhook_Kind) )
Repository type metadata.
Functions ¶
This section is empty.
Types ¶
type AdvancedSecurityInitParameters ¶ added in v0.5.0
type AdvancedSecurityInitParameters struct { // Set to enabled to enable secret scanning on the repository. Can be enabled or disabled. If set to enabled, the repository's visibility must be public or security_and_analysis[0].advanced_security[0].status must also be set to enabled. // Set to 'enabled' to enable advanced security features on the repository. Can be 'enabled' or 'disabled'. Status *string `json:"status,omitempty" tf:"status,omitempty"` }
func (*AdvancedSecurityInitParameters) DeepCopy ¶ added in v0.5.0
func (in *AdvancedSecurityInitParameters) DeepCopy() *AdvancedSecurityInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AdvancedSecurityInitParameters.
func (*AdvancedSecurityInitParameters) DeepCopyInto ¶ added in v0.5.0
func (in *AdvancedSecurityInitParameters) DeepCopyInto(out *AdvancedSecurityInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AdvancedSecurityObservation ¶
type AdvancedSecurityObservation struct { // Set to enabled to enable secret scanning on the repository. Can be enabled or disabled. If set to enabled, the repository's visibility must be public or security_and_analysis[0].advanced_security[0].status must also be set to enabled. // Set to 'enabled' to enable advanced security features on the repository. Can be 'enabled' or 'disabled'. Status *string `json:"status,omitempty" tf:"status,omitempty"` }
func (*AdvancedSecurityObservation) DeepCopy ¶
func (in *AdvancedSecurityObservation) DeepCopy() *AdvancedSecurityObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AdvancedSecurityObservation.
func (*AdvancedSecurityObservation) DeepCopyInto ¶
func (in *AdvancedSecurityObservation) DeepCopyInto(out *AdvancedSecurityObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AdvancedSecurityParameters ¶
type AdvancedSecurityParameters struct { // Set to enabled to enable secret scanning on the repository. Can be enabled or disabled. If set to enabled, the repository's visibility must be public or security_and_analysis[0].advanced_security[0].status must also be set to enabled. // Set to 'enabled' to enable advanced security features on the repository. Can be 'enabled' or 'disabled'. // +kubebuilder:validation:Optional Status *string `json:"status" tf:"status,omitempty"` }
func (*AdvancedSecurityParameters) DeepCopy ¶
func (in *AdvancedSecurityParameters) DeepCopy() *AdvancedSecurityParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AdvancedSecurityParameters.
func (*AdvancedSecurityParameters) DeepCopyInto ¶
func (in *AdvancedSecurityParameters) DeepCopyInto(out *AdvancedSecurityParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Branch ¶
type Branch struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.branch) || (has(self.initProvider) && has(self.initProvider.branch))",message="spec.forProvider.branch is a required parameter" Spec BranchSpec `json:"spec"` Status BranchStatus `json:"status,omitempty"` }
Branch is the Schema for the Branchs API. Creates and manages branches within GitHub repositories. +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].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:resource:scope=Cluster,categories={crossplane,managed,github}
func (*Branch) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Branch.
func (*Branch) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Branch) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Branch) GetCondition ¶
func (mg *Branch) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this Branch.
func (*Branch) GetConnectionDetailsMapping ¶
GetConnectionDetailsMapping for this Branch
func (*Branch) GetDeletionPolicy ¶
func (mg *Branch) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this Branch.
func (*Branch) GetInitParameters ¶ added in v0.5.0
GetInitParameters of this Branch
func (*Branch) GetManagementPolicies ¶ added in v0.5.0
func (mg *Branch) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this Branch.
func (*Branch) GetMergedParameters ¶ added in v0.5.0
GetInitParameters of this Branch
func (*Branch) GetObservation ¶
GetObservation of this Branch
func (*Branch) GetParameters ¶
GetParameters of this Branch
func (*Branch) GetProviderConfigReference ¶
GetProviderConfigReference of this Branch.
func (*Branch) GetPublishConnectionDetailsTo ¶
func (mg *Branch) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this Branch.
func (*Branch) GetTerraformResourceType ¶
GetTerraformResourceType returns Terraform resource type for this Branch
func (*Branch) GetTerraformSchemaVersion ¶
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*Branch) GetWriteConnectionSecretToReference ¶
func (mg *Branch) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this Branch.
func (*Branch) Hub ¶ added in v0.5.0
func (tr *Branch) Hub()
Hub marks this type as a conversion hub.
func (*Branch) LateInitialize ¶
LateInitialize this Branch using its observed tfState. returns True if there are any spec changes for the resource.
func (*Branch) ResolveReferences ¶
ResolveReferences of this Branch.
func (*Branch) SetConditions ¶
SetConditions of this Branch.
func (*Branch) SetDeletionPolicy ¶
func (mg *Branch) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this Branch.
func (*Branch) SetManagementPolicies ¶ added in v0.5.0
func (mg *Branch) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this Branch.
func (*Branch) SetObservation ¶
SetObservation for this Branch
func (*Branch) SetParameters ¶
SetParameters for this Branch
func (*Branch) SetProviderConfigReference ¶
SetProviderConfigReference of this Branch.
func (*Branch) SetPublishConnectionDetailsTo ¶
func (mg *Branch) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this Branch.
func (*Branch) SetWriteConnectionSecretToReference ¶
func (mg *Branch) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this Branch.
type BranchInitParameters ¶ added in v0.5.0
type BranchInitParameters struct { // The repository branch to create. // The repository branch to create. Branch *string `json:"branch,omitempty" tf:"branch,omitempty"` // The GitHub repository name. // The GitHub repository name. // +crossplane:generate:reference:type=github.com/coopnorge/provider-github/apis/repo/v1alpha1.Repository Repository *string `json:"repository,omitempty" tf:"repository,omitempty"` // Reference to a Repository in repo to populate repository. // +kubebuilder:validation:Optional RepositoryRef *v1.Reference `json:"repositoryRef,omitempty" tf:"-"` // Selector for a Repository in repo to populate repository. // +kubebuilder:validation:Optional RepositorySelector *v1.Selector `json:"repositorySelector,omitempty" tf:"-"` // The branch name to start from. Defaults to main. // The branch name to start from. Defaults to 'main'. SourceBranch *string `json:"sourceBranch,omitempty" tf:"source_branch,omitempty"` // The commit hash to start from. Defaults to the tip of source_branch. If provided, source_branch is ignored. // The commit hash to start from. Defaults to the tip of 'source_branch'. If provided, 'source_branch' is ignored. SourceSha *string `json:"sourceSha,omitempty" tf:"source_sha,omitempty"` }
func (*BranchInitParameters) DeepCopy ¶ added in v0.5.0
func (in *BranchInitParameters) DeepCopy() *BranchInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BranchInitParameters.
func (*BranchInitParameters) DeepCopyInto ¶ added in v0.5.0
func (in *BranchInitParameters) DeepCopyInto(out *BranchInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BranchList ¶
type BranchList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Branch `json:"items"` }
BranchList contains a list of Branchs
func (*BranchList) DeepCopy ¶
func (in *BranchList) DeepCopy() *BranchList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BranchList.
func (*BranchList) DeepCopyInto ¶
func (in *BranchList) DeepCopyInto(out *BranchList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*BranchList) DeepCopyObject ¶
func (in *BranchList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*BranchList) GetItems ¶
func (l *BranchList) GetItems() []resource.Managed
GetItems of this BranchList.
type BranchObservation ¶
type BranchObservation struct { // The repository branch to create. // The repository branch to create. Branch *string `json:"branch,omitempty" tf:"branch,omitempty"` // An etag representing the Branch object. // An etag representing the Branch object. Etag *string `json:"etag,omitempty" tf:"etag,omitempty"` ID *string `json:"id,omitempty" tf:"id,omitempty"` // A string representing a branch reference, in the form of refs/heads/<branch>. // A string representing a branch reference, in the form of 'refs/heads/<branch>'. Ref *string `json:"ref,omitempty" tf:"ref,omitempty"` // The GitHub repository name. // The GitHub repository name. Repository *string `json:"repository,omitempty" tf:"repository,omitempty"` // A string storing the reference's HEAD commit's SHA1. // A string storing the reference's HEAD commit's SHA1. Sha *string `json:"sha,omitempty" tf:"sha,omitempty"` // The branch name to start from. Defaults to main. // The branch name to start from. Defaults to 'main'. SourceBranch *string `json:"sourceBranch,omitempty" tf:"source_branch,omitempty"` // The commit hash to start from. Defaults to the tip of source_branch. If provided, source_branch is ignored. // The commit hash to start from. Defaults to the tip of 'source_branch'. If provided, 'source_branch' is ignored. SourceSha *string `json:"sourceSha,omitempty" tf:"source_sha,omitempty"` }
func (*BranchObservation) DeepCopy ¶
func (in *BranchObservation) DeepCopy() *BranchObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BranchObservation.
func (*BranchObservation) DeepCopyInto ¶
func (in *BranchObservation) DeepCopyInto(out *BranchObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BranchParameters ¶
type BranchParameters struct { // The repository branch to create. // The repository branch to create. // +kubebuilder:validation:Optional Branch *string `json:"branch,omitempty" tf:"branch,omitempty"` // The GitHub repository name. // The GitHub repository name. // +crossplane:generate:reference:type=github.com/coopnorge/provider-github/apis/repo/v1alpha1.Repository // +kubebuilder:validation:Optional Repository *string `json:"repository,omitempty" tf:"repository,omitempty"` // Reference to a Repository in repo to populate repository. // +kubebuilder:validation:Optional RepositoryRef *v1.Reference `json:"repositoryRef,omitempty" tf:"-"` // Selector for a Repository in repo to populate repository. // +kubebuilder:validation:Optional RepositorySelector *v1.Selector `json:"repositorySelector,omitempty" tf:"-"` // The branch name to start from. Defaults to main. // The branch name to start from. Defaults to 'main'. // +kubebuilder:validation:Optional SourceBranch *string `json:"sourceBranch,omitempty" tf:"source_branch,omitempty"` // The commit hash to start from. Defaults to the tip of source_branch. If provided, source_branch is ignored. // The commit hash to start from. Defaults to the tip of 'source_branch'. If provided, 'source_branch' is ignored. // +kubebuilder:validation:Optional SourceSha *string `json:"sourceSha,omitempty" tf:"source_sha,omitempty"` }
func (*BranchParameters) DeepCopy ¶
func (in *BranchParameters) DeepCopy() *BranchParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BranchParameters.
func (*BranchParameters) DeepCopyInto ¶
func (in *BranchParameters) DeepCopyInto(out *BranchParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BranchProtection ¶
type BranchProtection struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.pattern) || (has(self.initProvider) && has(self.initProvider.pattern))",message="spec.forProvider.pattern is a required parameter" Spec BranchProtectionSpec `json:"spec"` Status BranchProtectionStatus `json:"status,omitempty"` }
BranchProtection is the Schema for the BranchProtections API. Protects a GitHub branch. +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].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:resource:scope=Cluster,categories={crossplane,managed,github}
func (*BranchProtection) DeepCopy ¶
func (in *BranchProtection) DeepCopy() *BranchProtection
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BranchProtection.
func (*BranchProtection) DeepCopyInto ¶
func (in *BranchProtection) DeepCopyInto(out *BranchProtection)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*BranchProtection) DeepCopyObject ¶
func (in *BranchProtection) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*BranchProtection) GetCondition ¶
func (mg *BranchProtection) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this BranchProtection.
func (*BranchProtection) GetConnectionDetailsMapping ¶
func (tr *BranchProtection) GetConnectionDetailsMapping() map[string]string
GetConnectionDetailsMapping for this BranchProtection
func (*BranchProtection) GetDeletionPolicy ¶
func (mg *BranchProtection) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this BranchProtection.
func (*BranchProtection) GetID ¶
func (tr *BranchProtection) GetID() string
GetID returns ID of underlying Terraform resource of this BranchProtection
func (*BranchProtection) GetInitParameters ¶ added in v0.5.0
func (tr *BranchProtection) GetInitParameters() (map[string]any, error)
GetInitParameters of this BranchProtection
func (*BranchProtection) GetManagementPolicies ¶ added in v0.5.0
func (mg *BranchProtection) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this BranchProtection.
func (*BranchProtection) GetMergedParameters ¶ added in v0.5.0
func (tr *BranchProtection) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
GetInitParameters of this BranchProtection
func (*BranchProtection) GetObservation ¶
func (tr *BranchProtection) GetObservation() (map[string]any, error)
GetObservation of this BranchProtection
func (*BranchProtection) GetParameters ¶
func (tr *BranchProtection) GetParameters() (map[string]any, error)
GetParameters of this BranchProtection
func (*BranchProtection) GetProviderConfigReference ¶
func (mg *BranchProtection) GetProviderConfigReference() *xpv1.Reference
GetProviderConfigReference of this BranchProtection.
func (*BranchProtection) GetPublishConnectionDetailsTo ¶
func (mg *BranchProtection) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this BranchProtection.
func (*BranchProtection) GetTerraformResourceType ¶
func (mg *BranchProtection) GetTerraformResourceType() string
GetTerraformResourceType returns Terraform resource type for this BranchProtection
func (*BranchProtection) GetTerraformSchemaVersion ¶
func (tr *BranchProtection) GetTerraformSchemaVersion() int
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*BranchProtection) GetWriteConnectionSecretToReference ¶
func (mg *BranchProtection) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this BranchProtection.
func (*BranchProtection) Hub ¶ added in v0.5.0
func (tr *BranchProtection) Hub()
Hub marks this type as a conversion hub.
func (*BranchProtection) LateInitialize ¶
func (tr *BranchProtection) LateInitialize(attrs []byte) (bool, error)
LateInitialize this BranchProtection using its observed tfState. returns True if there are any spec changes for the resource.
func (*BranchProtection) ResolveReferences ¶
ResolveReferences of this BranchProtection.
func (*BranchProtection) SetConditions ¶
func (mg *BranchProtection) SetConditions(c ...xpv1.Condition)
SetConditions of this BranchProtection.
func (*BranchProtection) SetDeletionPolicy ¶
func (mg *BranchProtection) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this BranchProtection.
func (*BranchProtection) SetManagementPolicies ¶ added in v0.5.0
func (mg *BranchProtection) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this BranchProtection.
func (*BranchProtection) SetObservation ¶
func (tr *BranchProtection) SetObservation(obs map[string]any) error
SetObservation for this BranchProtection
func (*BranchProtection) SetParameters ¶
func (tr *BranchProtection) SetParameters(params map[string]any) error
SetParameters for this BranchProtection
func (*BranchProtection) SetProviderConfigReference ¶
func (mg *BranchProtection) SetProviderConfigReference(r *xpv1.Reference)
SetProviderConfigReference of this BranchProtection.
func (*BranchProtection) SetPublishConnectionDetailsTo ¶
func (mg *BranchProtection) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this BranchProtection.
func (*BranchProtection) SetWriteConnectionSecretToReference ¶
func (mg *BranchProtection) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this BranchProtection.
type BranchProtectionInitParameters ¶ added in v0.5.0
type BranchProtectionInitParameters struct { // Boolean, setting this to true to allow the branch to be deleted. // Setting this to 'true' to allow the branch to be deleted. AllowsDeletions *bool `json:"allowsDeletions,omitempty" tf:"allows_deletions,omitempty"` // Boolean, setting this to true to allow force pushes on the branch to everyone. Set it to false if you specify force_push_bypassers. // Setting this to 'true' to allow force pushes on the branch. AllowsForcePushes *bool `json:"allowsForcePushes,omitempty" tf:"allows_force_pushes,omitempty"` // Boolean, setting this to true enforces status checks for repository administrators. // Setting this to 'true' enforces status checks for repository administrators. EnforceAdmins *bool `json:"enforceAdmins,omitempty" tf:"enforce_admins,omitempty"` // The list of actor Names/IDs that are allowed to bypass force push restrictions. Actor names must either begin with a "/" for users or the organization name followed by a "/" for teams. If the list is not empty, allows_force_pushes should be set to false. // The list of actor Names/IDs that are allowed to bypass force push restrictions. Actor names must either begin with a '/' for users or the organization name followed by a '/' for teams. // +listType=set ForcePushBypassers []*string `json:"forcePushBypassers,omitempty" tf:"force_push_bypassers,omitempty"` // Boolean, Setting this to true will make the branch read-only and preventing any pushes to it. Defaults to false // Setting this to 'true' will make the branch read-only and preventing any pushes to it. LockBranch *bool `json:"lockBranch,omitempty" tf:"lock_branch,omitempty"` // Identifies the protection rule pattern. // Identifies the protection rule pattern. Pattern *string `json:"pattern,omitempty" tf:"pattern,omitempty"` // The name or node ID of the repository associated with this branch protection rule. // The name or node ID of the repository associated with this branch protection rule. // +crossplane:generate:reference:type=github.com/coopnorge/provider-github/apis/repo/v1alpha1.Repository RepositoryID *string `json:"repositoryId,omitempty" tf:"repository_id,omitempty"` // Reference to a Repository in repo to populate repositoryId. // +kubebuilder:validation:Optional RepositoryIDRef *v1.Reference `json:"repositoryIdRef,omitempty" tf:"-"` // Selector for a Repository in repo to populate repositoryId. // +kubebuilder:validation:Optional RepositoryIDSelector *v1.Selector `json:"repositoryIdSelector,omitempty" tf:"-"` // Boolean, setting this to true requires all conversations on code must be resolved before a pull request can be merged. // Setting this to 'true' requires all conversations on code must be resolved before a pull request can be merged. RequireConversationResolution *bool `json:"requireConversationResolution,omitempty" tf:"require_conversation_resolution,omitempty"` // Boolean, setting this to true requires all commits to be signed with GPG. // Setting this to 'true' requires all commits to be signed with GPG. RequireSignedCommits *bool `json:"requireSignedCommits,omitempty" tf:"require_signed_commits,omitempty"` // Boolean, setting this to true enforces a linear commit Git history, which prevents anyone from pushing merge commits to a branch // Setting this to 'true' enforces a linear commit Git history, which prevents anyone from pushing merge commits to a branch. RequiredLinearHistory *bool `json:"requiredLinearHistory,omitempty" tf:"required_linear_history,omitempty"` // Enforce restrictions for pull request reviews. See Required Pull Request Reviews below for details. // Enforce restrictions for pull request reviews. RequiredPullRequestReviews []RequiredPullRequestReviewsInitParameters `json:"requiredPullRequestReviews,omitempty" tf:"required_pull_request_reviews,omitempty"` // Enforce restrictions for required status checks. See Required Status Checks below for details. // Enforce restrictions for required status checks. RequiredStatusChecks []RequiredStatusChecksInitParameters `json:"requiredStatusChecks,omitempty" tf:"required_status_checks,omitempty"` // Restrict pushes to matching branches. See Restrict Pushes below for details. // Restrict who can push to matching branches. RestrictPushes []RestrictPushesInitParameters `json:"restrictPushes,omitempty" tf:"restrict_pushes,omitempty"` }
func (*BranchProtectionInitParameters) DeepCopy ¶ added in v0.5.0
func (in *BranchProtectionInitParameters) DeepCopy() *BranchProtectionInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BranchProtectionInitParameters.
func (*BranchProtectionInitParameters) DeepCopyInto ¶ added in v0.5.0
func (in *BranchProtectionInitParameters) DeepCopyInto(out *BranchProtectionInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BranchProtectionList ¶
type BranchProtectionList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []BranchProtection `json:"items"` }
BranchProtectionList contains a list of BranchProtections
func (*BranchProtectionList) DeepCopy ¶
func (in *BranchProtectionList) DeepCopy() *BranchProtectionList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BranchProtectionList.
func (*BranchProtectionList) DeepCopyInto ¶
func (in *BranchProtectionList) DeepCopyInto(out *BranchProtectionList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*BranchProtectionList) DeepCopyObject ¶
func (in *BranchProtectionList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*BranchProtectionList) GetItems ¶
func (l *BranchProtectionList) GetItems() []resource.Managed
GetItems of this BranchProtectionList.
type BranchProtectionObservation ¶
type BranchProtectionObservation struct { // Boolean, setting this to true to allow the branch to be deleted. // Setting this to 'true' to allow the branch to be deleted. AllowsDeletions *bool `json:"allowsDeletions,omitempty" tf:"allows_deletions,omitempty"` // Boolean, setting this to true to allow force pushes on the branch to everyone. Set it to false if you specify force_push_bypassers. // Setting this to 'true' to allow force pushes on the branch. AllowsForcePushes *bool `json:"allowsForcePushes,omitempty" tf:"allows_force_pushes,omitempty"` // Boolean, setting this to true enforces status checks for repository administrators. // Setting this to 'true' enforces status checks for repository administrators. EnforceAdmins *bool `json:"enforceAdmins,omitempty" tf:"enforce_admins,omitempty"` // The list of actor Names/IDs that are allowed to bypass force push restrictions. Actor names must either begin with a "/" for users or the organization name followed by a "/" for teams. If the list is not empty, allows_force_pushes should be set to false. // The list of actor Names/IDs that are allowed to bypass force push restrictions. Actor names must either begin with a '/' for users or the organization name followed by a '/' for teams. // +listType=set ForcePushBypassers []*string `json:"forcePushBypassers,omitempty" tf:"force_push_bypassers,omitempty"` ID *string `json:"id,omitempty" tf:"id,omitempty"` // Boolean, Setting this to true will make the branch read-only and preventing any pushes to it. Defaults to false // Setting this to 'true' will make the branch read-only and preventing any pushes to it. LockBranch *bool `json:"lockBranch,omitempty" tf:"lock_branch,omitempty"` // Identifies the protection rule pattern. // Identifies the protection rule pattern. Pattern *string `json:"pattern,omitempty" tf:"pattern,omitempty"` // The name or node ID of the repository associated with this branch protection rule. // The name or node ID of the repository associated with this branch protection rule. RepositoryID *string `json:"repositoryId,omitempty" tf:"repository_id,omitempty"` // Boolean, setting this to true requires all conversations on code must be resolved before a pull request can be merged. // Setting this to 'true' requires all conversations on code must be resolved before a pull request can be merged. RequireConversationResolution *bool `json:"requireConversationResolution,omitempty" tf:"require_conversation_resolution,omitempty"` // Boolean, setting this to true requires all commits to be signed with GPG. // Setting this to 'true' requires all commits to be signed with GPG. RequireSignedCommits *bool `json:"requireSignedCommits,omitempty" tf:"require_signed_commits,omitempty"` // Boolean, setting this to true enforces a linear commit Git history, which prevents anyone from pushing merge commits to a branch // Setting this to 'true' enforces a linear commit Git history, which prevents anyone from pushing merge commits to a branch. RequiredLinearHistory *bool `json:"requiredLinearHistory,omitempty" tf:"required_linear_history,omitempty"` // Enforce restrictions for pull request reviews. See Required Pull Request Reviews below for details. // Enforce restrictions for pull request reviews. RequiredPullRequestReviews []RequiredPullRequestReviewsObservation `json:"requiredPullRequestReviews,omitempty" tf:"required_pull_request_reviews,omitempty"` // Enforce restrictions for required status checks. See Required Status Checks below for details. // Enforce restrictions for required status checks. RequiredStatusChecks []RequiredStatusChecksObservation `json:"requiredStatusChecks,omitempty" tf:"required_status_checks,omitempty"` // Restrict pushes to matching branches. See Restrict Pushes below for details. // Restrict who can push to matching branches. RestrictPushes []RestrictPushesObservation `json:"restrictPushes,omitempty" tf:"restrict_pushes,omitempty"` }
func (*BranchProtectionObservation) DeepCopy ¶
func (in *BranchProtectionObservation) DeepCopy() *BranchProtectionObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BranchProtectionObservation.
func (*BranchProtectionObservation) DeepCopyInto ¶
func (in *BranchProtectionObservation) DeepCopyInto(out *BranchProtectionObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BranchProtectionParameters ¶
type BranchProtectionParameters struct { // Boolean, setting this to true to allow the branch to be deleted. // Setting this to 'true' to allow the branch to be deleted. // +kubebuilder:validation:Optional AllowsDeletions *bool `json:"allowsDeletions,omitempty" tf:"allows_deletions,omitempty"` // Boolean, setting this to true to allow force pushes on the branch to everyone. Set it to false if you specify force_push_bypassers. // Setting this to 'true' to allow force pushes on the branch. // +kubebuilder:validation:Optional AllowsForcePushes *bool `json:"allowsForcePushes,omitempty" tf:"allows_force_pushes,omitempty"` // Boolean, setting this to true enforces status checks for repository administrators. // Setting this to 'true' enforces status checks for repository administrators. // +kubebuilder:validation:Optional EnforceAdmins *bool `json:"enforceAdmins,omitempty" tf:"enforce_admins,omitempty"` // The list of actor Names/IDs that are allowed to bypass force push restrictions. Actor names must either begin with a "/" for users or the organization name followed by a "/" for teams. If the list is not empty, allows_force_pushes should be set to false. // The list of actor Names/IDs that are allowed to bypass force push restrictions. Actor names must either begin with a '/' for users or the organization name followed by a '/' for teams. // +kubebuilder:validation:Optional // +listType=set ForcePushBypassers []*string `json:"forcePushBypassers,omitempty" tf:"force_push_bypassers,omitempty"` // Boolean, Setting this to true will make the branch read-only and preventing any pushes to it. Defaults to false // Setting this to 'true' will make the branch read-only and preventing any pushes to it. // +kubebuilder:validation:Optional LockBranch *bool `json:"lockBranch,omitempty" tf:"lock_branch,omitempty"` // Identifies the protection rule pattern. // Identifies the protection rule pattern. // +kubebuilder:validation:Optional Pattern *string `json:"pattern,omitempty" tf:"pattern,omitempty"` // The name or node ID of the repository associated with this branch protection rule. // The name or node ID of the repository associated with this branch protection rule. // +crossplane:generate:reference:type=github.com/coopnorge/provider-github/apis/repo/v1alpha1.Repository // +kubebuilder:validation:Optional RepositoryID *string `json:"repositoryId,omitempty" tf:"repository_id,omitempty"` // Reference to a Repository in repo to populate repositoryId. // +kubebuilder:validation:Optional RepositoryIDRef *v1.Reference `json:"repositoryIdRef,omitempty" tf:"-"` // Selector for a Repository in repo to populate repositoryId. // +kubebuilder:validation:Optional RepositoryIDSelector *v1.Selector `json:"repositoryIdSelector,omitempty" tf:"-"` // Boolean, setting this to true requires all conversations on code must be resolved before a pull request can be merged. // Setting this to 'true' requires all conversations on code must be resolved before a pull request can be merged. // +kubebuilder:validation:Optional RequireConversationResolution *bool `json:"requireConversationResolution,omitempty" tf:"require_conversation_resolution,omitempty"` // Boolean, setting this to true requires all commits to be signed with GPG. // Setting this to 'true' requires all commits to be signed with GPG. // +kubebuilder:validation:Optional RequireSignedCommits *bool `json:"requireSignedCommits,omitempty" tf:"require_signed_commits,omitempty"` // Boolean, setting this to true enforces a linear commit Git history, which prevents anyone from pushing merge commits to a branch // Setting this to 'true' enforces a linear commit Git history, which prevents anyone from pushing merge commits to a branch. // +kubebuilder:validation:Optional RequiredLinearHistory *bool `json:"requiredLinearHistory,omitempty" tf:"required_linear_history,omitempty"` // Enforce restrictions for pull request reviews. See Required Pull Request Reviews below for details. // Enforce restrictions for pull request reviews. // +kubebuilder:validation:Optional RequiredPullRequestReviews []RequiredPullRequestReviewsParameters `json:"requiredPullRequestReviews,omitempty" tf:"required_pull_request_reviews,omitempty"` // Enforce restrictions for required status checks. See Required Status Checks below for details. // Enforce restrictions for required status checks. // +kubebuilder:validation:Optional RequiredStatusChecks []RequiredStatusChecksParameters `json:"requiredStatusChecks,omitempty" tf:"required_status_checks,omitempty"` // Restrict pushes to matching branches. See Restrict Pushes below for details. // Restrict who can push to matching branches. // +kubebuilder:validation:Optional RestrictPushes []RestrictPushesParameters `json:"restrictPushes,omitempty" tf:"restrict_pushes,omitempty"` }
func (*BranchProtectionParameters) DeepCopy ¶
func (in *BranchProtectionParameters) DeepCopy() *BranchProtectionParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BranchProtectionParameters.
func (*BranchProtectionParameters) DeepCopyInto ¶
func (in *BranchProtectionParameters) DeepCopyInto(out *BranchProtectionParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BranchProtectionSpec ¶
type BranchProtectionSpec struct { v1.ResourceSpec `json:",inline"` ForProvider BranchProtectionParameters `json:"forProvider"` // THIS IS A BETA FIELD. It will be honored // unless the Management Policies feature flag is disabled. // InitProvider holds the same fields as ForProvider, with the exception // of Identifier and other resource reference fields. The fields that are // in InitProvider are merged into ForProvider when the resource is created. // The same fields are also added to the terraform ignore_changes hook, to // avoid updating them after creation. This is useful for fields that are // required on creation, but we do not desire to update them after creation, // for example because of an external controller is managing them, like an // autoscaler. InitProvider BranchProtectionInitParameters `json:"initProvider,omitempty"` }
BranchProtectionSpec defines the desired state of BranchProtection
func (*BranchProtectionSpec) DeepCopy ¶
func (in *BranchProtectionSpec) DeepCopy() *BranchProtectionSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BranchProtectionSpec.
func (*BranchProtectionSpec) DeepCopyInto ¶
func (in *BranchProtectionSpec) DeepCopyInto(out *BranchProtectionSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BranchProtectionStatus ¶
type BranchProtectionStatus struct { v1.ResourceStatus `json:",inline"` AtProvider BranchProtectionObservation `json:"atProvider,omitempty"` }
BranchProtectionStatus defines the observed state of BranchProtection.
func (*BranchProtectionStatus) DeepCopy ¶
func (in *BranchProtectionStatus) DeepCopy() *BranchProtectionStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BranchProtectionStatus.
func (*BranchProtectionStatus) DeepCopyInto ¶
func (in *BranchProtectionStatus) DeepCopyInto(out *BranchProtectionStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BranchSpec ¶
type BranchSpec struct { v1.ResourceSpec `json:",inline"` ForProvider BranchParameters `json:"forProvider"` // THIS IS A BETA FIELD. It will be honored // unless the Management Policies feature flag is disabled. // InitProvider holds the same fields as ForProvider, with the exception // of Identifier and other resource reference fields. The fields that are // in InitProvider are merged into ForProvider when the resource is created. // The same fields are also added to the terraform ignore_changes hook, to // avoid updating them after creation. This is useful for fields that are // required on creation, but we do not desire to update them after creation, // for example because of an external controller is managing them, like an // autoscaler. InitProvider BranchInitParameters `json:"initProvider,omitempty"` }
BranchSpec defines the desired state of Branch
func (*BranchSpec) DeepCopy ¶
func (in *BranchSpec) DeepCopy() *BranchSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BranchSpec.
func (*BranchSpec) DeepCopyInto ¶
func (in *BranchSpec) DeepCopyInto(out *BranchSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BranchStatus ¶
type BranchStatus struct { v1.ResourceStatus `json:",inline"` AtProvider BranchObservation `json:"atProvider,omitempty"` }
BranchStatus defines the observed state of Branch.
func (*BranchStatus) DeepCopy ¶
func (in *BranchStatus) DeepCopy() *BranchStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BranchStatus.
func (*BranchStatus) DeepCopyInto ¶
func (in *BranchStatus) DeepCopyInto(out *BranchStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ConfigurationInitParameters ¶ added in v0.9.0
type ConfigurationInitParameters struct { // The content type for the payload. Valid values are either form or json. // The content type for the payload. Valid values are either 'form' or 'json'. ContentType *string `json:"contentType,omitempty" tf:"content_type,omitempty"` // Insecure SSL boolean toggle. Defaults to false. // Insecure SSL boolean toggle. Defaults to 'false'. InsecureSSL *bool `json:"insecureSsl,omitempty" tf:"insecure_ssl,omitempty"` // The shared secret for the webhook. See API documentation. // The shared secret for the webhook SecretSecretRef *v1.SecretKeySelector `json:"secretSecretRef,omitempty" tf:"-"` // The URL of the webhook. // The URL of the webhook. URLSecretRef v1.SecretKeySelector `json:"urlSecretRef" tf:"-"` }
func (*ConfigurationInitParameters) DeepCopy ¶ added in v0.9.0
func (in *ConfigurationInitParameters) DeepCopy() *ConfigurationInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigurationInitParameters.
func (*ConfigurationInitParameters) DeepCopyInto ¶ added in v0.9.0
func (in *ConfigurationInitParameters) DeepCopyInto(out *ConfigurationInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ConfigurationObservation ¶ added in v0.9.0
type ConfigurationObservation struct { // The content type for the payload. Valid values are either form or json. // The content type for the payload. Valid values are either 'form' or 'json'. ContentType *string `json:"contentType,omitempty" tf:"content_type,omitempty"` // Insecure SSL boolean toggle. Defaults to false. // Insecure SSL boolean toggle. Defaults to 'false'. InsecureSSL *bool `json:"insecureSsl,omitempty" tf:"insecure_ssl,omitempty"` }
func (*ConfigurationObservation) DeepCopy ¶ added in v0.9.0
func (in *ConfigurationObservation) DeepCopy() *ConfigurationObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigurationObservation.
func (*ConfigurationObservation) DeepCopyInto ¶ added in v0.9.0
func (in *ConfigurationObservation) DeepCopyInto(out *ConfigurationObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ConfigurationParameters ¶ added in v0.9.0
type ConfigurationParameters struct { // The content type for the payload. Valid values are either form or json. // The content type for the payload. Valid values are either 'form' or 'json'. // +kubebuilder:validation:Optional ContentType *string `json:"contentType,omitempty" tf:"content_type,omitempty"` // Insecure SSL boolean toggle. Defaults to false. // Insecure SSL boolean toggle. Defaults to 'false'. // +kubebuilder:validation:Optional InsecureSSL *bool `json:"insecureSsl,omitempty" tf:"insecure_ssl,omitempty"` // The shared secret for the webhook. See API documentation. // The shared secret for the webhook // +kubebuilder:validation:Optional SecretSecretRef *v1.SecretKeySelector `json:"secretSecretRef,omitempty" tf:"-"` // The URL of the webhook. // The URL of the webhook. // +kubebuilder:validation:Optional URLSecretRef v1.SecretKeySelector `json:"urlSecretRef" tf:"-"` }
func (*ConfigurationParameters) DeepCopy ¶ added in v0.9.0
func (in *ConfigurationParameters) DeepCopy() *ConfigurationParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigurationParameters.
func (*ConfigurationParameters) DeepCopyInto ¶ added in v0.9.0
func (in *ConfigurationParameters) DeepCopyInto(out *ConfigurationParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DefaultBranch ¶
type DefaultBranch struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec DefaultBranchSpec `json:"spec"` Status DefaultBranchStatus `json:"status,omitempty"` }
DefaultBranch is the Schema for the DefaultBranchs API. Provides a GitHub branch default for a given repository. +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].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:resource:scope=Cluster,categories={crossplane,managed,github}
func (*DefaultBranch) DeepCopy ¶
func (in *DefaultBranch) DeepCopy() *DefaultBranch
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DefaultBranch.
func (*DefaultBranch) DeepCopyInto ¶
func (in *DefaultBranch) DeepCopyInto(out *DefaultBranch)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DefaultBranch) DeepCopyObject ¶
func (in *DefaultBranch) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*DefaultBranch) GetCondition ¶
func (mg *DefaultBranch) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this DefaultBranch.
func (*DefaultBranch) GetConnectionDetailsMapping ¶
func (tr *DefaultBranch) GetConnectionDetailsMapping() map[string]string
GetConnectionDetailsMapping for this DefaultBranch
func (*DefaultBranch) GetDeletionPolicy ¶
func (mg *DefaultBranch) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this DefaultBranch.
func (*DefaultBranch) GetID ¶
func (tr *DefaultBranch) GetID() string
GetID returns ID of underlying Terraform resource of this DefaultBranch
func (*DefaultBranch) GetInitParameters ¶ added in v0.5.0
func (tr *DefaultBranch) GetInitParameters() (map[string]any, error)
GetInitParameters of this DefaultBranch
func (*DefaultBranch) GetManagementPolicies ¶ added in v0.5.0
func (mg *DefaultBranch) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this DefaultBranch.
func (*DefaultBranch) GetMergedParameters ¶ added in v0.5.0
func (tr *DefaultBranch) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
GetInitParameters of this DefaultBranch
func (*DefaultBranch) GetObservation ¶
func (tr *DefaultBranch) GetObservation() (map[string]any, error)
GetObservation of this DefaultBranch
func (*DefaultBranch) GetParameters ¶
func (tr *DefaultBranch) GetParameters() (map[string]any, error)
GetParameters of this DefaultBranch
func (*DefaultBranch) GetProviderConfigReference ¶
func (mg *DefaultBranch) GetProviderConfigReference() *xpv1.Reference
GetProviderConfigReference of this DefaultBranch.
func (*DefaultBranch) GetPublishConnectionDetailsTo ¶
func (mg *DefaultBranch) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this DefaultBranch.
func (*DefaultBranch) GetTerraformResourceType ¶
func (mg *DefaultBranch) GetTerraformResourceType() string
GetTerraformResourceType returns Terraform resource type for this DefaultBranch
func (*DefaultBranch) GetTerraformSchemaVersion ¶
func (tr *DefaultBranch) GetTerraformSchemaVersion() int
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*DefaultBranch) GetWriteConnectionSecretToReference ¶
func (mg *DefaultBranch) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this DefaultBranch.
func (*DefaultBranch) Hub ¶ added in v0.5.0
func (tr *DefaultBranch) Hub()
Hub marks this type as a conversion hub.
func (*DefaultBranch) LateInitialize ¶
func (tr *DefaultBranch) LateInitialize(attrs []byte) (bool, error)
LateInitialize this DefaultBranch using its observed tfState. returns True if there are any spec changes for the resource.
func (*DefaultBranch) ResolveReferences ¶
ResolveReferences of this DefaultBranch.
func (*DefaultBranch) SetConditions ¶
func (mg *DefaultBranch) SetConditions(c ...xpv1.Condition)
SetConditions of this DefaultBranch.
func (*DefaultBranch) SetDeletionPolicy ¶
func (mg *DefaultBranch) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this DefaultBranch.
func (*DefaultBranch) SetManagementPolicies ¶ added in v0.5.0
func (mg *DefaultBranch) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this DefaultBranch.
func (*DefaultBranch) SetObservation ¶
func (tr *DefaultBranch) SetObservation(obs map[string]any) error
SetObservation for this DefaultBranch
func (*DefaultBranch) SetParameters ¶
func (tr *DefaultBranch) SetParameters(params map[string]any) error
SetParameters for this DefaultBranch
func (*DefaultBranch) SetProviderConfigReference ¶
func (mg *DefaultBranch) SetProviderConfigReference(r *xpv1.Reference)
SetProviderConfigReference of this DefaultBranch.
func (*DefaultBranch) SetPublishConnectionDetailsTo ¶
func (mg *DefaultBranch) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this DefaultBranch.
func (*DefaultBranch) SetWriteConnectionSecretToReference ¶
func (mg *DefaultBranch) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this DefaultBranch.
type DefaultBranchInitParameters ¶ added in v0.5.0
type DefaultBranchInitParameters struct { // The branch (e.g. main) // The branch (e.g. 'main'). // +crossplane:generate:reference:type=github.com/coopnorge/provider-github/apis/repo/v1alpha1.Branch Branch *string `json:"branch,omitempty" tf:"branch,omitempty"` // Reference to a Branch in repo to populate branch. // +kubebuilder:validation:Optional BranchRef *v1.Reference `json:"branchRef,omitempty" tf:"-"` // Selector for a Branch in repo to populate branch. // +kubebuilder:validation:Optional BranchSelector *v1.Selector `json:"branchSelector,omitempty" tf:"-"` // Indicate if it should rename the branch rather than use an existing branch. Defaults to false. // Indicate if it should rename the branch rather than use an existing branch. Defaults to 'false'. Rename *bool `json:"rename,omitempty" tf:"rename,omitempty"` }
func (*DefaultBranchInitParameters) DeepCopy ¶ added in v0.5.0
func (in *DefaultBranchInitParameters) DeepCopy() *DefaultBranchInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DefaultBranchInitParameters.
func (*DefaultBranchInitParameters) DeepCopyInto ¶ added in v0.5.0
func (in *DefaultBranchInitParameters) DeepCopyInto(out *DefaultBranchInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DefaultBranchList ¶
type DefaultBranchList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []DefaultBranch `json:"items"` }
DefaultBranchList contains a list of DefaultBranchs
func (*DefaultBranchList) DeepCopy ¶
func (in *DefaultBranchList) DeepCopy() *DefaultBranchList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DefaultBranchList.
func (*DefaultBranchList) DeepCopyInto ¶
func (in *DefaultBranchList) DeepCopyInto(out *DefaultBranchList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DefaultBranchList) DeepCopyObject ¶
func (in *DefaultBranchList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*DefaultBranchList) GetItems ¶
func (l *DefaultBranchList) GetItems() []resource.Managed
GetItems of this DefaultBranchList.
type DefaultBranchObservation ¶
type DefaultBranchObservation struct { // The branch (e.g. main) // The branch (e.g. 'main'). Branch *string `json:"branch,omitempty" tf:"branch,omitempty"` Etag *string `json:"etag,omitempty" tf:"etag,omitempty"` ID *string `json:"id,omitempty" tf:"id,omitempty"` // Indicate if it should rename the branch rather than use an existing branch. Defaults to false. // Indicate if it should rename the branch rather than use an existing branch. Defaults to 'false'. Rename *bool `json:"rename,omitempty" tf:"rename,omitempty"` }
func (*DefaultBranchObservation) DeepCopy ¶
func (in *DefaultBranchObservation) DeepCopy() *DefaultBranchObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DefaultBranchObservation.
func (*DefaultBranchObservation) DeepCopyInto ¶
func (in *DefaultBranchObservation) DeepCopyInto(out *DefaultBranchObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DefaultBranchParameters ¶
type DefaultBranchParameters struct { // The branch (e.g. main) // The branch (e.g. 'main'). // +crossplane:generate:reference:type=github.com/coopnorge/provider-github/apis/repo/v1alpha1.Branch // +kubebuilder:validation:Optional Branch *string `json:"branch,omitempty" tf:"branch,omitempty"` // Reference to a Branch in repo to populate branch. // +kubebuilder:validation:Optional BranchRef *v1.Reference `json:"branchRef,omitempty" tf:"-"` // Selector for a Branch in repo to populate branch. // +kubebuilder:validation:Optional BranchSelector *v1.Selector `json:"branchSelector,omitempty" tf:"-"` // Indicate if it should rename the branch rather than use an existing branch. Defaults to false. // Indicate if it should rename the branch rather than use an existing branch. Defaults to 'false'. // +kubebuilder:validation:Optional Rename *bool `json:"rename,omitempty" tf:"rename,omitempty"` }
func (*DefaultBranchParameters) DeepCopy ¶
func (in *DefaultBranchParameters) DeepCopy() *DefaultBranchParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DefaultBranchParameters.
func (*DefaultBranchParameters) DeepCopyInto ¶
func (in *DefaultBranchParameters) DeepCopyInto(out *DefaultBranchParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DefaultBranchSpec ¶
type DefaultBranchSpec struct { v1.ResourceSpec `json:",inline"` ForProvider DefaultBranchParameters `json:"forProvider"` // THIS IS A BETA FIELD. It will be honored // unless the Management Policies feature flag is disabled. // InitProvider holds the same fields as ForProvider, with the exception // of Identifier and other resource reference fields. The fields that are // in InitProvider are merged into ForProvider when the resource is created. // The same fields are also added to the terraform ignore_changes hook, to // avoid updating them after creation. This is useful for fields that are // required on creation, but we do not desire to update them after creation, // for example because of an external controller is managing them, like an // autoscaler. InitProvider DefaultBranchInitParameters `json:"initProvider,omitempty"` }
DefaultBranchSpec defines the desired state of DefaultBranch
func (*DefaultBranchSpec) DeepCopy ¶
func (in *DefaultBranchSpec) DeepCopy() *DefaultBranchSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DefaultBranchSpec.
func (*DefaultBranchSpec) DeepCopyInto ¶
func (in *DefaultBranchSpec) DeepCopyInto(out *DefaultBranchSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DefaultBranchStatus ¶
type DefaultBranchStatus struct { v1.ResourceStatus `json:",inline"` AtProvider DefaultBranchObservation `json:"atProvider,omitempty"` }
DefaultBranchStatus defines the observed state of DefaultBranch.
func (*DefaultBranchStatus) DeepCopy ¶
func (in *DefaultBranchStatus) DeepCopy() *DefaultBranchStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DefaultBranchStatus.
func (*DefaultBranchStatus) DeepCopyInto ¶
func (in *DefaultBranchStatus) DeepCopyInto(out *DefaultBranchStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DeployKey ¶ added in v0.3.0
type DeployKey struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.keySecretRef)",message="spec.forProvider.keySecretRef is a required parameter" // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.title) || (has(self.initProvider) && has(self.initProvider.title))",message="spec.forProvider.title is a required parameter" Spec DeployKeySpec `json:"spec"` Status DeployKeyStatus `json:"status,omitempty"` }
DeployKey is the Schema for the DeployKeys API. Provides a GitHub repository deploy key resource. +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].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:resource:scope=Cluster,categories={crossplane,managed,github}
func (*DeployKey) DeepCopy ¶ added in v0.3.0
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeployKey.
func (*DeployKey) DeepCopyInto ¶ added in v0.3.0
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DeployKey) DeepCopyObject ¶ added in v0.3.0
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*DeployKey) GetCondition ¶ added in v0.3.0
func (mg *DeployKey) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this DeployKey.
func (*DeployKey) GetConnectionDetailsMapping ¶ added in v0.3.0
GetConnectionDetailsMapping for this DeployKey
func (*DeployKey) GetDeletionPolicy ¶ added in v0.3.0
func (mg *DeployKey) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this DeployKey.
func (*DeployKey) GetID ¶ added in v0.3.0
GetID returns ID of underlying Terraform resource of this DeployKey
func (*DeployKey) GetInitParameters ¶ added in v0.5.0
GetInitParameters of this DeployKey
func (*DeployKey) GetManagementPolicies ¶ added in v0.5.0
func (mg *DeployKey) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this DeployKey.
func (*DeployKey) GetMergedParameters ¶ added in v0.5.0
GetInitParameters of this DeployKey
func (*DeployKey) GetObservation ¶ added in v0.3.0
GetObservation of this DeployKey
func (*DeployKey) GetParameters ¶ added in v0.3.0
GetParameters of this DeployKey
func (*DeployKey) GetProviderConfigReference ¶ added in v0.3.0
GetProviderConfigReference of this DeployKey.
func (*DeployKey) GetPublishConnectionDetailsTo ¶ added in v0.3.0
func (mg *DeployKey) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this DeployKey.
func (*DeployKey) GetTerraformResourceType ¶ added in v0.3.0
GetTerraformResourceType returns Terraform resource type for this DeployKey
func (*DeployKey) GetTerraformSchemaVersion ¶ added in v0.3.0
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*DeployKey) GetWriteConnectionSecretToReference ¶ added in v0.3.0
func (mg *DeployKey) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this DeployKey.
func (*DeployKey) Hub ¶ added in v0.5.0
func (tr *DeployKey) Hub()
Hub marks this type as a conversion hub.
func (*DeployKey) LateInitialize ¶ added in v0.3.0
LateInitialize this DeployKey using its observed tfState. returns True if there are any spec changes for the resource.
func (*DeployKey) ResolveReferences ¶ added in v0.3.0
ResolveReferences of this DeployKey.
func (*DeployKey) SetConditions ¶ added in v0.3.0
SetConditions of this DeployKey.
func (*DeployKey) SetDeletionPolicy ¶ added in v0.3.0
func (mg *DeployKey) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this DeployKey.
func (*DeployKey) SetManagementPolicies ¶ added in v0.5.0
func (mg *DeployKey) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this DeployKey.
func (*DeployKey) SetObservation ¶ added in v0.3.0
SetObservation for this DeployKey
func (*DeployKey) SetParameters ¶ added in v0.3.0
SetParameters for this DeployKey
func (*DeployKey) SetProviderConfigReference ¶ added in v0.3.0
SetProviderConfigReference of this DeployKey.
func (*DeployKey) SetPublishConnectionDetailsTo ¶ added in v0.3.0
func (mg *DeployKey) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this DeployKey.
func (*DeployKey) SetWriteConnectionSecretToReference ¶ added in v0.3.0
func (mg *DeployKey) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this DeployKey.
type DeployKeyInitParameters ¶ added in v0.5.0
type DeployKeyInitParameters struct { // A SSH key. // A SSH key. KeySecretRef v1.SecretKeySelector `json:"keySecretRef" tf:"-"` // A boolean qualifying the key to be either read only or read/write. // A boolean qualifying the key to be either read only or read/write. ReadOnly *bool `json:"readOnly,omitempty" tf:"read_only,omitempty"` // Name of the GitHub repository. // Name of the GitHub repository. // +crossplane:generate:reference:type=github.com/coopnorge/provider-github/apis/repo/v1alpha1.Repository Repository *string `json:"repository,omitempty" tf:"repository,omitempty"` // Reference to a Repository in repo to populate repository. // +kubebuilder:validation:Optional RepositoryRef *v1.Reference `json:"repositoryRef,omitempty" tf:"-"` // Selector for a Repository in repo to populate repository. // +kubebuilder:validation:Optional RepositorySelector *v1.Selector `json:"repositorySelector,omitempty" tf:"-"` // A title. // A title. Title *string `json:"title,omitempty" tf:"title,omitempty"` }
func (*DeployKeyInitParameters) DeepCopy ¶ added in v0.5.0
func (in *DeployKeyInitParameters) DeepCopy() *DeployKeyInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeployKeyInitParameters.
func (*DeployKeyInitParameters) DeepCopyInto ¶ added in v0.5.0
func (in *DeployKeyInitParameters) DeepCopyInto(out *DeployKeyInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DeployKeyList ¶ added in v0.3.0
type DeployKeyList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []DeployKey `json:"items"` }
DeployKeyList contains a list of DeployKeys
func (*DeployKeyList) DeepCopy ¶ added in v0.3.0
func (in *DeployKeyList) DeepCopy() *DeployKeyList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeployKeyList.
func (*DeployKeyList) DeepCopyInto ¶ added in v0.3.0
func (in *DeployKeyList) DeepCopyInto(out *DeployKeyList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DeployKeyList) DeepCopyObject ¶ added in v0.3.0
func (in *DeployKeyList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*DeployKeyList) GetItems ¶ added in v0.3.0
func (l *DeployKeyList) GetItems() []resource.Managed
GetItems of this DeployKeyList.
type DeployKeyObservation ¶ added in v0.3.0
type DeployKeyObservation struct { Etag *string `json:"etag,omitempty" tf:"etag,omitempty"` ID *string `json:"id,omitempty" tf:"id,omitempty"` // A boolean qualifying the key to be either read only or read/write. // A boolean qualifying the key to be either read only or read/write. ReadOnly *bool `json:"readOnly,omitempty" tf:"read_only,omitempty"` // Name of the GitHub repository. // Name of the GitHub repository. Repository *string `json:"repository,omitempty" tf:"repository,omitempty"` // A title. // A title. Title *string `json:"title,omitempty" tf:"title,omitempty"` }
func (*DeployKeyObservation) DeepCopy ¶ added in v0.3.0
func (in *DeployKeyObservation) DeepCopy() *DeployKeyObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeployKeyObservation.
func (*DeployKeyObservation) DeepCopyInto ¶ added in v0.3.0
func (in *DeployKeyObservation) DeepCopyInto(out *DeployKeyObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DeployKeyParameters ¶ added in v0.3.0
type DeployKeyParameters struct { // A SSH key. // A SSH key. // +kubebuilder:validation:Optional KeySecretRef v1.SecretKeySelector `json:"keySecretRef" tf:"-"` // A boolean qualifying the key to be either read only or read/write. // A boolean qualifying the key to be either read only or read/write. // +kubebuilder:validation:Optional ReadOnly *bool `json:"readOnly,omitempty" tf:"read_only,omitempty"` // Name of the GitHub repository. // Name of the GitHub repository. // +crossplane:generate:reference:type=github.com/coopnorge/provider-github/apis/repo/v1alpha1.Repository // +kubebuilder:validation:Optional Repository *string `json:"repository,omitempty" tf:"repository,omitempty"` // Reference to a Repository in repo to populate repository. // +kubebuilder:validation:Optional RepositoryRef *v1.Reference `json:"repositoryRef,omitempty" tf:"-"` // Selector for a Repository in repo to populate repository. // +kubebuilder:validation:Optional RepositorySelector *v1.Selector `json:"repositorySelector,omitempty" tf:"-"` // A title. // A title. // +kubebuilder:validation:Optional Title *string `json:"title,omitempty" tf:"title,omitempty"` }
func (*DeployKeyParameters) DeepCopy ¶ added in v0.3.0
func (in *DeployKeyParameters) DeepCopy() *DeployKeyParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeployKeyParameters.
func (*DeployKeyParameters) DeepCopyInto ¶ added in v0.3.0
func (in *DeployKeyParameters) DeepCopyInto(out *DeployKeyParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DeployKeySpec ¶ added in v0.3.0
type DeployKeySpec struct { v1.ResourceSpec `json:",inline"` ForProvider DeployKeyParameters `json:"forProvider"` // THIS IS A BETA FIELD. It will be honored // unless the Management Policies feature flag is disabled. // InitProvider holds the same fields as ForProvider, with the exception // of Identifier and other resource reference fields. The fields that are // in InitProvider are merged into ForProvider when the resource is created. // The same fields are also added to the terraform ignore_changes hook, to // avoid updating them after creation. This is useful for fields that are // required on creation, but we do not desire to update them after creation, // for example because of an external controller is managing them, like an // autoscaler. InitProvider DeployKeyInitParameters `json:"initProvider,omitempty"` }
DeployKeySpec defines the desired state of DeployKey
func (*DeployKeySpec) DeepCopy ¶ added in v0.3.0
func (in *DeployKeySpec) DeepCopy() *DeployKeySpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeployKeySpec.
func (*DeployKeySpec) DeepCopyInto ¶ added in v0.3.0
func (in *DeployKeySpec) DeepCopyInto(out *DeployKeySpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DeployKeyStatus ¶ added in v0.3.0
type DeployKeyStatus struct { v1.ResourceStatus `json:",inline"` AtProvider DeployKeyObservation `json:"atProvider,omitempty"` }
DeployKeyStatus defines the observed state of DeployKey.
func (*DeployKeyStatus) DeepCopy ¶ added in v0.3.0
func (in *DeployKeyStatus) DeepCopy() *DeployKeyStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeployKeyStatus.
func (*DeployKeyStatus) DeepCopyInto ¶ added in v0.3.0
func (in *DeployKeyStatus) DeepCopyInto(out *DeployKeyStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PagesInitParameters ¶ added in v0.5.0
type PagesInitParameters struct { // The type of GitHub Pages site to build. Can be legacy or workflow. If you use legacy as build type you need to set the option source. // The type the page should be sourced. BuildType *string `json:"buildType,omitempty" tf:"build_type,omitempty"` // The custom domain for the repository. This can only be set after the repository has been created. // The custom domain for the repository. This can only be set after the repository has been created. Cname *string `json:"cname,omitempty" tf:"cname,omitempty"` // The source branch and directory for the rendered Pages site. See GitHub Pages Source below for details. // The source branch and directory for the rendered Pages site. Source []SourceInitParameters `json:"source,omitempty" tf:"source,omitempty"` }
func (*PagesInitParameters) DeepCopy ¶ added in v0.5.0
func (in *PagesInitParameters) DeepCopy() *PagesInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PagesInitParameters.
func (*PagesInitParameters) DeepCopyInto ¶ added in v0.5.0
func (in *PagesInitParameters) DeepCopyInto(out *PagesInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PagesObservation ¶
type PagesObservation struct { // The type of GitHub Pages site to build. Can be legacy or workflow. If you use legacy as build type you need to set the option source. // The type the page should be sourced. BuildType *string `json:"buildType,omitempty" tf:"build_type,omitempty"` // The custom domain for the repository. This can only be set after the repository has been created. // The custom domain for the repository. This can only be set after the repository has been created. Cname *string `json:"cname,omitempty" tf:"cname,omitempty"` // Whether the rendered GitHub Pages site has a custom 404 page. // Whether the rendered GitHub Pages site has a custom 404 page Custom404 *bool `json:"custom404,omitempty" tf:"custom_404,omitempty"` // URL to the repository on the web. // URL to the repository on the web. HTMLURL *string `json:"htmlUrl,omitempty" tf:"html_url,omitempty"` // The source branch and directory for the rendered Pages site. See GitHub Pages Source below for details. // The source branch and directory for the rendered Pages site. Source []SourceObservation `json:"source,omitempty" tf:"source,omitempty"` // Set to enabled to enable secret scanning on the repository. Can be enabled or disabled. If set to enabled, the repository's visibility must be public or security_and_analysis[0].advanced_security[0].status must also be set to enabled. // The GitHub Pages site's build status e.g. building or built. Status *string `json:"status,omitempty" tf:"status,omitempty"` URL *string `json:"url,omitempty" tf:"url,omitempty"` }
func (*PagesObservation) DeepCopy ¶
func (in *PagesObservation) DeepCopy() *PagesObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PagesObservation.
func (*PagesObservation) DeepCopyInto ¶
func (in *PagesObservation) DeepCopyInto(out *PagesObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PagesParameters ¶
type PagesParameters struct { // The type of GitHub Pages site to build. Can be legacy or workflow. If you use legacy as build type you need to set the option source. // The type the page should be sourced. // +kubebuilder:validation:Optional BuildType *string `json:"buildType,omitempty" tf:"build_type,omitempty"` // The custom domain for the repository. This can only be set after the repository has been created. // The custom domain for the repository. This can only be set after the repository has been created. // +kubebuilder:validation:Optional Cname *string `json:"cname,omitempty" tf:"cname,omitempty"` // The source branch and directory for the rendered Pages site. See GitHub Pages Source below for details. // The source branch and directory for the rendered Pages site. // +kubebuilder:validation:Optional Source []SourceParameters `json:"source,omitempty" tf:"source,omitempty"` }
func (*PagesParameters) DeepCopy ¶
func (in *PagesParameters) DeepCopy() *PagesParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PagesParameters.
func (*PagesParameters) DeepCopyInto ¶
func (in *PagesParameters) DeepCopyInto(out *PagesParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PullRequest ¶ added in v0.3.0
type PullRequest struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.baseRef) || (has(self.initProvider) && has(self.initProvider.baseRef))",message="spec.forProvider.baseRef is a required parameter" // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.title) || (has(self.initProvider) && has(self.initProvider.title))",message="spec.forProvider.title is a required parameter" Spec PullRequestSpec `json:"spec"` Status PullRequestStatus `json:"status,omitempty"` }
PullRequest is the Schema for the PullRequests API. Get information on a single GitHub Pull Request. +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].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:resource:scope=Cluster,categories={crossplane,managed,github}
func (*PullRequest) DeepCopy ¶ added in v0.3.0
func (in *PullRequest) DeepCopy() *PullRequest
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PullRequest.
func (*PullRequest) DeepCopyInto ¶ added in v0.3.0
func (in *PullRequest) DeepCopyInto(out *PullRequest)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PullRequest) DeepCopyObject ¶ added in v0.3.0
func (in *PullRequest) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*PullRequest) GetCondition ¶ added in v0.3.0
func (mg *PullRequest) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this PullRequest.
func (*PullRequest) GetConnectionDetailsMapping ¶ added in v0.3.0
func (tr *PullRequest) GetConnectionDetailsMapping() map[string]string
GetConnectionDetailsMapping for this PullRequest
func (*PullRequest) GetDeletionPolicy ¶ added in v0.3.0
func (mg *PullRequest) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this PullRequest.
func (*PullRequest) GetID ¶ added in v0.3.0
func (tr *PullRequest) GetID() string
GetID returns ID of underlying Terraform resource of this PullRequest
func (*PullRequest) GetInitParameters ¶ added in v0.5.0
func (tr *PullRequest) GetInitParameters() (map[string]any, error)
GetInitParameters of this PullRequest
func (*PullRequest) GetManagementPolicies ¶ added in v0.5.0
func (mg *PullRequest) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this PullRequest.
func (*PullRequest) GetMergedParameters ¶ added in v0.5.0
func (tr *PullRequest) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
GetInitParameters of this PullRequest
func (*PullRequest) GetObservation ¶ added in v0.3.0
func (tr *PullRequest) GetObservation() (map[string]any, error)
GetObservation of this PullRequest
func (*PullRequest) GetParameters ¶ added in v0.3.0
func (tr *PullRequest) GetParameters() (map[string]any, error)
GetParameters of this PullRequest
func (*PullRequest) GetProviderConfigReference ¶ added in v0.3.0
func (mg *PullRequest) GetProviderConfigReference() *xpv1.Reference
GetProviderConfigReference of this PullRequest.
func (*PullRequest) GetPublishConnectionDetailsTo ¶ added in v0.3.0
func (mg *PullRequest) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this PullRequest.
func (*PullRequest) GetTerraformResourceType ¶ added in v0.3.0
func (mg *PullRequest) GetTerraformResourceType() string
GetTerraformResourceType returns Terraform resource type for this PullRequest
func (*PullRequest) GetTerraformSchemaVersion ¶ added in v0.3.0
func (tr *PullRequest) GetTerraformSchemaVersion() int
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*PullRequest) GetWriteConnectionSecretToReference ¶ added in v0.3.0
func (mg *PullRequest) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this PullRequest.
func (*PullRequest) Hub ¶ added in v0.5.0
func (tr *PullRequest) Hub()
Hub marks this type as a conversion hub.
func (*PullRequest) LateInitialize ¶ added in v0.3.0
func (tr *PullRequest) LateInitialize(attrs []byte) (bool, error)
LateInitialize this PullRequest using its observed tfState. returns True if there are any spec changes for the resource.
func (*PullRequest) ResolveReferences ¶ added in v0.3.0
ResolveReferences of this PullRequest.
func (*PullRequest) SetConditions ¶ added in v0.3.0
func (mg *PullRequest) SetConditions(c ...xpv1.Condition)
SetConditions of this PullRequest.
func (*PullRequest) SetDeletionPolicy ¶ added in v0.3.0
func (mg *PullRequest) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this PullRequest.
func (*PullRequest) SetManagementPolicies ¶ added in v0.5.0
func (mg *PullRequest) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this PullRequest.
func (*PullRequest) SetObservation ¶ added in v0.3.0
func (tr *PullRequest) SetObservation(obs map[string]any) error
SetObservation for this PullRequest
func (*PullRequest) SetParameters ¶ added in v0.3.0
func (tr *PullRequest) SetParameters(params map[string]any) error
SetParameters for this PullRequest
func (*PullRequest) SetProviderConfigReference ¶ added in v0.3.0
func (mg *PullRequest) SetProviderConfigReference(r *xpv1.Reference)
SetProviderConfigReference of this PullRequest.
func (*PullRequest) SetPublishConnectionDetailsTo ¶ added in v0.3.0
func (mg *PullRequest) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this PullRequest.
func (*PullRequest) SetWriteConnectionSecretToReference ¶ added in v0.3.0
func (mg *PullRequest) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this PullRequest.
type PullRequestInitParameters ¶ added in v0.5.0
type PullRequestInitParameters struct { // Name of the branch serving as the base of the Pull Request. // Name of the branch serving as the base of the Pull Request. BaseRef *string `json:"baseRef,omitempty" tf:"base_ref,omitempty"` // Name of the base repository to retrieve the Pull Requests from. // Name of the base repository to retrieve the Pull Requests from. // +crossplane:generate:reference:type=github.com/coopnorge/provider-github/apis/repo/v1alpha1.Repository BaseRepository *string `json:"baseRepository,omitempty" tf:"base_repository,omitempty"` // Reference to a Repository in repo to populate baseRepository. // +kubebuilder:validation:Optional BaseRepositoryRef *v1.Reference `json:"baseRepositoryRef,omitempty" tf:"-"` // Selector for a Repository in repo to populate baseRepository. // +kubebuilder:validation:Optional BaseRepositorySelector *v1.Selector `json:"baseRepositorySelector,omitempty" tf:"-"` // Body of the Pull Request. // Body of the Pull Request. Body *string `json:"body,omitempty" tf:"body,omitempty"` // Name of the branch serving as the head of the Pull Request. // Name of the branch serving as the head of the Pull Request. // +crossplane:generate:reference:type=github.com/coopnorge/provider-github/apis/repo/v1alpha1.Branch HeadRef *string `json:"headRef,omitempty" tf:"head_ref,omitempty"` // Reference to a Branch in repo to populate headRef. // +kubebuilder:validation:Optional HeadRefRef *v1.Reference `json:"headRefRef,omitempty" tf:"-"` // Selector for a Branch in repo to populate headRef. // +kubebuilder:validation:Optional HeadRefSelector *v1.Selector `json:"headRefSelector,omitempty" tf:"-"` // Controls whether the base repository maintainers can modify the Pull Request. Default: false. // Controls whether the base repository maintainers can modify the Pull Request. Default: 'false'. MaintainerCanModify *bool `json:"maintainerCanModify,omitempty" tf:"maintainer_can_modify,omitempty"` // Owner of the repository. If not provided, the provider's default owner is used. // Owner of the repository. If not provided, the provider's default owner is used. Owner *string `json:"owner,omitempty" tf:"owner,omitempty"` // The title of the Pull Request. // The title of the Pull Request. Title *string `json:"title,omitempty" tf:"title,omitempty"` }
func (*PullRequestInitParameters) DeepCopy ¶ added in v0.5.0
func (in *PullRequestInitParameters) DeepCopy() *PullRequestInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PullRequestInitParameters.
func (*PullRequestInitParameters) DeepCopyInto ¶ added in v0.5.0
func (in *PullRequestInitParameters) DeepCopyInto(out *PullRequestInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PullRequestList ¶ added in v0.3.0
type PullRequestList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []PullRequest `json:"items"` }
PullRequestList contains a list of PullRequests
func (*PullRequestList) DeepCopy ¶ added in v0.3.0
func (in *PullRequestList) DeepCopy() *PullRequestList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PullRequestList.
func (*PullRequestList) DeepCopyInto ¶ added in v0.3.0
func (in *PullRequestList) DeepCopyInto(out *PullRequestList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PullRequestList) DeepCopyObject ¶ added in v0.3.0
func (in *PullRequestList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*PullRequestList) GetItems ¶ added in v0.3.0
func (l *PullRequestList) GetItems() []resource.Managed
GetItems of this PullRequestList.
type PullRequestObservation ¶ added in v0.3.0
type PullRequestObservation struct { // Name of the branch serving as the base of the Pull Request. // Name of the branch serving as the base of the Pull Request. BaseRef *string `json:"baseRef,omitempty" tf:"base_ref,omitempty"` // Name of the base repository to retrieve the Pull Requests from. // Name of the base repository to retrieve the Pull Requests from. BaseRepository *string `json:"baseRepository,omitempty" tf:"base_repository,omitempty"` // Head commit SHA of the Pull Request base. // Head commit SHA of the Pull Request base. BaseSha *string `json:"baseSha,omitempty" tf:"base_sha,omitempty"` // Body of the Pull Request. // Body of the Pull Request. Body *string `json:"body,omitempty" tf:"body,omitempty"` // Indicates Whether this Pull Request is a draft. // Indicates Whether this Pull Request is a draft. Draft *bool `json:"draft,omitempty" tf:"draft,omitempty"` // Name of the branch serving as the head of the Pull Request. // Name of the branch serving as the head of the Pull Request. HeadRef *string `json:"headRef,omitempty" tf:"head_ref,omitempty"` // Head commit SHA of the Pull Request head. // Head commit SHA of the Pull Request head. HeadSha *string `json:"headSha,omitempty" tf:"head_sha,omitempty"` ID *string `json:"id,omitempty" tf:"id,omitempty"` // List of label names set on the Pull Request. // List of names of labels on the PR Labels []*string `json:"labels,omitempty" tf:"labels,omitempty"` // Controls whether the base repository maintainers can modify the Pull Request. Default: false. // Controls whether the base repository maintainers can modify the Pull Request. Default: 'false'. MaintainerCanModify *bool `json:"maintainerCanModify,omitempty" tf:"maintainer_can_modify,omitempty"` // The number of the Pull Request within the repository. // The number of the Pull Request within the repository. Number *int64 `json:"number,omitempty" tf:"number,omitempty"` // Unix timestamp indicating the Pull Request creation time. // Unix timestamp indicating the Pull Request creation time. OpenedAt *int64 `json:"openedAt,omitempty" tf:"opened_at,omitempty"` // GitHub login of the user who opened the Pull Request. // Username of the PR creator OpenedBy *string `json:"openedBy,omitempty" tf:"opened_by,omitempty"` // Owner of the repository. If not provided, the provider's default owner is used. // Owner of the repository. If not provided, the provider's default owner is used. Owner *string `json:"owner,omitempty" tf:"owner,omitempty"` // the current Pull Request state - can be "open", "closed" or "merged". // The current Pull Request state - can be 'open', 'closed' or 'merged'. State *string `json:"state,omitempty" tf:"state,omitempty"` // The title of the Pull Request. // The title of the Pull Request. Title *string `json:"title,omitempty" tf:"title,omitempty"` // The timestamp of the last Pull Request update. // The timestamp of the last Pull Request update. UpdatedAt *int64 `json:"updatedAt,omitempty" tf:"updated_at,omitempty"` }
func (*PullRequestObservation) DeepCopy ¶ added in v0.3.0
func (in *PullRequestObservation) DeepCopy() *PullRequestObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PullRequestObservation.
func (*PullRequestObservation) DeepCopyInto ¶ added in v0.3.0
func (in *PullRequestObservation) DeepCopyInto(out *PullRequestObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PullRequestParameters ¶ added in v0.3.0
type PullRequestParameters struct { // Name of the branch serving as the base of the Pull Request. // Name of the branch serving as the base of the Pull Request. // +kubebuilder:validation:Optional BaseRef *string `json:"baseRef,omitempty" tf:"base_ref,omitempty"` // Name of the base repository to retrieve the Pull Requests from. // Name of the base repository to retrieve the Pull Requests from. // +crossplane:generate:reference:type=github.com/coopnorge/provider-github/apis/repo/v1alpha1.Repository // +kubebuilder:validation:Optional BaseRepository *string `json:"baseRepository,omitempty" tf:"base_repository,omitempty"` // Reference to a Repository in repo to populate baseRepository. // +kubebuilder:validation:Optional BaseRepositoryRef *v1.Reference `json:"baseRepositoryRef,omitempty" tf:"-"` // Selector for a Repository in repo to populate baseRepository. // +kubebuilder:validation:Optional BaseRepositorySelector *v1.Selector `json:"baseRepositorySelector,omitempty" tf:"-"` // Body of the Pull Request. // Body of the Pull Request. // +kubebuilder:validation:Optional Body *string `json:"body,omitempty" tf:"body,omitempty"` // Name of the branch serving as the head of the Pull Request. // Name of the branch serving as the head of the Pull Request. // +crossplane:generate:reference:type=github.com/coopnorge/provider-github/apis/repo/v1alpha1.Branch // +kubebuilder:validation:Optional HeadRef *string `json:"headRef,omitempty" tf:"head_ref,omitempty"` // Reference to a Branch in repo to populate headRef. // +kubebuilder:validation:Optional HeadRefRef *v1.Reference `json:"headRefRef,omitempty" tf:"-"` // Selector for a Branch in repo to populate headRef. // +kubebuilder:validation:Optional HeadRefSelector *v1.Selector `json:"headRefSelector,omitempty" tf:"-"` // Controls whether the base repository maintainers can modify the Pull Request. Default: false. // Controls whether the base repository maintainers can modify the Pull Request. Default: 'false'. // +kubebuilder:validation:Optional MaintainerCanModify *bool `json:"maintainerCanModify,omitempty" tf:"maintainer_can_modify,omitempty"` // Owner of the repository. If not provided, the provider's default owner is used. // Owner of the repository. If not provided, the provider's default owner is used. // +kubebuilder:validation:Optional Owner *string `json:"owner,omitempty" tf:"owner,omitempty"` // The title of the Pull Request. // The title of the Pull Request. // +kubebuilder:validation:Optional Title *string `json:"title,omitempty" tf:"title,omitempty"` }
func (*PullRequestParameters) DeepCopy ¶ added in v0.3.0
func (in *PullRequestParameters) DeepCopy() *PullRequestParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PullRequestParameters.
func (*PullRequestParameters) DeepCopyInto ¶ added in v0.3.0
func (in *PullRequestParameters) DeepCopyInto(out *PullRequestParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PullRequestSpec ¶ added in v0.3.0
type PullRequestSpec struct { v1.ResourceSpec `json:",inline"` ForProvider PullRequestParameters `json:"forProvider"` // THIS IS A BETA FIELD. It will be honored // unless the Management Policies feature flag is disabled. // InitProvider holds the same fields as ForProvider, with the exception // of Identifier and other resource reference fields. The fields that are // in InitProvider are merged into ForProvider when the resource is created. // The same fields are also added to the terraform ignore_changes hook, to // avoid updating them after creation. This is useful for fields that are // required on creation, but we do not desire to update them after creation, // for example because of an external controller is managing them, like an // autoscaler. InitProvider PullRequestInitParameters `json:"initProvider,omitempty"` }
PullRequestSpec defines the desired state of PullRequest
func (*PullRequestSpec) DeepCopy ¶ added in v0.3.0
func (in *PullRequestSpec) DeepCopy() *PullRequestSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PullRequestSpec.
func (*PullRequestSpec) DeepCopyInto ¶ added in v0.3.0
func (in *PullRequestSpec) DeepCopyInto(out *PullRequestSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PullRequestStatus ¶ added in v0.3.0
type PullRequestStatus struct { v1.ResourceStatus `json:",inline"` AtProvider PullRequestObservation `json:"atProvider,omitempty"` }
PullRequestStatus defines the observed state of PullRequest.
func (*PullRequestStatus) DeepCopy ¶ added in v0.3.0
func (in *PullRequestStatus) DeepCopy() *PullRequestStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PullRequestStatus.
func (*PullRequestStatus) DeepCopyInto ¶ added in v0.3.0
func (in *PullRequestStatus) DeepCopyInto(out *PullRequestStatus)
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"` // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" Spec RepositorySpec `json:"spec"` Status RepositoryStatus `json:"status,omitempty"` }
Repository is the Schema for the Repositorys API. Creates and manages repositories within GitHub organizations or personal accounts +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].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: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 xpv1.ConditionType) xpv1.Condition
GetCondition of this Repository.
func (*Repository) GetConnectionDetailsMapping ¶
func (tr *Repository) GetConnectionDetailsMapping() map[string]string
GetConnectionDetailsMapping for this Repository
func (*Repository) GetDeletionPolicy ¶
func (mg *Repository) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this Repository.
func (*Repository) GetID ¶
func (tr *Repository) GetID() string
GetID returns ID of underlying Terraform resource of this Repository
func (*Repository) GetInitParameters ¶ added in v0.5.0
func (tr *Repository) GetInitParameters() (map[string]any, error)
GetInitParameters of this Repository
func (*Repository) GetManagementPolicies ¶ added in v0.5.0
func (mg *Repository) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this Repository.
func (*Repository) GetMergedParameters ¶ added in v0.5.0
func (tr *Repository) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
GetInitParameters of this Repository
func (*Repository) GetObservation ¶
func (tr *Repository) GetObservation() (map[string]any, error)
GetObservation of this Repository
func (*Repository) GetParameters ¶
func (tr *Repository) GetParameters() (map[string]any, error)
GetParameters of this Repository
func (*Repository) GetProviderConfigReference ¶
func (mg *Repository) GetProviderConfigReference() *xpv1.Reference
GetProviderConfigReference of this Repository.
func (*Repository) GetPublishConnectionDetailsTo ¶
func (mg *Repository) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this Repository.
func (*Repository) GetTerraformResourceType ¶
func (mg *Repository) GetTerraformResourceType() string
GetTerraformResourceType returns Terraform resource type for this Repository
func (*Repository) GetTerraformSchemaVersion ¶
func (tr *Repository) GetTerraformSchemaVersion() int
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*Repository) GetWriteConnectionSecretToReference ¶
func (mg *Repository) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this Repository.
func (*Repository) Hub ¶ added in v0.5.0
func (tr *Repository) Hub()
Hub marks this type as a conversion hub.
func (*Repository) LateInitialize ¶
func (tr *Repository) LateInitialize(attrs []byte) (bool, error)
LateInitialize this Repository using its observed tfState. returns True if there are any spec changes for the resource.
func (*Repository) SetConditions ¶
func (mg *Repository) SetConditions(c ...xpv1.Condition)
SetConditions of this Repository.
func (*Repository) SetDeletionPolicy ¶
func (mg *Repository) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this Repository.
func (*Repository) SetManagementPolicies ¶ added in v0.5.0
func (mg *Repository) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this Repository.
func (*Repository) SetObservation ¶
func (tr *Repository) SetObservation(obs map[string]any) error
SetObservation for this Repository
func (*Repository) SetParameters ¶
func (tr *Repository) SetParameters(params map[string]any) error
SetParameters for this Repository
func (*Repository) SetProviderConfigReference ¶
func (mg *Repository) SetProviderConfigReference(r *xpv1.Reference)
SetProviderConfigReference of this Repository.
func (*Repository) SetPublishConnectionDetailsTo ¶
func (mg *Repository) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this Repository.
func (*Repository) SetWriteConnectionSecretToReference ¶
func (mg *Repository) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this Repository.
type RepositoryAutolinkReference ¶ added in v0.12.0
type RepositoryAutolinkReference struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.keyPrefix) || (has(self.initProvider) && has(self.initProvider.keyPrefix))",message="spec.forProvider.keyPrefix is a required parameter" // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.targetUrlTemplate) || (has(self.initProvider) && has(self.initProvider.targetUrlTemplate))",message="spec.forProvider.targetUrlTemplate is a required parameter" Spec RepositoryAutolinkReferenceSpec `json:"spec"` Status RepositoryAutolinkReferenceStatus `json:"status,omitempty"` }
RepositoryAutolinkReference is the Schema for the RepositoryAutolinkReferences API. Creates and manages autolink references for a single repository +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].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:resource:scope=Cluster,categories={crossplane,managed,github}
func (*RepositoryAutolinkReference) DeepCopy ¶ added in v0.12.0
func (in *RepositoryAutolinkReference) DeepCopy() *RepositoryAutolinkReference
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RepositoryAutolinkReference.
func (*RepositoryAutolinkReference) DeepCopyInto ¶ added in v0.12.0
func (in *RepositoryAutolinkReference) DeepCopyInto(out *RepositoryAutolinkReference)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RepositoryAutolinkReference) DeepCopyObject ¶ added in v0.12.0
func (in *RepositoryAutolinkReference) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*RepositoryAutolinkReference) GetCondition ¶ added in v0.12.0
func (mg *RepositoryAutolinkReference) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this RepositoryAutolinkReference.
func (*RepositoryAutolinkReference) GetConnectionDetailsMapping ¶ added in v0.12.0
func (tr *RepositoryAutolinkReference) GetConnectionDetailsMapping() map[string]string
GetConnectionDetailsMapping for this RepositoryAutolinkReference
func (*RepositoryAutolinkReference) GetDeletionPolicy ¶ added in v0.12.0
func (mg *RepositoryAutolinkReference) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this RepositoryAutolinkReference.
func (*RepositoryAutolinkReference) GetID ¶ added in v0.12.0
func (tr *RepositoryAutolinkReference) GetID() string
GetID returns ID of underlying Terraform resource of this RepositoryAutolinkReference
func (*RepositoryAutolinkReference) GetInitParameters ¶ added in v0.12.0
func (tr *RepositoryAutolinkReference) GetInitParameters() (map[string]any, error)
GetInitParameters of this RepositoryAutolinkReference
func (*RepositoryAutolinkReference) GetManagementPolicies ¶ added in v0.12.0
func (mg *RepositoryAutolinkReference) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this RepositoryAutolinkReference.
func (*RepositoryAutolinkReference) GetMergedParameters ¶ added in v0.12.0
func (tr *RepositoryAutolinkReference) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
GetInitParameters of this RepositoryAutolinkReference
func (*RepositoryAutolinkReference) GetObservation ¶ added in v0.12.0
func (tr *RepositoryAutolinkReference) GetObservation() (map[string]any, error)
GetObservation of this RepositoryAutolinkReference
func (*RepositoryAutolinkReference) GetParameters ¶ added in v0.12.0
func (tr *RepositoryAutolinkReference) GetParameters() (map[string]any, error)
GetParameters of this RepositoryAutolinkReference
func (*RepositoryAutolinkReference) GetProviderConfigReference ¶ added in v0.12.0
func (mg *RepositoryAutolinkReference) GetProviderConfigReference() *xpv1.Reference
GetProviderConfigReference of this RepositoryAutolinkReference.
func (*RepositoryAutolinkReference) GetPublishConnectionDetailsTo ¶ added in v0.12.0
func (mg *RepositoryAutolinkReference) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this RepositoryAutolinkReference.
func (*RepositoryAutolinkReference) GetTerraformResourceType ¶ added in v0.12.0
func (mg *RepositoryAutolinkReference) GetTerraformResourceType() string
GetTerraformResourceType returns Terraform resource type for this RepositoryAutolinkReference
func (*RepositoryAutolinkReference) GetTerraformSchemaVersion ¶ added in v0.12.0
func (tr *RepositoryAutolinkReference) GetTerraformSchemaVersion() int
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*RepositoryAutolinkReference) GetWriteConnectionSecretToReference ¶ added in v0.12.0
func (mg *RepositoryAutolinkReference) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this RepositoryAutolinkReference.
func (*RepositoryAutolinkReference) Hub ¶ added in v0.12.0
func (tr *RepositoryAutolinkReference) Hub()
Hub marks this type as a conversion hub.
func (*RepositoryAutolinkReference) LateInitialize ¶ added in v0.12.0
func (tr *RepositoryAutolinkReference) LateInitialize(attrs []byte) (bool, error)
LateInitialize this RepositoryAutolinkReference using its observed tfState. returns True if there are any spec changes for the resource.
func (*RepositoryAutolinkReference) ResolveReferences ¶ added in v0.12.0
func (mg *RepositoryAutolinkReference) ResolveReferences(ctx context.Context, c client.Reader) error
ResolveReferences of this RepositoryAutolinkReference.
func (*RepositoryAutolinkReference) SetConditions ¶ added in v0.12.0
func (mg *RepositoryAutolinkReference) SetConditions(c ...xpv1.Condition)
SetConditions of this RepositoryAutolinkReference.
func (*RepositoryAutolinkReference) SetDeletionPolicy ¶ added in v0.12.0
func (mg *RepositoryAutolinkReference) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this RepositoryAutolinkReference.
func (*RepositoryAutolinkReference) SetManagementPolicies ¶ added in v0.12.0
func (mg *RepositoryAutolinkReference) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this RepositoryAutolinkReference.
func (*RepositoryAutolinkReference) SetObservation ¶ added in v0.12.0
func (tr *RepositoryAutolinkReference) SetObservation(obs map[string]any) error
SetObservation for this RepositoryAutolinkReference
func (*RepositoryAutolinkReference) SetParameters ¶ added in v0.12.0
func (tr *RepositoryAutolinkReference) SetParameters(params map[string]any) error
SetParameters for this RepositoryAutolinkReference
func (*RepositoryAutolinkReference) SetProviderConfigReference ¶ added in v0.12.0
func (mg *RepositoryAutolinkReference) SetProviderConfigReference(r *xpv1.Reference)
SetProviderConfigReference of this RepositoryAutolinkReference.
func (*RepositoryAutolinkReference) SetPublishConnectionDetailsTo ¶ added in v0.12.0
func (mg *RepositoryAutolinkReference) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this RepositoryAutolinkReference.
func (*RepositoryAutolinkReference) SetWriteConnectionSecretToReference ¶ added in v0.12.0
func (mg *RepositoryAutolinkReference) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this RepositoryAutolinkReference.
type RepositoryAutolinkReferenceInitParameters ¶ added in v0.12.0
type RepositoryAutolinkReferenceInitParameters struct { // Whether this autolink reference matches alphanumeric characters. If false, this autolink reference only matches numeric characters. Default is true. // Whether this autolink reference matches alphanumeric characters. If false, this autolink reference only matches numeric characters. IsAlphanumeric *bool `json:"isAlphanumeric,omitempty" tf:"is_alphanumeric,omitempty"` // This prefix appended by a number will generate a link any time it is found in an issue, pull request, or commit. // This prefix appended by a number will generate a link any time it is found in an issue, pull request, or commit KeyPrefix *string `json:"keyPrefix,omitempty" tf:"key_prefix,omitempty"` // The repository of the autolink reference. // The repository name // +crossplane:generate:reference:type=github.com/coopnorge/provider-github/apis/repo/v1alpha1.Repository Repository *string `json:"repository,omitempty" tf:"repository,omitempty"` // Reference to a Repository in repo to populate repository. // +kubebuilder:validation:Optional RepositoryRef *v1.Reference `json:"repositoryRef,omitempty" tf:"-"` // Selector for a Repository in repo to populate repository. // +kubebuilder:validation:Optional RepositorySelector *v1.Selector `json:"repositorySelector,omitempty" tf:"-"` // The template of the target URL used for the links; must be a valid URL and contain <num> for the reference number // The template of the target URL used for the links; must be a valid URL and contain `<num>` for the reference number TargetURLTemplate *string `json:"targetUrlTemplate,omitempty" tf:"target_url_template,omitempty"` }
func (*RepositoryAutolinkReferenceInitParameters) DeepCopy ¶ added in v0.12.0
func (in *RepositoryAutolinkReferenceInitParameters) DeepCopy() *RepositoryAutolinkReferenceInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RepositoryAutolinkReferenceInitParameters.
func (*RepositoryAutolinkReferenceInitParameters) DeepCopyInto ¶ added in v0.12.0
func (in *RepositoryAutolinkReferenceInitParameters) DeepCopyInto(out *RepositoryAutolinkReferenceInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RepositoryAutolinkReferenceList ¶ added in v0.12.0
type RepositoryAutolinkReferenceList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []RepositoryAutolinkReference `json:"items"` }
RepositoryAutolinkReferenceList contains a list of RepositoryAutolinkReferences
func (*RepositoryAutolinkReferenceList) DeepCopy ¶ added in v0.12.0
func (in *RepositoryAutolinkReferenceList) DeepCopy() *RepositoryAutolinkReferenceList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RepositoryAutolinkReferenceList.
func (*RepositoryAutolinkReferenceList) DeepCopyInto ¶ added in v0.12.0
func (in *RepositoryAutolinkReferenceList) DeepCopyInto(out *RepositoryAutolinkReferenceList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RepositoryAutolinkReferenceList) DeepCopyObject ¶ added in v0.12.0
func (in *RepositoryAutolinkReferenceList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*RepositoryAutolinkReferenceList) GetItems ¶ added in v0.12.0
func (l *RepositoryAutolinkReferenceList) GetItems() []resource.Managed
GetItems of this RepositoryAutolinkReferenceList.
type RepositoryAutolinkReferenceObservation ¶ added in v0.12.0
type RepositoryAutolinkReferenceObservation struct { // An etag representing the autolink reference object. Etag *string `json:"etag,omitempty" tf:"etag,omitempty"` ID *string `json:"id,omitempty" tf:"id,omitempty"` // Whether this autolink reference matches alphanumeric characters. If false, this autolink reference only matches numeric characters. Default is true. // Whether this autolink reference matches alphanumeric characters. If false, this autolink reference only matches numeric characters. IsAlphanumeric *bool `json:"isAlphanumeric,omitempty" tf:"is_alphanumeric,omitempty"` // This prefix appended by a number will generate a link any time it is found in an issue, pull request, or commit. // This prefix appended by a number will generate a link any time it is found in an issue, pull request, or commit KeyPrefix *string `json:"keyPrefix,omitempty" tf:"key_prefix,omitempty"` // The repository of the autolink reference. // The repository name Repository *string `json:"repository,omitempty" tf:"repository,omitempty"` // The template of the target URL used for the links; must be a valid URL and contain <num> for the reference number // The template of the target URL used for the links; must be a valid URL and contain `<num>` for the reference number TargetURLTemplate *string `json:"targetUrlTemplate,omitempty" tf:"target_url_template,omitempty"` }
func (*RepositoryAutolinkReferenceObservation) DeepCopy ¶ added in v0.12.0
func (in *RepositoryAutolinkReferenceObservation) DeepCopy() *RepositoryAutolinkReferenceObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RepositoryAutolinkReferenceObservation.
func (*RepositoryAutolinkReferenceObservation) DeepCopyInto ¶ added in v0.12.0
func (in *RepositoryAutolinkReferenceObservation) DeepCopyInto(out *RepositoryAutolinkReferenceObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RepositoryAutolinkReferenceParameters ¶ added in v0.12.0
type RepositoryAutolinkReferenceParameters struct { // Whether this autolink reference matches alphanumeric characters. If false, this autolink reference only matches numeric characters. Default is true. // Whether this autolink reference matches alphanumeric characters. If false, this autolink reference only matches numeric characters. // +kubebuilder:validation:Optional IsAlphanumeric *bool `json:"isAlphanumeric,omitempty" tf:"is_alphanumeric,omitempty"` // This prefix appended by a number will generate a link any time it is found in an issue, pull request, or commit. // This prefix appended by a number will generate a link any time it is found in an issue, pull request, or commit // +kubebuilder:validation:Optional KeyPrefix *string `json:"keyPrefix,omitempty" tf:"key_prefix,omitempty"` // The repository of the autolink reference. // The repository name // +crossplane:generate:reference:type=github.com/coopnorge/provider-github/apis/repo/v1alpha1.Repository // +kubebuilder:validation:Optional Repository *string `json:"repository,omitempty" tf:"repository,omitempty"` // Reference to a Repository in repo to populate repository. // +kubebuilder:validation:Optional RepositoryRef *v1.Reference `json:"repositoryRef,omitempty" tf:"-"` // Selector for a Repository in repo to populate repository. // +kubebuilder:validation:Optional RepositorySelector *v1.Selector `json:"repositorySelector,omitempty" tf:"-"` // The template of the target URL used for the links; must be a valid URL and contain <num> for the reference number // The template of the target URL used for the links; must be a valid URL and contain `<num>` for the reference number // +kubebuilder:validation:Optional TargetURLTemplate *string `json:"targetUrlTemplate,omitempty" tf:"target_url_template,omitempty"` }
func (*RepositoryAutolinkReferenceParameters) DeepCopy ¶ added in v0.12.0
func (in *RepositoryAutolinkReferenceParameters) DeepCopy() *RepositoryAutolinkReferenceParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RepositoryAutolinkReferenceParameters.
func (*RepositoryAutolinkReferenceParameters) DeepCopyInto ¶ added in v0.12.0
func (in *RepositoryAutolinkReferenceParameters) DeepCopyInto(out *RepositoryAutolinkReferenceParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RepositoryAutolinkReferenceSpec ¶ added in v0.12.0
type RepositoryAutolinkReferenceSpec struct { v1.ResourceSpec `json:",inline"` ForProvider RepositoryAutolinkReferenceParameters `json:"forProvider"` // THIS IS A BETA FIELD. It will be honored // unless the Management Policies feature flag is disabled. // InitProvider holds the same fields as ForProvider, with the exception // of Identifier and other resource reference fields. The fields that are // in InitProvider are merged into ForProvider when the resource is created. // The same fields are also added to the terraform ignore_changes hook, to // avoid updating them after creation. This is useful for fields that are // required on creation, but we do not desire to update them after creation, // for example because of an external controller is managing them, like an // autoscaler. InitProvider RepositoryAutolinkReferenceInitParameters `json:"initProvider,omitempty"` }
RepositoryAutolinkReferenceSpec defines the desired state of RepositoryAutolinkReference
func (*RepositoryAutolinkReferenceSpec) DeepCopy ¶ added in v0.12.0
func (in *RepositoryAutolinkReferenceSpec) DeepCopy() *RepositoryAutolinkReferenceSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RepositoryAutolinkReferenceSpec.
func (*RepositoryAutolinkReferenceSpec) DeepCopyInto ¶ added in v0.12.0
func (in *RepositoryAutolinkReferenceSpec) DeepCopyInto(out *RepositoryAutolinkReferenceSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RepositoryAutolinkReferenceStatus ¶ added in v0.12.0
type RepositoryAutolinkReferenceStatus struct { v1.ResourceStatus `json:",inline"` AtProvider RepositoryAutolinkReferenceObservation `json:"atProvider,omitempty"` }
RepositoryAutolinkReferenceStatus defines the observed state of RepositoryAutolinkReference.
func (*RepositoryAutolinkReferenceStatus) DeepCopy ¶ added in v0.12.0
func (in *RepositoryAutolinkReferenceStatus) DeepCopy() *RepositoryAutolinkReferenceStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RepositoryAutolinkReferenceStatus.
func (*RepositoryAutolinkReferenceStatus) DeepCopyInto ¶ added in v0.12.0
func (in *RepositoryAutolinkReferenceStatus) DeepCopyInto(out *RepositoryAutolinkReferenceStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RepositoryFile ¶
type RepositoryFile struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.content) || (has(self.initProvider) && has(self.initProvider.content))",message="spec.forProvider.content is a required parameter" // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.file) || (has(self.initProvider) && has(self.initProvider.file))",message="spec.forProvider.file is a required parameter" Spec RepositoryFileSpec `json:"spec"` Status RepositoryFileStatus `json:"status,omitempty"` }
RepositoryFile is the Schema for the RepositoryFiles API. Creates and manages files within a GitHub repository +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].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:resource:scope=Cluster,categories={crossplane,managed,github}
func (*RepositoryFile) DeepCopy ¶
func (in *RepositoryFile) DeepCopy() *RepositoryFile
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RepositoryFile.
func (*RepositoryFile) DeepCopyInto ¶
func (in *RepositoryFile) DeepCopyInto(out *RepositoryFile)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RepositoryFile) DeepCopyObject ¶
func (in *RepositoryFile) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*RepositoryFile) GetCondition ¶
func (mg *RepositoryFile) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this RepositoryFile.
func (*RepositoryFile) GetConnectionDetailsMapping ¶
func (tr *RepositoryFile) GetConnectionDetailsMapping() map[string]string
GetConnectionDetailsMapping for this RepositoryFile
func (*RepositoryFile) GetDeletionPolicy ¶
func (mg *RepositoryFile) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this RepositoryFile.
func (*RepositoryFile) GetID ¶
func (tr *RepositoryFile) GetID() string
GetID returns ID of underlying Terraform resource of this RepositoryFile
func (*RepositoryFile) GetInitParameters ¶ added in v0.5.0
func (tr *RepositoryFile) GetInitParameters() (map[string]any, error)
GetInitParameters of this RepositoryFile
func (*RepositoryFile) GetManagementPolicies ¶ added in v0.5.0
func (mg *RepositoryFile) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this RepositoryFile.
func (*RepositoryFile) GetMergedParameters ¶ added in v0.5.0
func (tr *RepositoryFile) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
GetInitParameters of this RepositoryFile
func (*RepositoryFile) GetObservation ¶
func (tr *RepositoryFile) GetObservation() (map[string]any, error)
GetObservation of this RepositoryFile
func (*RepositoryFile) GetParameters ¶
func (tr *RepositoryFile) GetParameters() (map[string]any, error)
GetParameters of this RepositoryFile
func (*RepositoryFile) GetProviderConfigReference ¶
func (mg *RepositoryFile) GetProviderConfigReference() *xpv1.Reference
GetProviderConfigReference of this RepositoryFile.
func (*RepositoryFile) GetPublishConnectionDetailsTo ¶
func (mg *RepositoryFile) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this RepositoryFile.
func (*RepositoryFile) GetTerraformResourceType ¶
func (mg *RepositoryFile) GetTerraformResourceType() string
GetTerraformResourceType returns Terraform resource type for this RepositoryFile
func (*RepositoryFile) GetTerraformSchemaVersion ¶
func (tr *RepositoryFile) GetTerraformSchemaVersion() int
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*RepositoryFile) GetWriteConnectionSecretToReference ¶
func (mg *RepositoryFile) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this RepositoryFile.
func (*RepositoryFile) Hub ¶ added in v0.5.0
func (tr *RepositoryFile) Hub()
Hub marks this type as a conversion hub.
func (*RepositoryFile) LateInitialize ¶
func (tr *RepositoryFile) LateInitialize(attrs []byte) (bool, error)
LateInitialize this RepositoryFile using its observed tfState. returns True if there are any spec changes for the resource.
func (*RepositoryFile) ResolveReferences ¶
ResolveReferences of this RepositoryFile.
func (*RepositoryFile) SetConditions ¶
func (mg *RepositoryFile) SetConditions(c ...xpv1.Condition)
SetConditions of this RepositoryFile.
func (*RepositoryFile) SetDeletionPolicy ¶
func (mg *RepositoryFile) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this RepositoryFile.
func (*RepositoryFile) SetManagementPolicies ¶ added in v0.5.0
func (mg *RepositoryFile) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this RepositoryFile.
func (*RepositoryFile) SetObservation ¶
func (tr *RepositoryFile) SetObservation(obs map[string]any) error
SetObservation for this RepositoryFile
func (*RepositoryFile) SetParameters ¶
func (tr *RepositoryFile) SetParameters(params map[string]any) error
SetParameters for this RepositoryFile
func (*RepositoryFile) SetProviderConfigReference ¶
func (mg *RepositoryFile) SetProviderConfigReference(r *xpv1.Reference)
SetProviderConfigReference of this RepositoryFile.
func (*RepositoryFile) SetPublishConnectionDetailsTo ¶
func (mg *RepositoryFile) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this RepositoryFile.
func (*RepositoryFile) SetWriteConnectionSecretToReference ¶
func (mg *RepositoryFile) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this RepositoryFile.
type RepositoryFileInitParameters ¶ added in v0.5.0
type RepositoryFileInitParameters struct { // Git branch (defaults to the repository's default branch). // The branch must already exist, it will not be created if it does not already exist. // The branch name, defaults to the repository's default branch // +crossplane:generate:reference:type=github.com/coopnorge/provider-github/apis/repo/v1alpha1.Branch Branch *string `json:"branch,omitempty" tf:"branch,omitempty"` // Reference to a Branch in repo to populate branch. // +kubebuilder:validation:Optional BranchRef *v1.Reference `json:"branchRef,omitempty" tf:"-"` // Selector for a Branch in repo to populate branch. // +kubebuilder:validation:Optional BranchSelector *v1.Selector `json:"branchSelector,omitempty" tf:"-"` // Committer author name to use. NOTE: GitHub app users may omit author and email information so GitHub can verify commits as the GitHub App. This maybe useful when a branch protection rule requires signed commits. // The commit author name, defaults to the authenticated user's name. GitHub app users may omit author and email information so GitHub can verify commits as the GitHub App. CommitAuthor *string `json:"commitAuthor,omitempty" tf:"commit_author,omitempty"` // Committer email address to use. NOTE: GitHub app users may omit author and email information so GitHub can verify commits as the GitHub App. This may be useful when a branch protection rule requires signed commits. // The commit author email address, defaults to the authenticated user's email address. GitHub app users may omit author and email information so GitHub can verify commits as the GitHub App. CommitEmail *string `json:"commitEmail,omitempty" tf:"commit_email,omitempty"` // The commit message when creating, updating or deleting the managed file. // The commit message when creating, updating or deleting the file CommitMessage *string `json:"commitMessage,omitempty" tf:"commit_message,omitempty"` // The file content. // The file's content Content *string `json:"content,omitempty" tf:"content,omitempty"` // The path of the file to manage. // The file path to manage File *string `json:"file,omitempty" tf:"file,omitempty"` // Enable overwriting existing files. If set to true it will overwrite an existing file with the same name. If set to false it will fail if there is an existing file with the same name. // Enable overwriting existing files, defaults to "false" OverwriteOnCreate *bool `json:"overwriteOnCreate,omitempty" tf:"overwrite_on_create,omitempty"` // The repository to create the file in. // The repository name // +crossplane:generate:reference:type=github.com/coopnorge/provider-github/apis/repo/v1alpha1.Repository Repository *string `json:"repository,omitempty" tf:"repository,omitempty"` // Reference to a Repository in repo to populate repository. // +kubebuilder:validation:Optional RepositoryRef *v1.Reference `json:"repositoryRef,omitempty" tf:"-"` // Selector for a Repository in repo to populate repository. // +kubebuilder:validation:Optional RepositorySelector *v1.Selector `json:"repositorySelector,omitempty" tf:"-"` }
func (*RepositoryFileInitParameters) DeepCopy ¶ added in v0.5.0
func (in *RepositoryFileInitParameters) DeepCopy() *RepositoryFileInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RepositoryFileInitParameters.
func (*RepositoryFileInitParameters) DeepCopyInto ¶ added in v0.5.0
func (in *RepositoryFileInitParameters) DeepCopyInto(out *RepositoryFileInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RepositoryFileList ¶
type RepositoryFileList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []RepositoryFile `json:"items"` }
RepositoryFileList contains a list of RepositoryFiles
func (*RepositoryFileList) DeepCopy ¶
func (in *RepositoryFileList) DeepCopy() *RepositoryFileList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RepositoryFileList.
func (*RepositoryFileList) DeepCopyInto ¶
func (in *RepositoryFileList) DeepCopyInto(out *RepositoryFileList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RepositoryFileList) DeepCopyObject ¶
func (in *RepositoryFileList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*RepositoryFileList) GetItems ¶
func (l *RepositoryFileList) GetItems() []resource.Managed
GetItems of this RepositoryFileList.
type RepositoryFileObservation ¶
type RepositoryFileObservation struct { // Git branch (defaults to the repository's default branch). // The branch must already exist, it will not be created if it does not already exist. // The branch name, defaults to the repository's default branch Branch *string `json:"branch,omitempty" tf:"branch,omitempty"` // Committer author name to use. NOTE: GitHub app users may omit author and email information so GitHub can verify commits as the GitHub App. This maybe useful when a branch protection rule requires signed commits. // The commit author name, defaults to the authenticated user's name. GitHub app users may omit author and email information so GitHub can verify commits as the GitHub App. CommitAuthor *string `json:"commitAuthor,omitempty" tf:"commit_author,omitempty"` // Committer email address to use. NOTE: GitHub app users may omit author and email information so GitHub can verify commits as the GitHub App. This may be useful when a branch protection rule requires signed commits. // The commit author email address, defaults to the authenticated user's email address. GitHub app users may omit author and email information so GitHub can verify commits as the GitHub App. CommitEmail *string `json:"commitEmail,omitempty" tf:"commit_email,omitempty"` // The commit message when creating, updating or deleting the managed file. // The commit message when creating, updating or deleting the file CommitMessage *string `json:"commitMessage,omitempty" tf:"commit_message,omitempty"` // The SHA of the commit that modified the file. // The SHA of the commit that modified the file CommitSha *string `json:"commitSha,omitempty" tf:"commit_sha,omitempty"` // The file content. // The file's content Content *string `json:"content,omitempty" tf:"content,omitempty"` // The path of the file to manage. // The file path to manage File *string `json:"file,omitempty" tf:"file,omitempty"` ID *string `json:"id,omitempty" tf:"id,omitempty"` // Enable overwriting existing files. If set to true it will overwrite an existing file with the same name. If set to false it will fail if there is an existing file with the same name. // Enable overwriting existing files, defaults to "false" OverwriteOnCreate *bool `json:"overwriteOnCreate,omitempty" tf:"overwrite_on_create,omitempty"` // The name of the commit/branch/tag. // The name of the commit/branch/tag Ref *string `json:"ref,omitempty" tf:"ref,omitempty"` // The repository to create the file in. // The repository name Repository *string `json:"repository,omitempty" tf:"repository,omitempty"` // The SHA blob of the file. // The blob SHA of the file Sha *string `json:"sha,omitempty" tf:"sha,omitempty"` }
func (*RepositoryFileObservation) DeepCopy ¶
func (in *RepositoryFileObservation) DeepCopy() *RepositoryFileObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RepositoryFileObservation.
func (*RepositoryFileObservation) DeepCopyInto ¶
func (in *RepositoryFileObservation) DeepCopyInto(out *RepositoryFileObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RepositoryFileParameters ¶
type RepositoryFileParameters struct { // Git branch (defaults to the repository's default branch). // The branch must already exist, it will not be created if it does not already exist. // The branch name, defaults to the repository's default branch // +crossplane:generate:reference:type=github.com/coopnorge/provider-github/apis/repo/v1alpha1.Branch // +kubebuilder:validation:Optional Branch *string `json:"branch,omitempty" tf:"branch,omitempty"` // Reference to a Branch in repo to populate branch. // +kubebuilder:validation:Optional BranchRef *v1.Reference `json:"branchRef,omitempty" tf:"-"` // Selector for a Branch in repo to populate branch. // +kubebuilder:validation:Optional BranchSelector *v1.Selector `json:"branchSelector,omitempty" tf:"-"` // Committer author name to use. NOTE: GitHub app users may omit author and email information so GitHub can verify commits as the GitHub App. This maybe useful when a branch protection rule requires signed commits. // The commit author name, defaults to the authenticated user's name. GitHub app users may omit author and email information so GitHub can verify commits as the GitHub App. // +kubebuilder:validation:Optional CommitAuthor *string `json:"commitAuthor,omitempty" tf:"commit_author,omitempty"` // Committer email address to use. NOTE: GitHub app users may omit author and email information so GitHub can verify commits as the GitHub App. This may be useful when a branch protection rule requires signed commits. // The commit author email address, defaults to the authenticated user's email address. GitHub app users may omit author and email information so GitHub can verify commits as the GitHub App. // +kubebuilder:validation:Optional CommitEmail *string `json:"commitEmail,omitempty" tf:"commit_email,omitempty"` // The commit message when creating, updating or deleting the managed file. // The commit message when creating, updating or deleting the file // +kubebuilder:validation:Optional CommitMessage *string `json:"commitMessage,omitempty" tf:"commit_message,omitempty"` // The file content. // The file's content // +kubebuilder:validation:Optional Content *string `json:"content,omitempty" tf:"content,omitempty"` // The path of the file to manage. // The file path to manage // +kubebuilder:validation:Optional File *string `json:"file,omitempty" tf:"file,omitempty"` // Enable overwriting existing files. If set to true it will overwrite an existing file with the same name. If set to false it will fail if there is an existing file with the same name. // Enable overwriting existing files, defaults to "false" // +kubebuilder:validation:Optional OverwriteOnCreate *bool `json:"overwriteOnCreate,omitempty" tf:"overwrite_on_create,omitempty"` // The repository to create the file in. // The repository name // +crossplane:generate:reference:type=github.com/coopnorge/provider-github/apis/repo/v1alpha1.Repository // +kubebuilder:validation:Optional Repository *string `json:"repository,omitempty" tf:"repository,omitempty"` // Reference to a Repository in repo to populate repository. // +kubebuilder:validation:Optional RepositoryRef *v1.Reference `json:"repositoryRef,omitempty" tf:"-"` // Selector for a Repository in repo to populate repository. // +kubebuilder:validation:Optional RepositorySelector *v1.Selector `json:"repositorySelector,omitempty" tf:"-"` }
func (*RepositoryFileParameters) DeepCopy ¶
func (in *RepositoryFileParameters) DeepCopy() *RepositoryFileParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RepositoryFileParameters.
func (*RepositoryFileParameters) DeepCopyInto ¶
func (in *RepositoryFileParameters) DeepCopyInto(out *RepositoryFileParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RepositoryFileSpec ¶
type RepositoryFileSpec struct { v1.ResourceSpec `json:",inline"` ForProvider RepositoryFileParameters `json:"forProvider"` // THIS IS A BETA FIELD. It will be honored // unless the Management Policies feature flag is disabled. // InitProvider holds the same fields as ForProvider, with the exception // of Identifier and other resource reference fields. The fields that are // in InitProvider are merged into ForProvider when the resource is created. // The same fields are also added to the terraform ignore_changes hook, to // avoid updating them after creation. This is useful for fields that are // required on creation, but we do not desire to update them after creation, // for example because of an external controller is managing them, like an // autoscaler. InitProvider RepositoryFileInitParameters `json:"initProvider,omitempty"` }
RepositoryFileSpec defines the desired state of RepositoryFile
func (*RepositoryFileSpec) DeepCopy ¶
func (in *RepositoryFileSpec) DeepCopy() *RepositoryFileSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RepositoryFileSpec.
func (*RepositoryFileSpec) DeepCopyInto ¶
func (in *RepositoryFileSpec) DeepCopyInto(out *RepositoryFileSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RepositoryFileStatus ¶
type RepositoryFileStatus struct { v1.ResourceStatus `json:",inline"` AtProvider RepositoryFileObservation `json:"atProvider,omitempty"` }
RepositoryFileStatus defines the observed state of RepositoryFile.
func (*RepositoryFileStatus) DeepCopy ¶
func (in *RepositoryFileStatus) DeepCopy() *RepositoryFileStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RepositoryFileStatus.
func (*RepositoryFileStatus) DeepCopyInto ¶
func (in *RepositoryFileStatus) DeepCopyInto(out *RepositoryFileStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RepositoryInitParameters ¶ added in v0.5.0
type RepositoryInitParameters struct { // Set to true to allow auto-merging pull requests on the repository. // Set to 'true' to allow auto-merging pull requests on the repository. AllowAutoMerge *bool `json:"allowAutoMerge,omitempty" tf:"allow_auto_merge,omitempty"` // (including the related merge_commit_title and merge_commit_message) // Set to 'false' to disable merge commits on the repository. AllowMergeCommit *bool `json:"allowMergeCommit,omitempty" tf:"allow_merge_commit,omitempty"` // Set to false to disable rebase merges on the repository. // Set to 'false' to disable rebase merges on the repository. AllowRebaseMerge *bool `json:"allowRebaseMerge,omitempty" tf:"allow_rebase_merge,omitempty"` // (including the related squash_merge_commit_title and squash_merge_commit_message) // Set to 'false' to disable squash merges on the repository. AllowSquashMerge *bool `json:"allowSquashMerge,omitempty" tf:"allow_squash_merge,omitempty"` // Set to true to always suggest updating pull request branches. // Set to 'true' to always suggest updating pull request branches. AllowUpdateBranch *bool `json:"allowUpdateBranch,omitempty" tf:"allow_update_branch,omitempty"` // Set to true to archive the repository instead of deleting on destroy. // Set to 'true' to archive the repository instead of deleting on destroy. ArchiveOnDestroy *bool `json:"archiveOnDestroy,omitempty" tf:"archive_on_destroy,omitempty"` // Specifies if the repository should be archived. Defaults to false. NOTE Currently, the API does not support unarchiving. // Specifies if the repository should be archived. Defaults to 'false'. NOTE Currently, the API does not support unarchiving. Archived *bool `json:"archived,omitempty" tf:"archived,omitempty"` // Set to true to produce an initial commit in the repository. // Set to 'true' to produce an initial commit in the repository. AutoInit *bool `json:"autoInit,omitempty" tf:"auto_init,omitempty"` // (Deprecated: Use github_branch_default resource instead) The name of the default branch of the repository. NOTE: This can only be set after a repository has already been created, // and after a correct reference has been created for the target branch inside the repository. This means a user will have to omit this parameter from the // initial repository creation and create the target branch inside of the repository prior to setting this attribute. // Can only be set after initial repository creation, and only if the target branch exists DefaultBranch *string `json:"defaultBranch,omitempty" tf:"default_branch,omitempty"` // Automatically delete head branch after a pull request is merged. Defaults to false. // Automatically delete head branch after a pull request is merged. Defaults to 'false'. DeleteBranchOnMerge *bool `json:"deleteBranchOnMerge,omitempty" tf:"delete_branch_on_merge,omitempty"` // A description of the repository. // A description of the repository. Description *string `json:"description,omitempty" tf:"description,omitempty"` // Use the name of the template without the extension. For example, "Haskell". // Use the name of the template without the extension. For example, 'Haskell'. GitignoreTemplate *string `json:"gitignoreTemplate,omitempty" tf:"gitignore_template,omitempty"` // Set to true to enable GitHub Discussions on the repository. Defaults to false. // Set to 'true' to enable GitHub Discussions on the repository. Defaults to 'false'. HasDiscussions *bool `json:"hasDiscussions,omitempty" tf:"has_discussions,omitempty"` // Set to true to enable the (deprecated) downloads features on the repository. // Set to 'true' to enable the (deprecated) downloads features on the repository. HasDownloads *bool `json:"hasDownloads,omitempty" tf:"has_downloads,omitempty"` // Set to true to enable the GitHub Issues features // on the repository. // Set to 'true' to enable the GitHub Issues features on the repository HasIssues *bool `json:"hasIssues,omitempty" tf:"has_issues,omitempty"` // Set to true to enable the GitHub Projects features on the repository. Per the GitHub documentation when in an organization that has disabled repository projects it will default to false and will otherwise default to true. If you specify true when it has been disabled it will return an error. // Set to 'true' to enable the GitHub Projects features on the repository. Per the GitHub documentation when in an organization that has disabled repository projects it will default to 'false' and will otherwise default to 'true'. If you specify 'true' when it has been disabled it will return an error. HasProjects *bool `json:"hasProjects,omitempty" tf:"has_projects,omitempty"` // Set to true to enable the GitHub Wiki features on // the repository. // Set to 'true' to enable the GitHub Wiki features on the repository. HasWiki *bool `json:"hasWiki,omitempty" tf:"has_wiki,omitempty"` // URL of a page describing the project. // URL of a page describing the project. HomepageURL *string `json:"homepageUrl,omitempty" tf:"homepage_url,omitempty"` // Set to true to not call the vulnerability alerts endpoint so the resource can also be used without admin permissions during read. // Set to true to not call the vulnerability alerts endpoint so the resource can also be used without admin permissions during read. IgnoreVulnerabilityAlertsDuringRead *bool `json:"ignoreVulnerabilityAlertsDuringRead,omitempty" tf:"ignore_vulnerability_alerts_during_read,omitempty"` // Set to true to tell GitHub that this is a template repository. // Set to 'true' to tell GitHub that this is a template repository. IsTemplate *bool `json:"isTemplate,omitempty" tf:"is_template,omitempty"` // Use the name of the template without the extension. For example, "mit" or "mpl-2.0". // Use the name of the template without the extension. For example, 'mit' or 'mpl-2.0'. LicenseTemplate *string `json:"licenseTemplate,omitempty" tf:"license_template,omitempty"` // Can be PR_BODY, PR_TITLE, or BLANK for a default merge commit message. Applicable only if allow_merge_commit is true. // Can be 'PR_BODY', 'PR_TITLE', or 'BLANK' for a default merge commit message. MergeCommitMessage *string `json:"mergeCommitMessage,omitempty" tf:"merge_commit_message,omitempty"` // Can be PR_TITLE or MERGE_MESSAGE for a default merge commit title. Applicable only if allow_merge_commit is true. // Can be 'PR_TITLE' or 'MERGE_MESSAGE' for a default merge commit title. MergeCommitTitle *string `json:"mergeCommitTitle,omitempty" tf:"merge_commit_title,omitempty"` // The name of the repository. // The name of the repository. Name *string `json:"name,omitempty" tf:"name,omitempty"` // The repository's GitHub Pages configuration. See GitHub Pages Configuration below for details. // The repository's GitHub Pages configuration Pages []PagesInitParameters `json:"pages,omitempty" tf:"pages,omitempty"` // Set to true to create a private repository. // Repositories are created as public (e.g. open source) by default. Private *bool `json:"private,omitempty" tf:"private,omitempty"` // The repository's security and analysis configuration. See Security and Analysis Configuration below for details. // Security and analysis settings for the repository. To use this parameter you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. SecurityAndAnalysis []SecurityAndAnalysisInitParameters `json:"securityAndAnalysis,omitempty" tf:"security_and_analysis,omitempty"` // Can be PR_BODY, COMMIT_MESSAGES, or BLANK for a default squash merge commit message. Applicable only if allow_squash_merge is true. // Can be 'PR_BODY', 'COMMIT_MESSAGES', or 'BLANK' for a default squash merge commit message. SquashMergeCommitMessage *string `json:"squashMergeCommitMessage,omitempty" tf:"squash_merge_commit_message,omitempty"` // Can be PR_TITLE or COMMIT_OR_PR_TITLE for a default squash merge commit title. Applicable only if allow_squash_merge is true. // Can be 'PR_TITLE' or 'COMMIT_OR_PR_TITLE' for a default squash merge commit title. SquashMergeCommitTitle *string `json:"squashMergeCommitTitle,omitempty" tf:"squash_merge_commit_title,omitempty"` // Use a template repository to create this resource. See Template Repositories below for details. // Use a template repository to create this resource. Template []TemplateInitParameters `json:"template,omitempty" tf:"template,omitempty"` // The list of topics of the repository. // The list of topics of the repository. // +listType=set Topics []*string `json:"topics,omitempty" tf:"topics,omitempty"` // Can be public or private. If your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+, visibility can also be internal. The visibility parameter overrides the private parameter. // Can be 'public' or 'private'. If your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+, visibility can also be 'internal'. Visibility *string `json:"visibility,omitempty" tf:"visibility,omitempty"` // Set to true to enable security alerts for vulnerable dependencies. Enabling requires alerts to be enabled on the owner level. (Note for importing: GitHub enables the alerts on public repos but disables them on private repos by default.) See GitHub Documentation for details. Note that vulnerability alerts have not been successfully tested on any GitHub Enterprise instance and may be unavailable in those settings. // Set to 'true' to enable security alerts for vulnerable dependencies. Enabling requires alerts to be enabled on the owner level. (Note for importing: GitHub enables the alerts on public repos but disables them on private repos by default). Note that vulnerability alerts have not been successfully tested on any GitHub Enterprise instance and may be unavailable in those settings. VulnerabilityAlerts *bool `json:"vulnerabilityAlerts,omitempty" tf:"vulnerability_alerts,omitempty"` // Require contributors to sign off on web-based commits. See more here. Defaults to false. // Require contributors to sign off on web-based commits. Defaults to 'false'. WebCommitSignoffRequired *bool `json:"webCommitSignoffRequired,omitempty" tf:"web_commit_signoff_required,omitempty"` }
func (*RepositoryInitParameters) DeepCopy ¶ added in v0.5.0
func (in *RepositoryInitParameters) DeepCopy() *RepositoryInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RepositoryInitParameters.
func (*RepositoryInitParameters) DeepCopyInto ¶ added in v0.5.0
func (in *RepositoryInitParameters) DeepCopyInto(out *RepositoryInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RepositoryList ¶
type RepositoryList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Repository `json:"items"` }
RepositoryList contains a list of Repositorys
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 { // Set to true to allow auto-merging pull requests on the repository. // Set to 'true' to allow auto-merging pull requests on the repository. AllowAutoMerge *bool `json:"allowAutoMerge,omitempty" tf:"allow_auto_merge,omitempty"` // (including the related merge_commit_title and merge_commit_message) // Set to 'false' to disable merge commits on the repository. AllowMergeCommit *bool `json:"allowMergeCommit,omitempty" tf:"allow_merge_commit,omitempty"` // Set to false to disable rebase merges on the repository. // Set to 'false' to disable rebase merges on the repository. AllowRebaseMerge *bool `json:"allowRebaseMerge,omitempty" tf:"allow_rebase_merge,omitempty"` // (including the related squash_merge_commit_title and squash_merge_commit_message) // Set to 'false' to disable squash merges on the repository. AllowSquashMerge *bool `json:"allowSquashMerge,omitempty" tf:"allow_squash_merge,omitempty"` // Set to true to always suggest updating pull request branches. // Set to 'true' to always suggest updating pull request branches. AllowUpdateBranch *bool `json:"allowUpdateBranch,omitempty" tf:"allow_update_branch,omitempty"` // Set to true to archive the repository instead of deleting on destroy. // Set to 'true' to archive the repository instead of deleting on destroy. ArchiveOnDestroy *bool `json:"archiveOnDestroy,omitempty" tf:"archive_on_destroy,omitempty"` // Specifies if the repository should be archived. Defaults to false. NOTE Currently, the API does not support unarchiving. // Specifies if the repository should be archived. Defaults to 'false'. NOTE Currently, the API does not support unarchiving. Archived *bool `json:"archived,omitempty" tf:"archived,omitempty"` // Set to true to produce an initial commit in the repository. // Set to 'true' to produce an initial commit in the repository. AutoInit *bool `json:"autoInit,omitempty" tf:"auto_init,omitempty"` // (Deprecated: Use github_branch_default resource instead) The name of the default branch of the repository. NOTE: This can only be set after a repository has already been created, // and after a correct reference has been created for the target branch inside the repository. This means a user will have to omit this parameter from the // initial repository creation and create the target branch inside of the repository prior to setting this attribute. // Can only be set after initial repository creation, and only if the target branch exists DefaultBranch *string `json:"defaultBranch,omitempty" tf:"default_branch,omitempty"` // Automatically delete head branch after a pull request is merged. Defaults to false. // Automatically delete head branch after a pull request is merged. Defaults to 'false'. DeleteBranchOnMerge *bool `json:"deleteBranchOnMerge,omitempty" tf:"delete_branch_on_merge,omitempty"` // A description of the repository. // A description of the repository. Description *string `json:"description,omitempty" tf:"description,omitempty"` Etag *string `json:"etag,omitempty" tf:"etag,omitempty"` // A string of the form "orgname/reponame". // A string of the form 'orgname/reponame'. FullName *string `json:"fullName,omitempty" tf:"full_name,omitempty"` // URL that can be provided to git clone to clone the repository anonymously via the git protocol. // URL that can be provided to 'git clone' to clone the repository anonymously via the git protocol. GitCloneURL *string `json:"gitCloneUrl,omitempty" tf:"git_clone_url,omitempty"` // Use the name of the template without the extension. For example, "Haskell". // Use the name of the template without the extension. For example, 'Haskell'. GitignoreTemplate *string `json:"gitignoreTemplate,omitempty" tf:"gitignore_template,omitempty"` // URL to the repository on the web. // URL to the repository on the web. HTMLURL *string `json:"htmlUrl,omitempty" tf:"html_url,omitempty"` // URL that can be provided to git clone to clone the repository via HTTPS. // URL that can be provided to 'git clone' to clone the repository via HTTPS. HTTPCloneURL *string `json:"httpCloneUrl,omitempty" tf:"http_clone_url,omitempty"` // Set to true to enable GitHub Discussions on the repository. Defaults to false. // Set to 'true' to enable GitHub Discussions on the repository. Defaults to 'false'. HasDiscussions *bool `json:"hasDiscussions,omitempty" tf:"has_discussions,omitempty"` // Set to true to enable the (deprecated) downloads features on the repository. // Set to 'true' to enable the (deprecated) downloads features on the repository. HasDownloads *bool `json:"hasDownloads,omitempty" tf:"has_downloads,omitempty"` // Set to true to enable the GitHub Issues features // on the repository. // Set to 'true' to enable the GitHub Issues features on the repository HasIssues *bool `json:"hasIssues,omitempty" tf:"has_issues,omitempty"` // Set to true to enable the GitHub Projects features on the repository. Per the GitHub documentation when in an organization that has disabled repository projects it will default to false and will otherwise default to true. If you specify true when it has been disabled it will return an error. // Set to 'true' to enable the GitHub Projects features on the repository. Per the GitHub documentation when in an organization that has disabled repository projects it will default to 'false' and will otherwise default to 'true'. If you specify 'true' when it has been disabled it will return an error. HasProjects *bool `json:"hasProjects,omitempty" tf:"has_projects,omitempty"` // Set to true to enable the GitHub Wiki features on // the repository. // Set to 'true' to enable the GitHub Wiki features on the repository. HasWiki *bool `json:"hasWiki,omitempty" tf:"has_wiki,omitempty"` // URL of a page describing the project. // URL of a page describing the project. HomepageURL *string `json:"homepageUrl,omitempty" tf:"homepage_url,omitempty"` ID *string `json:"id,omitempty" tf:"id,omitempty"` // Set to true to not call the vulnerability alerts endpoint so the resource can also be used without admin permissions during read. // Set to true to not call the vulnerability alerts endpoint so the resource can also be used without admin permissions during read. IgnoreVulnerabilityAlertsDuringRead *bool `json:"ignoreVulnerabilityAlertsDuringRead,omitempty" tf:"ignore_vulnerability_alerts_during_read,omitempty"` // Set to true to tell GitHub that this is a template repository. // Set to 'true' to tell GitHub that this is a template repository. IsTemplate *bool `json:"isTemplate,omitempty" tf:"is_template,omitempty"` // Use the name of the template without the extension. For example, "mit" or "mpl-2.0". // Use the name of the template without the extension. For example, 'mit' or 'mpl-2.0'. LicenseTemplate *string `json:"licenseTemplate,omitempty" tf:"license_template,omitempty"` // Can be PR_BODY, PR_TITLE, or BLANK for a default merge commit message. Applicable only if allow_merge_commit is true. // Can be 'PR_BODY', 'PR_TITLE', or 'BLANK' for a default merge commit message. MergeCommitMessage *string `json:"mergeCommitMessage,omitempty" tf:"merge_commit_message,omitempty"` // Can be PR_TITLE or MERGE_MESSAGE for a default merge commit title. Applicable only if allow_merge_commit is true. // Can be 'PR_TITLE' or 'MERGE_MESSAGE' for a default merge commit title. MergeCommitTitle *string `json:"mergeCommitTitle,omitempty" tf:"merge_commit_title,omitempty"` // The name of the repository. // The name of the repository. Name *string `json:"name,omitempty" tf:"name,omitempty"` // GraphQL global node id for use with v4 API // GraphQL global node id for use with v4 API. NodeID *string `json:"nodeId,omitempty" tf:"node_id,omitempty"` // The repository's GitHub Pages configuration. See GitHub Pages Configuration below for details. // The repository's GitHub Pages configuration Pages []PagesObservation `json:"pages,omitempty" tf:"pages,omitempty"` // The primary language used in the repository. PrimaryLanguage *string `json:"primaryLanguage,omitempty" tf:"primary_language,omitempty"` // Set to true to create a private repository. // Repositories are created as public (e.g. open source) by default. Private *bool `json:"private,omitempty" tf:"private,omitempty"` // GitHub ID for the repository // GitHub ID for the repository. RepoID *int64 `json:"repoId,omitempty" tf:"repo_id,omitempty"` // URL that can be provided to git clone to clone the repository via SSH. // URL that can be provided to 'git clone' to clone the repository via SSH. SSHCloneURL *string `json:"sshCloneUrl,omitempty" tf:"ssh_clone_url,omitempty"` // The repository's security and analysis configuration. See Security and Analysis Configuration below for details. // Security and analysis settings for the repository. To use this parameter you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. SecurityAndAnalysis []SecurityAndAnalysisObservation `json:"securityAndAnalysis,omitempty" tf:"security_and_analysis,omitempty"` // Can be PR_BODY, COMMIT_MESSAGES, or BLANK for a default squash merge commit message. Applicable only if allow_squash_merge is true. // Can be 'PR_BODY', 'COMMIT_MESSAGES', or 'BLANK' for a default squash merge commit message. SquashMergeCommitMessage *string `json:"squashMergeCommitMessage,omitempty" tf:"squash_merge_commit_message,omitempty"` // Can be PR_TITLE or COMMIT_OR_PR_TITLE for a default squash merge commit title. Applicable only if allow_squash_merge is true. // Can be 'PR_TITLE' or 'COMMIT_OR_PR_TITLE' for a default squash merge commit title. SquashMergeCommitTitle *string `json:"squashMergeCommitTitle,omitempty" tf:"squash_merge_commit_title,omitempty"` // URL that can be provided to svn checkout to check out the repository via GitHub's Subversion protocol emulation. // URL that can be provided to 'svn checkout' to check out the repository via GitHub's Subversion protocol emulation. SvnURL *string `json:"svnUrl,omitempty" tf:"svn_url,omitempty"` // Use a template repository to create this resource. See Template Repositories below for details. // Use a template repository to create this resource. Template []TemplateObservation `json:"template,omitempty" tf:"template,omitempty"` // The list of topics of the repository. // The list of topics of the repository. // +listType=set Topics []*string `json:"topics,omitempty" tf:"topics,omitempty"` // Can be public or private. If your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+, visibility can also be internal. The visibility parameter overrides the private parameter. // Can be 'public' or 'private'. If your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+, visibility can also be 'internal'. Visibility *string `json:"visibility,omitempty" tf:"visibility,omitempty"` // Set to true to enable security alerts for vulnerable dependencies. Enabling requires alerts to be enabled on the owner level. (Note for importing: GitHub enables the alerts on public repos but disables them on private repos by default.) See GitHub Documentation for details. Note that vulnerability alerts have not been successfully tested on any GitHub Enterprise instance and may be unavailable in those settings. // Set to 'true' to enable security alerts for vulnerable dependencies. Enabling requires alerts to be enabled on the owner level. (Note for importing: GitHub enables the alerts on public repos but disables them on private repos by default). Note that vulnerability alerts have not been successfully tested on any GitHub Enterprise instance and may be unavailable in those settings. VulnerabilityAlerts *bool `json:"vulnerabilityAlerts,omitempty" tf:"vulnerability_alerts,omitempty"` // Require contributors to sign off on web-based commits. See more here. Defaults to false. // Require contributors to sign off on web-based commits. Defaults to 'false'. WebCommitSignoffRequired *bool `json:"webCommitSignoffRequired,omitempty" tf:"web_commit_signoff_required,omitempty"` }
func (*RepositoryObservation) DeepCopy ¶
func (in *RepositoryObservation) DeepCopy() *RepositoryObservation
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 { // Set to true to allow auto-merging pull requests on the repository. // Set to 'true' to allow auto-merging pull requests on the repository. // +kubebuilder:validation:Optional AllowAutoMerge *bool `json:"allowAutoMerge,omitempty" tf:"allow_auto_merge,omitempty"` // (including the related merge_commit_title and merge_commit_message) // Set to 'false' to disable merge commits on the repository. // +kubebuilder:validation:Optional AllowMergeCommit *bool `json:"allowMergeCommit,omitempty" tf:"allow_merge_commit,omitempty"` // Set to false to disable rebase merges on the repository. // Set to 'false' to disable rebase merges on the repository. // +kubebuilder:validation:Optional AllowRebaseMerge *bool `json:"allowRebaseMerge,omitempty" tf:"allow_rebase_merge,omitempty"` // (including the related squash_merge_commit_title and squash_merge_commit_message) // Set to 'false' to disable squash merges on the repository. // +kubebuilder:validation:Optional AllowSquashMerge *bool `json:"allowSquashMerge,omitempty" tf:"allow_squash_merge,omitempty"` // Set to true to always suggest updating pull request branches. // Set to 'true' to always suggest updating pull request branches. // +kubebuilder:validation:Optional AllowUpdateBranch *bool `json:"allowUpdateBranch,omitempty" tf:"allow_update_branch,omitempty"` // Set to true to archive the repository instead of deleting on destroy. // Set to 'true' to archive the repository instead of deleting on destroy. // +kubebuilder:validation:Optional ArchiveOnDestroy *bool `json:"archiveOnDestroy,omitempty" tf:"archive_on_destroy,omitempty"` // Specifies if the repository should be archived. Defaults to false. NOTE Currently, the API does not support unarchiving. // Specifies if the repository should be archived. Defaults to 'false'. NOTE Currently, the API does not support unarchiving. // +kubebuilder:validation:Optional Archived *bool `json:"archived,omitempty" tf:"archived,omitempty"` // Set to true to produce an initial commit in the repository. // Set to 'true' to produce an initial commit in the repository. // +kubebuilder:validation:Optional AutoInit *bool `json:"autoInit,omitempty" tf:"auto_init,omitempty"` // (Deprecated: Use github_branch_default resource instead) The name of the default branch of the repository. NOTE: This can only be set after a repository has already been created, // and after a correct reference has been created for the target branch inside the repository. This means a user will have to omit this parameter from the // initial repository creation and create the target branch inside of the repository prior to setting this attribute. // Can only be set after initial repository creation, and only if the target branch exists // +kubebuilder:validation:Optional DefaultBranch *string `json:"defaultBranch,omitempty" tf:"default_branch,omitempty"` // Automatically delete head branch after a pull request is merged. Defaults to false. // Automatically delete head branch after a pull request is merged. Defaults to 'false'. // +kubebuilder:validation:Optional DeleteBranchOnMerge *bool `json:"deleteBranchOnMerge,omitempty" tf:"delete_branch_on_merge,omitempty"` // A description of the repository. // A description of the repository. // +kubebuilder:validation:Optional Description *string `json:"description,omitempty" tf:"description,omitempty"` // Use the name of the template without the extension. For example, "Haskell". // Use the name of the template without the extension. For example, 'Haskell'. // +kubebuilder:validation:Optional GitignoreTemplate *string `json:"gitignoreTemplate,omitempty" tf:"gitignore_template,omitempty"` // Set to true to enable GitHub Discussions on the repository. Defaults to false. // Set to 'true' to enable GitHub Discussions on the repository. Defaults to 'false'. // +kubebuilder:validation:Optional HasDiscussions *bool `json:"hasDiscussions,omitempty" tf:"has_discussions,omitempty"` // Set to true to enable the (deprecated) downloads features on the repository. // Set to 'true' to enable the (deprecated) downloads features on the repository. // +kubebuilder:validation:Optional HasDownloads *bool `json:"hasDownloads,omitempty" tf:"has_downloads,omitempty"` // Set to true to enable the GitHub Issues features // on the repository. // Set to 'true' to enable the GitHub Issues features on the repository // +kubebuilder:validation:Optional HasIssues *bool `json:"hasIssues,omitempty" tf:"has_issues,omitempty"` // Set to true to enable the GitHub Projects features on the repository. Per the GitHub documentation when in an organization that has disabled repository projects it will default to false and will otherwise default to true. If you specify true when it has been disabled it will return an error. // Set to 'true' to enable the GitHub Projects features on the repository. Per the GitHub documentation when in an organization that has disabled repository projects it will default to 'false' and will otherwise default to 'true'. If you specify 'true' when it has been disabled it will return an error. // +kubebuilder:validation:Optional HasProjects *bool `json:"hasProjects,omitempty" tf:"has_projects,omitempty"` // Set to true to enable the GitHub Wiki features on // the repository. // Set to 'true' to enable the GitHub Wiki features on the repository. // +kubebuilder:validation:Optional HasWiki *bool `json:"hasWiki,omitempty" tf:"has_wiki,omitempty"` // URL of a page describing the project. // URL of a page describing the project. // +kubebuilder:validation:Optional HomepageURL *string `json:"homepageUrl,omitempty" tf:"homepage_url,omitempty"` // Set to true to not call the vulnerability alerts endpoint so the resource can also be used without admin permissions during read. // Set to true to not call the vulnerability alerts endpoint so the resource can also be used without admin permissions during read. // +kubebuilder:validation:Optional IgnoreVulnerabilityAlertsDuringRead *bool `json:"ignoreVulnerabilityAlertsDuringRead,omitempty" tf:"ignore_vulnerability_alerts_during_read,omitempty"` // Set to true to tell GitHub that this is a template repository. // Set to 'true' to tell GitHub that this is a template repository. // +kubebuilder:validation:Optional IsTemplate *bool `json:"isTemplate,omitempty" tf:"is_template,omitempty"` // Use the name of the template without the extension. For example, "mit" or "mpl-2.0". // Use the name of the template without the extension. For example, 'mit' or 'mpl-2.0'. // +kubebuilder:validation:Optional LicenseTemplate *string `json:"licenseTemplate,omitempty" tf:"license_template,omitempty"` // Can be PR_BODY, PR_TITLE, or BLANK for a default merge commit message. Applicable only if allow_merge_commit is true. // Can be 'PR_BODY', 'PR_TITLE', or 'BLANK' for a default merge commit message. // +kubebuilder:validation:Optional MergeCommitMessage *string `json:"mergeCommitMessage,omitempty" tf:"merge_commit_message,omitempty"` // Can be PR_TITLE or MERGE_MESSAGE for a default merge commit title. Applicable only if allow_merge_commit is true. // Can be 'PR_TITLE' or 'MERGE_MESSAGE' for a default merge commit title. // +kubebuilder:validation:Optional MergeCommitTitle *string `json:"mergeCommitTitle,omitempty" tf:"merge_commit_title,omitempty"` // The name of the repository. // The name of the repository. // +kubebuilder:validation:Optional Name *string `json:"name,omitempty" tf:"name,omitempty"` // The repository's GitHub Pages configuration. See GitHub Pages Configuration below for details. // The repository's GitHub Pages configuration // +kubebuilder:validation:Optional Pages []PagesParameters `json:"pages,omitempty" tf:"pages,omitempty"` // Set to true to create a private repository. // Repositories are created as public (e.g. open source) by default. // +kubebuilder:validation:Optional Private *bool `json:"private,omitempty" tf:"private,omitempty"` // The repository's security and analysis configuration. See Security and Analysis Configuration below for details. // Security and analysis settings for the repository. To use this parameter you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. // +kubebuilder:validation:Optional SecurityAndAnalysis []SecurityAndAnalysisParameters `json:"securityAndAnalysis,omitempty" tf:"security_and_analysis,omitempty"` // Can be PR_BODY, COMMIT_MESSAGES, or BLANK for a default squash merge commit message. Applicable only if allow_squash_merge is true. // Can be 'PR_BODY', 'COMMIT_MESSAGES', or 'BLANK' for a default squash merge commit message. // +kubebuilder:validation:Optional SquashMergeCommitMessage *string `json:"squashMergeCommitMessage,omitempty" tf:"squash_merge_commit_message,omitempty"` // Can be PR_TITLE or COMMIT_OR_PR_TITLE for a default squash merge commit title. Applicable only if allow_squash_merge is true. // Can be 'PR_TITLE' or 'COMMIT_OR_PR_TITLE' for a default squash merge commit title. // +kubebuilder:validation:Optional SquashMergeCommitTitle *string `json:"squashMergeCommitTitle,omitempty" tf:"squash_merge_commit_title,omitempty"` // Use a template repository to create this resource. See Template Repositories below for details. // Use a template repository to create this resource. // +kubebuilder:validation:Optional Template []TemplateParameters `json:"template,omitempty" tf:"template,omitempty"` // The list of topics of the repository. // The list of topics of the repository. // +kubebuilder:validation:Optional // +listType=set Topics []*string `json:"topics,omitempty" tf:"topics,omitempty"` // Can be public or private. If your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+, visibility can also be internal. The visibility parameter overrides the private parameter. // Can be 'public' or 'private'. If your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+, visibility can also be 'internal'. // +kubebuilder:validation:Optional Visibility *string `json:"visibility,omitempty" tf:"visibility,omitempty"` // Set to true to enable security alerts for vulnerable dependencies. Enabling requires alerts to be enabled on the owner level. (Note for importing: GitHub enables the alerts on public repos but disables them on private repos by default.) See GitHub Documentation for details. Note that vulnerability alerts have not been successfully tested on any GitHub Enterprise instance and may be unavailable in those settings. // Set to 'true' to enable security alerts for vulnerable dependencies. Enabling requires alerts to be enabled on the owner level. (Note for importing: GitHub enables the alerts on public repos but disables them on private repos by default). Note that vulnerability alerts have not been successfully tested on any GitHub Enterprise instance and may be unavailable in those settings. // +kubebuilder:validation:Optional VulnerabilityAlerts *bool `json:"vulnerabilityAlerts,omitempty" tf:"vulnerability_alerts,omitempty"` // Require contributors to sign off on web-based commits. See more here. Defaults to false. // Require contributors to sign off on web-based commits. Defaults to 'false'. // +kubebuilder:validation:Optional WebCommitSignoffRequired *bool `json:"webCommitSignoffRequired,omitempty" tf:"web_commit_signoff_required,omitempty"` }
func (*RepositoryParameters) DeepCopy ¶
func (in *RepositoryParameters) DeepCopy() *RepositoryParameters
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 RepositorySpec ¶
type RepositorySpec struct { v1.ResourceSpec `json:",inline"` ForProvider RepositoryParameters `json:"forProvider"` // THIS IS A BETA FIELD. It will be honored // unless the Management Policies feature flag is disabled. // InitProvider holds the same fields as ForProvider, with the exception // of Identifier and other resource reference fields. The fields that are // in InitProvider are merged into ForProvider when the resource is created. // The same fields are also added to the terraform ignore_changes hook, to // avoid updating them after creation. This is useful for fields that are // required on creation, but we do not desire to update them after creation, // for example because of an external controller is managing them, like an // autoscaler. InitProvider RepositoryInitParameters `json:"initProvider,omitempty"` }
RepositorySpec defines the desired state of 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 { v1.ResourceStatus `json:",inline"` AtProvider RepositoryObservation `json:"atProvider,omitempty"` }
RepositoryStatus defines the observed state of 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 RepositoryWebhook ¶ added in v0.9.0
type RepositoryWebhook struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.events) || (has(self.initProvider) && has(self.initProvider.events))",message="spec.forProvider.events is a required parameter" Spec RepositoryWebhookSpec `json:"spec"` Status RepositoryWebhookStatus `json:"status,omitempty"` }
RepositoryWebhook is the Schema for the RepositoryWebhooks API. Creates and manages repository webhooks within GitHub organizations or personal accounts +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].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:resource:scope=Cluster,categories={crossplane,managed,github}
func (*RepositoryWebhook) DeepCopy ¶ added in v0.9.0
func (in *RepositoryWebhook) DeepCopy() *RepositoryWebhook
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RepositoryWebhook.
func (*RepositoryWebhook) DeepCopyInto ¶ added in v0.9.0
func (in *RepositoryWebhook) DeepCopyInto(out *RepositoryWebhook)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RepositoryWebhook) DeepCopyObject ¶ added in v0.9.0
func (in *RepositoryWebhook) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*RepositoryWebhook) GetCondition ¶ added in v0.9.0
func (mg *RepositoryWebhook) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this RepositoryWebhook.
func (*RepositoryWebhook) GetConnectionDetailsMapping ¶ added in v0.9.0
func (tr *RepositoryWebhook) GetConnectionDetailsMapping() map[string]string
GetConnectionDetailsMapping for this RepositoryWebhook
func (*RepositoryWebhook) GetDeletionPolicy ¶ added in v0.9.0
func (mg *RepositoryWebhook) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this RepositoryWebhook.
func (*RepositoryWebhook) GetID ¶ added in v0.9.0
func (tr *RepositoryWebhook) GetID() string
GetID returns ID of underlying Terraform resource of this RepositoryWebhook
func (*RepositoryWebhook) GetInitParameters ¶ added in v0.9.0
func (tr *RepositoryWebhook) GetInitParameters() (map[string]any, error)
GetInitParameters of this RepositoryWebhook
func (*RepositoryWebhook) GetManagementPolicies ¶ added in v0.9.0
func (mg *RepositoryWebhook) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this RepositoryWebhook.
func (*RepositoryWebhook) GetMergedParameters ¶ added in v0.9.0
func (tr *RepositoryWebhook) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
GetInitParameters of this RepositoryWebhook
func (*RepositoryWebhook) GetObservation ¶ added in v0.9.0
func (tr *RepositoryWebhook) GetObservation() (map[string]any, error)
GetObservation of this RepositoryWebhook
func (*RepositoryWebhook) GetParameters ¶ added in v0.9.0
func (tr *RepositoryWebhook) GetParameters() (map[string]any, error)
GetParameters of this RepositoryWebhook
func (*RepositoryWebhook) GetProviderConfigReference ¶ added in v0.9.0
func (mg *RepositoryWebhook) GetProviderConfigReference() *xpv1.Reference
GetProviderConfigReference of this RepositoryWebhook.
func (*RepositoryWebhook) GetPublishConnectionDetailsTo ¶ added in v0.9.0
func (mg *RepositoryWebhook) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this RepositoryWebhook.
func (*RepositoryWebhook) GetTerraformResourceType ¶ added in v0.9.0
func (mg *RepositoryWebhook) GetTerraformResourceType() string
GetTerraformResourceType returns Terraform resource type for this RepositoryWebhook
func (*RepositoryWebhook) GetTerraformSchemaVersion ¶ added in v0.9.0
func (tr *RepositoryWebhook) GetTerraformSchemaVersion() int
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*RepositoryWebhook) GetWriteConnectionSecretToReference ¶ added in v0.9.0
func (mg *RepositoryWebhook) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this RepositoryWebhook.
func (*RepositoryWebhook) Hub ¶ added in v0.9.0
func (tr *RepositoryWebhook) Hub()
Hub marks this type as a conversion hub.
func (*RepositoryWebhook) LateInitialize ¶ added in v0.9.0
func (tr *RepositoryWebhook) LateInitialize(attrs []byte) (bool, error)
LateInitialize this RepositoryWebhook using its observed tfState. returns True if there are any spec changes for the resource.
func (*RepositoryWebhook) ResolveReferences ¶ added in v0.9.0
ResolveReferences of this RepositoryWebhook.
func (*RepositoryWebhook) SetConditions ¶ added in v0.9.0
func (mg *RepositoryWebhook) SetConditions(c ...xpv1.Condition)
SetConditions of this RepositoryWebhook.
func (*RepositoryWebhook) SetDeletionPolicy ¶ added in v0.9.0
func (mg *RepositoryWebhook) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this RepositoryWebhook.
func (*RepositoryWebhook) SetManagementPolicies ¶ added in v0.9.0
func (mg *RepositoryWebhook) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this RepositoryWebhook.
func (*RepositoryWebhook) SetObservation ¶ added in v0.9.0
func (tr *RepositoryWebhook) SetObservation(obs map[string]any) error
SetObservation for this RepositoryWebhook
func (*RepositoryWebhook) SetParameters ¶ added in v0.9.0
func (tr *RepositoryWebhook) SetParameters(params map[string]any) error
SetParameters for this RepositoryWebhook
func (*RepositoryWebhook) SetProviderConfigReference ¶ added in v0.9.0
func (mg *RepositoryWebhook) SetProviderConfigReference(r *xpv1.Reference)
SetProviderConfigReference of this RepositoryWebhook.
func (*RepositoryWebhook) SetPublishConnectionDetailsTo ¶ added in v0.9.0
func (mg *RepositoryWebhook) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this RepositoryWebhook.
func (*RepositoryWebhook) SetWriteConnectionSecretToReference ¶ added in v0.9.0
func (mg *RepositoryWebhook) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this RepositoryWebhook.
type RepositoryWebhookInitParameters ¶ added in v0.9.0
type RepositoryWebhookInitParameters struct { // Indicate if the webhook should receive events. Defaults to true. // Indicate if the webhook should receive events. Defaults to 'true'. Active *bool `json:"active,omitempty" tf:"active,omitempty"` // Configuration block for the webhook. Detailed below. // Configuration for the webhook. Configuration []ConfigurationInitParameters `json:"configuration,omitempty" tf:"configuration,omitempty"` // A list of events which should trigger the webhook. See a list of available events. // A list of events which should trigger the webhook // +listType=set Events []*string `json:"events,omitempty" tf:"events,omitempty"` // The repository of the webhook. // The repository of the webhook. // +crossplane:generate:reference:type=Repository Repository *string `json:"repository,omitempty" tf:"repository,omitempty"` // Reference to a Repository to populate repository. // +kubebuilder:validation:Optional RepositoryRef *v1.Reference `json:"repositoryRef,omitempty" tf:"-"` // Selector for a Repository to populate repository. // +kubebuilder:validation:Optional RepositorySelector *v1.Selector `json:"repositorySelector,omitempty" tf:"-"` }
func (*RepositoryWebhookInitParameters) DeepCopy ¶ added in v0.9.0
func (in *RepositoryWebhookInitParameters) DeepCopy() *RepositoryWebhookInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RepositoryWebhookInitParameters.
func (*RepositoryWebhookInitParameters) DeepCopyInto ¶ added in v0.9.0
func (in *RepositoryWebhookInitParameters) DeepCopyInto(out *RepositoryWebhookInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RepositoryWebhookList ¶ added in v0.9.0
type RepositoryWebhookList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []RepositoryWebhook `json:"items"` }
RepositoryWebhookList contains a list of RepositoryWebhooks
func (*RepositoryWebhookList) DeepCopy ¶ added in v0.9.0
func (in *RepositoryWebhookList) DeepCopy() *RepositoryWebhookList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RepositoryWebhookList.
func (*RepositoryWebhookList) DeepCopyInto ¶ added in v0.9.0
func (in *RepositoryWebhookList) DeepCopyInto(out *RepositoryWebhookList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RepositoryWebhookList) DeepCopyObject ¶ added in v0.9.0
func (in *RepositoryWebhookList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*RepositoryWebhookList) GetItems ¶ added in v0.9.0
func (l *RepositoryWebhookList) GetItems() []resource.Managed
GetItems of this RepositoryWebhookList.
type RepositoryWebhookObservation ¶ added in v0.9.0
type RepositoryWebhookObservation struct { // Indicate if the webhook should receive events. Defaults to true. // Indicate if the webhook should receive events. Defaults to 'true'. Active *bool `json:"active,omitempty" tf:"active,omitempty"` // Configuration block for the webhook. Detailed below. // Configuration for the webhook. Configuration []ConfigurationObservation `json:"configuration,omitempty" tf:"configuration,omitempty"` Etag *string `json:"etag,omitempty" tf:"etag,omitempty"` // A list of events which should trigger the webhook. See a list of available events. // A list of events which should trigger the webhook // +listType=set Events []*string `json:"events,omitempty" tf:"events,omitempty"` ID *string `json:"id,omitempty" tf:"id,omitempty"` // The repository of the webhook. // The repository of the webhook. Repository *string `json:"repository,omitempty" tf:"repository,omitempty"` // URL of the webhook. This is a sensitive attribute because it may include basic auth credentials. // Configuration block for the webhook URL *string `json:"url,omitempty" tf:"url,omitempty"` }
func (*RepositoryWebhookObservation) DeepCopy ¶ added in v0.9.0
func (in *RepositoryWebhookObservation) DeepCopy() *RepositoryWebhookObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RepositoryWebhookObservation.
func (*RepositoryWebhookObservation) DeepCopyInto ¶ added in v0.9.0
func (in *RepositoryWebhookObservation) DeepCopyInto(out *RepositoryWebhookObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RepositoryWebhookParameters ¶ added in v0.9.0
type RepositoryWebhookParameters struct { // Indicate if the webhook should receive events. Defaults to true. // Indicate if the webhook should receive events. Defaults to 'true'. // +kubebuilder:validation:Optional Active *bool `json:"active,omitempty" tf:"active,omitempty"` // Configuration block for the webhook. Detailed below. // Configuration for the webhook. // +kubebuilder:validation:Optional Configuration []ConfigurationParameters `json:"configuration,omitempty" tf:"configuration,omitempty"` // A list of events which should trigger the webhook. See a list of available events. // A list of events which should trigger the webhook // +kubebuilder:validation:Optional // +listType=set Events []*string `json:"events,omitempty" tf:"events,omitempty"` // The repository of the webhook. // The repository of the webhook. // +crossplane:generate:reference:type=Repository // +kubebuilder:validation:Optional Repository *string `json:"repository,omitempty" tf:"repository,omitempty"` // Reference to a Repository to populate repository. // +kubebuilder:validation:Optional RepositoryRef *v1.Reference `json:"repositoryRef,omitempty" tf:"-"` // Selector for a Repository to populate repository. // +kubebuilder:validation:Optional RepositorySelector *v1.Selector `json:"repositorySelector,omitempty" tf:"-"` }
func (*RepositoryWebhookParameters) DeepCopy ¶ added in v0.9.0
func (in *RepositoryWebhookParameters) DeepCopy() *RepositoryWebhookParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RepositoryWebhookParameters.
func (*RepositoryWebhookParameters) DeepCopyInto ¶ added in v0.9.0
func (in *RepositoryWebhookParameters) DeepCopyInto(out *RepositoryWebhookParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RepositoryWebhookSpec ¶ added in v0.9.0
type RepositoryWebhookSpec struct { v1.ResourceSpec `json:",inline"` ForProvider RepositoryWebhookParameters `json:"forProvider"` // THIS IS A BETA FIELD. It will be honored // unless the Management Policies feature flag is disabled. // InitProvider holds the same fields as ForProvider, with the exception // of Identifier and other resource reference fields. The fields that are // in InitProvider are merged into ForProvider when the resource is created. // The same fields are also added to the terraform ignore_changes hook, to // avoid updating them after creation. This is useful for fields that are // required on creation, but we do not desire to update them after creation, // for example because of an external controller is managing them, like an // autoscaler. InitProvider RepositoryWebhookInitParameters `json:"initProvider,omitempty"` }
RepositoryWebhookSpec defines the desired state of RepositoryWebhook
func (*RepositoryWebhookSpec) DeepCopy ¶ added in v0.9.0
func (in *RepositoryWebhookSpec) DeepCopy() *RepositoryWebhookSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RepositoryWebhookSpec.
func (*RepositoryWebhookSpec) DeepCopyInto ¶ added in v0.9.0
func (in *RepositoryWebhookSpec) DeepCopyInto(out *RepositoryWebhookSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RepositoryWebhookStatus ¶ added in v0.9.0
type RepositoryWebhookStatus struct { v1.ResourceStatus `json:",inline"` AtProvider RepositoryWebhookObservation `json:"atProvider,omitempty"` }
RepositoryWebhookStatus defines the observed state of RepositoryWebhook.
func (*RepositoryWebhookStatus) DeepCopy ¶ added in v0.9.0
func (in *RepositoryWebhookStatus) DeepCopy() *RepositoryWebhookStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RepositoryWebhookStatus.
func (*RepositoryWebhookStatus) DeepCopyInto ¶ added in v0.9.0
func (in *RepositoryWebhookStatus) DeepCopyInto(out *RepositoryWebhookStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RequiredPullRequestReviewsInitParameters ¶ added in v0.5.0
type RequiredPullRequestReviewsInitParameters struct { // : Dismiss approved reviews automatically when a new commit is pushed. Defaults to false. // Dismiss approved reviews automatically when a new commit is pushed. DismissStaleReviews *bool `json:"dismissStaleReviews,omitempty" tf:"dismiss_stale_reviews,omitempty"` // : The list of actor Names/IDs with dismissal access. If not empty, restrict_dismissals is ignored. Actor names must either begin with a "/" for users or the organization name followed by a "/" for teams. // The list of actor Names/IDs with dismissal access. If not empty, 'restrict_dismissals' is ignored. Actor names must either begin with a '/' for users or the organization name followed by a '/' for teams. // +listType=set DismissalRestrictions []*string `json:"dismissalRestrictions,omitempty" tf:"dismissal_restrictions,omitempty"` // : The list of actor Names/IDs that are allowed to bypass pull request requirements. Actor names must either begin with a "/" for users or the organization name followed by a "/" for teams. // The list of actor Names/IDs that are allowed to bypass pull request requirements. Actor names must either begin with a '/' for users or the organization name followed by a '/' for teams. // +listType=set PullRequestBypassers []*string `json:"pullRequestBypassers,omitempty" tf:"pull_request_bypassers,omitempty"` // : Require an approved review in pull requests including files with a designated code owner. Defaults to false. // Require an approved review in pull requests including files with a designated code owner. RequireCodeOwnerReviews *bool `json:"requireCodeOwnerReviews,omitempty" tf:"require_code_owner_reviews,omitempty"` // : Require that The most recent push must be approved by someone other than the last pusher. Defaults to false // Require that The most recent push must be approved by someone other than the last pusher. RequireLastPushApproval *bool `json:"requireLastPushApproval,omitempty" tf:"require_last_push_approval,omitempty"` // 6. This requirement matches GitHub's API, see the upstream documentation for more information. // (https://developer.github.com/v3/repos/branches/#parameters-1) for more information. // Require 'x' number of approvals to satisfy branch protection requirements. If this is specified it must be a number between 0-6. RequiredApprovingReviewCount *int64 `json:"requiredApprovingReviewCount,omitempty" tf:"required_approving_review_count,omitempty"` // : Restrict pull request review dismissals. // Restrict pull request review dismissals. RestrictDismissals *bool `json:"restrictDismissals,omitempty" tf:"restrict_dismissals,omitempty"` }
func (*RequiredPullRequestReviewsInitParameters) DeepCopy ¶ added in v0.5.0
func (in *RequiredPullRequestReviewsInitParameters) DeepCopy() *RequiredPullRequestReviewsInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RequiredPullRequestReviewsInitParameters.
func (*RequiredPullRequestReviewsInitParameters) DeepCopyInto ¶ added in v0.5.0
func (in *RequiredPullRequestReviewsInitParameters) DeepCopyInto(out *RequiredPullRequestReviewsInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RequiredPullRequestReviewsObservation ¶
type RequiredPullRequestReviewsObservation struct { // : Dismiss approved reviews automatically when a new commit is pushed. Defaults to false. // Dismiss approved reviews automatically when a new commit is pushed. DismissStaleReviews *bool `json:"dismissStaleReviews,omitempty" tf:"dismiss_stale_reviews,omitempty"` // : The list of actor Names/IDs with dismissal access. If not empty, restrict_dismissals is ignored. Actor names must either begin with a "/" for users or the organization name followed by a "/" for teams. // The list of actor Names/IDs with dismissal access. If not empty, 'restrict_dismissals' is ignored. Actor names must either begin with a '/' for users or the organization name followed by a '/' for teams. // +listType=set DismissalRestrictions []*string `json:"dismissalRestrictions,omitempty" tf:"dismissal_restrictions,omitempty"` // : The list of actor Names/IDs that are allowed to bypass pull request requirements. Actor names must either begin with a "/" for users or the organization name followed by a "/" for teams. // The list of actor Names/IDs that are allowed to bypass pull request requirements. Actor names must either begin with a '/' for users or the organization name followed by a '/' for teams. // +listType=set PullRequestBypassers []*string `json:"pullRequestBypassers,omitempty" tf:"pull_request_bypassers,omitempty"` // : Require an approved review in pull requests including files with a designated code owner. Defaults to false. // Require an approved review in pull requests including files with a designated code owner. RequireCodeOwnerReviews *bool `json:"requireCodeOwnerReviews,omitempty" tf:"require_code_owner_reviews,omitempty"` // : Require that The most recent push must be approved by someone other than the last pusher. Defaults to false // Require that The most recent push must be approved by someone other than the last pusher. RequireLastPushApproval *bool `json:"requireLastPushApproval,omitempty" tf:"require_last_push_approval,omitempty"` // 6. This requirement matches GitHub's API, see the upstream documentation for more information. // (https://developer.github.com/v3/repos/branches/#parameters-1) for more information. // Require 'x' number of approvals to satisfy branch protection requirements. If this is specified it must be a number between 0-6. RequiredApprovingReviewCount *int64 `json:"requiredApprovingReviewCount,omitempty" tf:"required_approving_review_count,omitempty"` // : Restrict pull request review dismissals. // Restrict pull request review dismissals. RestrictDismissals *bool `json:"restrictDismissals,omitempty" tf:"restrict_dismissals,omitempty"` }
func (*RequiredPullRequestReviewsObservation) DeepCopy ¶
func (in *RequiredPullRequestReviewsObservation) DeepCopy() *RequiredPullRequestReviewsObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RequiredPullRequestReviewsObservation.
func (*RequiredPullRequestReviewsObservation) DeepCopyInto ¶
func (in *RequiredPullRequestReviewsObservation) DeepCopyInto(out *RequiredPullRequestReviewsObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RequiredPullRequestReviewsParameters ¶
type RequiredPullRequestReviewsParameters struct { // : Dismiss approved reviews automatically when a new commit is pushed. Defaults to false. // Dismiss approved reviews automatically when a new commit is pushed. // +kubebuilder:validation:Optional DismissStaleReviews *bool `json:"dismissStaleReviews,omitempty" tf:"dismiss_stale_reviews,omitempty"` // : The list of actor Names/IDs with dismissal access. If not empty, restrict_dismissals is ignored. Actor names must either begin with a "/" for users or the organization name followed by a "/" for teams. // The list of actor Names/IDs with dismissal access. If not empty, 'restrict_dismissals' is ignored. Actor names must either begin with a '/' for users or the organization name followed by a '/' for teams. // +kubebuilder:validation:Optional // +listType=set DismissalRestrictions []*string `json:"dismissalRestrictions,omitempty" tf:"dismissal_restrictions,omitempty"` // : The list of actor Names/IDs that are allowed to bypass pull request requirements. Actor names must either begin with a "/" for users or the organization name followed by a "/" for teams. // The list of actor Names/IDs that are allowed to bypass pull request requirements. Actor names must either begin with a '/' for users or the organization name followed by a '/' for teams. // +kubebuilder:validation:Optional // +listType=set PullRequestBypassers []*string `json:"pullRequestBypassers,omitempty" tf:"pull_request_bypassers,omitempty"` // : Require an approved review in pull requests including files with a designated code owner. Defaults to false. // Require an approved review in pull requests including files with a designated code owner. // +kubebuilder:validation:Optional RequireCodeOwnerReviews *bool `json:"requireCodeOwnerReviews,omitempty" tf:"require_code_owner_reviews,omitempty"` // : Require that The most recent push must be approved by someone other than the last pusher. Defaults to false // Require that The most recent push must be approved by someone other than the last pusher. // +kubebuilder:validation:Optional RequireLastPushApproval *bool `json:"requireLastPushApproval,omitempty" tf:"require_last_push_approval,omitempty"` // 6. This requirement matches GitHub's API, see the upstream documentation for more information. // (https://developer.github.com/v3/repos/branches/#parameters-1) for more information. // Require 'x' number of approvals to satisfy branch protection requirements. If this is specified it must be a number between 0-6. // +kubebuilder:validation:Optional RequiredApprovingReviewCount *int64 `json:"requiredApprovingReviewCount,omitempty" tf:"required_approving_review_count,omitempty"` // : Restrict pull request review dismissals. // Restrict pull request review dismissals. // +kubebuilder:validation:Optional RestrictDismissals *bool `json:"restrictDismissals,omitempty" tf:"restrict_dismissals,omitempty"` }
func (*RequiredPullRequestReviewsParameters) DeepCopy ¶
func (in *RequiredPullRequestReviewsParameters) DeepCopy() *RequiredPullRequestReviewsParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RequiredPullRequestReviewsParameters.
func (*RequiredPullRequestReviewsParameters) DeepCopyInto ¶
func (in *RequiredPullRequestReviewsParameters) DeepCopyInto(out *RequiredPullRequestReviewsParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RequiredStatusChecksInitParameters ¶ added in v0.5.0
type RequiredStatusChecksInitParameters struct { // : The list of status checks to require in order to merge into this branch. No status checks are required by default. // The list of status checks to require in order to merge into this branch. No status checks are required by default. // +listType=set Contexts []*string `json:"contexts,omitempty" tf:"contexts,omitempty"` // : Require branches to be up to date before merging. Defaults to false. // Require branches to be up to date before merging. Strict *bool `json:"strict,omitempty" tf:"strict,omitempty"` }
func (*RequiredStatusChecksInitParameters) DeepCopy ¶ added in v0.5.0
func (in *RequiredStatusChecksInitParameters) DeepCopy() *RequiredStatusChecksInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RequiredStatusChecksInitParameters.
func (*RequiredStatusChecksInitParameters) DeepCopyInto ¶ added in v0.5.0
func (in *RequiredStatusChecksInitParameters) DeepCopyInto(out *RequiredStatusChecksInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RequiredStatusChecksObservation ¶
type RequiredStatusChecksObservation struct { // : The list of status checks to require in order to merge into this branch. No status checks are required by default. // The list of status checks to require in order to merge into this branch. No status checks are required by default. // +listType=set Contexts []*string `json:"contexts,omitempty" tf:"contexts,omitempty"` // : Require branches to be up to date before merging. Defaults to false. // Require branches to be up to date before merging. Strict *bool `json:"strict,omitempty" tf:"strict,omitempty"` }
func (*RequiredStatusChecksObservation) DeepCopy ¶
func (in *RequiredStatusChecksObservation) DeepCopy() *RequiredStatusChecksObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RequiredStatusChecksObservation.
func (*RequiredStatusChecksObservation) DeepCopyInto ¶
func (in *RequiredStatusChecksObservation) DeepCopyInto(out *RequiredStatusChecksObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RequiredStatusChecksParameters ¶
type RequiredStatusChecksParameters struct { // : The list of status checks to require in order to merge into this branch. No status checks are required by default. // The list of status checks to require in order to merge into this branch. No status checks are required by default. // +kubebuilder:validation:Optional // +listType=set Contexts []*string `json:"contexts,omitempty" tf:"contexts,omitempty"` // : Require branches to be up to date before merging. Defaults to false. // Require branches to be up to date before merging. // +kubebuilder:validation:Optional Strict *bool `json:"strict,omitempty" tf:"strict,omitempty"` }
func (*RequiredStatusChecksParameters) DeepCopy ¶
func (in *RequiredStatusChecksParameters) DeepCopy() *RequiredStatusChecksParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RequiredStatusChecksParameters.
func (*RequiredStatusChecksParameters) DeepCopyInto ¶
func (in *RequiredStatusChecksParameters) DeepCopyInto(out *RequiredStatusChecksParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RestrictPushesInitParameters ¶ added in v0.11.0
type RestrictPushesInitParameters struct { // Boolean, setting this to false allows people, teams, or apps to create new branches matching this rule. Defaults to true. // Restrict pushes that create matching branches. BlocksCreations *bool `json:"blocksCreations,omitempty" tf:"blocks_creations,omitempty"` // A list of actor Names/IDs that may push to the branch. Actor names must either begin with a "/" for users or the organization name followed by a "/" for teams. Organization administrators, repository administrators, and users with the Maintain role on the repository can always push when all other requirements have passed. // The list of actor Names/IDs that may push to the branch. Actor names must either begin with a '/' for users or the organization name followed by a '/' for teams. // +listType=set PushAllowances []*string `json:"pushAllowances,omitempty" tf:"push_allowances,omitempty"` }
func (*RestrictPushesInitParameters) DeepCopy ¶ added in v0.11.0
func (in *RestrictPushesInitParameters) DeepCopy() *RestrictPushesInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RestrictPushesInitParameters.
func (*RestrictPushesInitParameters) DeepCopyInto ¶ added in v0.11.0
func (in *RestrictPushesInitParameters) DeepCopyInto(out *RestrictPushesInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RestrictPushesObservation ¶ added in v0.11.0
type RestrictPushesObservation struct { // Boolean, setting this to false allows people, teams, or apps to create new branches matching this rule. Defaults to true. // Restrict pushes that create matching branches. BlocksCreations *bool `json:"blocksCreations,omitempty" tf:"blocks_creations,omitempty"` // A list of actor Names/IDs that may push to the branch. Actor names must either begin with a "/" for users or the organization name followed by a "/" for teams. Organization administrators, repository administrators, and users with the Maintain role on the repository can always push when all other requirements have passed. // The list of actor Names/IDs that may push to the branch. Actor names must either begin with a '/' for users or the organization name followed by a '/' for teams. // +listType=set PushAllowances []*string `json:"pushAllowances,omitempty" tf:"push_allowances,omitempty"` }
func (*RestrictPushesObservation) DeepCopy ¶ added in v0.11.0
func (in *RestrictPushesObservation) DeepCopy() *RestrictPushesObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RestrictPushesObservation.
func (*RestrictPushesObservation) DeepCopyInto ¶ added in v0.11.0
func (in *RestrictPushesObservation) DeepCopyInto(out *RestrictPushesObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RestrictPushesParameters ¶ added in v0.11.0
type RestrictPushesParameters struct { // Boolean, setting this to false allows people, teams, or apps to create new branches matching this rule. Defaults to true. // Restrict pushes that create matching branches. // +kubebuilder:validation:Optional BlocksCreations *bool `json:"blocksCreations,omitempty" tf:"blocks_creations,omitempty"` // A list of actor Names/IDs that may push to the branch. Actor names must either begin with a "/" for users or the organization name followed by a "/" for teams. Organization administrators, repository administrators, and users with the Maintain role on the repository can always push when all other requirements have passed. // The list of actor Names/IDs that may push to the branch. Actor names must either begin with a '/' for users or the organization name followed by a '/' for teams. // +kubebuilder:validation:Optional // +listType=set PushAllowances []*string `json:"pushAllowances,omitempty" tf:"push_allowances,omitempty"` }
func (*RestrictPushesParameters) DeepCopy ¶ added in v0.11.0
func (in *RestrictPushesParameters) DeepCopy() *RestrictPushesParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RestrictPushesParameters.
func (*RestrictPushesParameters) DeepCopyInto ¶ added in v0.11.0
func (in *RestrictPushesParameters) DeepCopyInto(out *RestrictPushesParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SecretScanningInitParameters ¶ added in v0.5.0
type SecretScanningInitParameters struct { // Set to enabled to enable secret scanning on the repository. Can be enabled or disabled. If set to enabled, the repository's visibility must be public or security_and_analysis[0].advanced_security[0].status must also be set to enabled. // Set to 'enabled' to enable secret scanning on the repository. Can be 'enabled' or 'disabled'. If set to 'enabled', the repository's visibility must be 'public' or 'security_and_analysis[0].advanced_security[0].status' must also be set to 'enabled'. Status *string `json:"status,omitempty" tf:"status,omitempty"` }
func (*SecretScanningInitParameters) DeepCopy ¶ added in v0.5.0
func (in *SecretScanningInitParameters) DeepCopy() *SecretScanningInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretScanningInitParameters.
func (*SecretScanningInitParameters) DeepCopyInto ¶ added in v0.5.0
func (in *SecretScanningInitParameters) DeepCopyInto(out *SecretScanningInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SecretScanningObservation ¶
type SecretScanningObservation struct { // Set to enabled to enable secret scanning on the repository. Can be enabled or disabled. If set to enabled, the repository's visibility must be public or security_and_analysis[0].advanced_security[0].status must also be set to enabled. // Set to 'enabled' to enable secret scanning on the repository. Can be 'enabled' or 'disabled'. If set to 'enabled', the repository's visibility must be 'public' or 'security_and_analysis[0].advanced_security[0].status' must also be set to 'enabled'. Status *string `json:"status,omitempty" tf:"status,omitempty"` }
func (*SecretScanningObservation) DeepCopy ¶
func (in *SecretScanningObservation) DeepCopy() *SecretScanningObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretScanningObservation.
func (*SecretScanningObservation) DeepCopyInto ¶
func (in *SecretScanningObservation) DeepCopyInto(out *SecretScanningObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SecretScanningParameters ¶
type SecretScanningParameters struct { // Set to enabled to enable secret scanning on the repository. Can be enabled or disabled. If set to enabled, the repository's visibility must be public or security_and_analysis[0].advanced_security[0].status must also be set to enabled. // Set to 'enabled' to enable secret scanning on the repository. Can be 'enabled' or 'disabled'. If set to 'enabled', the repository's visibility must be 'public' or 'security_and_analysis[0].advanced_security[0].status' must also be set to 'enabled'. // +kubebuilder:validation:Optional Status *string `json:"status" tf:"status,omitempty"` }
func (*SecretScanningParameters) DeepCopy ¶
func (in *SecretScanningParameters) DeepCopy() *SecretScanningParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretScanningParameters.
func (*SecretScanningParameters) DeepCopyInto ¶
func (in *SecretScanningParameters) DeepCopyInto(out *SecretScanningParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SecretScanningPushProtectionInitParameters ¶ added in v0.5.0
type SecretScanningPushProtectionInitParameters struct { // Set to enabled to enable secret scanning on the repository. Can be enabled or disabled. If set to enabled, the repository's visibility must be public or security_and_analysis[0].advanced_security[0].status must also be set to enabled. // Set to 'enabled' to enable secret scanning push protection on the repository. Can be 'enabled' or 'disabled'. If set to 'enabled', the repository's visibility must be 'public' or 'security_and_analysis[0].advanced_security[0].status' must also be set to 'enabled'. Status *string `json:"status,omitempty" tf:"status,omitempty"` }
func (*SecretScanningPushProtectionInitParameters) DeepCopy ¶ added in v0.5.0
func (in *SecretScanningPushProtectionInitParameters) DeepCopy() *SecretScanningPushProtectionInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretScanningPushProtectionInitParameters.
func (*SecretScanningPushProtectionInitParameters) DeepCopyInto ¶ added in v0.5.0
func (in *SecretScanningPushProtectionInitParameters) DeepCopyInto(out *SecretScanningPushProtectionInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SecretScanningPushProtectionObservation ¶
type SecretScanningPushProtectionObservation struct { // Set to enabled to enable secret scanning on the repository. Can be enabled or disabled. If set to enabled, the repository's visibility must be public or security_and_analysis[0].advanced_security[0].status must also be set to enabled. // Set to 'enabled' to enable secret scanning push protection on the repository. Can be 'enabled' or 'disabled'. If set to 'enabled', the repository's visibility must be 'public' or 'security_and_analysis[0].advanced_security[0].status' must also be set to 'enabled'. Status *string `json:"status,omitempty" tf:"status,omitempty"` }
func (*SecretScanningPushProtectionObservation) DeepCopy ¶
func (in *SecretScanningPushProtectionObservation) DeepCopy() *SecretScanningPushProtectionObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretScanningPushProtectionObservation.
func (*SecretScanningPushProtectionObservation) DeepCopyInto ¶
func (in *SecretScanningPushProtectionObservation) DeepCopyInto(out *SecretScanningPushProtectionObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SecretScanningPushProtectionParameters ¶
type SecretScanningPushProtectionParameters struct { // Set to enabled to enable secret scanning on the repository. Can be enabled or disabled. If set to enabled, the repository's visibility must be public or security_and_analysis[0].advanced_security[0].status must also be set to enabled. // Set to 'enabled' to enable secret scanning push protection on the repository. Can be 'enabled' or 'disabled'. If set to 'enabled', the repository's visibility must be 'public' or 'security_and_analysis[0].advanced_security[0].status' must also be set to 'enabled'. // +kubebuilder:validation:Optional Status *string `json:"status" tf:"status,omitempty"` }
func (*SecretScanningPushProtectionParameters) DeepCopy ¶
func (in *SecretScanningPushProtectionParameters) DeepCopy() *SecretScanningPushProtectionParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretScanningPushProtectionParameters.
func (*SecretScanningPushProtectionParameters) DeepCopyInto ¶
func (in *SecretScanningPushProtectionParameters) DeepCopyInto(out *SecretScanningPushProtectionParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SecurityAndAnalysisInitParameters ¶ added in v0.5.0
type SecurityAndAnalysisInitParameters struct { // The advanced security configuration for the repository. See Advanced Security Configuration below for details. If a repository's visibility is public, advanced security is always enabled and cannot be changed, so this setting cannot be supplied. // The advanced security configuration for the repository. If a repository's visibility is 'public', advanced security is always enabled and cannot be changed, so this setting cannot be supplied. AdvancedSecurity []AdvancedSecurityInitParameters `json:"advancedSecurity,omitempty" tf:"advanced_security,omitempty"` // The secret scanning configuration for the repository. See Secret Scanning Configuration below for details. // The secret scanning configuration for the repository. SecretScanning []SecretScanningInitParameters `json:"secretScanning,omitempty" tf:"secret_scanning,omitempty"` // The secret scanning push protection configuration for the repository. See Secret Scanning Push Protection Configuration below for details. // The secret scanning push protection configuration for the repository. SecretScanningPushProtection []SecretScanningPushProtectionInitParameters `json:"secretScanningPushProtection,omitempty" tf:"secret_scanning_push_protection,omitempty"` }
func (*SecurityAndAnalysisInitParameters) DeepCopy ¶ added in v0.5.0
func (in *SecurityAndAnalysisInitParameters) DeepCopy() *SecurityAndAnalysisInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityAndAnalysisInitParameters.
func (*SecurityAndAnalysisInitParameters) DeepCopyInto ¶ added in v0.5.0
func (in *SecurityAndAnalysisInitParameters) DeepCopyInto(out *SecurityAndAnalysisInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SecurityAndAnalysisObservation ¶
type SecurityAndAnalysisObservation struct { // The advanced security configuration for the repository. See Advanced Security Configuration below for details. If a repository's visibility is public, advanced security is always enabled and cannot be changed, so this setting cannot be supplied. // The advanced security configuration for the repository. If a repository's visibility is 'public', advanced security is always enabled and cannot be changed, so this setting cannot be supplied. AdvancedSecurity []AdvancedSecurityObservation `json:"advancedSecurity,omitempty" tf:"advanced_security,omitempty"` // The secret scanning configuration for the repository. See Secret Scanning Configuration below for details. // The secret scanning configuration for the repository. SecretScanning []SecretScanningObservation `json:"secretScanning,omitempty" tf:"secret_scanning,omitempty"` // The secret scanning push protection configuration for the repository. See Secret Scanning Push Protection Configuration below for details. // The secret scanning push protection configuration for the repository. SecretScanningPushProtection []SecretScanningPushProtectionObservation `json:"secretScanningPushProtection,omitempty" tf:"secret_scanning_push_protection,omitempty"` }
func (*SecurityAndAnalysisObservation) DeepCopy ¶
func (in *SecurityAndAnalysisObservation) DeepCopy() *SecurityAndAnalysisObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityAndAnalysisObservation.
func (*SecurityAndAnalysisObservation) DeepCopyInto ¶
func (in *SecurityAndAnalysisObservation) DeepCopyInto(out *SecurityAndAnalysisObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SecurityAndAnalysisParameters ¶
type SecurityAndAnalysisParameters struct { // The advanced security configuration for the repository. See Advanced Security Configuration below for details. If a repository's visibility is public, advanced security is always enabled and cannot be changed, so this setting cannot be supplied. // The advanced security configuration for the repository. If a repository's visibility is 'public', advanced security is always enabled and cannot be changed, so this setting cannot be supplied. // +kubebuilder:validation:Optional AdvancedSecurity []AdvancedSecurityParameters `json:"advancedSecurity,omitempty" tf:"advanced_security,omitempty"` // The secret scanning configuration for the repository. See Secret Scanning Configuration below for details. // The secret scanning configuration for the repository. // +kubebuilder:validation:Optional SecretScanning []SecretScanningParameters `json:"secretScanning,omitempty" tf:"secret_scanning,omitempty"` // The secret scanning push protection configuration for the repository. See Secret Scanning Push Protection Configuration below for details. // The secret scanning push protection configuration for the repository. // +kubebuilder:validation:Optional SecretScanningPushProtection []SecretScanningPushProtectionParameters `json:"secretScanningPushProtection,omitempty" tf:"secret_scanning_push_protection,omitempty"` }
func (*SecurityAndAnalysisParameters) DeepCopy ¶
func (in *SecurityAndAnalysisParameters) DeepCopy() *SecurityAndAnalysisParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityAndAnalysisParameters.
func (*SecurityAndAnalysisParameters) DeepCopyInto ¶
func (in *SecurityAndAnalysisParameters) DeepCopyInto(out *SecurityAndAnalysisParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SourceInitParameters ¶ added in v0.5.0
type SourceInitParameters struct { // The repository branch used to publish the site's source files. (i.e. main or gh-pages. // The repository branch used to publish the site's source files. (i.e. 'main' or 'gh-pages') Branch *string `json:"branch,omitempty" tf:"branch,omitempty"` // The repository directory from which the site publishes (Default: /). // The repository directory from which the site publishes (Default: '/') Path *string `json:"path,omitempty" tf:"path,omitempty"` }
func (*SourceInitParameters) DeepCopy ¶ added in v0.5.0
func (in *SourceInitParameters) DeepCopy() *SourceInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SourceInitParameters.
func (*SourceInitParameters) DeepCopyInto ¶ added in v0.5.0
func (in *SourceInitParameters) DeepCopyInto(out *SourceInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SourceObservation ¶
type SourceObservation struct { // The repository branch used to publish the site's source files. (i.e. main or gh-pages. // The repository branch used to publish the site's source files. (i.e. 'main' or 'gh-pages') Branch *string `json:"branch,omitempty" tf:"branch,omitempty"` // The repository directory from which the site publishes (Default: /). // The repository directory from which the site publishes (Default: '/') Path *string `json:"path,omitempty" tf:"path,omitempty"` }
func (*SourceObservation) DeepCopy ¶
func (in *SourceObservation) DeepCopy() *SourceObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SourceObservation.
func (*SourceObservation) DeepCopyInto ¶
func (in *SourceObservation) DeepCopyInto(out *SourceObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SourceParameters ¶
type SourceParameters struct { // The repository branch used to publish the site's source files. (i.e. main or gh-pages. // The repository branch used to publish the site's source files. (i.e. 'main' or 'gh-pages') // +kubebuilder:validation:Optional Branch *string `json:"branch" tf:"branch,omitempty"` // The repository directory from which the site publishes (Default: /). // The repository directory from which the site publishes (Default: '/') // +kubebuilder:validation:Optional Path *string `json:"path,omitempty" tf:"path,omitempty"` }
func (*SourceParameters) DeepCopy ¶
func (in *SourceParameters) DeepCopy() *SourceParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SourceParameters.
func (*SourceParameters) DeepCopyInto ¶
func (in *SourceParameters) DeepCopyInto(out *SourceParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TemplateInitParameters ¶ added in v0.5.0
type TemplateInitParameters struct { // : Whether the new repository should include all the branches from the template repository (defaults to false, which includes only the default branch from the template). // Whether the new repository should include all the branches from the template repository (defaults to 'false', which includes only the default branch from the template). IncludeAllBranches *bool `json:"includeAllBranches,omitempty" tf:"include_all_branches,omitempty"` // : The GitHub organization or user the template repository is owned by. // The GitHub organization or user the template repository is owned by. Owner *string `json:"owner,omitempty" tf:"owner,omitempty"` // : The name of the template repository. // The name of the template repository. Repository *string `json:"repository,omitempty" tf:"repository,omitempty"` }
func (*TemplateInitParameters) DeepCopy ¶ added in v0.5.0
func (in *TemplateInitParameters) DeepCopy() *TemplateInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TemplateInitParameters.
func (*TemplateInitParameters) DeepCopyInto ¶ added in v0.5.0
func (in *TemplateInitParameters) DeepCopyInto(out *TemplateInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TemplateObservation ¶
type TemplateObservation struct { // : Whether the new repository should include all the branches from the template repository (defaults to false, which includes only the default branch from the template). // Whether the new repository should include all the branches from the template repository (defaults to 'false', which includes only the default branch from the template). IncludeAllBranches *bool `json:"includeAllBranches,omitempty" tf:"include_all_branches,omitempty"` // : The GitHub organization or user the template repository is owned by. // The GitHub organization or user the template repository is owned by. Owner *string `json:"owner,omitempty" tf:"owner,omitempty"` // : The name of the template repository. // The name of the template repository. Repository *string `json:"repository,omitempty" tf:"repository,omitempty"` }
func (*TemplateObservation) DeepCopy ¶
func (in *TemplateObservation) DeepCopy() *TemplateObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TemplateObservation.
func (*TemplateObservation) DeepCopyInto ¶
func (in *TemplateObservation) DeepCopyInto(out *TemplateObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TemplateParameters ¶
type TemplateParameters struct { // : Whether the new repository should include all the branches from the template repository (defaults to false, which includes only the default branch from the template). // Whether the new repository should include all the branches from the template repository (defaults to 'false', which includes only the default branch from the template). // +kubebuilder:validation:Optional IncludeAllBranches *bool `json:"includeAllBranches,omitempty" tf:"include_all_branches,omitempty"` // : The GitHub organization or user the template repository is owned by. // The GitHub organization or user the template repository is owned by. // +kubebuilder:validation:Optional Owner *string `json:"owner" tf:"owner,omitempty"` // : The name of the template repository. // The name of the template repository. // +kubebuilder:validation:Optional Repository *string `json:"repository" tf:"repository,omitempty"` }
func (*TemplateParameters) DeepCopy ¶
func (in *TemplateParameters) DeepCopy() *TemplateParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TemplateParameters.
func (*TemplateParameters) DeepCopyInto ¶
func (in *TemplateParameters) DeepCopyInto(out *TemplateParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
Source Files ¶
- zz_branch_terraformed.go
- zz_branch_types.go
- zz_branchprotection_terraformed.go
- zz_branchprotection_types.go
- zz_defaultbranch_terraformed.go
- zz_defaultbranch_types.go
- zz_deploykey_terraformed.go
- zz_deploykey_types.go
- zz_generated.conversion_hubs.go
- zz_generated.deepcopy.go
- zz_generated.managed.go
- zz_generated.managedlist.go
- zz_generated.resolvers.go
- zz_groupversion_info.go
- zz_pullrequest_terraformed.go
- zz_pullrequest_types.go
- zz_repository_terraformed.go
- zz_repository_types.go
- zz_repositoryautolinkreference_terraformed.go
- zz_repositoryautolinkreference_types.go
- zz_repositoryfile_terraformed.go
- zz_repositoryfile_types.go
- zz_repositorywebhook_terraformed.go
- zz_repositorywebhook_types.go