v1alpha1

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

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

Index

Constants

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

Package type metadata.

Variables

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 (
	Organization_Kind             = "Organization"
	Organization_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Organization_Kind}.String()
	Organization_KindAPIVersion   = Organization_Kind + "." + CRDGroupVersion.String()
	Organization_GroupVersionKind = CRDGroupVersion.WithKind(Organization_Kind)
)

Repository type metadata.

View Source
var (
	OrganizationRuleset_Kind             = "OrganizationRuleset"
	OrganizationRuleset_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: OrganizationRuleset_Kind}.String()
	OrganizationRuleset_KindAPIVersion   = OrganizationRuleset_Kind + "." + CRDGroupVersion.String()
	OrganizationRuleset_GroupVersionKind = CRDGroupVersion.WithKind(OrganizationRuleset_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type BranchNamePatternInitParameters added in v0.10.0

type BranchNamePatternInitParameters struct {

	// How this rule will appear to users.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// If true, the rule will fail if the pattern matches.
	Negate *bool `json:"negate,omitempty" tf:"negate,omitempty"`

	// The operator to use for matching. Can be one of: `starts_with`, `ends_with`, `contains`, `regex`.
	Operator *string `json:"operator,omitempty" tf:"operator,omitempty"`

	// The pattern to match with.
	Pattern *string `json:"pattern,omitempty" tf:"pattern,omitempty"`
}

func (*BranchNamePatternInitParameters) DeepCopy added in v0.10.0

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

func (*BranchNamePatternInitParameters) DeepCopyInto added in v0.10.0

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

type BranchNamePatternObservation added in v0.10.0

type BranchNamePatternObservation struct {

	// How this rule will appear to users.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// If true, the rule will fail if the pattern matches.
	Negate *bool `json:"negate,omitempty" tf:"negate,omitempty"`

	// The operator to use for matching. Can be one of: `starts_with`, `ends_with`, `contains`, `regex`.
	Operator *string `json:"operator,omitempty" tf:"operator,omitempty"`

	// The pattern to match with.
	Pattern *string `json:"pattern,omitempty" tf:"pattern,omitempty"`
}

func (*BranchNamePatternObservation) DeepCopy added in v0.10.0

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

func (*BranchNamePatternObservation) DeepCopyInto added in v0.10.0

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

type BranchNamePatternParameters added in v0.10.0

type BranchNamePatternParameters struct {

	// How this rule will appear to users.
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// If true, the rule will fail if the pattern matches.
	// +kubebuilder:validation:Optional
	Negate *bool `json:"negate,omitempty" tf:"negate,omitempty"`

	// The operator to use for matching. Can be one of: `starts_with`, `ends_with`, `contains`, `regex`.
	// +kubebuilder:validation:Optional
	Operator *string `json:"operator" tf:"operator,omitempty"`

	// The pattern to match with.
	// +kubebuilder:validation:Optional
	Pattern *string `json:"pattern" tf:"pattern,omitempty"`
}

func (*BranchNamePatternParameters) DeepCopy added in v0.10.0

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

func (*BranchNamePatternParameters) DeepCopyInto added in v0.10.0

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

type BypassActorsInitParameters added in v0.10.0

type BypassActorsInitParameters struct {

	// The ID of the actor that can bypass a ruleset. When `actor_type` is `OrganizationAdmin`, this should be set to `1`.
	ActorID *float64 `json:"actorId,omitempty" tf:"actor_id,omitempty"`

	// The type of actor that can bypass a ruleset. Can be one of: `RepositoryRole`, `Team`, `Integration`, `OrganizationAdmin`.
	ActorType *string `json:"actorType,omitempty" tf:"actor_type,omitempty"`

	// When the specified actor can bypass the ruleset. pull_request means that an actor can only bypass rules on pull requests. Can be one of: `always`, `pull_request`.
	BypassMode *string `json:"bypassMode,omitempty" tf:"bypass_mode,omitempty"`
}

func (*BypassActorsInitParameters) DeepCopy added in v0.10.0

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

func (*BypassActorsInitParameters) DeepCopyInto added in v0.10.0

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

type BypassActorsObservation added in v0.10.0

type BypassActorsObservation struct {

	// The ID of the actor that can bypass a ruleset. When `actor_type` is `OrganizationAdmin`, this should be set to `1`.
	ActorID *float64 `json:"actorId,omitempty" tf:"actor_id,omitempty"`

	// The type of actor that can bypass a ruleset. Can be one of: `RepositoryRole`, `Team`, `Integration`, `OrganizationAdmin`.
	ActorType *string `json:"actorType,omitempty" tf:"actor_type,omitempty"`

	// When the specified actor can bypass the ruleset. pull_request means that an actor can only bypass rules on pull requests. Can be one of: `always`, `pull_request`.
	BypassMode *string `json:"bypassMode,omitempty" tf:"bypass_mode,omitempty"`
}

func (*BypassActorsObservation) DeepCopy added in v0.10.0

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

func (*BypassActorsObservation) DeepCopyInto added in v0.10.0

func (in *BypassActorsObservation) DeepCopyInto(out *BypassActorsObservation)

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

type BypassActorsParameters added in v0.10.0

type BypassActorsParameters struct {

	// The ID of the actor that can bypass a ruleset. When `actor_type` is `OrganizationAdmin`, this should be set to `1`.
	// +kubebuilder:validation:Optional
	ActorID *float64 `json:"actorId" tf:"actor_id,omitempty"`

	// The type of actor that can bypass a ruleset. Can be one of: `RepositoryRole`, `Team`, `Integration`, `OrganizationAdmin`.
	// +kubebuilder:validation:Optional
	ActorType *string `json:"actorType" tf:"actor_type,omitempty"`

	// When the specified actor can bypass the ruleset. pull_request means that an actor can only bypass rules on pull requests. Can be one of: `always`, `pull_request`.
	// +kubebuilder:validation:Optional
	BypassMode *string `json:"bypassMode" tf:"bypass_mode,omitempty"`
}

func (*BypassActorsParameters) DeepCopy added in v0.10.0

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

func (*BypassActorsParameters) DeepCopyInto added in v0.10.0

func (in *BypassActorsParameters) DeepCopyInto(out *BypassActorsParameters)

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

type CommitAuthorEmailPatternInitParameters added in v0.10.0

type CommitAuthorEmailPatternInitParameters struct {

	// How this rule will appear to users.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// If true, the rule will fail if the pattern matches.
	Negate *bool `json:"negate,omitempty" tf:"negate,omitempty"`

	// The operator to use for matching. Can be one of: `starts_with`, `ends_with`, `contains`, `regex`.
	Operator *string `json:"operator,omitempty" tf:"operator,omitempty"`

	// The pattern to match with.
	Pattern *string `json:"pattern,omitempty" tf:"pattern,omitempty"`
}

func (*CommitAuthorEmailPatternInitParameters) DeepCopy added in v0.10.0

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

func (*CommitAuthorEmailPatternInitParameters) DeepCopyInto added in v0.10.0

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

type CommitAuthorEmailPatternObservation added in v0.10.0

type CommitAuthorEmailPatternObservation struct {

	// How this rule will appear to users.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// If true, the rule will fail if the pattern matches.
	Negate *bool `json:"negate,omitempty" tf:"negate,omitempty"`

	// The operator to use for matching. Can be one of: `starts_with`, `ends_with`, `contains`, `regex`.
	Operator *string `json:"operator,omitempty" tf:"operator,omitempty"`

	// The pattern to match with.
	Pattern *string `json:"pattern,omitempty" tf:"pattern,omitempty"`
}

func (*CommitAuthorEmailPatternObservation) DeepCopy added in v0.10.0

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

func (*CommitAuthorEmailPatternObservation) DeepCopyInto added in v0.10.0

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

type CommitAuthorEmailPatternParameters added in v0.10.0

type CommitAuthorEmailPatternParameters struct {

	// How this rule will appear to users.
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// If true, the rule will fail if the pattern matches.
	// +kubebuilder:validation:Optional
	Negate *bool `json:"negate,omitempty" tf:"negate,omitempty"`

	// The operator to use for matching. Can be one of: `starts_with`, `ends_with`, `contains`, `regex`.
	// +kubebuilder:validation:Optional
	Operator *string `json:"operator" tf:"operator,omitempty"`

	// The pattern to match with.
	// +kubebuilder:validation:Optional
	Pattern *string `json:"pattern" tf:"pattern,omitempty"`
}

func (*CommitAuthorEmailPatternParameters) DeepCopy added in v0.10.0

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

func (*CommitAuthorEmailPatternParameters) DeepCopyInto added in v0.10.0

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

type CommitMessagePatternInitParameters added in v0.10.0

type CommitMessagePatternInitParameters struct {

	// How this rule will appear to users.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// If true, the rule will fail if the pattern matches.
	Negate *bool `json:"negate,omitempty" tf:"negate,omitempty"`

	// The operator to use for matching. Can be one of: `starts_with`, `ends_with`, `contains`, `regex`.
	Operator *string `json:"operator,omitempty" tf:"operator,omitempty"`

	// The pattern to match with.
	Pattern *string `json:"pattern,omitempty" tf:"pattern,omitempty"`
}

func (*CommitMessagePatternInitParameters) DeepCopy added in v0.10.0

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

func (*CommitMessagePatternInitParameters) DeepCopyInto added in v0.10.0

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

type CommitMessagePatternObservation added in v0.10.0

type CommitMessagePatternObservation struct {

	// How this rule will appear to users.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// If true, the rule will fail if the pattern matches.
	Negate *bool `json:"negate,omitempty" tf:"negate,omitempty"`

	// The operator to use for matching. Can be one of: `starts_with`, `ends_with`, `contains`, `regex`.
	Operator *string `json:"operator,omitempty" tf:"operator,omitempty"`

	// The pattern to match with.
	Pattern *string `json:"pattern,omitempty" tf:"pattern,omitempty"`
}

func (*CommitMessagePatternObservation) DeepCopy added in v0.10.0

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

func (*CommitMessagePatternObservation) DeepCopyInto added in v0.10.0

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

type CommitMessagePatternParameters added in v0.10.0

type CommitMessagePatternParameters struct {

	// How this rule will appear to users.
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// If true, the rule will fail if the pattern matches.
	// +kubebuilder:validation:Optional
	Negate *bool `json:"negate,omitempty" tf:"negate,omitempty"`

	// The operator to use for matching. Can be one of: `starts_with`, `ends_with`, `contains`, `regex`.
	// +kubebuilder:validation:Optional
	Operator *string `json:"operator" tf:"operator,omitempty"`

	// The pattern to match with.
	// +kubebuilder:validation:Optional
	Pattern *string `json:"pattern" tf:"pattern,omitempty"`
}

func (*CommitMessagePatternParameters) DeepCopy added in v0.10.0

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

func (*CommitMessagePatternParameters) DeepCopyInto added in v0.10.0

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

type CommitterEmailPatternInitParameters added in v0.10.0

type CommitterEmailPatternInitParameters struct {

	// How this rule will appear to users.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// If true, the rule will fail if the pattern matches.
	Negate *bool `json:"negate,omitempty" tf:"negate,omitempty"`

	// The operator to use for matching. Can be one of: `starts_with`, `ends_with`, `contains`, `regex`.
	Operator *string `json:"operator,omitempty" tf:"operator,omitempty"`

	// The pattern to match with.
	Pattern *string `json:"pattern,omitempty" tf:"pattern,omitempty"`
}

func (*CommitterEmailPatternInitParameters) DeepCopy added in v0.10.0

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

func (*CommitterEmailPatternInitParameters) DeepCopyInto added in v0.10.0

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

type CommitterEmailPatternObservation added in v0.10.0

type CommitterEmailPatternObservation struct {

	// How this rule will appear to users.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// If true, the rule will fail if the pattern matches.
	Negate *bool `json:"negate,omitempty" tf:"negate,omitempty"`

	// The operator to use for matching. Can be one of: `starts_with`, `ends_with`, `contains`, `regex`.
	Operator *string `json:"operator,omitempty" tf:"operator,omitempty"`

	// The pattern to match with.
	Pattern *string `json:"pattern,omitempty" tf:"pattern,omitempty"`
}

func (*CommitterEmailPatternObservation) DeepCopy added in v0.10.0

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

func (*CommitterEmailPatternObservation) DeepCopyInto added in v0.10.0

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

type CommitterEmailPatternParameters added in v0.10.0

type CommitterEmailPatternParameters struct {

	// How this rule will appear to users.
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// If true, the rule will fail if the pattern matches.
	// +kubebuilder:validation:Optional
	Negate *bool `json:"negate,omitempty" tf:"negate,omitempty"`

	// The operator to use for matching. Can be one of: `starts_with`, `ends_with`, `contains`, `regex`.
	// +kubebuilder:validation:Optional
	Operator *string `json:"operator" tf:"operator,omitempty"`

	// The pattern to match with.
	// +kubebuilder:validation:Optional
	Pattern *string `json:"pattern" tf:"pattern,omitempty"`
}

func (*CommitterEmailPatternParameters) DeepCopy added in v0.10.0

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

func (*CommitterEmailPatternParameters) DeepCopyInto added in v0.10.0

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

type ConditionsInitParameters added in v0.10.0

type ConditionsInitParameters struct {
	RefName []RefNameInitParameters `json:"refName,omitempty" tf:"ref_name,omitempty"`

	// The repository IDs that the ruleset applies to. One of these IDs must match for the condition to pass.
	RepositoryID []*float64 `json:"repositoryId,omitempty" tf:"repository_id,omitempty"`

	RepositoryName []RepositoryNameInitParameters `json:"repositoryName,omitempty" tf:"repository_name,omitempty"`
}

func (*ConditionsInitParameters) DeepCopy added in v0.10.0

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

func (*ConditionsInitParameters) DeepCopyInto added in v0.10.0

func (in *ConditionsInitParameters) DeepCopyInto(out *ConditionsInitParameters)

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

type ConditionsObservation added in v0.10.0

type ConditionsObservation struct {
	RefName []RefNameObservation `json:"refName,omitempty" tf:"ref_name,omitempty"`

	// The repository IDs that the ruleset applies to. One of these IDs must match for the condition to pass.
	RepositoryID []*float64 `json:"repositoryId,omitempty" tf:"repository_id,omitempty"`

	RepositoryName []RepositoryNameObservation `json:"repositoryName,omitempty" tf:"repository_name,omitempty"`
}

func (*ConditionsObservation) DeepCopy added in v0.10.0

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

func (*ConditionsObservation) DeepCopyInto added in v0.10.0

func (in *ConditionsObservation) DeepCopyInto(out *ConditionsObservation)

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

type ConditionsParameters added in v0.10.0

type ConditionsParameters struct {

	// +kubebuilder:validation:Optional
	RefName []RefNameParameters `json:"refName" tf:"ref_name,omitempty"`

	// The repository IDs that the ruleset applies to. One of these IDs must match for the condition to pass.
	// +kubebuilder:validation:Optional
	RepositoryID []*float64 `json:"repositoryId,omitempty" tf:"repository_id,omitempty"`

	// +kubebuilder:validation:Optional
	RepositoryName []RepositoryNameParameters `json:"repositoryName,omitempty" tf:"repository_name,omitempty"`
}

func (*ConditionsParameters) DeepCopy added in v0.10.0

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

func (*ConditionsParameters) DeepCopyInto added in v0.10.0

func (in *ConditionsParameters) DeepCopyInto(out *ConditionsParameters)

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

type Organization

type Organization struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.adminLogins) || (has(self.initProvider) && has(self.initProvider.adminLogins))",message="spec.forProvider.adminLogins is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.billingEmail) || (has(self.initProvider) && has(self.initProvider.billingEmail))",message="spec.forProvider.billingEmail is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.enterpriseId) || (has(self.initProvider) && has(self.initProvider.enterpriseId))",message="spec.forProvider.enterpriseId is a required parameter"
	// +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   OrganizationSpec   `json:"spec"`
	Status OrganizationStatus `json:"status,omitempty"`
}

Organization is the Schema for the Organizations API. Create and manages a GitHub enterprise organization. +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:resource:scope=Cluster,categories={crossplane,managed,github}

func (*Organization) DeepCopy

func (in *Organization) DeepCopy() *Organization

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

func (*Organization) DeepCopyInto

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

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

func (*Organization) DeepCopyObject

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

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

func (*Organization) GetCondition

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

GetCondition of this Organization.

func (*Organization) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Organization

func (*Organization) GetDeletionPolicy

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

GetDeletionPolicy of this Organization.

func (*Organization) GetID

func (tr *Organization) GetID() string

GetID returns ID of underlying Terraform resource of this Organization

func (*Organization) GetInitParameters

func (tr *Organization) GetInitParameters() (map[string]any, error)

GetInitParameters of this Organization

func (*Organization) GetManagementPolicies

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

GetManagementPolicies of this Organization.

func (*Organization) GetMergedParameters

func (tr *Organization) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)

GetInitParameters of this Organization

func (*Organization) GetObservation

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

GetObservation of this Organization

func (*Organization) GetParameters

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

GetParameters of this Organization

func (*Organization) GetProviderConfigReference

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

GetProviderConfigReference of this Organization.

func (*Organization) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Organization.

func (*Organization) GetTerraformResourceType

func (mg *Organization) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Organization

func (*Organization) GetTerraformSchemaVersion

func (tr *Organization) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Organization) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Organization.

func (*Organization) Hub

func (tr *Organization) Hub()

Hub marks this type as a conversion hub.

func (*Organization) LateInitialize

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

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

func (*Organization) SetConditions

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

SetConditions of this Organization.

func (*Organization) SetDeletionPolicy

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

SetDeletionPolicy of this Organization.

func (*Organization) SetManagementPolicies

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

SetManagementPolicies of this Organization.

func (*Organization) SetObservation

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

SetObservation for this Organization

func (*Organization) SetParameters

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

SetParameters for this Organization

func (*Organization) SetProviderConfigReference

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

SetProviderConfigReference of this Organization.

func (*Organization) SetPublishConnectionDetailsTo

func (mg *Organization) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)

SetPublishConnectionDetailsTo of this Organization.

func (*Organization) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Organization.

type OrganizationInitParameters

type OrganizationInitParameters struct {

	// List of organization owner usernames.
	// List of organization owner usernames.
	// +listType=set
	AdminLogins []*string `json:"adminLogins,omitempty" tf:"admin_logins,omitempty"`

	// The billing email address.
	// The billing email address.
	BillingEmail *string `json:"billingEmail,omitempty" tf:"billing_email,omitempty"`

	// The description of the organization.
	// The description of the organization.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// The display name of the organization.
	// The display name of the organization.
	DisplayName *string `json:"displayName,omitempty" tf:"display_name,omitempty"`

	// The ID of the enterprise.
	// The ID of the enterprise.
	EnterpriseID *string `json:"enterpriseId,omitempty" tf:"enterprise_id,omitempty"`

	// The name of the organization.
	// The name of the organization.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`
}

func (*OrganizationInitParameters) DeepCopy

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

func (*OrganizationInitParameters) DeepCopyInto

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

type OrganizationList

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

OrganizationList contains a list of Organizations

func (*OrganizationList) DeepCopy

func (in *OrganizationList) DeepCopy() *OrganizationList

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

func (*OrganizationList) DeepCopyInto

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

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

func (*OrganizationList) DeepCopyObject

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

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

func (*OrganizationList) GetItems

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

GetItems of this OrganizationList.

type OrganizationObservation

type OrganizationObservation struct {

	// List of organization owner usernames.
	// List of organization owner usernames.
	// +listType=set
	AdminLogins []*string `json:"adminLogins,omitempty" tf:"admin_logins,omitempty"`

	// The billing email address.
	// The billing email address.
	BillingEmail *string `json:"billingEmail,omitempty" tf:"billing_email,omitempty"`

	// The description of the organization.
	// The description of the organization.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// The display name of the organization.
	// The display name of the organization.
	DisplayName *string `json:"displayName,omitempty" tf:"display_name,omitempty"`

	// The ID of the enterprise.
	// The ID of the enterprise.
	EnterpriseID *string `json:"enterpriseId,omitempty" tf:"enterprise_id,omitempty"`

	// The ID of the organization.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// The name of the organization.
	// The name of the organization.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`
}

func (*OrganizationObservation) DeepCopy

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

func (*OrganizationObservation) DeepCopyInto

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

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

type OrganizationParameters

type OrganizationParameters struct {

	// List of organization owner usernames.
	// List of organization owner usernames.
	// +kubebuilder:validation:Optional
	// +listType=set
	AdminLogins []*string `json:"adminLogins,omitempty" tf:"admin_logins,omitempty"`

	// The billing email address.
	// The billing email address.
	// +kubebuilder:validation:Optional
	BillingEmail *string `json:"billingEmail,omitempty" tf:"billing_email,omitempty"`

	// The description of the organization.
	// The description of the organization.
	// +kubebuilder:validation:Optional
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// The display name of the organization.
	// The display name of the organization.
	// +kubebuilder:validation:Optional
	DisplayName *string `json:"displayName,omitempty" tf:"display_name,omitempty"`

	// The ID of the enterprise.
	// The ID of the enterprise.
	// +kubebuilder:validation:Optional
	EnterpriseID *string `json:"enterpriseId,omitempty" tf:"enterprise_id,omitempty"`

	// The name of the organization.
	// The name of the organization.
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`
}

func (*OrganizationParameters) DeepCopy

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

func (*OrganizationParameters) DeepCopyInto

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

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

type OrganizationRuleset added in v0.10.0

type OrganizationRuleset 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.enforcement) || (has(self.initProvider) && has(self.initProvider.enforcement))",message="spec.forProvider.enforcement is a required parameter"
	// +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"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.rules) || (has(self.initProvider) && has(self.initProvider.rules))",message="spec.forProvider.rules is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.target) || (has(self.initProvider) && has(self.initProvider.target))",message="spec.forProvider.target is a required parameter"
	Spec   OrganizationRulesetSpec   `json:"spec"`
	Status OrganizationRulesetStatus `json:"status,omitempty"`
}

OrganizationRuleset is the Schema for the OrganizationRulesets API. <no value> +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:resource:scope=Cluster,categories={crossplane,managed,github}

func (*OrganizationRuleset) DeepCopy added in v0.10.0

func (in *OrganizationRuleset) DeepCopy() *OrganizationRuleset

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

func (*OrganizationRuleset) DeepCopyInto added in v0.10.0

func (in *OrganizationRuleset) DeepCopyInto(out *OrganizationRuleset)

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

func (*OrganizationRuleset) DeepCopyObject added in v0.10.0

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

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

func (*OrganizationRuleset) GetCondition added in v0.10.0

func (mg *OrganizationRuleset) GetCondition(ct xpv1.ConditionType) xpv1.Condition

GetCondition of this OrganizationRuleset.

func (*OrganizationRuleset) GetConnectionDetailsMapping added in v0.10.0

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

GetConnectionDetailsMapping for this OrganizationRuleset

func (*OrganizationRuleset) GetDeletionPolicy added in v0.10.0

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

GetDeletionPolicy of this OrganizationRuleset.

func (*OrganizationRuleset) GetID added in v0.10.0

func (tr *OrganizationRuleset) GetID() string

GetID returns ID of underlying Terraform resource of this OrganizationRuleset

func (*OrganizationRuleset) GetInitParameters added in v0.10.0

func (tr *OrganizationRuleset) GetInitParameters() (map[string]any, error)

GetInitParameters of this OrganizationRuleset

func (*OrganizationRuleset) GetManagementPolicies added in v0.10.0

func (mg *OrganizationRuleset) GetManagementPolicies() xpv1.ManagementPolicies

GetManagementPolicies of this OrganizationRuleset.

func (*OrganizationRuleset) GetMergedParameters added in v0.10.0

func (tr *OrganizationRuleset) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)

GetInitParameters of this OrganizationRuleset

func (*OrganizationRuleset) GetObservation added in v0.10.0

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

GetObservation of this OrganizationRuleset

func (*OrganizationRuleset) GetParameters added in v0.10.0

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

GetParameters of this OrganizationRuleset

func (*OrganizationRuleset) GetProviderConfigReference added in v0.10.0

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

GetProviderConfigReference of this OrganizationRuleset.

func (*OrganizationRuleset) GetPublishConnectionDetailsTo added in v0.10.0

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

GetPublishConnectionDetailsTo of this OrganizationRuleset.

func (*OrganizationRuleset) GetTerraformResourceType added in v0.10.0

func (mg *OrganizationRuleset) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this OrganizationRuleset

func (*OrganizationRuleset) GetTerraformSchemaVersion added in v0.10.0

func (tr *OrganizationRuleset) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*OrganizationRuleset) GetWriteConnectionSecretToReference added in v0.10.0

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

GetWriteConnectionSecretToReference of this OrganizationRuleset.

func (*OrganizationRuleset) Hub added in v0.10.0

func (tr *OrganizationRuleset) Hub()

Hub marks this type as a conversion hub.

func (*OrganizationRuleset) LateInitialize added in v0.10.0

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

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

func (*OrganizationRuleset) SetConditions added in v0.10.0

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

SetConditions of this OrganizationRuleset.

func (*OrganizationRuleset) SetDeletionPolicy added in v0.10.0

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

SetDeletionPolicy of this OrganizationRuleset.

func (*OrganizationRuleset) SetManagementPolicies added in v0.10.0

func (mg *OrganizationRuleset) SetManagementPolicies(r xpv1.ManagementPolicies)

SetManagementPolicies of this OrganizationRuleset.

func (*OrganizationRuleset) SetObservation added in v0.10.0

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

SetObservation for this OrganizationRuleset

func (*OrganizationRuleset) SetParameters added in v0.10.0

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

SetParameters for this OrganizationRuleset

func (*OrganizationRuleset) SetProviderConfigReference added in v0.10.0

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

SetProviderConfigReference of this OrganizationRuleset.

func (*OrganizationRuleset) SetPublishConnectionDetailsTo added in v0.10.0

func (mg *OrganizationRuleset) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)

SetPublishConnectionDetailsTo of this OrganizationRuleset.

func (*OrganizationRuleset) SetWriteConnectionSecretToReference added in v0.10.0

func (mg *OrganizationRuleset) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)

SetWriteConnectionSecretToReference of this OrganizationRuleset.

type OrganizationRulesetInitParameters added in v0.10.0

type OrganizationRulesetInitParameters struct {

	// The actors that can bypass the rules in this ruleset.
	BypassActors []BypassActorsInitParameters `json:"bypassActors,omitempty" tf:"bypass_actors,omitempty"`

	// Parameters for an organization ruleset condition. `ref_name` is required alongside one of `repository_name` or `repository_id`.
	Conditions []ConditionsInitParameters `json:"conditions,omitempty" tf:"conditions,omitempty"`

	// Possible values for Enforcement are `disabled`, `active`, `evaluate`. Note: `evaluate` is currently only supported for owners of type `organization`.
	Enforcement *string `json:"enforcement,omitempty" tf:"enforcement,omitempty"`

	// The name of the ruleset.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// Rules within the ruleset.
	Rules []RulesInitParameters `json:"rules,omitempty" tf:"rules,omitempty"`

	// Possible values are `branch` and `tag`.
	Target *string `json:"target,omitempty" tf:"target,omitempty"`
}

func (*OrganizationRulesetInitParameters) DeepCopy added in v0.10.0

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

func (*OrganizationRulesetInitParameters) DeepCopyInto added in v0.10.0

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

type OrganizationRulesetList added in v0.10.0

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

OrganizationRulesetList contains a list of OrganizationRulesets

func (*OrganizationRulesetList) DeepCopy added in v0.10.0

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

func (*OrganizationRulesetList) DeepCopyInto added in v0.10.0

func (in *OrganizationRulesetList) DeepCopyInto(out *OrganizationRulesetList)

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

func (*OrganizationRulesetList) DeepCopyObject added in v0.10.0

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

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

func (*OrganizationRulesetList) GetItems added in v0.10.0

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

GetItems of this OrganizationRulesetList.

type OrganizationRulesetObservation added in v0.10.0

type OrganizationRulesetObservation struct {

	// The actors that can bypass the rules in this ruleset.
	BypassActors []BypassActorsObservation `json:"bypassActors,omitempty" tf:"bypass_actors,omitempty"`

	// Parameters for an organization ruleset condition. `ref_name` is required alongside one of `repository_name` or `repository_id`.
	Conditions []ConditionsObservation `json:"conditions,omitempty" tf:"conditions,omitempty"`

	// Possible values for Enforcement are `disabled`, `active`, `evaluate`. Note: `evaluate` is currently only supported for owners of type `organization`.
	Enforcement *string `json:"enforcement,omitempty" tf:"enforcement,omitempty"`

	Etag *string `json:"etag,omitempty" tf:"etag,omitempty"`

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

	// The name of the ruleset.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// GraphQL global node id for use with v4 API.
	NodeID *string `json:"nodeId,omitempty" tf:"node_id,omitempty"`

	// Rules within the ruleset.
	Rules []RulesObservation `json:"rules,omitempty" tf:"rules,omitempty"`

	// GitHub ID for the ruleset.
	RulesetID *float64 `json:"rulesetId,omitempty" tf:"ruleset_id,omitempty"`

	// Possible values are `branch` and `tag`.
	Target *string `json:"target,omitempty" tf:"target,omitempty"`
}

func (*OrganizationRulesetObservation) DeepCopy added in v0.10.0

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

func (*OrganizationRulesetObservation) DeepCopyInto added in v0.10.0

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

type OrganizationRulesetParameters added in v0.10.0

type OrganizationRulesetParameters struct {

	// The actors that can bypass the rules in this ruleset.
	// +kubebuilder:validation:Optional
	BypassActors []BypassActorsParameters `json:"bypassActors,omitempty" tf:"bypass_actors,omitempty"`

	// Parameters for an organization ruleset condition. `ref_name` is required alongside one of `repository_name` or `repository_id`.
	// +kubebuilder:validation:Optional
	Conditions []ConditionsParameters `json:"conditions,omitempty" tf:"conditions,omitempty"`

	// Possible values for Enforcement are `disabled`, `active`, `evaluate`. Note: `evaluate` is currently only supported for owners of type `organization`.
	// +kubebuilder:validation:Optional
	Enforcement *string `json:"enforcement,omitempty" tf:"enforcement,omitempty"`

	// The name of the ruleset.
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// Rules within the ruleset.
	// +kubebuilder:validation:Optional
	Rules []RulesParameters `json:"rules,omitempty" tf:"rules,omitempty"`

	// Possible values are `branch` and `tag`.
	// +kubebuilder:validation:Optional
	Target *string `json:"target,omitempty" tf:"target,omitempty"`
}

func (*OrganizationRulesetParameters) DeepCopy added in v0.10.0

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

func (*OrganizationRulesetParameters) DeepCopyInto added in v0.10.0

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

type OrganizationRulesetSpec added in v0.10.0

type OrganizationRulesetSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     OrganizationRulesetParameters `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 OrganizationRulesetInitParameters `json:"initProvider,omitempty"`
}

OrganizationRulesetSpec defines the desired state of OrganizationRuleset

func (*OrganizationRulesetSpec) DeepCopy added in v0.10.0

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

func (*OrganizationRulesetSpec) DeepCopyInto added in v0.10.0

func (in *OrganizationRulesetSpec) DeepCopyInto(out *OrganizationRulesetSpec)

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

type OrganizationRulesetStatus added in v0.10.0

type OrganizationRulesetStatus struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        OrganizationRulesetObservation `json:"atProvider,omitempty"`
}

OrganizationRulesetStatus defines the observed state of OrganizationRuleset.

func (*OrganizationRulesetStatus) DeepCopy added in v0.10.0

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

func (*OrganizationRulesetStatus) DeepCopyInto added in v0.10.0

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

type OrganizationSpec

type OrganizationSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     OrganizationParameters `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 OrganizationInitParameters `json:"initProvider,omitempty"`
}

OrganizationSpec defines the desired state of Organization

func (*OrganizationSpec) DeepCopy

func (in *OrganizationSpec) DeepCopy() *OrganizationSpec

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

func (*OrganizationSpec) DeepCopyInto

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

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

type OrganizationStatus

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

OrganizationStatus defines the observed state of Organization.

func (*OrganizationStatus) DeepCopy

func (in *OrganizationStatus) DeepCopy() *OrganizationStatus

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

func (*OrganizationStatus) DeepCopyInto

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

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

type PullRequestInitParameters added in v0.10.0

type PullRequestInitParameters struct {

	// New, reviewable commits pushed will dismiss previous pull request review approvals. Defaults to `false`.
	DismissStaleReviewsOnPush *bool `json:"dismissStaleReviewsOnPush,omitempty" tf:"dismiss_stale_reviews_on_push,omitempty"`

	// Require an approving review in pull requests that modify files that have a designated code owner. Defaults to `false`.
	RequireCodeOwnerReview *bool `json:"requireCodeOwnerReview,omitempty" tf:"require_code_owner_review,omitempty"`

	// Whether the most recent reviewable push must be approved by someone other than the person who pushed it. Defaults to `false`.
	RequireLastPushApproval *bool `json:"requireLastPushApproval,omitempty" tf:"require_last_push_approval,omitempty"`

	// The number of approving reviews that are required before a pull request can be merged. Defaults to `0`.
	RequiredApprovingReviewCount *float64 `json:"requiredApprovingReviewCount,omitempty" tf:"required_approving_review_count,omitempty"`

	// All conversations on code must be resolved before a pull request can be merged. Defaults to `false`.
	RequiredReviewThreadResolution *bool `json:"requiredReviewThreadResolution,omitempty" tf:"required_review_thread_resolution,omitempty"`
}

func (*PullRequestInitParameters) DeepCopy added in v0.10.0

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

func (*PullRequestInitParameters) DeepCopyInto added in v0.10.0

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

type PullRequestObservation added in v0.10.0

type PullRequestObservation struct {

	// New, reviewable commits pushed will dismiss previous pull request review approvals. Defaults to `false`.
	DismissStaleReviewsOnPush *bool `json:"dismissStaleReviewsOnPush,omitempty" tf:"dismiss_stale_reviews_on_push,omitempty"`

	// Require an approving review in pull requests that modify files that have a designated code owner. Defaults to `false`.
	RequireCodeOwnerReview *bool `json:"requireCodeOwnerReview,omitempty" tf:"require_code_owner_review,omitempty"`

	// Whether the most recent reviewable push must be approved by someone other than the person who pushed it. Defaults to `false`.
	RequireLastPushApproval *bool `json:"requireLastPushApproval,omitempty" tf:"require_last_push_approval,omitempty"`

	// The number of approving reviews that are required before a pull request can be merged. Defaults to `0`.
	RequiredApprovingReviewCount *float64 `json:"requiredApprovingReviewCount,omitempty" tf:"required_approving_review_count,omitempty"`

	// All conversations on code must be resolved before a pull request can be merged. Defaults to `false`.
	RequiredReviewThreadResolution *bool `json:"requiredReviewThreadResolution,omitempty" tf:"required_review_thread_resolution,omitempty"`
}

func (*PullRequestObservation) DeepCopy added in v0.10.0

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

func (*PullRequestObservation) DeepCopyInto added in v0.10.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.10.0

type PullRequestParameters struct {

	// New, reviewable commits pushed will dismiss previous pull request review approvals. Defaults to `false`.
	// +kubebuilder:validation:Optional
	DismissStaleReviewsOnPush *bool `json:"dismissStaleReviewsOnPush,omitempty" tf:"dismiss_stale_reviews_on_push,omitempty"`

	// Require an approving review in pull requests that modify files that have a designated code owner. Defaults to `false`.
	// +kubebuilder:validation:Optional
	RequireCodeOwnerReview *bool `json:"requireCodeOwnerReview,omitempty" tf:"require_code_owner_review,omitempty"`

	// Whether the most recent reviewable push must be approved by someone other than the person who pushed it. Defaults to `false`.
	// +kubebuilder:validation:Optional
	RequireLastPushApproval *bool `json:"requireLastPushApproval,omitempty" tf:"require_last_push_approval,omitempty"`

	// The number of approving reviews that are required before a pull request can be merged. Defaults to `0`.
	// +kubebuilder:validation:Optional
	RequiredApprovingReviewCount *float64 `json:"requiredApprovingReviewCount,omitempty" tf:"required_approving_review_count,omitempty"`

	// All conversations on code must be resolved before a pull request can be merged. Defaults to `false`.
	// +kubebuilder:validation:Optional
	RequiredReviewThreadResolution *bool `json:"requiredReviewThreadResolution,omitempty" tf:"required_review_thread_resolution,omitempty"`
}

func (*PullRequestParameters) DeepCopy added in v0.10.0

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

func (*PullRequestParameters) DeepCopyInto added in v0.10.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 RefNameInitParameters added in v0.10.0

type RefNameInitParameters struct {

	// Array of ref names or patterns to exclude. The condition will not pass if any of these patterns match.
	Exclude []*string `json:"exclude,omitempty" tf:"exclude,omitempty"`

	// Array of ref names or patterns to include. One of these patterns must match for the condition to pass. Also accepts `~DEFAULT_BRANCH` to include the default branch or `~ALL` to include all branches.
	Include []*string `json:"include,omitempty" tf:"include,omitempty"`
}

func (*RefNameInitParameters) DeepCopy added in v0.10.0

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

func (*RefNameInitParameters) DeepCopyInto added in v0.10.0

func (in *RefNameInitParameters) DeepCopyInto(out *RefNameInitParameters)

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

type RefNameObservation added in v0.10.0

type RefNameObservation struct {

	// Array of ref names or patterns to exclude. The condition will not pass if any of these patterns match.
	Exclude []*string `json:"exclude,omitempty" tf:"exclude,omitempty"`

	// Array of ref names or patterns to include. One of these patterns must match for the condition to pass. Also accepts `~DEFAULT_BRANCH` to include the default branch or `~ALL` to include all branches.
	Include []*string `json:"include,omitempty" tf:"include,omitempty"`
}

func (*RefNameObservation) DeepCopy added in v0.10.0

func (in *RefNameObservation) DeepCopy() *RefNameObservation

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

func (*RefNameObservation) DeepCopyInto added in v0.10.0

func (in *RefNameObservation) DeepCopyInto(out *RefNameObservation)

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

type RefNameParameters added in v0.10.0

type RefNameParameters struct {

	// Array of ref names or patterns to exclude. The condition will not pass if any of these patterns match.
	// +kubebuilder:validation:Optional
	Exclude []*string `json:"exclude" tf:"exclude,omitempty"`

	// Array of ref names or patterns to include. One of these patterns must match for the condition to pass. Also accepts `~DEFAULT_BRANCH` to include the default branch or `~ALL` to include all branches.
	// +kubebuilder:validation:Optional
	Include []*string `json:"include" tf:"include,omitempty"`
}

func (*RefNameParameters) DeepCopy added in v0.10.0

func (in *RefNameParameters) DeepCopy() *RefNameParameters

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

func (*RefNameParameters) DeepCopyInto added in v0.10.0

func (in *RefNameParameters) DeepCopyInto(out *RefNameParameters)

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

type RepositoryNameInitParameters added in v0.10.0

type RepositoryNameInitParameters struct {

	// Array of repository names or patterns to exclude. The condition will not pass if any of these patterns match.
	Exclude []*string `json:"exclude,omitempty" tf:"exclude,omitempty"`

	// Array of repository names or patterns to include. One of these patterns must match for the condition to pass. Also accepts `~ALL` to include all repositories.
	Include []*string `json:"include,omitempty" tf:"include,omitempty"`

	// Whether renaming of target repositories is prevented.
	Protected *bool `json:"protected,omitempty" tf:"protected,omitempty"`
}

func (*RepositoryNameInitParameters) DeepCopy added in v0.10.0

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

func (*RepositoryNameInitParameters) DeepCopyInto added in v0.10.0

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

type RepositoryNameObservation added in v0.10.0

type RepositoryNameObservation struct {

	// Array of repository names or patterns to exclude. The condition will not pass if any of these patterns match.
	Exclude []*string `json:"exclude,omitempty" tf:"exclude,omitempty"`

	// Array of repository names or patterns to include. One of these patterns must match for the condition to pass. Also accepts `~ALL` to include all repositories.
	Include []*string `json:"include,omitempty" tf:"include,omitempty"`

	// Whether renaming of target repositories is prevented.
	Protected *bool `json:"protected,omitempty" tf:"protected,omitempty"`
}

func (*RepositoryNameObservation) DeepCopy added in v0.10.0

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

func (*RepositoryNameObservation) DeepCopyInto added in v0.10.0

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

type RepositoryNameParameters added in v0.10.0

type RepositoryNameParameters struct {

	// Array of repository names or patterns to exclude. The condition will not pass if any of these patterns match.
	// +kubebuilder:validation:Optional
	Exclude []*string `json:"exclude" tf:"exclude,omitempty"`

	// Array of repository names or patterns to include. One of these patterns must match for the condition to pass. Also accepts `~ALL` to include all repositories.
	// +kubebuilder:validation:Optional
	Include []*string `json:"include" tf:"include,omitempty"`

	// Whether renaming of target repositories is prevented.
	// +kubebuilder:validation:Optional
	Protected *bool `json:"protected,omitempty" tf:"protected,omitempty"`
}

func (*RepositoryNameParameters) DeepCopy added in v0.10.0

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

func (*RepositoryNameParameters) DeepCopyInto added in v0.10.0

func (in *RepositoryNameParameters) DeepCopyInto(out *RepositoryNameParameters)

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

type RequiredCheckInitParameters added in v0.10.0

type RequiredCheckInitParameters struct {

	// The status check context name that must be present on the commit.
	Context *string `json:"context,omitempty" tf:"context,omitempty"`

	// The optional integration ID that this status check must originate from.
	IntegrationID *float64 `json:"integrationId,omitempty" tf:"integration_id,omitempty"`
}

func (*RequiredCheckInitParameters) DeepCopy added in v0.10.0

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

func (*RequiredCheckInitParameters) DeepCopyInto added in v0.10.0

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

type RequiredCheckObservation added in v0.10.0

type RequiredCheckObservation struct {

	// The status check context name that must be present on the commit.
	Context *string `json:"context,omitempty" tf:"context,omitempty"`

	// The optional integration ID that this status check must originate from.
	IntegrationID *float64 `json:"integrationId,omitempty" tf:"integration_id,omitempty"`
}

func (*RequiredCheckObservation) DeepCopy added in v0.10.0

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

func (*RequiredCheckObservation) DeepCopyInto added in v0.10.0

func (in *RequiredCheckObservation) DeepCopyInto(out *RequiredCheckObservation)

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

type RequiredCheckParameters added in v0.10.0

type RequiredCheckParameters struct {

	// The status check context name that must be present on the commit.
	// +kubebuilder:validation:Optional
	Context *string `json:"context" tf:"context,omitempty"`

	// The optional integration ID that this status check must originate from.
	// +kubebuilder:validation:Optional
	IntegrationID *float64 `json:"integrationId,omitempty" tf:"integration_id,omitempty"`
}

func (*RequiredCheckParameters) DeepCopy added in v0.10.0

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

func (*RequiredCheckParameters) DeepCopyInto added in v0.10.0

func (in *RequiredCheckParameters) DeepCopyInto(out *RequiredCheckParameters)

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

type RequiredStatusChecksInitParameters added in v0.10.0

type RequiredStatusChecksInitParameters struct {

	// Status checks that are required. Several can be defined.
	RequiredCheck []RequiredCheckInitParameters `json:"requiredCheck,omitempty" tf:"required_check,omitempty"`

	// Whether pull requests targeting a matching branch must be tested with the latest code. This setting will not take effect unless at least one status check is enabled. Defaults to `false`.
	StrictRequiredStatusChecksPolicy *bool `json:"strictRequiredStatusChecksPolicy,omitempty" tf:"strict_required_status_checks_policy,omitempty"`
}

func (*RequiredStatusChecksInitParameters) DeepCopy added in v0.10.0

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

func (*RequiredStatusChecksInitParameters) DeepCopyInto added in v0.10.0

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

type RequiredStatusChecksObservation added in v0.10.0

type RequiredStatusChecksObservation struct {

	// Status checks that are required. Several can be defined.
	RequiredCheck []RequiredCheckObservation `json:"requiredCheck,omitempty" tf:"required_check,omitempty"`

	// Whether pull requests targeting a matching branch must be tested with the latest code. This setting will not take effect unless at least one status check is enabled. Defaults to `false`.
	StrictRequiredStatusChecksPolicy *bool `json:"strictRequiredStatusChecksPolicy,omitempty" tf:"strict_required_status_checks_policy,omitempty"`
}

func (*RequiredStatusChecksObservation) DeepCopy added in v0.10.0

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

func (*RequiredStatusChecksObservation) DeepCopyInto added in v0.10.0

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

type RequiredStatusChecksParameters added in v0.10.0

type RequiredStatusChecksParameters struct {

	// Status checks that are required. Several can be defined.
	// +kubebuilder:validation:Optional
	RequiredCheck []RequiredCheckParameters `json:"requiredCheck" tf:"required_check,omitempty"`

	// Whether pull requests targeting a matching branch must be tested with the latest code. This setting will not take effect unless at least one status check is enabled. Defaults to `false`.
	// +kubebuilder:validation:Optional
	StrictRequiredStatusChecksPolicy *bool `json:"strictRequiredStatusChecksPolicy,omitempty" tf:"strict_required_status_checks_policy,omitempty"`
}

func (*RequiredStatusChecksParameters) DeepCopy added in v0.10.0

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

func (*RequiredStatusChecksParameters) DeepCopyInto added in v0.10.0

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

type RequiredWorkflowInitParameters added in v0.10.0

type RequiredWorkflowInitParameters struct {

	// The path to the workflow YAML definition file.
	Path *string `json:"path,omitempty" tf:"path,omitempty"`

	// The ref (branch or tag) of the workflow file to use.
	Ref *string `json:"ref,omitempty" tf:"ref,omitempty"`

	// The repository in which the workflow is defined.
	RepositoryID *float64 `json:"repositoryId,omitempty" tf:"repository_id,omitempty"`
}

func (*RequiredWorkflowInitParameters) DeepCopy added in v0.10.0

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

func (*RequiredWorkflowInitParameters) DeepCopyInto added in v0.10.0

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

type RequiredWorkflowObservation added in v0.10.0

type RequiredWorkflowObservation struct {

	// The path to the workflow YAML definition file.
	Path *string `json:"path,omitempty" tf:"path,omitempty"`

	// The ref (branch or tag) of the workflow file to use.
	Ref *string `json:"ref,omitempty" tf:"ref,omitempty"`

	// The repository in which the workflow is defined.
	RepositoryID *float64 `json:"repositoryId,omitempty" tf:"repository_id,omitempty"`
}

func (*RequiredWorkflowObservation) DeepCopy added in v0.10.0

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

func (*RequiredWorkflowObservation) DeepCopyInto added in v0.10.0

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

type RequiredWorkflowParameters added in v0.10.0

type RequiredWorkflowParameters struct {

	// The path to the workflow YAML definition file.
	// +kubebuilder:validation:Optional
	Path *string `json:"path" tf:"path,omitempty"`

	// The ref (branch or tag) of the workflow file to use.
	// +kubebuilder:validation:Optional
	Ref *string `json:"ref,omitempty" tf:"ref,omitempty"`

	// The repository in which the workflow is defined.
	// +kubebuilder:validation:Optional
	RepositoryID *float64 `json:"repositoryId" tf:"repository_id,omitempty"`
}

func (*RequiredWorkflowParameters) DeepCopy added in v0.10.0

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

func (*RequiredWorkflowParameters) DeepCopyInto added in v0.10.0

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

type RequiredWorkflowsInitParameters added in v0.10.0

type RequiredWorkflowsInitParameters struct {

	// Actions workflows that are required. Several can be defined.
	RequiredWorkflow []RequiredWorkflowInitParameters `json:"requiredWorkflow,omitempty" tf:"required_workflow,omitempty"`
}

func (*RequiredWorkflowsInitParameters) DeepCopy added in v0.10.0

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

func (*RequiredWorkflowsInitParameters) DeepCopyInto added in v0.10.0

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

type RequiredWorkflowsObservation added in v0.10.0

type RequiredWorkflowsObservation struct {

	// Actions workflows that are required. Several can be defined.
	RequiredWorkflow []RequiredWorkflowObservation `json:"requiredWorkflow,omitempty" tf:"required_workflow,omitempty"`
}

func (*RequiredWorkflowsObservation) DeepCopy added in v0.10.0

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

func (*RequiredWorkflowsObservation) DeepCopyInto added in v0.10.0

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

type RequiredWorkflowsParameters added in v0.10.0

type RequiredWorkflowsParameters struct {

	// Actions workflows that are required. Several can be defined.
	// +kubebuilder:validation:Optional
	RequiredWorkflow []RequiredWorkflowParameters `json:"requiredWorkflow" tf:"required_workflow,omitempty"`
}

func (*RequiredWorkflowsParameters) DeepCopy added in v0.10.0

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

func (*RequiredWorkflowsParameters) DeepCopyInto added in v0.10.0

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

type RulesInitParameters added in v0.10.0

type RulesInitParameters struct {

	// Parameters to be used for the branch_name_pattern rule. This rule only applies to repositories within an enterprise, it cannot be applied to repositories owned by individuals or regular organizations. Conflicts with `tag_name_pattern` as it only applies to rulesets with target `branch`.
	BranchNamePattern []BranchNamePatternInitParameters `json:"branchNamePattern,omitempty" tf:"branch_name_pattern,omitempty"`

	// Parameters to be used for the commit_author_email_pattern rule.
	CommitAuthorEmailPattern []CommitAuthorEmailPatternInitParameters `json:"commitAuthorEmailPattern,omitempty" tf:"commit_author_email_pattern,omitempty"`

	// Parameters to be used for the commit_message_pattern rule.
	CommitMessagePattern []CommitMessagePatternInitParameters `json:"commitMessagePattern,omitempty" tf:"commit_message_pattern,omitempty"`

	// Parameters to be used for the committer_email_pattern rule.
	CommitterEmailPattern []CommitterEmailPatternInitParameters `json:"committerEmailPattern,omitempty" tf:"committer_email_pattern,omitempty"`

	// Only allow users with bypass permission to create matching refs.
	Creation *bool `json:"creation,omitempty" tf:"creation,omitempty"`

	// Only allow users with bypass permissions to delete matching refs.
	Deletion *bool `json:"deletion,omitempty" tf:"deletion,omitempty"`

	// Prevent users with push access from force pushing to branches.
	NonFastForward *bool `json:"nonFastForward,omitempty" tf:"non_fast_forward,omitempty"`

	// Require all commits be made to a non-target branch and submitted via a pull request before they can be merged.
	PullRequest []PullRequestInitParameters `json:"pullRequest,omitempty" tf:"pull_request,omitempty"`

	// Prevent merge commits from being pushed to matching branches.
	RequiredLinearHistory *bool `json:"requiredLinearHistory,omitempty" tf:"required_linear_history,omitempty"`

	// Commits pushed to matching branches must have verified signatures.
	RequiredSignatures *bool `json:"requiredSignatures,omitempty" tf:"required_signatures,omitempty"`

	// Choose which status checks must pass before branches can be merged into a branch that matches this rule. When enabled, commits must first be pushed to another branch, then merged or pushed directly to a branch that matches this rule after status checks have passed.
	RequiredStatusChecks []RequiredStatusChecksInitParameters `json:"requiredStatusChecks,omitempty" tf:"required_status_checks,omitempty"`

	// Choose which Actions workflows must pass before branches can be merged into a branch that matches this rule.
	RequiredWorkflows []RequiredWorkflowsInitParameters `json:"requiredWorkflows,omitempty" tf:"required_workflows,omitempty"`

	// Parameters to be used for the tag_name_pattern rule. This rule only applies to repositories within an enterprise, it cannot be applied to repositories owned by individuals or regular organizations. Conflicts with `branch_name_pattern` as it only applies to rulesets with target `tag`.
	TagNamePattern []TagNamePatternInitParameters `json:"tagNamePattern,omitempty" tf:"tag_name_pattern,omitempty"`

	// Only allow users with bypass permission to update matching refs.
	Update *bool `json:"update,omitempty" tf:"update,omitempty"`
}

func (*RulesInitParameters) DeepCopy added in v0.10.0

func (in *RulesInitParameters) DeepCopy() *RulesInitParameters

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

func (*RulesInitParameters) DeepCopyInto added in v0.10.0

func (in *RulesInitParameters) DeepCopyInto(out *RulesInitParameters)

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

type RulesObservation added in v0.10.0

type RulesObservation struct {

	// Parameters to be used for the branch_name_pattern rule. This rule only applies to repositories within an enterprise, it cannot be applied to repositories owned by individuals or regular organizations. Conflicts with `tag_name_pattern` as it only applies to rulesets with target `branch`.
	BranchNamePattern []BranchNamePatternObservation `json:"branchNamePattern,omitempty" tf:"branch_name_pattern,omitempty"`

	// Parameters to be used for the commit_author_email_pattern rule.
	CommitAuthorEmailPattern []CommitAuthorEmailPatternObservation `json:"commitAuthorEmailPattern,omitempty" tf:"commit_author_email_pattern,omitempty"`

	// Parameters to be used for the commit_message_pattern rule.
	CommitMessagePattern []CommitMessagePatternObservation `json:"commitMessagePattern,omitempty" tf:"commit_message_pattern,omitempty"`

	// Parameters to be used for the committer_email_pattern rule.
	CommitterEmailPattern []CommitterEmailPatternObservation `json:"committerEmailPattern,omitempty" tf:"committer_email_pattern,omitempty"`

	// Only allow users with bypass permission to create matching refs.
	Creation *bool `json:"creation,omitempty" tf:"creation,omitempty"`

	// Only allow users with bypass permissions to delete matching refs.
	Deletion *bool `json:"deletion,omitempty" tf:"deletion,omitempty"`

	// Prevent users with push access from force pushing to branches.
	NonFastForward *bool `json:"nonFastForward,omitempty" tf:"non_fast_forward,omitempty"`

	// Require all commits be made to a non-target branch and submitted via a pull request before they can be merged.
	PullRequest []PullRequestObservation `json:"pullRequest,omitempty" tf:"pull_request,omitempty"`

	// Prevent merge commits from being pushed to matching branches.
	RequiredLinearHistory *bool `json:"requiredLinearHistory,omitempty" tf:"required_linear_history,omitempty"`

	// Commits pushed to matching branches must have verified signatures.
	RequiredSignatures *bool `json:"requiredSignatures,omitempty" tf:"required_signatures,omitempty"`

	// Choose which status checks must pass before branches can be merged into a branch that matches this rule. When enabled, commits must first be pushed to another branch, then merged or pushed directly to a branch that matches this rule after status checks have passed.
	RequiredStatusChecks []RequiredStatusChecksObservation `json:"requiredStatusChecks,omitempty" tf:"required_status_checks,omitempty"`

	// Choose which Actions workflows must pass before branches can be merged into a branch that matches this rule.
	RequiredWorkflows []RequiredWorkflowsObservation `json:"requiredWorkflows,omitempty" tf:"required_workflows,omitempty"`

	// Parameters to be used for the tag_name_pattern rule. This rule only applies to repositories within an enterprise, it cannot be applied to repositories owned by individuals or regular organizations. Conflicts with `branch_name_pattern` as it only applies to rulesets with target `tag`.
	TagNamePattern []TagNamePatternObservation `json:"tagNamePattern,omitempty" tf:"tag_name_pattern,omitempty"`

	// Only allow users with bypass permission to update matching refs.
	Update *bool `json:"update,omitempty" tf:"update,omitempty"`
}

func (*RulesObservation) DeepCopy added in v0.10.0

func (in *RulesObservation) DeepCopy() *RulesObservation

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

func (*RulesObservation) DeepCopyInto added in v0.10.0

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

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

type RulesParameters added in v0.10.0

type RulesParameters struct {

	// Parameters to be used for the branch_name_pattern rule. This rule only applies to repositories within an enterprise, it cannot be applied to repositories owned by individuals or regular organizations. Conflicts with `tag_name_pattern` as it only applies to rulesets with target `branch`.
	// +kubebuilder:validation:Optional
	BranchNamePattern []BranchNamePatternParameters `json:"branchNamePattern,omitempty" tf:"branch_name_pattern,omitempty"`

	// Parameters to be used for the commit_author_email_pattern rule.
	// +kubebuilder:validation:Optional
	CommitAuthorEmailPattern []CommitAuthorEmailPatternParameters `json:"commitAuthorEmailPattern,omitempty" tf:"commit_author_email_pattern,omitempty"`

	// Parameters to be used for the commit_message_pattern rule.
	// +kubebuilder:validation:Optional
	CommitMessagePattern []CommitMessagePatternParameters `json:"commitMessagePattern,omitempty" tf:"commit_message_pattern,omitempty"`

	// Parameters to be used for the committer_email_pattern rule.
	// +kubebuilder:validation:Optional
	CommitterEmailPattern []CommitterEmailPatternParameters `json:"committerEmailPattern,omitempty" tf:"committer_email_pattern,omitempty"`

	// Only allow users with bypass permission to create matching refs.
	// +kubebuilder:validation:Optional
	Creation *bool `json:"creation,omitempty" tf:"creation,omitempty"`

	// Only allow users with bypass permissions to delete matching refs.
	// +kubebuilder:validation:Optional
	Deletion *bool `json:"deletion,omitempty" tf:"deletion,omitempty"`

	// Prevent users with push access from force pushing to branches.
	// +kubebuilder:validation:Optional
	NonFastForward *bool `json:"nonFastForward,omitempty" tf:"non_fast_forward,omitempty"`

	// Require all commits be made to a non-target branch and submitted via a pull request before they can be merged.
	// +kubebuilder:validation:Optional
	PullRequest []PullRequestParameters `json:"pullRequest,omitempty" tf:"pull_request,omitempty"`

	// Prevent merge commits from being pushed to matching branches.
	// +kubebuilder:validation:Optional
	RequiredLinearHistory *bool `json:"requiredLinearHistory,omitempty" tf:"required_linear_history,omitempty"`

	// Commits pushed to matching branches must have verified signatures.
	// +kubebuilder:validation:Optional
	RequiredSignatures *bool `json:"requiredSignatures,omitempty" tf:"required_signatures,omitempty"`

	// Choose which status checks must pass before branches can be merged into a branch that matches this rule. When enabled, commits must first be pushed to another branch, then merged or pushed directly to a branch that matches this rule after status checks have passed.
	// +kubebuilder:validation:Optional
	RequiredStatusChecks []RequiredStatusChecksParameters `json:"requiredStatusChecks,omitempty" tf:"required_status_checks,omitempty"`

	// Choose which Actions workflows must pass before branches can be merged into a branch that matches this rule.
	// +kubebuilder:validation:Optional
	RequiredWorkflows []RequiredWorkflowsParameters `json:"requiredWorkflows,omitempty" tf:"required_workflows,omitempty"`

	// Parameters to be used for the tag_name_pattern rule. This rule only applies to repositories within an enterprise, it cannot be applied to repositories owned by individuals or regular organizations. Conflicts with `branch_name_pattern` as it only applies to rulesets with target `tag`.
	// +kubebuilder:validation:Optional
	TagNamePattern []TagNamePatternParameters `json:"tagNamePattern,omitempty" tf:"tag_name_pattern,omitempty"`

	// Only allow users with bypass permission to update matching refs.
	// +kubebuilder:validation:Optional
	Update *bool `json:"update,omitempty" tf:"update,omitempty"`
}

func (*RulesParameters) DeepCopy added in v0.10.0

func (in *RulesParameters) DeepCopy() *RulesParameters

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

func (*RulesParameters) DeepCopyInto added in v0.10.0

func (in *RulesParameters) DeepCopyInto(out *RulesParameters)

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

type TagNamePatternInitParameters added in v0.10.0

type TagNamePatternInitParameters struct {

	// How this rule will appear to users.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// If true, the rule will fail if the pattern matches.
	Negate *bool `json:"negate,omitempty" tf:"negate,omitempty"`

	// The operator to use for matching. Can be one of: `starts_with`, `ends_with`, `contains`, `regex`.
	Operator *string `json:"operator,omitempty" tf:"operator,omitempty"`

	// The pattern to match with.
	Pattern *string `json:"pattern,omitempty" tf:"pattern,omitempty"`
}

func (*TagNamePatternInitParameters) DeepCopy added in v0.10.0

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

func (*TagNamePatternInitParameters) DeepCopyInto added in v0.10.0

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

type TagNamePatternObservation added in v0.10.0

type TagNamePatternObservation struct {

	// How this rule will appear to users.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// If true, the rule will fail if the pattern matches.
	Negate *bool `json:"negate,omitempty" tf:"negate,omitempty"`

	// The operator to use for matching. Can be one of: `starts_with`, `ends_with`, `contains`, `regex`.
	Operator *string `json:"operator,omitempty" tf:"operator,omitempty"`

	// The pattern to match with.
	Pattern *string `json:"pattern,omitempty" tf:"pattern,omitempty"`
}

func (*TagNamePatternObservation) DeepCopy added in v0.10.0

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

func (*TagNamePatternObservation) DeepCopyInto added in v0.10.0

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

type TagNamePatternParameters added in v0.10.0

type TagNamePatternParameters struct {

	// How this rule will appear to users.
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// If true, the rule will fail if the pattern matches.
	// +kubebuilder:validation:Optional
	Negate *bool `json:"negate,omitempty" tf:"negate,omitempty"`

	// The operator to use for matching. Can be one of: `starts_with`, `ends_with`, `contains`, `regex`.
	// +kubebuilder:validation:Optional
	Operator *string `json:"operator" tf:"operator,omitempty"`

	// The pattern to match with.
	// +kubebuilder:validation:Optional
	Pattern *string `json:"pattern" tf:"pattern,omitempty"`
}

func (*TagNamePatternParameters) DeepCopy added in v0.10.0

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

func (*TagNamePatternParameters) DeepCopyInto added in v0.10.0

func (in *TagNamePatternParameters) DeepCopyInto(out *TagNamePatternParameters)

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