Documentation ¶
Overview ¶
+kubebuilder:object:generate=true +groupName=enterprise.github.upbound.io +versionName=v1alpha1
Index ¶
- Constants
- Variables
- type BranchNamePatternInitParameters
- type BranchNamePatternObservation
- type BranchNamePatternParameters
- type BypassActorsInitParameters
- type BypassActorsObservation
- type BypassActorsParameters
- type CommitAuthorEmailPatternInitParameters
- type CommitAuthorEmailPatternObservation
- type CommitAuthorEmailPatternParameters
- type CommitMessagePatternInitParameters
- type CommitMessagePatternObservation
- type CommitMessagePatternParameters
- type CommitterEmailPatternInitParameters
- type CommitterEmailPatternObservation
- type CommitterEmailPatternParameters
- type ConditionsInitParameters
- type ConditionsObservation
- type ConditionsParameters
- type Organization
- func (in *Organization) DeepCopy() *Organization
- func (in *Organization) DeepCopyInto(out *Organization)
- func (in *Organization) DeepCopyObject() runtime.Object
- func (mg *Organization) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *Organization) GetConnectionDetailsMapping() map[string]string
- func (mg *Organization) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *Organization) GetID() string
- func (tr *Organization) GetInitParameters() (map[string]any, error)
- func (mg *Organization) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *Organization) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
- func (tr *Organization) GetObservation() (map[string]any, error)
- func (tr *Organization) GetParameters() (map[string]any, error)
- func (mg *Organization) GetProviderConfigReference() *xpv1.Reference
- func (mg *Organization) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *Organization) GetTerraformResourceType() string
- func (tr *Organization) GetTerraformSchemaVersion() int
- func (mg *Organization) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *Organization) Hub()
- func (tr *Organization) LateInitialize(attrs []byte) (bool, error)
- func (mg *Organization) SetConditions(c ...xpv1.Condition)
- func (mg *Organization) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *Organization) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *Organization) SetObservation(obs map[string]any) error
- func (tr *Organization) SetParameters(params map[string]any) error
- func (mg *Organization) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *Organization) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *Organization) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type OrganizationInitParameters
- type OrganizationList
- type OrganizationObservation
- type OrganizationParameters
- type OrganizationRuleset
- func (in *OrganizationRuleset) DeepCopy() *OrganizationRuleset
- func (in *OrganizationRuleset) DeepCopyInto(out *OrganizationRuleset)
- func (in *OrganizationRuleset) DeepCopyObject() runtime.Object
- func (mg *OrganizationRuleset) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *OrganizationRuleset) GetConnectionDetailsMapping() map[string]string
- func (mg *OrganizationRuleset) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *OrganizationRuleset) GetID() string
- func (tr *OrganizationRuleset) GetInitParameters() (map[string]any, error)
- func (mg *OrganizationRuleset) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *OrganizationRuleset) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
- func (tr *OrganizationRuleset) GetObservation() (map[string]any, error)
- func (tr *OrganizationRuleset) GetParameters() (map[string]any, error)
- func (mg *OrganizationRuleset) GetProviderConfigReference() *xpv1.Reference
- func (mg *OrganizationRuleset) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *OrganizationRuleset) GetTerraformResourceType() string
- func (tr *OrganizationRuleset) GetTerraformSchemaVersion() int
- func (mg *OrganizationRuleset) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *OrganizationRuleset) Hub()
- func (tr *OrganizationRuleset) LateInitialize(attrs []byte) (bool, error)
- func (mg *OrganizationRuleset) SetConditions(c ...xpv1.Condition)
- func (mg *OrganizationRuleset) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *OrganizationRuleset) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *OrganizationRuleset) SetObservation(obs map[string]any) error
- func (tr *OrganizationRuleset) SetParameters(params map[string]any) error
- func (mg *OrganizationRuleset) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *OrganizationRuleset) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *OrganizationRuleset) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type OrganizationRulesetInitParameters
- type OrganizationRulesetList
- type OrganizationRulesetObservation
- type OrganizationRulesetParameters
- type OrganizationRulesetSpec
- type OrganizationRulesetStatus
- type OrganizationSpec
- type OrganizationStatus
- type PullRequestInitParameters
- type PullRequestObservation
- type PullRequestParameters
- type RefNameInitParameters
- type RefNameObservation
- type RefNameParameters
- type RepositoryNameInitParameters
- type RepositoryNameObservation
- type RepositoryNameParameters
- type RequiredCheckInitParameters
- type RequiredCheckObservation
- type RequiredCheckParameters
- type RequiredStatusChecksInitParameters
- type RequiredStatusChecksObservation
- type RequiredStatusChecksParameters
- type RequiredWorkflowInitParameters
- type RequiredWorkflowObservation
- type RequiredWorkflowParameters
- type RequiredWorkflowsInitParameters
- type RequiredWorkflowsObservation
- type RequiredWorkflowsParameters
- type RulesInitParameters
- type RulesObservation
- type RulesParameters
- type TagNamePatternInitParameters
- type TagNamePatternObservation
- type TagNamePatternParameters
Constants ¶
const ( CRDGroup = "enterprise.github.upbound.io" CRDVersion = "v1alpha1" )
Package type metadata.
Variables ¶
var ( // CRDGroupVersion is the API Group Version used to register the objects CRDGroupVersion = schema.GroupVersion{Group: CRDGroup, Version: CRDVersion} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: CRDGroupVersion} // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme )
var ( 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.
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 ¶
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 ¶
func (in *BranchNamePatternInitParameters) DeepCopy() *BranchNamePatternInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BranchNamePatternInitParameters.
func (*BranchNamePatternInitParameters) DeepCopyInto ¶
func (in *BranchNamePatternInitParameters) DeepCopyInto(out *BranchNamePatternInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BranchNamePatternObservation ¶
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 ¶
func (in *BranchNamePatternObservation) DeepCopy() *BranchNamePatternObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BranchNamePatternObservation.
func (*BranchNamePatternObservation) DeepCopyInto ¶
func (in *BranchNamePatternObservation) DeepCopyInto(out *BranchNamePatternObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BranchNamePatternParameters ¶
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 ¶
func (in *BranchNamePatternParameters) DeepCopy() *BranchNamePatternParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BranchNamePatternParameters.
func (*BranchNamePatternParameters) DeepCopyInto ¶
func (in *BranchNamePatternParameters) DeepCopyInto(out *BranchNamePatternParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BypassActorsInitParameters ¶
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 *int64 `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 ¶
func (in *BypassActorsInitParameters) DeepCopy() *BypassActorsInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BypassActorsInitParameters.
func (*BypassActorsInitParameters) DeepCopyInto ¶
func (in *BypassActorsInitParameters) DeepCopyInto(out *BypassActorsInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BypassActorsObservation ¶
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 *int64 `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 ¶
func (in *BypassActorsObservation) DeepCopy() *BypassActorsObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BypassActorsObservation.
func (*BypassActorsObservation) DeepCopyInto ¶
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 ¶
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 *int64 `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 ¶
func (in *BypassActorsParameters) DeepCopy() *BypassActorsParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BypassActorsParameters.
func (*BypassActorsParameters) DeepCopyInto ¶
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 ¶
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 ¶
func (in *CommitAuthorEmailPatternInitParameters) DeepCopy() *CommitAuthorEmailPatternInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CommitAuthorEmailPatternInitParameters.
func (*CommitAuthorEmailPatternInitParameters) DeepCopyInto ¶
func (in *CommitAuthorEmailPatternInitParameters) DeepCopyInto(out *CommitAuthorEmailPatternInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CommitAuthorEmailPatternObservation ¶
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 ¶
func (in *CommitAuthorEmailPatternObservation) DeepCopy() *CommitAuthorEmailPatternObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CommitAuthorEmailPatternObservation.
func (*CommitAuthorEmailPatternObservation) DeepCopyInto ¶
func (in *CommitAuthorEmailPatternObservation) DeepCopyInto(out *CommitAuthorEmailPatternObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CommitAuthorEmailPatternParameters ¶
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 ¶
func (in *CommitAuthorEmailPatternParameters) DeepCopy() *CommitAuthorEmailPatternParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CommitAuthorEmailPatternParameters.
func (*CommitAuthorEmailPatternParameters) DeepCopyInto ¶
func (in *CommitAuthorEmailPatternParameters) DeepCopyInto(out *CommitAuthorEmailPatternParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CommitMessagePatternInitParameters ¶
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 ¶
func (in *CommitMessagePatternInitParameters) DeepCopy() *CommitMessagePatternInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CommitMessagePatternInitParameters.
func (*CommitMessagePatternInitParameters) DeepCopyInto ¶
func (in *CommitMessagePatternInitParameters) DeepCopyInto(out *CommitMessagePatternInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CommitMessagePatternObservation ¶
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 ¶
func (in *CommitMessagePatternObservation) DeepCopy() *CommitMessagePatternObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CommitMessagePatternObservation.
func (*CommitMessagePatternObservation) DeepCopyInto ¶
func (in *CommitMessagePatternObservation) DeepCopyInto(out *CommitMessagePatternObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CommitMessagePatternParameters ¶
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 ¶
func (in *CommitMessagePatternParameters) DeepCopy() *CommitMessagePatternParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CommitMessagePatternParameters.
func (*CommitMessagePatternParameters) DeepCopyInto ¶
func (in *CommitMessagePatternParameters) DeepCopyInto(out *CommitMessagePatternParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CommitterEmailPatternInitParameters ¶
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 ¶
func (in *CommitterEmailPatternInitParameters) DeepCopy() *CommitterEmailPatternInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CommitterEmailPatternInitParameters.
func (*CommitterEmailPatternInitParameters) DeepCopyInto ¶
func (in *CommitterEmailPatternInitParameters) DeepCopyInto(out *CommitterEmailPatternInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CommitterEmailPatternObservation ¶
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 ¶
func (in *CommitterEmailPatternObservation) DeepCopy() *CommitterEmailPatternObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CommitterEmailPatternObservation.
func (*CommitterEmailPatternObservation) DeepCopyInto ¶
func (in *CommitterEmailPatternObservation) DeepCopyInto(out *CommitterEmailPatternObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CommitterEmailPatternParameters ¶
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 ¶
func (in *CommitterEmailPatternParameters) DeepCopy() *CommitterEmailPatternParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CommitterEmailPatternParameters.
func (*CommitterEmailPatternParameters) DeepCopyInto ¶
func (in *CommitterEmailPatternParameters) DeepCopyInto(out *CommitterEmailPatternParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ConditionsInitParameters ¶
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 []*int64 `json:"repositoryId,omitempty" tf:"repository_id,omitempty"` RepositoryName []RepositoryNameInitParameters `json:"repositoryName,omitempty" tf:"repository_name,omitempty"` }
func (*ConditionsInitParameters) DeepCopy ¶
func (in *ConditionsInitParameters) DeepCopy() *ConditionsInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConditionsInitParameters.
func (*ConditionsInitParameters) DeepCopyInto ¶
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 ¶
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 []*int64 `json:"repositoryId,omitempty" tf:"repository_id,omitempty"` RepositoryName []RepositoryNameObservation `json:"repositoryName,omitempty" tf:"repository_name,omitempty"` }
func (*ConditionsObservation) DeepCopy ¶
func (in *ConditionsObservation) DeepCopy() *ConditionsObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConditionsObservation.
func (*ConditionsObservation) DeepCopyInto ¶
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 ¶
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 []*int64 `json:"repositoryId,omitempty" tf:"repository_id,omitempty"` // +kubebuilder:validation:Optional RepositoryName []RepositoryNameParameters `json:"repositoryName,omitempty" tf:"repository_name,omitempty"` }
func (*ConditionsParameters) DeepCopy ¶
func (in *ConditionsParameters) DeepCopy() *ConditionsParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConditionsParameters.
func (*ConditionsParameters) DeepCopyInto ¶
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="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,github}
func (*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) 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 ¶
func (in *OrganizationInitParameters) DeepCopy() *OrganizationInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OrganizationInitParameters.
func (*OrganizationInitParameters) DeepCopyInto ¶
func (in *OrganizationInitParameters) DeepCopyInto(out *OrganizationInitParameters)
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 ID of the organization. // The database ID of the organization. DatabaseID *int64 `json:"databaseId,omitempty" tf:"database_id,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 node ID of the organization for use with the v4 API. 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 ¶
func (in *OrganizationObservation) DeepCopy() *OrganizationObservation
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 ¶
func (in *OrganizationParameters) DeepCopy() *OrganizationParameters
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 ¶
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="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,github}
func (*OrganizationRuleset) DeepCopy ¶
func (in *OrganizationRuleset) DeepCopy() *OrganizationRuleset
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OrganizationRuleset.
func (*OrganizationRuleset) DeepCopyInto ¶
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 ¶
func (in *OrganizationRuleset) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*OrganizationRuleset) GetCondition ¶
func (mg *OrganizationRuleset) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this OrganizationRuleset.
func (*OrganizationRuleset) GetConnectionDetailsMapping ¶
func (tr *OrganizationRuleset) GetConnectionDetailsMapping() map[string]string
GetConnectionDetailsMapping for this OrganizationRuleset
func (*OrganizationRuleset) GetDeletionPolicy ¶
func (mg *OrganizationRuleset) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this OrganizationRuleset.
func (*OrganizationRuleset) GetID ¶
func (tr *OrganizationRuleset) GetID() string
GetID returns ID of underlying Terraform resource of this OrganizationRuleset
func (*OrganizationRuleset) GetInitParameters ¶
func (tr *OrganizationRuleset) GetInitParameters() (map[string]any, error)
GetInitParameters of this OrganizationRuleset
func (*OrganizationRuleset) GetManagementPolicies ¶
func (mg *OrganizationRuleset) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this OrganizationRuleset.
func (*OrganizationRuleset) GetMergedParameters ¶
func (tr *OrganizationRuleset) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
GetInitParameters of this OrganizationRuleset
func (*OrganizationRuleset) GetObservation ¶
func (tr *OrganizationRuleset) GetObservation() (map[string]any, error)
GetObservation of this OrganizationRuleset
func (*OrganizationRuleset) GetParameters ¶
func (tr *OrganizationRuleset) GetParameters() (map[string]any, error)
GetParameters of this OrganizationRuleset
func (*OrganizationRuleset) GetProviderConfigReference ¶
func (mg *OrganizationRuleset) GetProviderConfigReference() *xpv1.Reference
GetProviderConfigReference of this OrganizationRuleset.
func (*OrganizationRuleset) GetPublishConnectionDetailsTo ¶
func (mg *OrganizationRuleset) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this OrganizationRuleset.
func (*OrganizationRuleset) GetTerraformResourceType ¶
func (mg *OrganizationRuleset) GetTerraformResourceType() string
GetTerraformResourceType returns Terraform resource type for this OrganizationRuleset
func (*OrganizationRuleset) GetTerraformSchemaVersion ¶
func (tr *OrganizationRuleset) GetTerraformSchemaVersion() int
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*OrganizationRuleset) GetWriteConnectionSecretToReference ¶
func (mg *OrganizationRuleset) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this OrganizationRuleset.
func (*OrganizationRuleset) Hub ¶
func (tr *OrganizationRuleset) Hub()
Hub marks this type as a conversion hub.
func (*OrganizationRuleset) LateInitialize ¶
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 ¶
func (mg *OrganizationRuleset) SetConditions(c ...xpv1.Condition)
SetConditions of this OrganizationRuleset.
func (*OrganizationRuleset) SetDeletionPolicy ¶
func (mg *OrganizationRuleset) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this OrganizationRuleset.
func (*OrganizationRuleset) SetManagementPolicies ¶
func (mg *OrganizationRuleset) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this OrganizationRuleset.
func (*OrganizationRuleset) SetObservation ¶
func (tr *OrganizationRuleset) SetObservation(obs map[string]any) error
SetObservation for this OrganizationRuleset
func (*OrganizationRuleset) SetParameters ¶
func (tr *OrganizationRuleset) SetParameters(params map[string]any) error
SetParameters for this OrganizationRuleset
func (*OrganizationRuleset) SetProviderConfigReference ¶
func (mg *OrganizationRuleset) SetProviderConfigReference(r *xpv1.Reference)
SetProviderConfigReference of this OrganizationRuleset.
func (*OrganizationRuleset) SetPublishConnectionDetailsTo ¶
func (mg *OrganizationRuleset) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this OrganizationRuleset.
func (*OrganizationRuleset) SetWriteConnectionSecretToReference ¶
func (mg *OrganizationRuleset) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this OrganizationRuleset.
type OrganizationRulesetInitParameters ¶
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`, `tag` and `push`. Note: The `push` target is in beta and is subject to change. Target *string `json:"target,omitempty" tf:"target,omitempty"` }
func (*OrganizationRulesetInitParameters) DeepCopy ¶
func (in *OrganizationRulesetInitParameters) DeepCopy() *OrganizationRulesetInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OrganizationRulesetInitParameters.
func (*OrganizationRulesetInitParameters) DeepCopyInto ¶
func (in *OrganizationRulesetInitParameters) DeepCopyInto(out *OrganizationRulesetInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OrganizationRulesetList ¶
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 ¶
func (in *OrganizationRulesetList) DeepCopy() *OrganizationRulesetList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OrganizationRulesetList.
func (*OrganizationRulesetList) DeepCopyInto ¶
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 ¶
func (in *OrganizationRulesetList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*OrganizationRulesetList) GetItems ¶
func (l *OrganizationRulesetList) GetItems() []resource.Managed
GetItems of this OrganizationRulesetList.
type OrganizationRulesetObservation ¶
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 *int64 `json:"rulesetId,omitempty" tf:"ruleset_id,omitempty"` // Possible values are `branch`, `tag` and `push`. Note: The `push` target is in beta and is subject to change. Target *string `json:"target,omitempty" tf:"target,omitempty"` }
func (*OrganizationRulesetObservation) DeepCopy ¶
func (in *OrganizationRulesetObservation) DeepCopy() *OrganizationRulesetObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OrganizationRulesetObservation.
func (*OrganizationRulesetObservation) DeepCopyInto ¶
func (in *OrganizationRulesetObservation) DeepCopyInto(out *OrganizationRulesetObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OrganizationRulesetParameters ¶
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`, `tag` and `push`. Note: The `push` target is in beta and is subject to change. // +kubebuilder:validation:Optional Target *string `json:"target,omitempty" tf:"target,omitempty"` }
func (*OrganizationRulesetParameters) DeepCopy ¶
func (in *OrganizationRulesetParameters) DeepCopy() *OrganizationRulesetParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OrganizationRulesetParameters.
func (*OrganizationRulesetParameters) DeepCopyInto ¶
func (in *OrganizationRulesetParameters) DeepCopyInto(out *OrganizationRulesetParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OrganizationRulesetSpec ¶
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 ¶
func (in *OrganizationRulesetSpec) DeepCopy() *OrganizationRulesetSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OrganizationRulesetSpec.
func (*OrganizationRulesetSpec) DeepCopyInto ¶
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 ¶
type OrganizationRulesetStatus struct { v1.ResourceStatus `json:",inline"` AtProvider OrganizationRulesetObservation `json:"atProvider,omitempty"` }
OrganizationRulesetStatus defines the observed state of OrganizationRuleset.
func (*OrganizationRulesetStatus) DeepCopy ¶
func (in *OrganizationRulesetStatus) DeepCopy() *OrganizationRulesetStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OrganizationRulesetStatus.
func (*OrganizationRulesetStatus) DeepCopyInto ¶
func (in *OrganizationRulesetStatus) DeepCopyInto(out *OrganizationRulesetStatus)
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 ¶
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 *int64 `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 ¶
func (in *PullRequestInitParameters) DeepCopy() *PullRequestInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PullRequestInitParameters.
func (*PullRequestInitParameters) DeepCopyInto ¶
func (in *PullRequestInitParameters) DeepCopyInto(out *PullRequestInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PullRequestObservation ¶
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 *int64 `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 ¶
func (in *PullRequestObservation) DeepCopy() *PullRequestObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PullRequestObservation.
func (*PullRequestObservation) DeepCopyInto ¶
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 ¶
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 *int64 `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 ¶
func (in *PullRequestParameters) DeepCopy() *PullRequestParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PullRequestParameters.
func (*PullRequestParameters) DeepCopyInto ¶
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 ¶
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 ¶
func (in *RefNameInitParameters) DeepCopy() *RefNameInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RefNameInitParameters.
func (*RefNameInitParameters) DeepCopyInto ¶
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 ¶
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 ¶
func (in *RefNameObservation) DeepCopy() *RefNameObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RefNameObservation.
func (*RefNameObservation) DeepCopyInto ¶
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 ¶
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 ¶
func (in *RefNameParameters) DeepCopy() *RefNameParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RefNameParameters.
func (*RefNameParameters) DeepCopyInto ¶
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 ¶
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 ¶
func (in *RepositoryNameInitParameters) DeepCopy() *RepositoryNameInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RepositoryNameInitParameters.
func (*RepositoryNameInitParameters) DeepCopyInto ¶
func (in *RepositoryNameInitParameters) DeepCopyInto(out *RepositoryNameInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RepositoryNameObservation ¶
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 ¶
func (in *RepositoryNameObservation) DeepCopy() *RepositoryNameObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RepositoryNameObservation.
func (*RepositoryNameObservation) DeepCopyInto ¶
func (in *RepositoryNameObservation) DeepCopyInto(out *RepositoryNameObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RepositoryNameParameters ¶
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 ¶
func (in *RepositoryNameParameters) DeepCopy() *RepositoryNameParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RepositoryNameParameters.
func (*RepositoryNameParameters) DeepCopyInto ¶
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 ¶
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 *int64 `json:"integrationId,omitempty" tf:"integration_id,omitempty"` }
func (*RequiredCheckInitParameters) DeepCopy ¶
func (in *RequiredCheckInitParameters) DeepCopy() *RequiredCheckInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RequiredCheckInitParameters.
func (*RequiredCheckInitParameters) DeepCopyInto ¶
func (in *RequiredCheckInitParameters) DeepCopyInto(out *RequiredCheckInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RequiredCheckObservation ¶
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 *int64 `json:"integrationId,omitempty" tf:"integration_id,omitempty"` }
func (*RequiredCheckObservation) DeepCopy ¶
func (in *RequiredCheckObservation) DeepCopy() *RequiredCheckObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RequiredCheckObservation.
func (*RequiredCheckObservation) DeepCopyInto ¶
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 ¶
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 *int64 `json:"integrationId,omitempty" tf:"integration_id,omitempty"` }
func (*RequiredCheckParameters) DeepCopy ¶
func (in *RequiredCheckParameters) DeepCopy() *RequiredCheckParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RequiredCheckParameters.
func (*RequiredCheckParameters) DeepCopyInto ¶
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 ¶
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 ¶
func (in *RequiredStatusChecksInitParameters) DeepCopy() *RequiredStatusChecksInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RequiredStatusChecksInitParameters.
func (*RequiredStatusChecksInitParameters) DeepCopyInto ¶
func (in *RequiredStatusChecksInitParameters) DeepCopyInto(out *RequiredStatusChecksInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RequiredStatusChecksObservation ¶
type RequiredStatusChecksObservation struct { // 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 ¶
func (in *RequiredStatusChecksObservation) DeepCopy() *RequiredStatusChecksObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RequiredStatusChecksObservation.
func (*RequiredStatusChecksObservation) DeepCopyInto ¶
func (in *RequiredStatusChecksObservation) DeepCopyInto(out *RequiredStatusChecksObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RequiredStatusChecksParameters ¶
type RequiredStatusChecksParameters struct { // 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 ¶
func (in *RequiredStatusChecksParameters) DeepCopy() *RequiredStatusChecksParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RequiredStatusChecksParameters.
func (*RequiredStatusChecksParameters) DeepCopyInto ¶
func (in *RequiredStatusChecksParameters) DeepCopyInto(out *RequiredStatusChecksParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RequiredWorkflowInitParameters ¶
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 *int64 `json:"repositoryId,omitempty" tf:"repository_id,omitempty"` }
func (*RequiredWorkflowInitParameters) DeepCopy ¶
func (in *RequiredWorkflowInitParameters) DeepCopy() *RequiredWorkflowInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RequiredWorkflowInitParameters.
func (*RequiredWorkflowInitParameters) DeepCopyInto ¶
func (in *RequiredWorkflowInitParameters) DeepCopyInto(out *RequiredWorkflowInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RequiredWorkflowObservation ¶
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 *int64 `json:"repositoryId,omitempty" tf:"repository_id,omitempty"` }
func (*RequiredWorkflowObservation) DeepCopy ¶
func (in *RequiredWorkflowObservation) DeepCopy() *RequiredWorkflowObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RequiredWorkflowObservation.
func (*RequiredWorkflowObservation) DeepCopyInto ¶
func (in *RequiredWorkflowObservation) DeepCopyInto(out *RequiredWorkflowObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RequiredWorkflowParameters ¶
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 *int64 `json:"repositoryId" tf:"repository_id,omitempty"` }
func (*RequiredWorkflowParameters) DeepCopy ¶
func (in *RequiredWorkflowParameters) DeepCopy() *RequiredWorkflowParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RequiredWorkflowParameters.
func (*RequiredWorkflowParameters) DeepCopyInto ¶
func (in *RequiredWorkflowParameters) DeepCopyInto(out *RequiredWorkflowParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RequiredWorkflowsInitParameters ¶
type RequiredWorkflowsInitParameters struct { // Actions workflows that are required. Several can be defined. RequiredWorkflow []RequiredWorkflowInitParameters `json:"requiredWorkflow,omitempty" tf:"required_workflow,omitempty"` }
func (*RequiredWorkflowsInitParameters) DeepCopy ¶
func (in *RequiredWorkflowsInitParameters) DeepCopy() *RequiredWorkflowsInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RequiredWorkflowsInitParameters.
func (*RequiredWorkflowsInitParameters) DeepCopyInto ¶
func (in *RequiredWorkflowsInitParameters) DeepCopyInto(out *RequiredWorkflowsInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RequiredWorkflowsObservation ¶
type RequiredWorkflowsObservation struct { // Actions workflows that are required. Several can be defined. RequiredWorkflow []RequiredWorkflowObservation `json:"requiredWorkflow,omitempty" tf:"required_workflow,omitempty"` }
func (*RequiredWorkflowsObservation) DeepCopy ¶
func (in *RequiredWorkflowsObservation) DeepCopy() *RequiredWorkflowsObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RequiredWorkflowsObservation.
func (*RequiredWorkflowsObservation) DeepCopyInto ¶
func (in *RequiredWorkflowsObservation) DeepCopyInto(out *RequiredWorkflowsObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RequiredWorkflowsParameters ¶
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 ¶
func (in *RequiredWorkflowsParameters) DeepCopy() *RequiredWorkflowsParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RequiredWorkflowsParameters.
func (*RequiredWorkflowsParameters) DeepCopyInto ¶
func (in *RequiredWorkflowsParameters) DeepCopyInto(out *RequiredWorkflowsParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RulesInitParameters ¶
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 ¶
func (in *RulesInitParameters) DeepCopy() *RulesInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RulesInitParameters.
func (*RulesInitParameters) DeepCopyInto ¶
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 ¶
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 ¶
func (in *RulesObservation) DeepCopy() *RulesObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RulesObservation.
func (*RulesObservation) DeepCopyInto ¶
func (in *RulesObservation) DeepCopyInto(out *RulesObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RulesParameters ¶
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 ¶
func (in *RulesParameters) DeepCopy() *RulesParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RulesParameters.
func (*RulesParameters) DeepCopyInto ¶
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 ¶
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 ¶
func (in *TagNamePatternInitParameters) DeepCopy() *TagNamePatternInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TagNamePatternInitParameters.
func (*TagNamePatternInitParameters) DeepCopyInto ¶
func (in *TagNamePatternInitParameters) DeepCopyInto(out *TagNamePatternInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TagNamePatternObservation ¶
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 ¶
func (in *TagNamePatternObservation) DeepCopy() *TagNamePatternObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TagNamePatternObservation.
func (*TagNamePatternObservation) DeepCopyInto ¶
func (in *TagNamePatternObservation) DeepCopyInto(out *TagNamePatternObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TagNamePatternParameters ¶
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 ¶
func (in *TagNamePatternParameters) DeepCopy() *TagNamePatternParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TagNamePatternParameters.
func (*TagNamePatternParameters) DeepCopyInto ¶
func (in *TagNamePatternParameters) DeepCopyInto(out *TagNamePatternParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.