v1alpha1

package
v0.7.1 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 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.

Functions

This section is empty.

Types

type EmuGroupMapping added in v0.7.0

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

func (*EmuGroupMapping) DeepCopy added in v0.7.0

func (in *EmuGroupMapping) DeepCopy() *EmuGroupMapping

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

func (*EmuGroupMapping) DeepCopyInto added in v0.7.0

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 added in v0.7.0

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

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

func (*EmuGroupMapping) GetCondition added in v0.7.0

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

GetCondition of this EmuGroupMapping.

func (*EmuGroupMapping) GetConnectionDetailsMapping added in v0.7.0

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

GetConnectionDetailsMapping for this EmuGroupMapping

func (*EmuGroupMapping) GetDeletionPolicy added in v0.7.0

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

GetDeletionPolicy of this EmuGroupMapping.

func (*EmuGroupMapping) GetID added in v0.7.0

func (tr *EmuGroupMapping) GetID() string

GetID returns ID of underlying Terraform resource of this EmuGroupMapping

func (*EmuGroupMapping) GetInitParameters added in v0.7.0

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

GetInitParameters of this EmuGroupMapping

func (*EmuGroupMapping) GetManagementPolicies added in v0.7.0

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

GetManagementPolicies of this EmuGroupMapping.

func (*EmuGroupMapping) GetMergedParameters added in v0.7.0

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

GetInitParameters of this EmuGroupMapping

func (*EmuGroupMapping) GetObservation added in v0.7.0

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

GetObservation of this EmuGroupMapping

func (*EmuGroupMapping) GetParameters added in v0.7.0

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

GetParameters of this EmuGroupMapping

func (*EmuGroupMapping) GetProviderConfigReference added in v0.7.0

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

GetProviderConfigReference of this EmuGroupMapping.

func (*EmuGroupMapping) GetPublishConnectionDetailsTo added in v0.7.0

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

GetPublishConnectionDetailsTo of this EmuGroupMapping.

func (*EmuGroupMapping) GetTerraformResourceType added in v0.7.0

func (mg *EmuGroupMapping) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this EmuGroupMapping

func (*EmuGroupMapping) GetTerraformSchemaVersion added in v0.7.0

func (tr *EmuGroupMapping) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*EmuGroupMapping) GetWriteConnectionSecretToReference added in v0.7.0

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

GetWriteConnectionSecretToReference of this EmuGroupMapping.

func (*EmuGroupMapping) Hub added in v0.7.0

func (tr *EmuGroupMapping) Hub()

Hub marks this type as a conversion hub.

func (*EmuGroupMapping) LateInitialize added in v0.7.0

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 added in v0.7.0

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

ResolveReferences of this EmuGroupMapping.

func (*EmuGroupMapping) SetConditions added in v0.7.0

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

SetConditions of this EmuGroupMapping.

func (*EmuGroupMapping) SetDeletionPolicy added in v0.7.0

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

SetDeletionPolicy of this EmuGroupMapping.

func (*EmuGroupMapping) SetManagementPolicies added in v0.7.0

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

SetManagementPolicies of this EmuGroupMapping.

func (*EmuGroupMapping) SetObservation added in v0.7.0

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

SetObservation for this EmuGroupMapping

func (*EmuGroupMapping) SetParameters added in v0.7.0

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

SetParameters for this EmuGroupMapping

func (*EmuGroupMapping) SetProviderConfigReference added in v0.7.0

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

SetProviderConfigReference of this EmuGroupMapping.

func (*EmuGroupMapping) SetPublishConnectionDetailsTo added in v0.7.0

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

SetPublishConnectionDetailsTo of this EmuGroupMapping.

func (*EmuGroupMapping) SetWriteConnectionSecretToReference added in v0.7.0

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

SetWriteConnectionSecretToReference of this EmuGroupMapping.

type EmuGroupMappingInitParameters added in v0.7.0

type EmuGroupMappingInitParameters struct {

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

	// Slug of the GitHub team
	// Slug of the GitHub team.
	// +crossplane:generate:reference:type=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 to populate teamSlug.
	// +kubebuilder:validation:Optional
	TeamSlugRef *v1.Reference `json:"teamSlugRef,omitempty" tf:"-"`

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

func (*EmuGroupMappingInitParameters) DeepCopy added in v0.7.0

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

func (*EmuGroupMappingInitParameters) DeepCopyInto added in v0.7.0

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

type EmuGroupMappingList added in v0.7.0

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 added in v0.7.0

func (in *EmuGroupMappingList) DeepCopy() *EmuGroupMappingList

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

func (*EmuGroupMappingList) DeepCopyInto added in v0.7.0

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 added in v0.7.0

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

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

func (*EmuGroupMappingList) GetItems added in v0.7.0

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

GetItems of this EmuGroupMappingList.

type EmuGroupMappingObservation added in v0.7.0

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 *float64 `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 added in v0.7.0

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

func (*EmuGroupMappingObservation) DeepCopyInto added in v0.7.0

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

type EmuGroupMappingParameters added in v0.7.0

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 *float64 `json:"groupId,omitempty" tf:"group_id,omitempty"`

	// Slug of the GitHub team
	// Slug of the GitHub team.
	// +crossplane:generate:reference:type=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 to populate teamSlug.
	// +kubebuilder:validation:Optional
	TeamSlugRef *v1.Reference `json:"teamSlugRef,omitempty" tf:"-"`

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

func (*EmuGroupMappingParameters) DeepCopy added in v0.7.0

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

func (*EmuGroupMappingParameters) DeepCopyInto added in v0.7.0

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

type EmuGroupMappingSpec added in v0.7.0

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 added in v0.7.0

func (in *EmuGroupMappingSpec) DeepCopy() *EmuGroupMappingSpec

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

func (*EmuGroupMappingSpec) DeepCopyInto added in v0.7.0

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 added in v0.7.0

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

EmuGroupMappingStatus defines the observed state of EmuGroupMapping.

func (*EmuGroupMappingStatus) DeepCopy added in v0.7.0

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

func (*EmuGroupMappingStatus) DeepCopyInto added in v0.7.0

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

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

func (*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 added in v0.5.0

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

GetInitParameters of this Team

func (*Team) GetManagementPolicies added in v0.5.0

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

GetManagementPolicies of this Team.

func (*Team) GetMergedParameters added in v0.5.0

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 added in v0.5.0

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 added in v0.5.0

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 added in v0.5.0

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 added in v0.5.0

func (in *TeamInitParameters) DeepCopy() *TeamInitParameters

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

func (*TeamInitParameters) DeepCopyInto added in v0.5.0

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 added in v0.7.0

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

func (*TeamMembership) DeepCopy added in v0.7.0

func (in *TeamMembership) DeepCopy() *TeamMembership

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

func (*TeamMembership) DeepCopyInto added in v0.7.0

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 added in v0.7.0

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

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

func (*TeamMembership) GetCondition added in v0.7.0

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

GetCondition of this TeamMembership.

func (*TeamMembership) GetConnectionDetailsMapping added in v0.7.0

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

GetConnectionDetailsMapping for this TeamMembership

func (*TeamMembership) GetDeletionPolicy added in v0.7.0

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

GetDeletionPolicy of this TeamMembership.

func (*TeamMembership) GetID added in v0.7.0

func (tr *TeamMembership) GetID() string

GetID returns ID of underlying Terraform resource of this TeamMembership

func (*TeamMembership) GetInitParameters added in v0.7.0

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

GetInitParameters of this TeamMembership

func (*TeamMembership) GetManagementPolicies added in v0.7.0

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

GetManagementPolicies of this TeamMembership.

func (*TeamMembership) GetMergedParameters added in v0.7.0

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

GetInitParameters of this TeamMembership

func (*TeamMembership) GetObservation added in v0.7.0

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

GetObservation of this TeamMembership

func (*TeamMembership) GetParameters added in v0.7.0

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

GetParameters of this TeamMembership

func (*TeamMembership) GetProviderConfigReference added in v0.7.0

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

GetProviderConfigReference of this TeamMembership.

func (*TeamMembership) GetPublishConnectionDetailsTo added in v0.7.0

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

GetPublishConnectionDetailsTo of this TeamMembership.

func (*TeamMembership) GetTerraformResourceType added in v0.7.0

func (mg *TeamMembership) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this TeamMembership

func (*TeamMembership) GetTerraformSchemaVersion added in v0.7.0

func (tr *TeamMembership) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*TeamMembership) GetWriteConnectionSecretToReference added in v0.7.0

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

GetWriteConnectionSecretToReference of this TeamMembership.

func (*TeamMembership) Hub added in v0.7.0

func (tr *TeamMembership) Hub()

Hub marks this type as a conversion hub.

func (*TeamMembership) LateInitialize added in v0.7.0

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 added in v0.7.0

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

ResolveReferences of this TeamMembership.

func (*TeamMembership) SetConditions added in v0.7.0

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

SetConditions of this TeamMembership.

func (*TeamMembership) SetDeletionPolicy added in v0.7.0

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

SetDeletionPolicy of this TeamMembership.

func (*TeamMembership) SetManagementPolicies added in v0.7.0

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

SetManagementPolicies of this TeamMembership.

func (*TeamMembership) SetObservation added in v0.7.0

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

SetObservation for this TeamMembership

func (*TeamMembership) SetParameters added in v0.7.0

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

SetParameters for this TeamMembership

func (*TeamMembership) SetProviderConfigReference added in v0.7.0

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

SetProviderConfigReference of this TeamMembership.

func (*TeamMembership) SetPublishConnectionDetailsTo added in v0.7.0

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

SetPublishConnectionDetailsTo of this TeamMembership.

func (*TeamMembership) SetWriteConnectionSecretToReference added in v0.7.0

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

SetWriteConnectionSecretToReference of this TeamMembership.

type TeamMembershipInitParameters added in v0.7.0

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/coopnorge/provider-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 added in v0.7.0

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

func (*TeamMembershipInitParameters) DeepCopyInto added in v0.7.0

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

type TeamMembershipList added in v0.7.0

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 added in v0.7.0

func (in *TeamMembershipList) DeepCopy() *TeamMembershipList

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

func (*TeamMembershipList) DeepCopyInto added in v0.7.0

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 added in v0.7.0

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

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

func (*TeamMembershipList) GetItems added in v0.7.0

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

GetItems of this TeamMembershipList.

type TeamMembershipObservation added in v0.7.0

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 added in v0.7.0

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

func (*TeamMembershipObservation) DeepCopyInto added in v0.7.0

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

type TeamMembershipParameters added in v0.7.0

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/coopnorge/provider-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 added in v0.7.0

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

func (*TeamMembershipParameters) DeepCopyInto added in v0.7.0

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 added in v0.7.0

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 added in v0.7.0

func (in *TeamMembershipSpec) DeepCopy() *TeamMembershipSpec

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

func (*TeamMembershipSpec) DeepCopyInto added in v0.7.0

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 added in v0.7.0

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

TeamMembershipStatus defines the observed state of TeamMembership.

func (*TeamMembershipStatus) DeepCopy added in v0.7.0

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

func (*TeamMembershipStatus) DeepCopyInto added in v0.7.0

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

func (*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 added in v0.5.0

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

GetInitParameters of this TeamRepository

func (*TeamRepository) GetManagementPolicies added in v0.5.0

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

GetManagementPolicies of this TeamRepository.

func (*TeamRepository) GetMergedParameters added in v0.5.0

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 added in v0.5.0

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 added in v0.5.0

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 added in v0.5.0

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/coopnorge/provider-github/apis/repo/v1alpha1.Repository
	Repository *string `json:"repository,omitempty" tf:"repository,omitempty"`

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

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

	// The GitHub team id or the GitHub team slug
	// ID or slug of team
	// +crossplane:generate:reference:type=github.com/coopnorge/provider-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 added in v0.5.0

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

func (*TeamRepositoryInitParameters) DeepCopyInto added in v0.5.0

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/coopnorge/provider-github/apis/repo/v1alpha1.Repository
	// +kubebuilder:validation:Optional
	Repository *string `json:"repository,omitempty" tf:"repository,omitempty"`

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

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

	// The GitHub team id or the GitHub team slug
	// ID or slug of team
	// +crossplane:generate:reference:type=github.com/coopnorge/provider-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 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.

Jump to

Keyboard shortcuts

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