v1alpha1

package
v0.16.0 Latest Latest
Warning

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

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

Documentation

Overview

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

Index

Constants

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

Package type metadata.

Variables

View Source
var (
	EmuGroupMapping_Kind             = "EmuGroupMapping"
	EmuGroupMapping_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: EmuGroupMapping_Kind}.String()
	EmuGroupMapping_KindAPIVersion   = EmuGroupMapping_Kind + "." + CRDGroupVersion.String()
	EmuGroupMapping_GroupVersionKind = CRDGroupVersion.WithKind(EmuGroupMapping_Kind)
)

Repository type metadata.

View Source
var (
	// CRDGroupVersion is the API Group Version used to register the objects
	CRDGroupVersion = schema.GroupVersion{Group: CRDGroup, Version: CRDVersion}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = &scheme.Builder{GroupVersion: CRDGroupVersion}

	// AddToScheme adds the types in this group-version to the given scheme.
	AddToScheme = SchemeBuilder.AddToScheme
)
View Source
var (
	Team_Kind             = "Team"
	Team_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Team_Kind}.String()
	Team_KindAPIVersion   = Team_Kind + "." + CRDGroupVersion.String()
	Team_GroupVersionKind = CRDGroupVersion.WithKind(Team_Kind)
)

Repository type metadata.

View Source
var (
	TeamMembership_Kind             = "TeamMembership"
	TeamMembership_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: TeamMembership_Kind}.String()
	TeamMembership_KindAPIVersion   = TeamMembership_Kind + "." + CRDGroupVersion.String()
	TeamMembership_GroupVersionKind = CRDGroupVersion.WithKind(TeamMembership_Kind)
)

Repository type metadata.

View Source
var (
	TeamRepository_Kind             = "TeamRepository"
	TeamRepository_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: TeamRepository_Kind}.String()
	TeamRepository_KindAPIVersion   = TeamRepository_Kind + "." + CRDGroupVersion.String()
	TeamRepository_GroupVersionKind = CRDGroupVersion.WithKind(TeamRepository_Kind)
)

Repository type metadata.

View Source
var (
	TeamSettings_Kind             = "TeamSettings"
	TeamSettings_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: TeamSettings_Kind}.String()
	TeamSettings_KindAPIVersion   = TeamSettings_Kind + "." + CRDGroupVersion.String()
	TeamSettings_GroupVersionKind = CRDGroupVersion.WithKind(TeamSettings_Kind)
)

Repository type metadata.

View Source
var (
	TeamSyncGroupMapping_Kind             = "TeamSyncGroupMapping"
	TeamSyncGroupMapping_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: TeamSyncGroupMapping_Kind}.String()
	TeamSyncGroupMapping_KindAPIVersion   = TeamSyncGroupMapping_Kind + "." + CRDGroupVersion.String()
	TeamSyncGroupMapping_GroupVersionKind = CRDGroupVersion.WithKind(TeamSyncGroupMapping_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type EmuGroupMapping

type EmuGroupMapping 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.groupId) || (has(self.initProvider) && has(self.initProvider.groupId))",message="spec.forProvider.groupId is a required parameter"
	Spec   EmuGroupMappingSpec   `json:"spec"`
	Status EmuGroupMappingStatus `json:"status,omitempty"`
}

EmuGroupMapping is the Schema for the EmuGroupMappings API. Manages mappings between external groups for enterprise managed users. +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 (*EmuGroupMapping) DeepCopy

func (in *EmuGroupMapping) DeepCopy() *EmuGroupMapping

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

func (*EmuGroupMapping) DeepCopyInto

func (in *EmuGroupMapping) DeepCopyInto(out *EmuGroupMapping)

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

func (*EmuGroupMapping) DeepCopyObject

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

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

func (*EmuGroupMapping) GetCondition

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

GetCondition of this EmuGroupMapping.

func (*EmuGroupMapping) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this EmuGroupMapping

func (*EmuGroupMapping) GetDeletionPolicy

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

GetDeletionPolicy of this EmuGroupMapping.

func (*EmuGroupMapping) GetID

func (tr *EmuGroupMapping) GetID() string

GetID returns ID of underlying Terraform resource of this EmuGroupMapping

func (*EmuGroupMapping) GetInitParameters

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

GetInitParameters of this EmuGroupMapping

func (*EmuGroupMapping) GetManagementPolicies

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

GetManagementPolicies of this EmuGroupMapping.

func (*EmuGroupMapping) GetMergedParameters

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

GetInitParameters of this EmuGroupMapping

func (*EmuGroupMapping) GetObservation

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

GetObservation of this EmuGroupMapping

func (*EmuGroupMapping) GetParameters

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

GetParameters of this EmuGroupMapping

func (*EmuGroupMapping) GetProviderConfigReference

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

GetProviderConfigReference of this EmuGroupMapping.

func (*EmuGroupMapping) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this EmuGroupMapping.

func (*EmuGroupMapping) GetTerraformResourceType

func (mg *EmuGroupMapping) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this EmuGroupMapping

func (*EmuGroupMapping) GetTerraformSchemaVersion

func (tr *EmuGroupMapping) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*EmuGroupMapping) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this EmuGroupMapping.

func (*EmuGroupMapping) Hub

func (tr *EmuGroupMapping) Hub()

Hub marks this type as a conversion hub.

func (*EmuGroupMapping) LateInitialize

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

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

func (*EmuGroupMapping) ResolveReferences

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

ResolveReferences of this EmuGroupMapping.

func (*EmuGroupMapping) SetConditions

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

SetConditions of this EmuGroupMapping.

func (*EmuGroupMapping) SetDeletionPolicy

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

SetDeletionPolicy of this EmuGroupMapping.

func (*EmuGroupMapping) SetManagementPolicies

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

SetManagementPolicies of this EmuGroupMapping.

func (*EmuGroupMapping) SetObservation

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

SetObservation for this EmuGroupMapping

func (*EmuGroupMapping) SetParameters

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

SetParameters for this EmuGroupMapping

func (*EmuGroupMapping) SetProviderConfigReference

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

SetProviderConfigReference of this EmuGroupMapping.

func (*EmuGroupMapping) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this EmuGroupMapping.

func (*EmuGroupMapping) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this EmuGroupMapping.

type EmuGroupMappingInitParameters

type EmuGroupMappingInitParameters struct {

	// Integer corresponding to the external group ID to be linked
	// Integer corresponding to the external group ID to be linked.
	GroupID *int64 `json:"groupId,omitempty" tf:"group_id,omitempty"`

	// Slug of the GitHub team
	// Slug of the GitHub team.
	// +crossplane:generate:reference:type=github.com/crossplane-contrib/provider-upjet-github/apis/team/v1alpha1.Team
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("slug",true)
	TeamSlug *string `json:"teamSlug,omitempty" tf:"team_slug,omitempty"`

	// Reference to a Team in team to populate teamSlug.
	// +kubebuilder:validation:Optional
	TeamSlugRef *v1.Reference `json:"teamSlugRef,omitempty" tf:"-"`

	// Selector for a Team in team to populate teamSlug.
	// +kubebuilder:validation:Optional
	TeamSlugSelector *v1.Selector `json:"teamSlugSelector,omitempty" tf:"-"`
}

func (*EmuGroupMappingInitParameters) DeepCopy

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

func (*EmuGroupMappingInitParameters) DeepCopyInto

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

type EmuGroupMappingList

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

EmuGroupMappingList contains a list of EmuGroupMappings

func (*EmuGroupMappingList) DeepCopy

func (in *EmuGroupMappingList) DeepCopy() *EmuGroupMappingList

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

func (*EmuGroupMappingList) DeepCopyInto

func (in *EmuGroupMappingList) DeepCopyInto(out *EmuGroupMappingList)

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

func (*EmuGroupMappingList) DeepCopyObject

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

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

func (*EmuGroupMappingList) GetItems

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

GetItems of this EmuGroupMappingList.

type EmuGroupMappingObservation

type EmuGroupMappingObservation struct {
	Etag *string `json:"etag,omitempty" tf:"etag,omitempty"`

	// Integer corresponding to the external group ID to be linked
	// Integer corresponding to the external group ID to be linked.
	GroupID *int64 `json:"groupId,omitempty" tf:"group_id,omitempty"`

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

	// Slug of the GitHub team
	// Slug of the GitHub team.
	TeamSlug *string `json:"teamSlug,omitempty" tf:"team_slug,omitempty"`
}

func (*EmuGroupMappingObservation) DeepCopy

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

func (*EmuGroupMappingObservation) DeepCopyInto

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

type EmuGroupMappingParameters

type EmuGroupMappingParameters struct {

	// Integer corresponding to the external group ID to be linked
	// Integer corresponding to the external group ID to be linked.
	// +kubebuilder:validation:Optional
	GroupID *int64 `json:"groupId,omitempty" tf:"group_id,omitempty"`

	// Slug of the GitHub team
	// Slug of the GitHub team.
	// +crossplane:generate:reference:type=github.com/crossplane-contrib/provider-upjet-github/apis/team/v1alpha1.Team
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("slug",true)
	// +kubebuilder:validation:Optional
	TeamSlug *string `json:"teamSlug,omitempty" tf:"team_slug,omitempty"`

	// Reference to a Team in team to populate teamSlug.
	// +kubebuilder:validation:Optional
	TeamSlugRef *v1.Reference `json:"teamSlugRef,omitempty" tf:"-"`

	// Selector for a Team in team to populate teamSlug.
	// +kubebuilder:validation:Optional
	TeamSlugSelector *v1.Selector `json:"teamSlugSelector,omitempty" tf:"-"`
}

func (*EmuGroupMappingParameters) DeepCopy

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

func (*EmuGroupMappingParameters) DeepCopyInto

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

type EmuGroupMappingSpec

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

EmuGroupMappingSpec defines the desired state of EmuGroupMapping

func (*EmuGroupMappingSpec) DeepCopy

func (in *EmuGroupMappingSpec) DeepCopy() *EmuGroupMappingSpec

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

func (*EmuGroupMappingSpec) DeepCopyInto

func (in *EmuGroupMappingSpec) DeepCopyInto(out *EmuGroupMappingSpec)

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

type EmuGroupMappingStatus

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

EmuGroupMappingStatus defines the observed state of EmuGroupMapping.

func (*EmuGroupMappingStatus) DeepCopy

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

func (*EmuGroupMappingStatus) DeepCopyInto

func (in *EmuGroupMappingStatus) DeepCopyInto(out *EmuGroupMappingStatus)

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

type GroupInitParameters

type GroupInitParameters struct {

	// The description of the IdP group.
	// The description of the IdP group.
	GroupDescription *string `json:"groupDescription,omitempty" tf:"group_description,omitempty"`

	// The ID of the IdP group.
	// The ID of the IdP group.
	GroupID *string `json:"groupId,omitempty" tf:"group_id,omitempty"`

	// The name of the IdP group.
	// The name of the IdP group.
	GroupName *string `json:"groupName,omitempty" tf:"group_name,omitempty"`
}

func (*GroupInitParameters) DeepCopy

func (in *GroupInitParameters) DeepCopy() *GroupInitParameters

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

func (*GroupInitParameters) DeepCopyInto

func (in *GroupInitParameters) DeepCopyInto(out *GroupInitParameters)

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

type GroupObservation

type GroupObservation struct {

	// The description of the IdP group.
	// The description of the IdP group.
	GroupDescription *string `json:"groupDescription,omitempty" tf:"group_description,omitempty"`

	// The ID of the IdP group.
	// The ID of the IdP group.
	GroupID *string `json:"groupId,omitempty" tf:"group_id,omitempty"`

	// The name of the IdP group.
	// The name of the IdP group.
	GroupName *string `json:"groupName,omitempty" tf:"group_name,omitempty"`
}

func (*GroupObservation) DeepCopy

func (in *GroupObservation) DeepCopy() *GroupObservation

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

func (*GroupObservation) DeepCopyInto

func (in *GroupObservation) DeepCopyInto(out *GroupObservation)

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

type GroupParameters

type GroupParameters struct {

	// The description of the IdP group.
	// The description of the IdP group.
	// +kubebuilder:validation:Optional
	GroupDescription *string `json:"groupDescription" tf:"group_description,omitempty"`

	// The ID of the IdP group.
	// The ID of the IdP group.
	// +kubebuilder:validation:Optional
	GroupID *string `json:"groupId" tf:"group_id,omitempty"`

	// The name of the IdP group.
	// The name of the IdP group.
	// +kubebuilder:validation:Optional
	GroupName *string `json:"groupName" tf:"group_name,omitempty"`
}

func (*GroupParameters) DeepCopy

func (in *GroupParameters) DeepCopy() *GroupParameters

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

func (*GroupParameters) DeepCopyInto

func (in *GroupParameters) DeepCopyInto(out *GroupParameters)

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

type ReviewRequestDelegationInitParameters

type ReviewRequestDelegationInitParameters struct {

	// The algorithm to use when assigning pull requests to team members. Supported values are ROUND_ROBIN and LOAD_BALANCE. Default value is ROUND_ROBIN
	// The algorithm to use when assigning pull requests to team members. Supported values are 'ROUND_ROBIN' and 'LOAD_BALANCE'.
	Algorithm *string `json:"algorithm,omitempty" tf:"algorithm,omitempty"`

	// The number of team members to assign to a pull request
	// The number of team members to assign to a pull request.
	MemberCount *int64 `json:"memberCount,omitempty" tf:"member_count,omitempty"`

	// whether to notify the entire team when at least one member is also assigned to the pull request
	// whether to notify the entire team when at least one member is also assigned to the pull request.
	Notify *bool `json:"notify,omitempty" tf:"notify,omitempty"`
}

func (*ReviewRequestDelegationInitParameters) DeepCopy

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

func (*ReviewRequestDelegationInitParameters) DeepCopyInto

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

type ReviewRequestDelegationObservation

type ReviewRequestDelegationObservation struct {

	// The algorithm to use when assigning pull requests to team members. Supported values are ROUND_ROBIN and LOAD_BALANCE. Default value is ROUND_ROBIN
	// The algorithm to use when assigning pull requests to team members. Supported values are 'ROUND_ROBIN' and 'LOAD_BALANCE'.
	Algorithm *string `json:"algorithm,omitempty" tf:"algorithm,omitempty"`

	// The number of team members to assign to a pull request
	// The number of team members to assign to a pull request.
	MemberCount *int64 `json:"memberCount,omitempty" tf:"member_count,omitempty"`

	// whether to notify the entire team when at least one member is also assigned to the pull request
	// whether to notify the entire team when at least one member is also assigned to the pull request.
	Notify *bool `json:"notify,omitempty" tf:"notify,omitempty"`
}

func (*ReviewRequestDelegationObservation) DeepCopy

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

func (*ReviewRequestDelegationObservation) DeepCopyInto

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

type ReviewRequestDelegationParameters

type ReviewRequestDelegationParameters struct {

	// The algorithm to use when assigning pull requests to team members. Supported values are ROUND_ROBIN and LOAD_BALANCE. Default value is ROUND_ROBIN
	// The algorithm to use when assigning pull requests to team members. Supported values are 'ROUND_ROBIN' and 'LOAD_BALANCE'.
	// +kubebuilder:validation:Optional
	Algorithm *string `json:"algorithm,omitempty" tf:"algorithm,omitempty"`

	// The number of team members to assign to a pull request
	// The number of team members to assign to a pull request.
	// +kubebuilder:validation:Optional
	MemberCount *int64 `json:"memberCount,omitempty" tf:"member_count,omitempty"`

	// whether to notify the entire team when at least one member is also assigned to the pull request
	// whether to notify the entire team when at least one member is also assigned to the pull request.
	// +kubebuilder:validation:Optional
	Notify *bool `json:"notify,omitempty" tf:"notify,omitempty"`
}

func (*ReviewRequestDelegationParameters) DeepCopy

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

func (*ReviewRequestDelegationParameters) DeepCopyInto

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

type Team

type Team struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	// +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   TeamSpec   `json:"spec"`
	Status TeamStatus `json:"status,omitempty"`
}

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

func (*Team) DeepCopy

func (in *Team) DeepCopy() *Team

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

func (*Team) DeepCopyInto

func (in *Team) DeepCopyInto(out *Team)

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

func (*Team) DeepCopyObject

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

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

func (*Team) GetCondition

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

GetCondition of this Team.

func (*Team) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Team

func (*Team) GetDeletionPolicy

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

GetDeletionPolicy of this Team.

func (*Team) GetID

func (tr *Team) GetID() string

GetID returns ID of underlying Terraform resource of this Team

func (*Team) GetInitParameters

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

GetInitParameters of this Team

func (*Team) GetManagementPolicies

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

GetManagementPolicies of this Team.

func (*Team) GetMergedParameters

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

GetInitParameters of this Team

func (*Team) GetObservation

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

GetObservation of this Team

func (*Team) GetParameters

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

GetParameters of this Team

func (*Team) GetProviderConfigReference

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

GetProviderConfigReference of this Team.

func (*Team) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Team.

func (*Team) GetTerraformResourceType

func (mg *Team) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Team

func (*Team) GetTerraformSchemaVersion

func (tr *Team) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Team) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Team.

func (*Team) Hub

func (tr *Team) Hub()

Hub marks this type as a conversion hub.

func (*Team) LateInitialize

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

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

func (*Team) SetConditions

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

SetConditions of this Team.

func (*Team) SetDeletionPolicy

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

SetDeletionPolicy of this Team.

func (*Team) SetManagementPolicies

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

SetManagementPolicies of this Team.

func (*Team) SetObservation

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

SetObservation for this Team

func (*Team) SetParameters

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

SetParameters for this Team

func (*Team) SetProviderConfigReference

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

SetProviderConfigReference of this Team.

func (*Team) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Team.

func (*Team) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Team.

type TeamInitParameters

type TeamInitParameters struct {

	// Adds a default maintainer to the team. Defaults to false and adds the creating user to the team when true.
	// Adds a default maintainer to the team. Adds the creating user to the team when 'true'.
	CreateDefaultMaintainer *bool `json:"createDefaultMaintainer,omitempty" tf:"create_default_maintainer,omitempty"`

	// A description of the team.
	// A description of the team.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// The LDAP Distinguished Name of the group where membership will be synchronized. Only available in GitHub Enterprise Server.
	// The LDAP Distinguished Name of the group where membership will be synchronized. Only available in GitHub Enterprise Server.
	LdapDn *string `json:"ldapDn,omitempty" tf:"ldap_dn,omitempty"`

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

	// The ID or slug of the parent team, if this is a nested team.
	// The ID or slug of the parent team, if this is a nested team.
	ParentTeamID *string `json:"parentTeamId,omitempty" tf:"parent_team_id,omitempty"`

	// The ID of the created team.
	// The id of the parent team read in Github.
	ParentTeamReadID *string `json:"parentTeamReadId,omitempty" tf:"parent_team_read_id,omitempty"`

	// The slug of the created team, which may or may not differ from name,
	// depending on whether name contains "URL-unsafe" characters.
	// Useful when referencing the team in github_branch_protection.
	// The id of the parent team read in Github.
	ParentTeamReadSlug *string `json:"parentTeamReadSlug,omitempty" tf:"parent_team_read_slug,omitempty"`

	// The level of privacy for the team. Must be one of secret or closed.
	// Defaults to secret.
	// The level of privacy for the team. Must be one of 'secret' or 'closed'.
	Privacy *string `json:"privacy,omitempty" tf:"privacy,omitempty"`
}

func (*TeamInitParameters) DeepCopy

func (in *TeamInitParameters) DeepCopy() *TeamInitParameters

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

func (*TeamInitParameters) DeepCopyInto

func (in *TeamInitParameters) DeepCopyInto(out *TeamInitParameters)

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

type TeamList

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

TeamList contains a list of Teams

func (*TeamList) DeepCopy

func (in *TeamList) DeepCopy() *TeamList

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

func (*TeamList) DeepCopyInto

func (in *TeamList) DeepCopyInto(out *TeamList)

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

func (*TeamList) DeepCopyObject

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

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

func (*TeamList) GetItems

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

GetItems of this TeamList.

type TeamMembership

type TeamMembership 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.username) || (has(self.initProvider) && has(self.initProvider.username))",message="spec.forProvider.username is a required parameter"
	Spec   TeamMembershipSpec   `json:"spec"`
	Status TeamMembershipStatus `json:"status,omitempty"`
}

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

func (*TeamMembership) DeepCopy

func (in *TeamMembership) DeepCopy() *TeamMembership

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

func (*TeamMembership) DeepCopyInto

func (in *TeamMembership) DeepCopyInto(out *TeamMembership)

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

func (*TeamMembership) DeepCopyObject

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

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

func (*TeamMembership) GetCondition

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

GetCondition of this TeamMembership.

func (*TeamMembership) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this TeamMembership

func (*TeamMembership) GetDeletionPolicy

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

GetDeletionPolicy of this TeamMembership.

func (*TeamMembership) GetID

func (tr *TeamMembership) GetID() string

GetID returns ID of underlying Terraform resource of this TeamMembership

func (*TeamMembership) GetInitParameters

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

GetInitParameters of this TeamMembership

func (*TeamMembership) GetManagementPolicies

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

GetManagementPolicies of this TeamMembership.

func (*TeamMembership) GetMergedParameters

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

GetInitParameters of this TeamMembership

func (*TeamMembership) GetObservation

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

GetObservation of this TeamMembership

func (*TeamMembership) GetParameters

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

GetParameters of this TeamMembership

func (*TeamMembership) GetProviderConfigReference

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

GetProviderConfigReference of this TeamMembership.

func (*TeamMembership) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this TeamMembership.

func (*TeamMembership) GetTerraformResourceType

func (mg *TeamMembership) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this TeamMembership

func (*TeamMembership) GetTerraformSchemaVersion

func (tr *TeamMembership) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*TeamMembership) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this TeamMembership.

func (*TeamMembership) Hub

func (tr *TeamMembership) Hub()

Hub marks this type as a conversion hub.

func (*TeamMembership) LateInitialize

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

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

func (*TeamMembership) ResolveReferences

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

ResolveReferences of this TeamMembership.

func (*TeamMembership) SetConditions

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

SetConditions of this TeamMembership.

func (*TeamMembership) SetDeletionPolicy

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

SetDeletionPolicy of this TeamMembership.

func (*TeamMembership) SetManagementPolicies

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

SetManagementPolicies of this TeamMembership.

func (*TeamMembership) SetObservation

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

SetObservation for this TeamMembership

func (*TeamMembership) SetParameters

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

SetParameters for this TeamMembership

func (*TeamMembership) SetProviderConfigReference

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

SetProviderConfigReference of this TeamMembership.

func (*TeamMembership) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this TeamMembership.

func (*TeamMembership) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this TeamMembership.

type TeamMembershipInitParameters

type TeamMembershipInitParameters struct {

	// The role of the user within the team.
	// Must be one of member or maintainer. Defaults to member.
	// The role of the user within the team. Must be one of 'member' or 'maintainer'.
	Role *string `json:"role,omitempty" tf:"role,omitempty"`

	// The GitHub team id or the GitHub team slug
	// The GitHub team id or the GitHub team slug.
	// +crossplane:generate:reference:type=github.com/crossplane-contrib/provider-upjet-github/apis/team/v1alpha1.Team
	TeamID *string `json:"teamId,omitempty" tf:"team_id,omitempty"`

	// Reference to a Team in team to populate teamId.
	// +kubebuilder:validation:Optional
	TeamIDRef *v1.Reference `json:"teamIdRef,omitempty" tf:"-"`

	// Selector for a Team in team to populate teamId.
	// +kubebuilder:validation:Optional
	TeamIDSelector *v1.Selector `json:"teamIdSelector,omitempty" tf:"-"`

	// The user to add to the team.
	// The user to add to the team.
	Username *string `json:"username,omitempty" tf:"username,omitempty"`
}

func (*TeamMembershipInitParameters) DeepCopy

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

func (*TeamMembershipInitParameters) DeepCopyInto

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

type TeamMembershipList

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

TeamMembershipList contains a list of TeamMemberships

func (*TeamMembershipList) DeepCopy

func (in *TeamMembershipList) DeepCopy() *TeamMembershipList

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

func (*TeamMembershipList) DeepCopyInto

func (in *TeamMembershipList) DeepCopyInto(out *TeamMembershipList)

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

func (*TeamMembershipList) DeepCopyObject

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

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

func (*TeamMembershipList) GetItems

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

GetItems of this TeamMembershipList.

type TeamMembershipObservation

type TeamMembershipObservation struct {
	Etag *string `json:"etag,omitempty" tf:"etag,omitempty"`

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

	// The role of the user within the team.
	// Must be one of member or maintainer. Defaults to member.
	// The role of the user within the team. Must be one of 'member' or 'maintainer'.
	Role *string `json:"role,omitempty" tf:"role,omitempty"`

	// The GitHub team id or the GitHub team slug
	// The GitHub team id or the GitHub team slug.
	TeamID *string `json:"teamId,omitempty" tf:"team_id,omitempty"`

	// The user to add to the team.
	// The user to add to the team.
	Username *string `json:"username,omitempty" tf:"username,omitempty"`
}

func (*TeamMembershipObservation) DeepCopy

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

func (*TeamMembershipObservation) DeepCopyInto

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

type TeamMembershipParameters

type TeamMembershipParameters struct {

	// The role of the user within the team.
	// Must be one of member or maintainer. Defaults to member.
	// The role of the user within the team. Must be one of 'member' or 'maintainer'.
	// +kubebuilder:validation:Optional
	Role *string `json:"role,omitempty" tf:"role,omitempty"`

	// The GitHub team id or the GitHub team slug
	// The GitHub team id or the GitHub team slug.
	// +crossplane:generate:reference:type=github.com/crossplane-contrib/provider-upjet-github/apis/team/v1alpha1.Team
	// +kubebuilder:validation:Optional
	TeamID *string `json:"teamId,omitempty" tf:"team_id,omitempty"`

	// Reference to a Team in team to populate teamId.
	// +kubebuilder:validation:Optional
	TeamIDRef *v1.Reference `json:"teamIdRef,omitempty" tf:"-"`

	// Selector for a Team in team to populate teamId.
	// +kubebuilder:validation:Optional
	TeamIDSelector *v1.Selector `json:"teamIdSelector,omitempty" tf:"-"`

	// The user to add to the team.
	// The user to add to the team.
	// +kubebuilder:validation:Optional
	Username *string `json:"username,omitempty" tf:"username,omitempty"`
}

func (*TeamMembershipParameters) DeepCopy

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

func (*TeamMembershipParameters) DeepCopyInto

func (in *TeamMembershipParameters) DeepCopyInto(out *TeamMembershipParameters)

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

type TeamMembershipSpec

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

TeamMembershipSpec defines the desired state of TeamMembership

func (*TeamMembershipSpec) DeepCopy

func (in *TeamMembershipSpec) DeepCopy() *TeamMembershipSpec

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

func (*TeamMembershipSpec) DeepCopyInto

func (in *TeamMembershipSpec) DeepCopyInto(out *TeamMembershipSpec)

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

type TeamMembershipStatus

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

TeamMembershipStatus defines the observed state of TeamMembership.

func (*TeamMembershipStatus) DeepCopy

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

func (*TeamMembershipStatus) DeepCopyInto

func (in *TeamMembershipStatus) DeepCopyInto(out *TeamMembershipStatus)

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

type TeamObservation

type TeamObservation struct {

	// Adds a default maintainer to the team. Defaults to false and adds the creating user to the team when true.
	// Adds a default maintainer to the team. Adds the creating user to the team when 'true'.
	CreateDefaultMaintainer *bool `json:"createDefaultMaintainer,omitempty" tf:"create_default_maintainer,omitempty"`

	// A description of the team.
	// A description of the team.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

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

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

	// The LDAP Distinguished Name of the group where membership will be synchronized. Only available in GitHub Enterprise Server.
	// The LDAP Distinguished Name of the group where membership will be synchronized. Only available in GitHub Enterprise Server.
	LdapDn *string `json:"ldapDn,omitempty" tf:"ldap_dn,omitempty"`

	MembersCount *int64 `json:"membersCount,omitempty" tf:"members_count,omitempty"`

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

	// The Node ID of the created team.
	// The Node ID of the created team.
	NodeID *string `json:"nodeId,omitempty" tf:"node_id,omitempty"`

	// The ID or slug of the parent team, if this is a nested team.
	// The ID or slug of the parent team, if this is a nested team.
	ParentTeamID *string `json:"parentTeamId,omitempty" tf:"parent_team_id,omitempty"`

	// The ID of the created team.
	// The id of the parent team read in Github.
	ParentTeamReadID *string `json:"parentTeamReadId,omitempty" tf:"parent_team_read_id,omitempty"`

	// The slug of the created team, which may or may not differ from name,
	// depending on whether name contains "URL-unsafe" characters.
	// Useful when referencing the team in github_branch_protection.
	// The id of the parent team read in Github.
	ParentTeamReadSlug *string `json:"parentTeamReadSlug,omitempty" tf:"parent_team_read_slug,omitempty"`

	// The level of privacy for the team. Must be one of secret or closed.
	// Defaults to secret.
	// The level of privacy for the team. Must be one of 'secret' or 'closed'.
	Privacy *string `json:"privacy,omitempty" tf:"privacy,omitempty"`

	// The slug of the created team, which may or may not differ from name,
	// depending on whether name contains "URL-unsafe" characters.
	// Useful when referencing the team in github_branch_protection.
	// The slug of the created team.
	Slug *string `json:"slug,omitempty" tf:"slug,omitempty"`
}

func (*TeamObservation) DeepCopy

func (in *TeamObservation) DeepCopy() *TeamObservation

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

func (*TeamObservation) DeepCopyInto

func (in *TeamObservation) DeepCopyInto(out *TeamObservation)

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

type TeamParameters

type TeamParameters struct {

	// Adds a default maintainer to the team. Defaults to false and adds the creating user to the team when true.
	// Adds a default maintainer to the team. Adds the creating user to the team when 'true'.
	// +kubebuilder:validation:Optional
	CreateDefaultMaintainer *bool `json:"createDefaultMaintainer,omitempty" tf:"create_default_maintainer,omitempty"`

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

	// The LDAP Distinguished Name of the group where membership will be synchronized. Only available in GitHub Enterprise Server.
	// The LDAP Distinguished Name of the group where membership will be synchronized. Only available in GitHub Enterprise Server.
	// +kubebuilder:validation:Optional
	LdapDn *string `json:"ldapDn,omitempty" tf:"ldap_dn,omitempty"`

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

	// The ID or slug of the parent team, if this is a nested team.
	// The ID or slug of the parent team, if this is a nested team.
	// +kubebuilder:validation:Optional
	ParentTeamID *string `json:"parentTeamId,omitempty" tf:"parent_team_id,omitempty"`

	// The ID of the created team.
	// The id of the parent team read in Github.
	// +kubebuilder:validation:Optional
	ParentTeamReadID *string `json:"parentTeamReadId,omitempty" tf:"parent_team_read_id,omitempty"`

	// The slug of the created team, which may or may not differ from name,
	// depending on whether name contains "URL-unsafe" characters.
	// Useful when referencing the team in github_branch_protection.
	// The id of the parent team read in Github.
	// +kubebuilder:validation:Optional
	ParentTeamReadSlug *string `json:"parentTeamReadSlug,omitempty" tf:"parent_team_read_slug,omitempty"`

	// The level of privacy for the team. Must be one of secret or closed.
	// Defaults to secret.
	// The level of privacy for the team. Must be one of 'secret' or 'closed'.
	// +kubebuilder:validation:Optional
	Privacy *string `json:"privacy,omitempty" tf:"privacy,omitempty"`
}

func (*TeamParameters) DeepCopy

func (in *TeamParameters) DeepCopy() *TeamParameters

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

func (*TeamParameters) DeepCopyInto

func (in *TeamParameters) DeepCopyInto(out *TeamParameters)

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

type TeamRepository

type TeamRepository struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              TeamRepositorySpec   `json:"spec"`
	Status            TeamRepositoryStatus `json:"status,omitempty"`
}

TeamRepository is the Schema for the TeamRepositorys API. Manages the associations between teams and repositories. +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,github}

func (*TeamRepository) DeepCopy

func (in *TeamRepository) DeepCopy() *TeamRepository

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

func (*TeamRepository) DeepCopyInto

func (in *TeamRepository) DeepCopyInto(out *TeamRepository)

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

func (*TeamRepository) DeepCopyObject

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

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

func (*TeamRepository) GetCondition

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

GetCondition of this TeamRepository.

func (*TeamRepository) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this TeamRepository

func (*TeamRepository) GetDeletionPolicy

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

GetDeletionPolicy of this TeamRepository.

func (*TeamRepository) GetID

func (tr *TeamRepository) GetID() string

GetID returns ID of underlying Terraform resource of this TeamRepository

func (*TeamRepository) GetInitParameters

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

GetInitParameters of this TeamRepository

func (*TeamRepository) GetManagementPolicies

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

GetManagementPolicies of this TeamRepository.

func (*TeamRepository) GetMergedParameters

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

GetInitParameters of this TeamRepository

func (*TeamRepository) GetObservation

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

GetObservation of this TeamRepository

func (*TeamRepository) GetParameters

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

GetParameters of this TeamRepository

func (*TeamRepository) GetProviderConfigReference

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

GetProviderConfigReference of this TeamRepository.

func (*TeamRepository) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this TeamRepository.

func (*TeamRepository) GetTerraformResourceType

func (mg *TeamRepository) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this TeamRepository

func (*TeamRepository) GetTerraformSchemaVersion

func (tr *TeamRepository) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*TeamRepository) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this TeamRepository.

func (*TeamRepository) Hub

func (tr *TeamRepository) Hub()

Hub marks this type as a conversion hub.

func (*TeamRepository) LateInitialize

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

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

func (*TeamRepository) ResolveReferences

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

ResolveReferences of this TeamRepository.

func (*TeamRepository) SetConditions

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

SetConditions of this TeamRepository.

func (*TeamRepository) SetDeletionPolicy

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

SetDeletionPolicy of this TeamRepository.

func (*TeamRepository) SetManagementPolicies

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

SetManagementPolicies of this TeamRepository.

func (*TeamRepository) SetObservation

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

SetObservation for this TeamRepository

func (*TeamRepository) SetParameters

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

SetParameters for this TeamRepository

func (*TeamRepository) SetProviderConfigReference

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

SetProviderConfigReference of this TeamRepository.

func (*TeamRepository) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this TeamRepository.

func (*TeamRepository) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this TeamRepository.

type TeamRepositoryInitParameters

type TeamRepositoryInitParameters struct {

	// The permissions of team members regarding the repository.
	// Must be one of pull, triage, push, maintain, admin or the name of an existing custom repository role within the organisation. Defaults to pull.
	// The permissions of team members regarding the repository. Must be one of 'pull', 'triage', 'push', 'maintain', 'admin' or the name of an existing custom repository role within the organisation.
	Permission *string `json:"permission,omitempty" tf:"permission,omitempty"`

	// The repository to add to the team.
	// The repository to add to the team.
	// +crossplane:generate:reference:type=github.com/crossplane-contrib/provider-upjet-github/apis/repo/v1alpha1.Repository
	Repository *string `json:"repository,omitempty" tf:"repository,omitempty"`

	// Reference to a Repository in repo to populate repository.
	// +kubebuilder:validation:Optional
	RepositoryRef *v1.Reference `json:"repositoryRef,omitempty" tf:"-"`

	// Selector for a Repository in repo to populate repository.
	// +kubebuilder:validation:Optional
	RepositorySelector *v1.Selector `json:"repositorySelector,omitempty" tf:"-"`

	// The GitHub team id or the GitHub team slug
	// ID or slug of team
	// +crossplane:generate:reference:type=github.com/crossplane-contrib/provider-upjet-github/apis/team/v1alpha1.Team
	TeamID *string `json:"teamId,omitempty" tf:"team_id,omitempty"`

	// Reference to a Team in team to populate teamId.
	// +kubebuilder:validation:Optional
	TeamIDRef *v1.Reference `json:"teamIdRef,omitempty" tf:"-"`

	// Selector for a Team in team to populate teamId.
	// +kubebuilder:validation:Optional
	TeamIDSelector *v1.Selector `json:"teamIdSelector,omitempty" tf:"-"`
}

func (*TeamRepositoryInitParameters) DeepCopy

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

func (*TeamRepositoryInitParameters) DeepCopyInto

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

type TeamRepositoryList

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

TeamRepositoryList contains a list of TeamRepositorys

func (*TeamRepositoryList) DeepCopy

func (in *TeamRepositoryList) DeepCopy() *TeamRepositoryList

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

func (*TeamRepositoryList) DeepCopyInto

func (in *TeamRepositoryList) DeepCopyInto(out *TeamRepositoryList)

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

func (*TeamRepositoryList) DeepCopyObject

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

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

func (*TeamRepositoryList) GetItems

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

GetItems of this TeamRepositoryList.

type TeamRepositoryObservation

type TeamRepositoryObservation struct {
	Etag *string `json:"etag,omitempty" tf:"etag,omitempty"`

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

	// The permissions of team members regarding the repository.
	// Must be one of pull, triage, push, maintain, admin or the name of an existing custom repository role within the organisation. Defaults to pull.
	// The permissions of team members regarding the repository. Must be one of 'pull', 'triage', 'push', 'maintain', 'admin' or the name of an existing custom repository role within the organisation.
	Permission *string `json:"permission,omitempty" tf:"permission,omitempty"`

	// The repository to add to the team.
	// The repository to add to the team.
	Repository *string `json:"repository,omitempty" tf:"repository,omitempty"`

	// The GitHub team id or the GitHub team slug
	// ID or slug of team
	TeamID *string `json:"teamId,omitempty" tf:"team_id,omitempty"`
}

func (*TeamRepositoryObservation) DeepCopy

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

func (*TeamRepositoryObservation) DeepCopyInto

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

type TeamRepositoryParameters

type TeamRepositoryParameters struct {

	// The permissions of team members regarding the repository.
	// Must be one of pull, triage, push, maintain, admin or the name of an existing custom repository role within the organisation. Defaults to pull.
	// The permissions of team members regarding the repository. Must be one of 'pull', 'triage', 'push', 'maintain', 'admin' or the name of an existing custom repository role within the organisation.
	// +kubebuilder:validation:Optional
	Permission *string `json:"permission,omitempty" tf:"permission,omitempty"`

	// The repository to add to the team.
	// The repository to add to the team.
	// +crossplane:generate:reference:type=github.com/crossplane-contrib/provider-upjet-github/apis/repo/v1alpha1.Repository
	// +kubebuilder:validation:Optional
	Repository *string `json:"repository,omitempty" tf:"repository,omitempty"`

	// Reference to a Repository in repo to populate repository.
	// +kubebuilder:validation:Optional
	RepositoryRef *v1.Reference `json:"repositoryRef,omitempty" tf:"-"`

	// Selector for a Repository in repo to populate repository.
	// +kubebuilder:validation:Optional
	RepositorySelector *v1.Selector `json:"repositorySelector,omitempty" tf:"-"`

	// The GitHub team id or the GitHub team slug
	// ID or slug of team
	// +crossplane:generate:reference:type=github.com/crossplane-contrib/provider-upjet-github/apis/team/v1alpha1.Team
	// +kubebuilder:validation:Optional
	TeamID *string `json:"teamId,omitempty" tf:"team_id,omitempty"`

	// Reference to a Team in team to populate teamId.
	// +kubebuilder:validation:Optional
	TeamIDRef *v1.Reference `json:"teamIdRef,omitempty" tf:"-"`

	// Selector for a Team in team to populate teamId.
	// +kubebuilder:validation:Optional
	TeamIDSelector *v1.Selector `json:"teamIdSelector,omitempty" tf:"-"`
}

func (*TeamRepositoryParameters) DeepCopy

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

func (*TeamRepositoryParameters) DeepCopyInto

func (in *TeamRepositoryParameters) DeepCopyInto(out *TeamRepositoryParameters)

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

type TeamRepositorySpec

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

TeamRepositorySpec defines the desired state of TeamRepository

func (*TeamRepositorySpec) DeepCopy

func (in *TeamRepositorySpec) DeepCopy() *TeamRepositorySpec

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

func (*TeamRepositorySpec) DeepCopyInto

func (in *TeamRepositorySpec) DeepCopyInto(out *TeamRepositorySpec)

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

type TeamRepositoryStatus

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

TeamRepositoryStatus defines the observed state of TeamRepository.

func (*TeamRepositoryStatus) DeepCopy

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

func (*TeamRepositoryStatus) DeepCopyInto

func (in *TeamRepositoryStatus) DeepCopyInto(out *TeamRepositoryStatus)

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

type TeamSettings

type TeamSettings struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              TeamSettingsSpec   `json:"spec"`
	Status            TeamSettingsStatus `json:"status,omitempty"`
}

TeamSettings is the Schema for the TeamSettingss API. Manages the team settings (in particular the request review delegation settings) +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 (*TeamSettings) DeepCopy

func (in *TeamSettings) DeepCopy() *TeamSettings

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

func (*TeamSettings) DeepCopyInto

func (in *TeamSettings) DeepCopyInto(out *TeamSettings)

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

func (*TeamSettings) DeepCopyObject

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

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

func (*TeamSettings) GetCondition

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

GetCondition of this TeamSettings.

func (*TeamSettings) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this TeamSettings

func (*TeamSettings) GetDeletionPolicy

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

GetDeletionPolicy of this TeamSettings.

func (*TeamSettings) GetID

func (tr *TeamSettings) GetID() string

GetID returns ID of underlying Terraform resource of this TeamSettings

func (*TeamSettings) GetInitParameters

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

GetInitParameters of this TeamSettings

func (*TeamSettings) GetManagementPolicies

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

GetManagementPolicies of this TeamSettings.

func (*TeamSettings) GetMergedParameters

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

GetInitParameters of this TeamSettings

func (*TeamSettings) GetObservation

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

GetObservation of this TeamSettings

func (*TeamSettings) GetParameters

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

GetParameters of this TeamSettings

func (*TeamSettings) GetProviderConfigReference

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

GetProviderConfigReference of this TeamSettings.

func (*TeamSettings) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this TeamSettings.

func (*TeamSettings) GetTerraformResourceType

func (mg *TeamSettings) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this TeamSettings

func (*TeamSettings) GetTerraformSchemaVersion

func (tr *TeamSettings) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*TeamSettings) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this TeamSettings.

func (*TeamSettings) Hub

func (tr *TeamSettings) Hub()

Hub marks this type as a conversion hub.

func (*TeamSettings) LateInitialize

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

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

func (*TeamSettings) ResolveReferences

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

ResolveReferences of this TeamSettings.

func (*TeamSettings) SetConditions

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

SetConditions of this TeamSettings.

func (*TeamSettings) SetDeletionPolicy

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

SetDeletionPolicy of this TeamSettings.

func (*TeamSettings) SetManagementPolicies

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

SetManagementPolicies of this TeamSettings.

func (*TeamSettings) SetObservation

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

SetObservation for this TeamSettings

func (*TeamSettings) SetParameters

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

SetParameters for this TeamSettings

func (*TeamSettings) SetProviderConfigReference

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

SetProviderConfigReference of this TeamSettings.

func (*TeamSettings) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this TeamSettings.

func (*TeamSettings) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this TeamSettings.

type TeamSettingsInitParameters

type TeamSettingsInitParameters struct {

	// The settings for delegating code reviews to individuals on behalf of the team. If this block is present, even without any fields, then review request delegation will be enabled for the team. See GitHub Review Request Delegation below for details. See GitHub's documentation for more configuration details.
	// The settings for delegating code reviews to individuals on behalf of the team. If this block is present, even without any fields, then review request delegation will be enabled for the team.
	ReviewRequestDelegation []ReviewRequestDelegationInitParameters `json:"reviewRequestDelegation,omitempty" tf:"review_request_delegation,omitempty"`

	// The GitHub team id or the GitHub team slug
	// The GitHub team id or the GitHub team slug.
	// +crossplane:generate:reference:type=github.com/crossplane-contrib/provider-upjet-github/apis/team/v1alpha1.Team
	TeamID *string `json:"teamId,omitempty" tf:"team_id,omitempty"`

	// Reference to a Team in team to populate teamId.
	// +kubebuilder:validation:Optional
	TeamIDRef *v1.Reference `json:"teamIdRef,omitempty" tf:"-"`

	// Selector for a Team in team to populate teamId.
	// +kubebuilder:validation:Optional
	TeamIDSelector *v1.Selector `json:"teamIdSelector,omitempty" tf:"-"`
}

func (*TeamSettingsInitParameters) DeepCopy

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

func (*TeamSettingsInitParameters) DeepCopyInto

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

type TeamSettingsList

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

TeamSettingsList contains a list of TeamSettingss

func (*TeamSettingsList) DeepCopy

func (in *TeamSettingsList) DeepCopy() *TeamSettingsList

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

func (*TeamSettingsList) DeepCopyInto

func (in *TeamSettingsList) DeepCopyInto(out *TeamSettingsList)

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

func (*TeamSettingsList) DeepCopyObject

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

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

func (*TeamSettingsList) GetItems

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

GetItems of this TeamSettingsList.

type TeamSettingsObservation

type TeamSettingsObservation struct {
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// The settings for delegating code reviews to individuals on behalf of the team. If this block is present, even without any fields, then review request delegation will be enabled for the team. See GitHub Review Request Delegation below for details. See GitHub's documentation for more configuration details.
	// The settings for delegating code reviews to individuals on behalf of the team. If this block is present, even without any fields, then review request delegation will be enabled for the team.
	ReviewRequestDelegation []ReviewRequestDelegationObservation `json:"reviewRequestDelegation,omitempty" tf:"review_request_delegation,omitempty"`

	// The GitHub team id or the GitHub team slug
	// The GitHub team id or the GitHub team slug.
	TeamID *string `json:"teamId,omitempty" tf:"team_id,omitempty"`

	// The slug of the Team within the Organization.
	TeamSlug *string `json:"teamSlug,omitempty" tf:"team_slug,omitempty"`

	// The unique ID of the Team on GitHub. Corresponds to the ID of the 'github_team_settings' resource.
	TeamUID *string `json:"teamUid,omitempty" tf:"team_uid,omitempty"`
}

func (*TeamSettingsObservation) DeepCopy

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

func (*TeamSettingsObservation) DeepCopyInto

func (in *TeamSettingsObservation) DeepCopyInto(out *TeamSettingsObservation)

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

type TeamSettingsParameters

type TeamSettingsParameters struct {

	// The settings for delegating code reviews to individuals on behalf of the team. If this block is present, even without any fields, then review request delegation will be enabled for the team. See GitHub Review Request Delegation below for details. See GitHub's documentation for more configuration details.
	// The settings for delegating code reviews to individuals on behalf of the team. If this block is present, even without any fields, then review request delegation will be enabled for the team.
	// +kubebuilder:validation:Optional
	ReviewRequestDelegation []ReviewRequestDelegationParameters `json:"reviewRequestDelegation,omitempty" tf:"review_request_delegation,omitempty"`

	// The GitHub team id or the GitHub team slug
	// The GitHub team id or the GitHub team slug.
	// +crossplane:generate:reference:type=github.com/crossplane-contrib/provider-upjet-github/apis/team/v1alpha1.Team
	// +kubebuilder:validation:Optional
	TeamID *string `json:"teamId,omitempty" tf:"team_id,omitempty"`

	// Reference to a Team in team to populate teamId.
	// +kubebuilder:validation:Optional
	TeamIDRef *v1.Reference `json:"teamIdRef,omitempty" tf:"-"`

	// Selector for a Team in team to populate teamId.
	// +kubebuilder:validation:Optional
	TeamIDSelector *v1.Selector `json:"teamIdSelector,omitempty" tf:"-"`
}

func (*TeamSettingsParameters) DeepCopy

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

func (*TeamSettingsParameters) DeepCopyInto

func (in *TeamSettingsParameters) DeepCopyInto(out *TeamSettingsParameters)

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

type TeamSettingsSpec

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

TeamSettingsSpec defines the desired state of TeamSettings

func (*TeamSettingsSpec) DeepCopy

func (in *TeamSettingsSpec) DeepCopy() *TeamSettingsSpec

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

func (*TeamSettingsSpec) DeepCopyInto

func (in *TeamSettingsSpec) DeepCopyInto(out *TeamSettingsSpec)

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

type TeamSettingsStatus

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

TeamSettingsStatus defines the observed state of TeamSettings.

func (*TeamSettingsStatus) DeepCopy

func (in *TeamSettingsStatus) DeepCopy() *TeamSettingsStatus

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

func (*TeamSettingsStatus) DeepCopyInto

func (in *TeamSettingsStatus) DeepCopyInto(out *TeamSettingsStatus)

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

type TeamSpec

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

TeamSpec defines the desired state of Team

func (*TeamSpec) DeepCopy

func (in *TeamSpec) DeepCopy() *TeamSpec

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

func (*TeamSpec) DeepCopyInto

func (in *TeamSpec) DeepCopyInto(out *TeamSpec)

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

type TeamStatus

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

TeamStatus defines the observed state of Team.

func (*TeamStatus) DeepCopy

func (in *TeamStatus) DeepCopy() *TeamStatus

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

func (*TeamStatus) DeepCopyInto

func (in *TeamStatus) DeepCopyInto(out *TeamStatus)

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

type TeamSyncGroupMapping

type TeamSyncGroupMapping 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.teamSlug) || (has(self.initProvider) && has(self.initProvider.teamSlug))",message="spec.forProvider.teamSlug is a required parameter"
	Spec   TeamSyncGroupMappingSpec   `json:"spec"`
	Status TeamSyncGroupMappingStatus `json:"status,omitempty"`
}

TeamSyncGroupMapping is the Schema for the TeamSyncGroupMappings API. Creates and manages the connections between a team and its IdP group(s). +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 (*TeamSyncGroupMapping) DeepCopy

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

func (*TeamSyncGroupMapping) DeepCopyInto

func (in *TeamSyncGroupMapping) DeepCopyInto(out *TeamSyncGroupMapping)

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

func (*TeamSyncGroupMapping) DeepCopyObject

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

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

func (*TeamSyncGroupMapping) GetCondition

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

GetCondition of this TeamSyncGroupMapping.

func (*TeamSyncGroupMapping) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this TeamSyncGroupMapping

func (*TeamSyncGroupMapping) GetDeletionPolicy

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

GetDeletionPolicy of this TeamSyncGroupMapping.

func (*TeamSyncGroupMapping) GetID

func (tr *TeamSyncGroupMapping) GetID() string

GetID returns ID of underlying Terraform resource of this TeamSyncGroupMapping

func (*TeamSyncGroupMapping) GetInitParameters

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

GetInitParameters of this TeamSyncGroupMapping

func (*TeamSyncGroupMapping) GetManagementPolicies

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

GetManagementPolicies of this TeamSyncGroupMapping.

func (*TeamSyncGroupMapping) GetMergedParameters

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

GetInitParameters of this TeamSyncGroupMapping

func (*TeamSyncGroupMapping) GetObservation

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

GetObservation of this TeamSyncGroupMapping

func (*TeamSyncGroupMapping) GetParameters

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

GetParameters of this TeamSyncGroupMapping

func (*TeamSyncGroupMapping) GetProviderConfigReference

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

GetProviderConfigReference of this TeamSyncGroupMapping.

func (*TeamSyncGroupMapping) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this TeamSyncGroupMapping.

func (*TeamSyncGroupMapping) GetTerraformResourceType

func (mg *TeamSyncGroupMapping) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this TeamSyncGroupMapping

func (*TeamSyncGroupMapping) GetTerraformSchemaVersion

func (tr *TeamSyncGroupMapping) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*TeamSyncGroupMapping) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this TeamSyncGroupMapping.

func (*TeamSyncGroupMapping) Hub

func (tr *TeamSyncGroupMapping) Hub()

Hub marks this type as a conversion hub.

func (*TeamSyncGroupMapping) LateInitialize

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

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

func (*TeamSyncGroupMapping) SetConditions

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

SetConditions of this TeamSyncGroupMapping.

func (*TeamSyncGroupMapping) SetDeletionPolicy

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

SetDeletionPolicy of this TeamSyncGroupMapping.

func (*TeamSyncGroupMapping) SetManagementPolicies

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

SetManagementPolicies of this TeamSyncGroupMapping.

func (*TeamSyncGroupMapping) SetObservation

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

SetObservation for this TeamSyncGroupMapping

func (*TeamSyncGroupMapping) SetParameters

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

SetParameters for this TeamSyncGroupMapping

func (*TeamSyncGroupMapping) SetProviderConfigReference

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

SetProviderConfigReference of this TeamSyncGroupMapping.

func (*TeamSyncGroupMapping) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this TeamSyncGroupMapping.

func (*TeamSyncGroupMapping) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this TeamSyncGroupMapping.

type TeamSyncGroupMappingInitParameters

type TeamSyncGroupMappingInitParameters struct {

	// An Array of GitHub Identity Provider Groups (or empty []).  Each group block consists of the fields documented below.
	// An Array of GitHub Identity Provider Groups (or empty []).
	Group []GroupInitParameters `json:"group,omitempty" tf:"group,omitempty"`

	// Slug of the team
	// Slug of the team.
	TeamSlug *string `json:"teamSlug,omitempty" tf:"team_slug,omitempty"`
}

func (*TeamSyncGroupMappingInitParameters) DeepCopy

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

func (*TeamSyncGroupMappingInitParameters) DeepCopyInto

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

type TeamSyncGroupMappingList

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

TeamSyncGroupMappingList contains a list of TeamSyncGroupMappings

func (*TeamSyncGroupMappingList) DeepCopy

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

func (*TeamSyncGroupMappingList) DeepCopyInto

func (in *TeamSyncGroupMappingList) DeepCopyInto(out *TeamSyncGroupMappingList)

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

func (*TeamSyncGroupMappingList) DeepCopyObject

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

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

func (*TeamSyncGroupMappingList) GetItems

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

GetItems of this TeamSyncGroupMappingList.

type TeamSyncGroupMappingObservation

type TeamSyncGroupMappingObservation struct {
	Etag *string `json:"etag,omitempty" tf:"etag,omitempty"`

	// An Array of GitHub Identity Provider Groups (or empty []).  Each group block consists of the fields documented below.
	// An Array of GitHub Identity Provider Groups (or empty []).
	Group []GroupObservation `json:"group,omitempty" tf:"group,omitempty"`

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

	// Slug of the team
	// Slug of the team.
	TeamSlug *string `json:"teamSlug,omitempty" tf:"team_slug,omitempty"`
}

func (*TeamSyncGroupMappingObservation) DeepCopy

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

func (*TeamSyncGroupMappingObservation) DeepCopyInto

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

type TeamSyncGroupMappingParameters

type TeamSyncGroupMappingParameters struct {

	// An Array of GitHub Identity Provider Groups (or empty []).  Each group block consists of the fields documented below.
	// An Array of GitHub Identity Provider Groups (or empty []).
	// +kubebuilder:validation:Optional
	Group []GroupParameters `json:"group,omitempty" tf:"group,omitempty"`

	// Slug of the team
	// Slug of the team.
	// +kubebuilder:validation:Optional
	TeamSlug *string `json:"teamSlug,omitempty" tf:"team_slug,omitempty"`
}

func (*TeamSyncGroupMappingParameters) DeepCopy

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

func (*TeamSyncGroupMappingParameters) DeepCopyInto

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

type TeamSyncGroupMappingSpec

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

TeamSyncGroupMappingSpec defines the desired state of TeamSyncGroupMapping

func (*TeamSyncGroupMappingSpec) DeepCopy

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

func (*TeamSyncGroupMappingSpec) DeepCopyInto

func (in *TeamSyncGroupMappingSpec) DeepCopyInto(out *TeamSyncGroupMappingSpec)

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

type TeamSyncGroupMappingStatus

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

TeamSyncGroupMappingStatus defines the observed state of TeamSyncGroupMapping.

func (*TeamSyncGroupMappingStatus) DeepCopy

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

func (*TeamSyncGroupMappingStatus) DeepCopyInto

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

Jump to

Keyboard shortcuts

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