v1alpha1

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2023 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Overview

+kubebuilder:object:generate=true +groupName=repo.github.upbound.io +versionName=v1alpha1

Index

Constants

View Source
const (
	CRDGroup   = "repo.github.upbound.io"
	CRDVersion = "v1alpha1"
)

Package type metadata.

Variables

View Source
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.

View Source
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.

View Source
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.

View Source
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
)
View Source
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.

View Source
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.

Functions

This section is empty.

Types

type AdvancedSecurityObservation

type AdvancedSecurityObservation struct {
}

func (*AdvancedSecurityObservation) DeepCopy

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

func (*AdvancedSecurityObservation) DeepCopyInto

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.
	// +kubebuilder:validation:Required
	Status *string `json:"status" tf:"status,omitempty"`
}

func (*AdvancedSecurityParameters) DeepCopy

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

func (*AdvancedSecurityParameters) DeepCopyInto

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"`
	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="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,github}

func (*Branch) DeepCopy

func (in *Branch) DeepCopy() *Branch

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

func (*Branch) DeepCopyInto

func (in *Branch) DeepCopyInto(out *Branch)

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

func (*Branch) DeepCopyObject

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

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

func (tr *Branch) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this Branch

func (*Branch) GetDeletionPolicy

func (mg *Branch) GetDeletionPolicy() xpv1.DeletionPolicy

GetDeletionPolicy of this Branch.

func (*Branch) GetID

func (tr *Branch) GetID() string

GetID returns ID of underlying Terraform resource of this Branch

func (*Branch) GetObservation

func (tr *Branch) GetObservation() (map[string]any, error)

GetObservation of this Branch

func (*Branch) GetParameters

func (tr *Branch) GetParameters() (map[string]any, error)

GetParameters of this Branch

func (*Branch) GetProviderConfigReference

func (mg *Branch) GetProviderConfigReference() *xpv1.Reference

GetProviderConfigReference of this Branch.

func (*Branch) GetProviderReference

func (mg *Branch) GetProviderReference() *xpv1.Reference

GetProviderReference of this Branch. Deprecated: Use GetProviderConfigReference.

func (*Branch) GetPublishConnectionDetailsTo

func (mg *Branch) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this Branch.

func (*Branch) GetTerraformResourceType

func (mg *Branch) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Branch

func (*Branch) GetTerraformSchemaVersion

func (tr *Branch) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Branch) GetWriteConnectionSecretToReference

func (mg *Branch) GetWriteConnectionSecretToReference() *xpv1.SecretReference

GetWriteConnectionSecretToReference of this Branch.

func (*Branch) LateInitialize

func (tr *Branch) LateInitialize(attrs []byte) (bool, error)

LateInitialize this Branch using its observed tfState. returns True if there are any spec changes for the resource.

func (*Branch) ResolveReferences

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

ResolveReferences of this Branch.

func (*Branch) SetConditions

func (mg *Branch) SetConditions(c ...xpv1.Condition)

SetConditions of this Branch.

func (*Branch) SetDeletionPolicy

func (mg *Branch) SetDeletionPolicy(r xpv1.DeletionPolicy)

SetDeletionPolicy of this Branch.

func (*Branch) SetObservation

func (tr *Branch) SetObservation(obs map[string]any) error

SetObservation for this Branch

func (*Branch) SetParameters

func (tr *Branch) SetParameters(params map[string]any) error

SetParameters for this Branch

func (*Branch) SetProviderConfigReference

func (mg *Branch) SetProviderConfigReference(r *xpv1.Reference)

SetProviderConfigReference of this Branch.

func (*Branch) SetProviderReference

func (mg *Branch) SetProviderReference(r *xpv1.Reference)

SetProviderReference of this Branch. Deprecated: Use SetProviderConfigReference.

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

	// 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>.
	Ref *string `json:"ref,omitempty" tf:"ref,omitempty"`

	// A string storing the reference's HEAD commit's SHA1.
	Sha *string `json:"sha,omitempty" tf:"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 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.
	// +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.
	// +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"`
	Spec              BranchProtectionSpec   `json:"spec"`
	Status            BranchProtectionStatus `json:"status,omitempty"`
}

BranchProtection is the Schema for the BranchProtections API. Protects a GitHub branch. +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,github}

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) 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) GetProviderReference

func (mg *BranchProtection) GetProviderReference() *xpv1.Reference

GetProviderReference of this BranchProtection. Deprecated: Use GetProviderConfigReference.

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

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

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) 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) SetProviderReference

func (mg *BranchProtection) SetProviderReference(r *xpv1.Reference)

SetProviderReference of this BranchProtection. Deprecated: Use SetProviderConfigReference.

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

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 {
	ID *string `json:"id,omitempty" tf:"id,omitempty"`
}

func (*BranchProtectionObservation) DeepCopy

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

func (*BranchProtectionObservation) DeepCopyInto

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.
	// +kubebuilder:validation:Optional
	AllowsDeletions *bool `json:"allowsDeletions,omitempty" tf:"allows_deletions,omitempty"`

	// Boolean, 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 to block creating the branch.
	// +kubebuilder:validation:Optional
	BlocksCreations *bool `json:"blocksCreations,omitempty" tf:"blocks_creations,omitempty"`

	// Boolean, setting this to true enforces status checks for repository administrators.
	// +kubebuilder:validation:Optional
	EnforceAdmins *bool `json:"enforceAdmins,omitempty" tf:"enforce_admins,omitempty"`

	// Boolean, Setting this to true will make the branch read-only and preventing any pushes to it. Defaults to false
	// +kubebuilder:validation:Optional
	LockBranch *bool `json:"lockBranch,omitempty" tf:"lock_branch,omitempty"`

	// Identifies the protection rule pattern.
	// +kubebuilder:validation:Required
	Pattern *string `json:"pattern" tf:"pattern,omitempty"`

	// 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
	PushRestrictions []*string `json:"pushRestrictions,omitempty" tf:"push_restrictions,omitempty"`

	// The name or node ID of the repository associated with this branch protection rule.
	// Node ID or name of repository
	// +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.
	// +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.
	// +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
	// +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.
	// +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.
	// +kubebuilder:validation:Optional
	RequiredStatusChecks []RequiredStatusChecksParameters `json:"requiredStatusChecks,omitempty" tf:"required_status_checks,omitempty"`
}

func (*BranchProtectionParameters) DeepCopy

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

func (*BranchProtectionParameters) DeepCopyInto

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

BranchProtectionSpec defines the desired state of BranchProtection

func (*BranchProtectionSpec) DeepCopy

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

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

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 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="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,github}

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) 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) GetProviderReference

func (mg *DefaultBranch) GetProviderReference() *xpv1.Reference

GetProviderReference of this DefaultBranch. Deprecated: Use GetProviderConfigReference.

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

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

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) 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) SetProviderReference

func (mg *DefaultBranch) SetProviderReference(r *xpv1.Reference)

SetProviderReference of this DefaultBranch. Deprecated: Use SetProviderConfigReference.

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 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 {
	ID *string `json:"id,omitempty" tf:"id,omitempty"`
}

func (*DefaultBranchObservation) DeepCopy

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)
	// +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:"-"`
}

func (*DefaultBranchParameters) DeepCopy

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

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 PagesObservation

type PagesObservation struct {

	// 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.
	HTMLURL *string `json:"htmlUrl,omitempty" tf:"html_url,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.
	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 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.
	// +kubebuilder:validation:Required
	Source []SourceParameters `json:"source" 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 Repository

type Repository struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	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="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,github}

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) 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) GetProviderReference

func (mg *Repository) GetProviderReference() *xpv1.Reference

GetProviderReference of this Repository. Deprecated: Use GetProviderConfigReference.

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) 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) 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) SetProviderReference

func (mg *Repository) SetProviderReference(r *xpv1.Reference)

SetProviderReference of this Repository. Deprecated: Use SetProviderConfigReference.

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 RepositoryFile

type RepositoryFile struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	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="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,github}

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) 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) GetProviderReference

func (mg *RepositoryFile) GetProviderReference() *xpv1.Reference

GetProviderReference of this RepositoryFile. Deprecated: Use GetProviderConfigReference.

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

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

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) 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) SetProviderReference

func (mg *RepositoryFile) SetProviderReference(r *xpv1.Reference)

SetProviderReference of this RepositoryFile. Deprecated: Use SetProviderConfigReference.

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

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

	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// The SHA blob of the file.
	// The blob SHA of the file
	Sha *string `json:"sha,omitempty" tf:"sha,omitempty"`
}

func (*RepositoryFileObservation) DeepCopy

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

func (*RepositoryFileObservation) DeepCopyInto

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 main).
	// The branch must already exist, it will not be created if it does not already exist.
	// The branch name, defaults to "main"
	// +crossplane:generate:reference:type=Branch
	// +kubebuilder:validation:Optional
	Branch *string `json:"branch,omitempty" tf:"branch,omitempty"`

	// Reference to a Branch to populate branch.
	// +kubebuilder:validation:Optional
	BranchRef *v1.Reference `json:"branchRef,omitempty" tf:"-"`

	// Selector for a Branch 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"`

	// Commit message when adding or updating 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:Required
	Content *string `json:"content" tf:"content,omitempty"`

	// The path of the file to manage.
	// The file path to manage
	// +kubebuilder:validation:Required
	File *string `json:"file" tf:"file,omitempty"`

	// Enable overwriting existing files
	// 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=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 (*RepositoryFileParameters) DeepCopy

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

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

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 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 {
	Etag *string `json:"etag,omitempty" tf:"etag,omitempty"`

	// 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.
	GitCloneURL *string `json:"gitCloneUrl,omitempty" tf:"git_clone_url,omitempty"`

	// 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.
	HTTPCloneURL *string `json:"httpCloneUrl,omitempty" tf:"http_clone_url,omitempty"`

	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// 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.
	// +kubebuilder:validation:Optional
	Pages []PagesObservation `json:"pages,omitempty" tf:"pages,omitempty"`

	// GitHub ID for the repository
	RepoID *float64 `json:"repoId,omitempty" tf:"repo_id,omitempty"`

	// URL that can be provided to git clone to clone the repository via SSH.
	SSHCloneURL *string `json:"sshCloneUrl,omitempty" tf:"ssh_clone_url,omitempty"`

	// 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"`
}

func (*RepositoryObservation) DeepCopy

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

func (*RepositoryObservation) DeepCopyInto

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

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

type RepositoryParameters

type RepositoryParameters struct {

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

	// 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.
	// +kubebuilder:validation:Optional
	AllowRebaseMerge *bool `json:"allowRebaseMerge,omitempty" tf:"allow_rebase_merge,omitempty"`

	// 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.
	// +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.
	// +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.
	// +kubebuilder:validation:Optional
	Archived *bool `json:"archived,omitempty" tf:"archived,omitempty"`

	// 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.
	// +kubebuilder:validation:Optional
	DeleteBranchOnMerge *bool `json:"deleteBranchOnMerge,omitempty" tf:"delete_branch_on_merge,omitempty"`

	// 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".
	// +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.
	// +kubebuilder:validation:Optional
	HasDiscussions *bool `json:"hasDiscussions,omitempty" tf:"has_discussions,omitempty"`

	// 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.
	// +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.
	// +kubebuilder:validation:Optional
	HasProjects *bool `json:"hasProjects,omitempty" tf:"has_projects,omitempty"`

	// 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.
	// +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.
	// +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.
	// +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".
	// +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.
	// +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.
	// +kubebuilder:validation:Optional
	MergeCommitTitle *string `json:"mergeCommitTitle,omitempty" tf:"merge_commit_title,omitempty"`

	// The repository's GitHub Pages configuration. See GitHub Pages Configuration below for details.
	// +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.
	// +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.
	// +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.
	// +kubebuilder:validation:Optional
	Template []TemplateParameters `json:"template,omitempty" tf:"template,omitempty"`

	// The list of topics of the repository.
	// +kubebuilder:validation:Optional
	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.
	// +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.
	// +kubebuilder:validation:Optional
	VulnerabilityAlerts *bool `json:"vulnerabilityAlerts,omitempty" tf:"vulnerability_alerts,omitempty"`
}

func (*RepositoryParameters) DeepCopy

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

func (*RepositoryParameters) DeepCopyInto

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

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

type RepositorySpec

type RepositorySpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     RepositoryParameters `json:"forProvider"`
}

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 RequiredPullRequestReviewsObservation

type RequiredPullRequestReviewsObservation struct {
}

func (*RequiredPullRequestReviewsObservation) DeepCopy

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

func (*RequiredPullRequestReviewsObservation) DeepCopyInto

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

type RequiredPullRequestReviewsParameters

type RequiredPullRequestReviewsParameters struct {

	// :  Dismiss approved reviews automatically when a new commit is pushed. Defaults to false.
	// +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.
	// +kubebuilder:validation:Optional
	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.
	// +kubebuilder:validation:Optional
	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.
	// +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
	// +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.
	// +kubebuilder:validation:Optional
	RequiredApprovingReviewCount *float64 `json:"requiredApprovingReviewCount,omitempty" tf:"required_approving_review_count,omitempty"`

	// :  Restrict pull request review dismissals.
	// +kubebuilder:validation:Optional
	RestrictDismissals *bool `json:"restrictDismissals,omitempty" tf:"restrict_dismissals,omitempty"`
}

func (*RequiredPullRequestReviewsParameters) DeepCopy

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

func (*RequiredPullRequestReviewsParameters) DeepCopyInto

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

type RequiredStatusChecksObservation

type RequiredStatusChecksObservation struct {
}

func (*RequiredStatusChecksObservation) DeepCopy

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

func (*RequiredStatusChecksObservation) DeepCopyInto

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

type 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.
	// +kubebuilder:validation:Optional
	Contexts []*string `json:"contexts,omitempty" tf:"contexts,omitempty"`

	// :  Require branches to be up to date before merging. Defaults to false.
	// +kubebuilder:validation:Optional
	Strict *bool `json:"strict,omitempty" tf:"strict,omitempty"`
}

func (*RequiredStatusChecksParameters) DeepCopy

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

func (*RequiredStatusChecksParameters) DeepCopyInto

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

type SecretScanningObservation

type SecretScanningObservation struct {
}

func (*SecretScanningObservation) DeepCopy

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

func (*SecretScanningObservation) DeepCopyInto

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.
	// +kubebuilder:validation:Required
	Status *string `json:"status" tf:"status,omitempty"`
}

func (*SecretScanningParameters) DeepCopy

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 SecretScanningPushProtectionObservation

type SecretScanningPushProtectionObservation struct {
}

func (*SecretScanningPushProtectionObservation) DeepCopy

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

func (*SecretScanningPushProtectionObservation) DeepCopyInto

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.
	// +kubebuilder:validation:Required
	Status *string `json:"status" tf:"status,omitempty"`
}

func (*SecretScanningPushProtectionParameters) DeepCopy

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

func (*SecretScanningPushProtectionParameters) DeepCopyInto

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

type SecurityAndAnalysisObservation

type SecurityAndAnalysisObservation struct {
}

func (*SecurityAndAnalysisObservation) DeepCopy

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

func (*SecurityAndAnalysisObservation) DeepCopyInto

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.
	// +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.
	// +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.
	// +kubebuilder:validation:Optional
	SecretScanningPushProtection []SecretScanningPushProtectionParameters `json:"secretScanningPushProtection,omitempty" tf:"secret_scanning_push_protection,omitempty"`
}

func (*SecurityAndAnalysisParameters) DeepCopy

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

func (*SecurityAndAnalysisParameters) DeepCopyInto

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

type SourceObservation

type SourceObservation struct {
}

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.
	// +kubebuilder:validation:Required
	Branch *string `json:"branch" tf:"branch,omitempty"`

	// 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 TemplateObservation

type TemplateObservation struct {
}

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).
	// +kubebuilder:validation:Optional
	IncludeAllBranches *bool `json:"includeAllBranches,omitempty" tf:"include_all_branches,omitempty"`

	// : The GitHub organization or user the template repository is owned by.
	// +kubebuilder:validation:Required
	Owner *string `json:"owner" tf:"owner,omitempty"`

	// : The name of the template repository.
	// +kubebuilder:validation:Required
	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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL