v1alpha1

package
v0.2.2 Latest Latest
Warning

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

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

Documentation

Overview

+kubebuilder:object:generate=true +groupName=directory.authentik.crossplane.io +versionName=v1alpha1

Index

Constants

View Source
const (
	CRDGroup   = "directory.authentik.crossplane.io"
	CRDVersion = "v1alpha1"
)

Package type metadata.

Variables

View Source
var (
	Group_Kind             = "Group"
	Group_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Group_Kind}.String()
	Group_KindAPIVersion   = Group_Kind + "." + CRDGroupVersion.String()
	Group_GroupVersionKind = CRDGroupVersion.WithKind(Group_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 (
	SourceLDAP_Kind             = "SourceLDAP"
	SourceLDAP_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: SourceLDAP_Kind}.String()
	SourceLDAP_KindAPIVersion   = SourceLDAP_Kind + "." + CRDGroupVersion.String()
	SourceLDAP_GroupVersionKind = CRDGroupVersion.WithKind(SourceLDAP_Kind)
)

Repository type metadata.

View Source
var (
	SourceOAuth_Kind             = "SourceOAuth"
	SourceOAuth_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: SourceOAuth_Kind}.String()
	SourceOAuth_KindAPIVersion   = SourceOAuth_Kind + "." + CRDGroupVersion.String()
	SourceOAuth_GroupVersionKind = CRDGroupVersion.WithKind(SourceOAuth_Kind)
)

Repository type metadata.

View Source
var (
	SourcePlex_Kind             = "SourcePlex"
	SourcePlex_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: SourcePlex_Kind}.String()
	SourcePlex_KindAPIVersion   = SourcePlex_Kind + "." + CRDGroupVersion.String()
	SourcePlex_GroupVersionKind = CRDGroupVersion.WithKind(SourcePlex_Kind)
)

Repository type metadata.

View Source
var (
	SourceSAML_Kind             = "SourceSAML"
	SourceSAML_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: SourceSAML_Kind}.String()
	SourceSAML_KindAPIVersion   = SourceSAML_Kind + "." + CRDGroupVersion.String()
	SourceSAML_GroupVersionKind = CRDGroupVersion.WithKind(SourceSAML_Kind)
)

Repository type metadata.

View Source
var (
	User_Kind             = "User"
	User_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: User_Kind}.String()
	User_KindAPIVersion   = User_Kind + "." + CRDGroupVersion.String()
	User_GroupVersionKind = CRDGroupVersion.WithKind(User_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type Group

type Group 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   GroupSpec   `json:"spec"`
	Status GroupStatus `json:"status,omitempty"`
}

Group is the Schema for the Groups API. +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,authentik}

func (*Group) DeepCopy

func (in *Group) DeepCopy() *Group

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

func (*Group) DeepCopyInto

func (in *Group) DeepCopyInto(out *Group)

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

func (*Group) DeepCopyObject

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

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

func (*Group) GetCondition

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

GetCondition of this Group.

func (*Group) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Group

func (*Group) GetDeletionPolicy

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

GetDeletionPolicy of this Group.

func (*Group) GetID

func (tr *Group) GetID() string

GetID returns ID of underlying Terraform resource of this Group

func (*Group) GetInitParameters

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

GetInitParameters of this Group

func (*Group) GetManagementPolicies

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

GetManagementPolicies of this Group.

func (*Group) GetMergedParameters

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

GetInitParameters of this Group

func (*Group) GetObservation

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

GetObservation of this Group

func (*Group) GetParameters

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

GetParameters of this Group

func (*Group) GetProviderConfigReference

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

GetProviderConfigReference of this Group.

func (*Group) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Group.

func (*Group) GetTerraformResourceType

func (mg *Group) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Group

func (*Group) GetTerraformSchemaVersion

func (tr *Group) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Group) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Group.

func (*Group) Hub

func (tr *Group) Hub()

Hub marks this type as a conversion hub.

func (*Group) LateInitialize

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

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

func (*Group) ResolveReferences

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

ResolveReferences of this Group.

func (*Group) SetConditions

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

SetConditions of this Group.

func (*Group) SetDeletionPolicy

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

SetDeletionPolicy of this Group.

func (*Group) SetManagementPolicies

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

SetManagementPolicies of this Group.

func (*Group) SetObservation

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

SetObservation for this Group

func (*Group) SetParameters

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

SetParameters for this Group

func (*Group) SetProviderConfigReference

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

SetProviderConfigReference of this Group.

func (*Group) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Group.

func (*Group) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Group.

type GroupInitParameters

type GroupInitParameters struct {

	// (String) JSON format expected. Use jsonencode() to pass objects. Defaults to {}.
	// JSON format expected. Use jsonencode() to pass objects. Defaults to `{}`.
	Attributes *string `json:"attributes,omitempty" tf:"attributes,omitempty"`

	// (Boolean) Defaults to false.
	// Defaults to `false`.
	IsSuperuser *bool `json:"isSuperuser,omitempty" tf:"is_superuser,omitempty"`

	// (String)
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// (String)
	Parent *string `json:"parent,omitempty" tf:"parent,omitempty"`

	// (List of String)
	Roles []*string `json:"roles,omitempty" tf:"roles,omitempty"`

	// (List of Number) Generated.
	// Generated.
	// +crossplane:generate:reference:type=github.com/vhdirk/provider-authentik/apis/directory/v1alpha1.User
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("id",true)
	Users []*float64 `json:"users,omitempty" tf:"users,omitempty"`

	// References to User in directory to populate users.
	// +kubebuilder:validation:Optional
	UsersRefs []v1.Reference `json:"usersRefs,omitempty" tf:"-"`

	// Selector for a list of User in directory to populate users.
	// +kubebuilder:validation:Optional
	UsersSelector *v1.Selector `json:"usersSelector,omitempty" tf:"-"`
}

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 GroupList

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

GroupList contains a list of Groups

func (*GroupList) DeepCopy

func (in *GroupList) DeepCopy() *GroupList

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

func (*GroupList) DeepCopyInto

func (in *GroupList) DeepCopyInto(out *GroupList)

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

func (*GroupList) DeepCopyObject

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

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

func (*GroupList) GetItems

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

GetItems of this GroupList.

type GroupObservation

type GroupObservation struct {

	// (String) JSON format expected. Use jsonencode() to pass objects. Defaults to {}.
	// JSON format expected. Use jsonencode() to pass objects. Defaults to `{}`.
	Attributes *string `json:"attributes,omitempty" tf:"attributes,omitempty"`

	// (String) The ID of this resource.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// (Boolean) Defaults to false.
	// Defaults to `false`.
	IsSuperuser *bool `json:"isSuperuser,omitempty" tf:"is_superuser,omitempty"`

	// (String)
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// (String)
	Parent *string `json:"parent,omitempty" tf:"parent,omitempty"`

	// (List of String)
	Roles []*string `json:"roles,omitempty" tf:"roles,omitempty"`

	// (List of Number) Generated.
	// Generated.
	Users []*float64 `json:"users,omitempty" tf:"users,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 {

	// (String) JSON format expected. Use jsonencode() to pass objects. Defaults to {}.
	// JSON format expected. Use jsonencode() to pass objects. Defaults to `{}`.
	// +kubebuilder:validation:Optional
	Attributes *string `json:"attributes,omitempty" tf:"attributes,omitempty"`

	// (Boolean) Defaults to false.
	// Defaults to `false`.
	// +kubebuilder:validation:Optional
	IsSuperuser *bool `json:"isSuperuser,omitempty" tf:"is_superuser,omitempty"`

	// (String)
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// (String)
	// +kubebuilder:validation:Optional
	Parent *string `json:"parent,omitempty" tf:"parent,omitempty"`

	// (List of String)
	// +kubebuilder:validation:Optional
	Roles []*string `json:"roles,omitempty" tf:"roles,omitempty"`

	// (List of Number) Generated.
	// Generated.
	// +crossplane:generate:reference:type=github.com/vhdirk/provider-authentik/apis/directory/v1alpha1.User
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("id",true)
	// +kubebuilder:validation:Optional
	Users []*float64 `json:"users,omitempty" tf:"users,omitempty"`

	// References to User in directory to populate users.
	// +kubebuilder:validation:Optional
	UsersRefs []v1.Reference `json:"usersRefs,omitempty" tf:"-"`

	// Selector for a list of User in directory to populate users.
	// +kubebuilder:validation:Optional
	UsersSelector *v1.Selector `json:"usersSelector,omitempty" tf:"-"`
}

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 GroupSpec

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

GroupSpec defines the desired state of Group

func (*GroupSpec) DeepCopy

func (in *GroupSpec) DeepCopy() *GroupSpec

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

func (*GroupSpec) DeepCopyInto

func (in *GroupSpec) DeepCopyInto(out *GroupSpec)

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

type GroupStatus

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

GroupStatus defines the observed state of Group.

func (*GroupStatus) DeepCopy

func (in *GroupStatus) DeepCopy() *GroupStatus

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

func (*GroupStatus) DeepCopyInto

func (in *GroupStatus) DeepCopyInto(out *GroupStatus)

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

type SourceLDAP

type SourceLDAP 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.baseDn) || (has(self.initProvider) && has(self.initProvider.baseDn))",message="spec.forProvider.baseDn is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.bindCn) || (has(self.initProvider) && has(self.initProvider.bindCn))",message="spec.forProvider.bindCn is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.bindPasswordSecretRef)",message="spec.forProvider.bindPasswordSecretRef is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.serverUri) || (has(self.initProvider) && has(self.initProvider.serverUri))",message="spec.forProvider.serverUri is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.slug) || (has(self.initProvider) && has(self.initProvider.slug))",message="spec.forProvider.slug is a required parameter"
	Spec   SourceLDAPSpec   `json:"spec"`
	Status SourceLDAPStatus `json:"status,omitempty"`
}

SourceLDAP is the Schema for the SourceLDAPs API. +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,authentik}

func (*SourceLDAP) DeepCopy

func (in *SourceLDAP) DeepCopy() *SourceLDAP

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

func (*SourceLDAP) DeepCopyInto

func (in *SourceLDAP) DeepCopyInto(out *SourceLDAP)

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

func (*SourceLDAP) DeepCopyObject

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

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

func (*SourceLDAP) GetCondition

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

GetCondition of this SourceLDAP.

func (*SourceLDAP) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this SourceLDAP

func (*SourceLDAP) GetDeletionPolicy

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

GetDeletionPolicy of this SourceLDAP.

func (*SourceLDAP) GetID

func (tr *SourceLDAP) GetID() string

GetID returns ID of underlying Terraform resource of this SourceLDAP

func (*SourceLDAP) GetInitParameters

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

GetInitParameters of this SourceLDAP

func (*SourceLDAP) GetManagementPolicies

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

GetManagementPolicies of this SourceLDAP.

func (*SourceLDAP) GetMergedParameters

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

GetInitParameters of this SourceLDAP

func (*SourceLDAP) GetObservation

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

GetObservation of this SourceLDAP

func (*SourceLDAP) GetParameters

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

GetParameters of this SourceLDAP

func (*SourceLDAP) GetProviderConfigReference

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

GetProviderConfigReference of this SourceLDAP.

func (*SourceLDAP) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this SourceLDAP.

func (*SourceLDAP) GetTerraformResourceType

func (mg *SourceLDAP) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this SourceLDAP

func (*SourceLDAP) GetTerraformSchemaVersion

func (tr *SourceLDAP) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*SourceLDAP) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this SourceLDAP.

func (*SourceLDAP) Hub

func (tr *SourceLDAP) Hub()

Hub marks this type as a conversion hub.

func (*SourceLDAP) LateInitialize

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

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

func (*SourceLDAP) SetConditions

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

SetConditions of this SourceLDAP.

func (*SourceLDAP) SetDeletionPolicy

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

SetDeletionPolicy of this SourceLDAP.

func (*SourceLDAP) SetManagementPolicies

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

SetManagementPolicies of this SourceLDAP.

func (*SourceLDAP) SetObservation

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

SetObservation for this SourceLDAP

func (*SourceLDAP) SetParameters

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

SetParameters for this SourceLDAP

func (*SourceLDAP) SetProviderConfigReference

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

SetProviderConfigReference of this SourceLDAP.

func (*SourceLDAP) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this SourceLDAP.

func (*SourceLDAP) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this SourceLDAP.

type SourceLDAPInitParameters

type SourceLDAPInitParameters struct {

	// (String) Defaults to “.
	// Defaults to “.
	AdditionalGroupDn *string `json:"additionalGroupDn,omitempty" tf:"additional_group_dn,omitempty"`

	// (String) Defaults to “.
	// Defaults to “.
	AdditionalUserDn *string `json:"additionalUserDn,omitempty" tf:"additional_user_dn,omitempty"`

	// (String)
	BaseDn *string `json:"baseDn,omitempty" tf:"base_dn,omitempty"`

	// (String)
	BindCn *string `json:"bindCn,omitempty" tf:"bind_cn,omitempty"`

	// (String, Sensitive)
	BindPasswordSecretRef v1.SecretKeySelector `json:"bindPasswordSecretRef" tf:"-"`

	// (Boolean) Defaults to true.
	// Defaults to `true`.
	Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`

	// (String) Defaults to member.
	// Defaults to `member`.
	GroupMembershipField *string `json:"groupMembershipField,omitempty" tf:"group_membership_field,omitempty"`

	// (String) Defaults to (objectClass=group).
	// Defaults to `(objectClass=group)`.
	GroupObjectFilter *string `json:"groupObjectFilter,omitempty" tf:"group_object_filter,omitempty"`

	// (String)
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// (String) Defaults to objectSid.
	// Defaults to `objectSid`.
	ObjectUniquenessField *string `json:"objectUniquenessField,omitempty" tf:"object_uniqueness_field,omitempty"`

	// (Boolean) Defaults to false.
	// Defaults to `false`.
	PasswordLoginUpdateInternalPassword *bool `json:"passwordLoginUpdateInternalPassword,omitempty" tf:"password_login_update_internal_password,omitempty"`

	// (List of String)
	PropertyMappings []*string `json:"propertyMappings,omitempty" tf:"property_mappings,omitempty"`

	// (List of String)
	PropertyMappingsGroup []*string `json:"propertyMappingsGroup,omitempty" tf:"property_mappings_group,omitempty"`

	// (String)
	ServerURI *string `json:"serverUri,omitempty" tf:"server_uri,omitempty"`

	// (String)
	Slug *string `json:"slug,omitempty" tf:"slug,omitempty"`

	// (Boolean) Defaults to false.
	// Defaults to `false`.
	Sni *bool `json:"sni,omitempty" tf:"sni,omitempty"`

	// (Boolean) Defaults to true.
	// Defaults to `true`.
	StartTLS *bool `json:"startTls,omitempty" tf:"start_tls,omitempty"`

	// (Boolean) Defaults to true.
	// Defaults to `true`.
	SyncGroups *bool `json:"syncGroups,omitempty" tf:"sync_groups,omitempty"`

	// (String)
	SyncParentGroup *string `json:"syncParentGroup,omitempty" tf:"sync_parent_group,omitempty"`

	// (Boolean) Defaults to true.
	// Defaults to `true`.
	SyncUsers *bool `json:"syncUsers,omitempty" tf:"sync_users,omitempty"`

	// (Boolean) Defaults to true.
	// Defaults to `true`.
	SyncUsersPassword *bool `json:"syncUsersPassword,omitempty" tf:"sync_users_password,omitempty"`

	// (String) Generated.
	// Generated.
	UUID *string `json:"uuid,omitempty" tf:"uuid,omitempty"`

	// (String) Defaults to (objectClass=person).
	// Defaults to `(objectClass=person)`.
	UserObjectFilter *string `json:"userObjectFilter,omitempty" tf:"user_object_filter,omitempty"`

	// (String) Defaults to goauthentik.io/sources/%(slug)s.
	// Defaults to `goauthentik.io/sources/%(slug)s`.
	UserPathTemplate *string `json:"userPathTemplate,omitempty" tf:"user_path_template,omitempty"`
}

func (*SourceLDAPInitParameters) DeepCopy

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

func (*SourceLDAPInitParameters) DeepCopyInto

func (in *SourceLDAPInitParameters) DeepCopyInto(out *SourceLDAPInitParameters)

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

type SourceLDAPList

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

SourceLDAPList contains a list of SourceLDAPs

func (*SourceLDAPList) DeepCopy

func (in *SourceLDAPList) DeepCopy() *SourceLDAPList

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

func (*SourceLDAPList) DeepCopyInto

func (in *SourceLDAPList) DeepCopyInto(out *SourceLDAPList)

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

func (*SourceLDAPList) DeepCopyObject

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

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

func (*SourceLDAPList) GetItems

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

GetItems of this SourceLDAPList.

type SourceLDAPObservation

type SourceLDAPObservation struct {

	// (String) Defaults to “.
	// Defaults to “.
	AdditionalGroupDn *string `json:"additionalGroupDn,omitempty" tf:"additional_group_dn,omitempty"`

	// (String) Defaults to “.
	// Defaults to “.
	AdditionalUserDn *string `json:"additionalUserDn,omitempty" tf:"additional_user_dn,omitempty"`

	// (String)
	BaseDn *string `json:"baseDn,omitempty" tf:"base_dn,omitempty"`

	// (String)
	BindCn *string `json:"bindCn,omitempty" tf:"bind_cn,omitempty"`

	// (Boolean) Defaults to true.
	// Defaults to `true`.
	Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`

	// (String) Defaults to member.
	// Defaults to `member`.
	GroupMembershipField *string `json:"groupMembershipField,omitempty" tf:"group_membership_field,omitempty"`

	// (String) Defaults to (objectClass=group).
	// Defaults to `(objectClass=group)`.
	GroupObjectFilter *string `json:"groupObjectFilter,omitempty" tf:"group_object_filter,omitempty"`

	// (String) The ID of this resource.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// (String)
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// (String) Defaults to objectSid.
	// Defaults to `objectSid`.
	ObjectUniquenessField *string `json:"objectUniquenessField,omitempty" tf:"object_uniqueness_field,omitempty"`

	// (Boolean) Defaults to false.
	// Defaults to `false`.
	PasswordLoginUpdateInternalPassword *bool `json:"passwordLoginUpdateInternalPassword,omitempty" tf:"password_login_update_internal_password,omitempty"`

	// (List of String)
	PropertyMappings []*string `json:"propertyMappings,omitempty" tf:"property_mappings,omitempty"`

	// (List of String)
	PropertyMappingsGroup []*string `json:"propertyMappingsGroup,omitempty" tf:"property_mappings_group,omitempty"`

	// (String)
	ServerURI *string `json:"serverUri,omitempty" tf:"server_uri,omitempty"`

	// (String)
	Slug *string `json:"slug,omitempty" tf:"slug,omitempty"`

	// (Boolean) Defaults to false.
	// Defaults to `false`.
	Sni *bool `json:"sni,omitempty" tf:"sni,omitempty"`

	// (Boolean) Defaults to true.
	// Defaults to `true`.
	StartTLS *bool `json:"startTls,omitempty" tf:"start_tls,omitempty"`

	// (Boolean) Defaults to true.
	// Defaults to `true`.
	SyncGroups *bool `json:"syncGroups,omitempty" tf:"sync_groups,omitempty"`

	// (String)
	SyncParentGroup *string `json:"syncParentGroup,omitempty" tf:"sync_parent_group,omitempty"`

	// (Boolean) Defaults to true.
	// Defaults to `true`.
	SyncUsers *bool `json:"syncUsers,omitempty" tf:"sync_users,omitempty"`

	// (Boolean) Defaults to true.
	// Defaults to `true`.
	SyncUsersPassword *bool `json:"syncUsersPassword,omitempty" tf:"sync_users_password,omitempty"`

	// (String) Generated.
	// Generated.
	UUID *string `json:"uuid,omitempty" tf:"uuid,omitempty"`

	// (String) Defaults to (objectClass=person).
	// Defaults to `(objectClass=person)`.
	UserObjectFilter *string `json:"userObjectFilter,omitempty" tf:"user_object_filter,omitempty"`

	// (String) Defaults to goauthentik.io/sources/%(slug)s.
	// Defaults to `goauthentik.io/sources/%(slug)s`.
	UserPathTemplate *string `json:"userPathTemplate,omitempty" tf:"user_path_template,omitempty"`
}

func (*SourceLDAPObservation) DeepCopy

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

func (*SourceLDAPObservation) DeepCopyInto

func (in *SourceLDAPObservation) DeepCopyInto(out *SourceLDAPObservation)

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

type SourceLDAPParameters

type SourceLDAPParameters struct {

	// (String) Defaults to “.
	// Defaults to “.
	// +kubebuilder:validation:Optional
	AdditionalGroupDn *string `json:"additionalGroupDn,omitempty" tf:"additional_group_dn,omitempty"`

	// (String) Defaults to “.
	// Defaults to “.
	// +kubebuilder:validation:Optional
	AdditionalUserDn *string `json:"additionalUserDn,omitempty" tf:"additional_user_dn,omitempty"`

	// (String)
	// +kubebuilder:validation:Optional
	BaseDn *string `json:"baseDn,omitempty" tf:"base_dn,omitempty"`

	// (String)
	// +kubebuilder:validation:Optional
	BindCn *string `json:"bindCn,omitempty" tf:"bind_cn,omitempty"`

	// (String, Sensitive)
	// +kubebuilder:validation:Optional
	BindPasswordSecretRef v1.SecretKeySelector `json:"bindPasswordSecretRef" tf:"-"`

	// (Boolean) Defaults to true.
	// Defaults to `true`.
	// +kubebuilder:validation:Optional
	Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`

	// (String) Defaults to member.
	// Defaults to `member`.
	// +kubebuilder:validation:Optional
	GroupMembershipField *string `json:"groupMembershipField,omitempty" tf:"group_membership_field,omitempty"`

	// (String) Defaults to (objectClass=group).
	// Defaults to `(objectClass=group)`.
	// +kubebuilder:validation:Optional
	GroupObjectFilter *string `json:"groupObjectFilter,omitempty" tf:"group_object_filter,omitempty"`

	// (String)
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// (String) Defaults to objectSid.
	// Defaults to `objectSid`.
	// +kubebuilder:validation:Optional
	ObjectUniquenessField *string `json:"objectUniquenessField,omitempty" tf:"object_uniqueness_field,omitempty"`

	// (Boolean) Defaults to false.
	// Defaults to `false`.
	// +kubebuilder:validation:Optional
	PasswordLoginUpdateInternalPassword *bool `json:"passwordLoginUpdateInternalPassword,omitempty" tf:"password_login_update_internal_password,omitempty"`

	// (List of String)
	// +kubebuilder:validation:Optional
	PropertyMappings []*string `json:"propertyMappings,omitempty" tf:"property_mappings,omitempty"`

	// (List of String)
	// +kubebuilder:validation:Optional
	PropertyMappingsGroup []*string `json:"propertyMappingsGroup,omitempty" tf:"property_mappings_group,omitempty"`

	// (String)
	// +kubebuilder:validation:Optional
	ServerURI *string `json:"serverUri,omitempty" tf:"server_uri,omitempty"`

	// (String)
	// +kubebuilder:validation:Optional
	Slug *string `json:"slug,omitempty" tf:"slug,omitempty"`

	// (Boolean) Defaults to false.
	// Defaults to `false`.
	// +kubebuilder:validation:Optional
	Sni *bool `json:"sni,omitempty" tf:"sni,omitempty"`

	// (Boolean) Defaults to true.
	// Defaults to `true`.
	// +kubebuilder:validation:Optional
	StartTLS *bool `json:"startTls,omitempty" tf:"start_tls,omitempty"`

	// (Boolean) Defaults to true.
	// Defaults to `true`.
	// +kubebuilder:validation:Optional
	SyncGroups *bool `json:"syncGroups,omitempty" tf:"sync_groups,omitempty"`

	// (String)
	// +kubebuilder:validation:Optional
	SyncParentGroup *string `json:"syncParentGroup,omitempty" tf:"sync_parent_group,omitempty"`

	// (Boolean) Defaults to true.
	// Defaults to `true`.
	// +kubebuilder:validation:Optional
	SyncUsers *bool `json:"syncUsers,omitempty" tf:"sync_users,omitempty"`

	// (Boolean) Defaults to true.
	// Defaults to `true`.
	// +kubebuilder:validation:Optional
	SyncUsersPassword *bool `json:"syncUsersPassword,omitempty" tf:"sync_users_password,omitempty"`

	// (String) Generated.
	// Generated.
	// +kubebuilder:validation:Optional
	UUID *string `json:"uuid,omitempty" tf:"uuid,omitempty"`

	// (String) Defaults to (objectClass=person).
	// Defaults to `(objectClass=person)`.
	// +kubebuilder:validation:Optional
	UserObjectFilter *string `json:"userObjectFilter,omitempty" tf:"user_object_filter,omitempty"`

	// (String) Defaults to goauthentik.io/sources/%(slug)s.
	// Defaults to `goauthentik.io/sources/%(slug)s`.
	// +kubebuilder:validation:Optional
	UserPathTemplate *string `json:"userPathTemplate,omitempty" tf:"user_path_template,omitempty"`
}

func (*SourceLDAPParameters) DeepCopy

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

func (*SourceLDAPParameters) DeepCopyInto

func (in *SourceLDAPParameters) DeepCopyInto(out *SourceLDAPParameters)

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

type SourceLDAPSpec

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

SourceLDAPSpec defines the desired state of SourceLDAP

func (*SourceLDAPSpec) DeepCopy

func (in *SourceLDAPSpec) DeepCopy() *SourceLDAPSpec

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

func (*SourceLDAPSpec) DeepCopyInto

func (in *SourceLDAPSpec) DeepCopyInto(out *SourceLDAPSpec)

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

type SourceLDAPStatus

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

SourceLDAPStatus defines the observed state of SourceLDAP.

func (*SourceLDAPStatus) DeepCopy

func (in *SourceLDAPStatus) DeepCopy() *SourceLDAPStatus

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

func (*SourceLDAPStatus) DeepCopyInto

func (in *SourceLDAPStatus) DeepCopyInto(out *SourceLDAPStatus)

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

type SourceOAuth

type SourceOAuth 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.consumerKey) || (has(self.initProvider) && has(self.initProvider.consumerKey))",message="spec.forProvider.consumerKey is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.consumerSecretSecretRef)",message="spec.forProvider.consumerSecretSecretRef is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.providerType) || (has(self.initProvider) && has(self.initProvider.providerType))",message="spec.forProvider.providerType is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.slug) || (has(self.initProvider) && has(self.initProvider.slug))",message="spec.forProvider.slug is a required parameter"
	Spec   SourceOAuthSpec   `json:"spec"`
	Status SourceOAuthStatus `json:"status,omitempty"`
}

SourceOAuth is the Schema for the SourceOAuths API. +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,authentik}

func (*SourceOAuth) DeepCopy

func (in *SourceOAuth) DeepCopy() *SourceOAuth

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

func (*SourceOAuth) DeepCopyInto

func (in *SourceOAuth) DeepCopyInto(out *SourceOAuth)

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

func (*SourceOAuth) DeepCopyObject

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

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

func (*SourceOAuth) GetCondition

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

GetCondition of this SourceOAuth.

func (*SourceOAuth) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this SourceOAuth

func (*SourceOAuth) GetDeletionPolicy

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

GetDeletionPolicy of this SourceOAuth.

func (*SourceOAuth) GetID

func (tr *SourceOAuth) GetID() string

GetID returns ID of underlying Terraform resource of this SourceOAuth

func (*SourceOAuth) GetInitParameters

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

GetInitParameters of this SourceOAuth

func (*SourceOAuth) GetManagementPolicies

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

GetManagementPolicies of this SourceOAuth.

func (*SourceOAuth) GetMergedParameters

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

GetInitParameters of this SourceOAuth

func (*SourceOAuth) GetObservation

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

GetObservation of this SourceOAuth

func (*SourceOAuth) GetParameters

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

GetParameters of this SourceOAuth

func (*SourceOAuth) GetProviderConfigReference

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

GetProviderConfigReference of this SourceOAuth.

func (*SourceOAuth) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this SourceOAuth.

func (*SourceOAuth) GetTerraformResourceType

func (mg *SourceOAuth) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this SourceOAuth

func (*SourceOAuth) GetTerraformSchemaVersion

func (tr *SourceOAuth) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*SourceOAuth) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this SourceOAuth.

func (*SourceOAuth) Hub

func (tr *SourceOAuth) Hub()

Hub marks this type as a conversion hub.

func (*SourceOAuth) LateInitialize

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

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

func (*SourceOAuth) ResolveReferences

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

ResolveReferences of this SourceOAuth.

func (*SourceOAuth) SetConditions

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

SetConditions of this SourceOAuth.

func (*SourceOAuth) SetDeletionPolicy

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

SetDeletionPolicy of this SourceOAuth.

func (*SourceOAuth) SetManagementPolicies

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

SetManagementPolicies of this SourceOAuth.

func (*SourceOAuth) SetObservation

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

SetObservation for this SourceOAuth

func (*SourceOAuth) SetParameters

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

SetParameters for this SourceOAuth

func (*SourceOAuth) SetProviderConfigReference

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

SetProviderConfigReference of this SourceOAuth.

func (*SourceOAuth) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this SourceOAuth.

func (*SourceOAuth) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this SourceOAuth.

type SourceOAuthInitParameters

type SourceOAuthInitParameters struct {

	// (String) Only required for OAuth1.
	// Only required for OAuth1.
	AccessTokenURL *string `json:"accessTokenUrl,omitempty" tf:"access_token_url,omitempty"`

	// (String)
	AdditionalScopes *string `json:"additionalScopes,omitempty" tf:"additional_scopes,omitempty"`

	// (String)
	// +crossplane:generate:reference:type=github.com/vhdirk/provider-authentik/apis/authentik/v1alpha1.Flow
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("uuid",true)
	AuthenticationFlow *string `json:"authenticationFlow,omitempty" tf:"authentication_flow,omitempty"`

	// Reference to a Flow in authentik to populate authenticationFlow.
	// +kubebuilder:validation:Optional
	AuthenticationFlowRef *v1.Reference `json:"authenticationFlowRef,omitempty" tf:"-"`

	// Selector for a Flow in authentik to populate authenticationFlow.
	// +kubebuilder:validation:Optional
	AuthenticationFlowSelector *v1.Selector `json:"authenticationFlowSelector,omitempty" tf:"-"`

	// (String) Manually configure OAuth2 URLs when oidc_well_known_url is not set.
	// Manually configure OAuth2 URLs when `oidc_well_known_url` is not set.
	AuthorizationURL *string `json:"authorizationUrl,omitempty" tf:"authorization_url,omitempty"`

	// (String)
	ConsumerKey *string `json:"consumerKey,omitempty" tf:"consumer_key,omitempty"`

	// (String, Sensitive)
	ConsumerSecretSecretRef v1.SecretKeySelector `json:"consumerSecretSecretRef" tf:"-"`

	// (Boolean) Defaults to true.
	// Defaults to `true`.
	Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`

	// (String)
	// +crossplane:generate:reference:type=github.com/vhdirk/provider-authentik/apis/authentik/v1alpha1.Flow
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("uuid",true)
	EnrollmentFlow *string `json:"enrollmentFlow,omitempty" tf:"enrollment_flow,omitempty"`

	// Reference to a Flow in authentik to populate enrollmentFlow.
	// +kubebuilder:validation:Optional
	EnrollmentFlowRef *v1.Reference `json:"enrollmentFlowRef,omitempty" tf:"-"`

	// Selector for a Flow in authentik to populate enrollmentFlow.
	// +kubebuilder:validation:Optional
	EnrollmentFlowSelector *v1.Selector `json:"enrollmentFlowSelector,omitempty" tf:"-"`

	// (String) Allowed values:
	// Allowed values:
	// - `identifier`
	// - `name_link`
	// - `name_deny`
	// Defaults to `identifier`.
	GroupMatchingMode *string `json:"groupMatchingMode,omitempty" tf:"group_matching_mode,omitempty"`

	// (String)
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// to-machine authentication. JSON format expected. Use jsonencode() to pass objects. Generated.
	// Manually configure JWKS keys for use with machine-to-machine authentication. JSON format expected. Use jsonencode() to pass objects. Generated.
	OidcJwks *string `json:"oidcJwks,omitempty" tf:"oidc_jwks,omitempty"`

	// (String) Automatically configure JWKS if not specified by oidc_well_known_url.
	// Automatically configure JWKS if not specified by `oidc_well_known_url`.
	OidcJwksURL *string `json:"oidcJwksUrl,omitempty" tf:"oidc_jwks_url,omitempty"`

	// known endpoint. URL is taken as is, and should end with .well-known/openid-configuration.
	// Automatically configure source from OIDC well-known endpoint. URL is taken as is, and should end with `.well-known/openid-configuration`.
	OidcWellKnownURL *string `json:"oidcWellKnownUrl,omitempty" tf:"oidc_well_known_url,omitempty"`

	// (String) Allowed values:
	// Allowed values:
	// - `all`
	// - `any`
	// Defaults to `any`.
	PolicyEngineMode *string `json:"policyEngineMode,omitempty" tf:"policy_engine_mode,omitempty"`

	// (String) Manually configure OAuth2 URLs when oidc_well_known_url is not set.
	// Manually configure OAuth2 URLs when `oidc_well_known_url` is not set.
	ProfileURL *string `json:"profileUrl,omitempty" tf:"profile_url,omitempty"`

	// (String) Allowed values:
	// Allowed values:
	// - `apple`
	// - `openidconnect`
	// - `azuread`
	// - `discord`
	// - `facebook`
	// - `github`
	// - `gitlab`
	// - `google`
	// - `mailcow`
	// - `okta`
	// - `patreon`
	// - `reddit`
	// - `twitch`
	// - `twitter`
	ProviderType *string `json:"providerType,omitempty" tf:"provider_type,omitempty"`

	// (String) Manually configure OAuth2 URLs when oidc_well_known_url is not set.
	// Manually configure OAuth2 URLs when `oidc_well_known_url` is not set.
	RequestTokenURL *string `json:"requestTokenUrl,omitempty" tf:"request_token_url,omitempty"`

	// (String)
	Slug *string `json:"slug,omitempty" tf:"slug,omitempty"`

	// (String) Generated.
	// Generated.
	UUID *string `json:"uuid,omitempty" tf:"uuid,omitempty"`

	// (String) Allowed values:
	// Allowed values:
	// - `identifier`
	// - `email_link`
	// - `email_deny`
	// - `username_link`
	// - `username_deny`
	// Defaults to `identifier`.
	UserMatchingMode *string `json:"userMatchingMode,omitempty" tf:"user_matching_mode,omitempty"`

	// (String) Defaults to goauthentik.io/sources/%(slug)s.
	// Defaults to `goauthentik.io/sources/%(slug)s`.
	UserPathTemplate *string `json:"userPathTemplate,omitempty" tf:"user_path_template,omitempty"`
}

func (*SourceOAuthInitParameters) DeepCopy

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

func (*SourceOAuthInitParameters) DeepCopyInto

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

type SourceOAuthList

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

SourceOAuthList contains a list of SourceOAuths

func (*SourceOAuthList) DeepCopy

func (in *SourceOAuthList) DeepCopy() *SourceOAuthList

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

func (*SourceOAuthList) DeepCopyInto

func (in *SourceOAuthList) DeepCopyInto(out *SourceOAuthList)

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

func (*SourceOAuthList) DeepCopyObject

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

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

func (*SourceOAuthList) GetItems

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

GetItems of this SourceOAuthList.

type SourceOAuthObservation

type SourceOAuthObservation struct {

	// (String) Only required for OAuth1.
	// Only required for OAuth1.
	AccessTokenURL *string `json:"accessTokenUrl,omitempty" tf:"access_token_url,omitempty"`

	// (String)
	AdditionalScopes *string `json:"additionalScopes,omitempty" tf:"additional_scopes,omitempty"`

	// (String)
	AuthenticationFlow *string `json:"authenticationFlow,omitempty" tf:"authentication_flow,omitempty"`

	// (String) Manually configure OAuth2 URLs when oidc_well_known_url is not set.
	// Manually configure OAuth2 URLs when `oidc_well_known_url` is not set.
	AuthorizationURL *string `json:"authorizationUrl,omitempty" tf:"authorization_url,omitempty"`

	// (String) Generated.
	// Generated.
	CallbackURI *string `json:"callbackUri,omitempty" tf:"callback_uri,omitempty"`

	// (String)
	ConsumerKey *string `json:"consumerKey,omitempty" tf:"consumer_key,omitempty"`

	// (Boolean) Defaults to true.
	// Defaults to `true`.
	Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`

	// (String)
	EnrollmentFlow *string `json:"enrollmentFlow,omitempty" tf:"enrollment_flow,omitempty"`

	// (String) Allowed values:
	// Allowed values:
	// - `identifier`
	// - `name_link`
	// - `name_deny`
	// Defaults to `identifier`.
	GroupMatchingMode *string `json:"groupMatchingMode,omitempty" tf:"group_matching_mode,omitempty"`

	// (String) The ID of this resource.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// (String)
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// to-machine authentication. JSON format expected. Use jsonencode() to pass objects. Generated.
	// Manually configure JWKS keys for use with machine-to-machine authentication. JSON format expected. Use jsonencode() to pass objects. Generated.
	OidcJwks *string `json:"oidcJwks,omitempty" tf:"oidc_jwks,omitempty"`

	// (String) Automatically configure JWKS if not specified by oidc_well_known_url.
	// Automatically configure JWKS if not specified by `oidc_well_known_url`.
	OidcJwksURL *string `json:"oidcJwksUrl,omitempty" tf:"oidc_jwks_url,omitempty"`

	// known endpoint. URL is taken as is, and should end with .well-known/openid-configuration.
	// Automatically configure source from OIDC well-known endpoint. URL is taken as is, and should end with `.well-known/openid-configuration`.
	OidcWellKnownURL *string `json:"oidcWellKnownUrl,omitempty" tf:"oidc_well_known_url,omitempty"`

	// (String) Allowed values:
	// Allowed values:
	// - `all`
	// - `any`
	// Defaults to `any`.
	PolicyEngineMode *string `json:"policyEngineMode,omitempty" tf:"policy_engine_mode,omitempty"`

	// (String) Manually configure OAuth2 URLs when oidc_well_known_url is not set.
	// Manually configure OAuth2 URLs when `oidc_well_known_url` is not set.
	ProfileURL *string `json:"profileUrl,omitempty" tf:"profile_url,omitempty"`

	// (String) Allowed values:
	// Allowed values:
	// - `apple`
	// - `openidconnect`
	// - `azuread`
	// - `discord`
	// - `facebook`
	// - `github`
	// - `gitlab`
	// - `google`
	// - `mailcow`
	// - `okta`
	// - `patreon`
	// - `reddit`
	// - `twitch`
	// - `twitter`
	ProviderType *string `json:"providerType,omitempty" tf:"provider_type,omitempty"`

	// (String) Manually configure OAuth2 URLs when oidc_well_known_url is not set.
	// Manually configure OAuth2 URLs when `oidc_well_known_url` is not set.
	RequestTokenURL *string `json:"requestTokenUrl,omitempty" tf:"request_token_url,omitempty"`

	// (String)
	Slug *string `json:"slug,omitempty" tf:"slug,omitempty"`

	// (String) Generated.
	// Generated.
	UUID *string `json:"uuid,omitempty" tf:"uuid,omitempty"`

	// (String) Allowed values:
	// Allowed values:
	// - `identifier`
	// - `email_link`
	// - `email_deny`
	// - `username_link`
	// - `username_deny`
	// Defaults to `identifier`.
	UserMatchingMode *string `json:"userMatchingMode,omitempty" tf:"user_matching_mode,omitempty"`

	// (String) Defaults to goauthentik.io/sources/%(slug)s.
	// Defaults to `goauthentik.io/sources/%(slug)s`.
	UserPathTemplate *string `json:"userPathTemplate,omitempty" tf:"user_path_template,omitempty"`
}

func (*SourceOAuthObservation) DeepCopy

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

func (*SourceOAuthObservation) DeepCopyInto

func (in *SourceOAuthObservation) DeepCopyInto(out *SourceOAuthObservation)

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

type SourceOAuthParameters

type SourceOAuthParameters struct {

	// (String) Only required for OAuth1.
	// Only required for OAuth1.
	// +kubebuilder:validation:Optional
	AccessTokenURL *string `json:"accessTokenUrl,omitempty" tf:"access_token_url,omitempty"`

	// (String)
	// +kubebuilder:validation:Optional
	AdditionalScopes *string `json:"additionalScopes,omitempty" tf:"additional_scopes,omitempty"`

	// (String)
	// +crossplane:generate:reference:type=github.com/vhdirk/provider-authentik/apis/authentik/v1alpha1.Flow
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("uuid",true)
	// +kubebuilder:validation:Optional
	AuthenticationFlow *string `json:"authenticationFlow,omitempty" tf:"authentication_flow,omitempty"`

	// Reference to a Flow in authentik to populate authenticationFlow.
	// +kubebuilder:validation:Optional
	AuthenticationFlowRef *v1.Reference `json:"authenticationFlowRef,omitempty" tf:"-"`

	// Selector for a Flow in authentik to populate authenticationFlow.
	// +kubebuilder:validation:Optional
	AuthenticationFlowSelector *v1.Selector `json:"authenticationFlowSelector,omitempty" tf:"-"`

	// (String) Manually configure OAuth2 URLs when oidc_well_known_url is not set.
	// Manually configure OAuth2 URLs when `oidc_well_known_url` is not set.
	// +kubebuilder:validation:Optional
	AuthorizationURL *string `json:"authorizationUrl,omitempty" tf:"authorization_url,omitempty"`

	// (String)
	// +kubebuilder:validation:Optional
	ConsumerKey *string `json:"consumerKey,omitempty" tf:"consumer_key,omitempty"`

	// (String, Sensitive)
	// +kubebuilder:validation:Optional
	ConsumerSecretSecretRef v1.SecretKeySelector `json:"consumerSecretSecretRef" tf:"-"`

	// (Boolean) Defaults to true.
	// Defaults to `true`.
	// +kubebuilder:validation:Optional
	Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`

	// (String)
	// +crossplane:generate:reference:type=github.com/vhdirk/provider-authentik/apis/authentik/v1alpha1.Flow
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("uuid",true)
	// +kubebuilder:validation:Optional
	EnrollmentFlow *string `json:"enrollmentFlow,omitempty" tf:"enrollment_flow,omitempty"`

	// Reference to a Flow in authentik to populate enrollmentFlow.
	// +kubebuilder:validation:Optional
	EnrollmentFlowRef *v1.Reference `json:"enrollmentFlowRef,omitempty" tf:"-"`

	// Selector for a Flow in authentik to populate enrollmentFlow.
	// +kubebuilder:validation:Optional
	EnrollmentFlowSelector *v1.Selector `json:"enrollmentFlowSelector,omitempty" tf:"-"`

	// (String) Allowed values:
	// Allowed values:
	// - `identifier`
	// - `name_link`
	// - `name_deny`
	// Defaults to `identifier`.
	// +kubebuilder:validation:Optional
	GroupMatchingMode *string `json:"groupMatchingMode,omitempty" tf:"group_matching_mode,omitempty"`

	// (String)
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// to-machine authentication. JSON format expected. Use jsonencode() to pass objects. Generated.
	// Manually configure JWKS keys for use with machine-to-machine authentication. JSON format expected. Use jsonencode() to pass objects. Generated.
	// +kubebuilder:validation:Optional
	OidcJwks *string `json:"oidcJwks,omitempty" tf:"oidc_jwks,omitempty"`

	// (String) Automatically configure JWKS if not specified by oidc_well_known_url.
	// Automatically configure JWKS if not specified by `oidc_well_known_url`.
	// +kubebuilder:validation:Optional
	OidcJwksURL *string `json:"oidcJwksUrl,omitempty" tf:"oidc_jwks_url,omitempty"`

	// known endpoint. URL is taken as is, and should end with .well-known/openid-configuration.
	// Automatically configure source from OIDC well-known endpoint. URL is taken as is, and should end with `.well-known/openid-configuration`.
	// +kubebuilder:validation:Optional
	OidcWellKnownURL *string `json:"oidcWellKnownUrl,omitempty" tf:"oidc_well_known_url,omitempty"`

	// (String) Allowed values:
	// Allowed values:
	// - `all`
	// - `any`
	// Defaults to `any`.
	// +kubebuilder:validation:Optional
	PolicyEngineMode *string `json:"policyEngineMode,omitempty" tf:"policy_engine_mode,omitempty"`

	// (String) Manually configure OAuth2 URLs when oidc_well_known_url is not set.
	// Manually configure OAuth2 URLs when `oidc_well_known_url` is not set.
	// +kubebuilder:validation:Optional
	ProfileURL *string `json:"profileUrl,omitempty" tf:"profile_url,omitempty"`

	// (String) Allowed values:
	// Allowed values:
	// - `apple`
	// - `openidconnect`
	// - `azuread`
	// - `discord`
	// - `facebook`
	// - `github`
	// - `gitlab`
	// - `google`
	// - `mailcow`
	// - `okta`
	// - `patreon`
	// - `reddit`
	// - `twitch`
	// - `twitter`
	// +kubebuilder:validation:Optional
	ProviderType *string `json:"providerType,omitempty" tf:"provider_type,omitempty"`

	// (String) Manually configure OAuth2 URLs when oidc_well_known_url is not set.
	// Manually configure OAuth2 URLs when `oidc_well_known_url` is not set.
	// +kubebuilder:validation:Optional
	RequestTokenURL *string `json:"requestTokenUrl,omitempty" tf:"request_token_url,omitempty"`

	// (String)
	// +kubebuilder:validation:Optional
	Slug *string `json:"slug,omitempty" tf:"slug,omitempty"`

	// (String) Generated.
	// Generated.
	// +kubebuilder:validation:Optional
	UUID *string `json:"uuid,omitempty" tf:"uuid,omitempty"`

	// (String) Allowed values:
	// Allowed values:
	// - `identifier`
	// - `email_link`
	// - `email_deny`
	// - `username_link`
	// - `username_deny`
	// Defaults to `identifier`.
	// +kubebuilder:validation:Optional
	UserMatchingMode *string `json:"userMatchingMode,omitempty" tf:"user_matching_mode,omitempty"`

	// (String) Defaults to goauthentik.io/sources/%(slug)s.
	// Defaults to `goauthentik.io/sources/%(slug)s`.
	// +kubebuilder:validation:Optional
	UserPathTemplate *string `json:"userPathTemplate,omitempty" tf:"user_path_template,omitempty"`
}

func (*SourceOAuthParameters) DeepCopy

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

func (*SourceOAuthParameters) DeepCopyInto

func (in *SourceOAuthParameters) DeepCopyInto(out *SourceOAuthParameters)

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

type SourceOAuthSpec

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

SourceOAuthSpec defines the desired state of SourceOAuth

func (*SourceOAuthSpec) DeepCopy

func (in *SourceOAuthSpec) DeepCopy() *SourceOAuthSpec

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

func (*SourceOAuthSpec) DeepCopyInto

func (in *SourceOAuthSpec) DeepCopyInto(out *SourceOAuthSpec)

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

type SourceOAuthStatus

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

SourceOAuthStatus defines the observed state of SourceOAuth.

func (*SourceOAuthStatus) DeepCopy

func (in *SourceOAuthStatus) DeepCopy() *SourceOAuthStatus

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

func (*SourceOAuthStatus) DeepCopyInto

func (in *SourceOAuthStatus) DeepCopyInto(out *SourceOAuthStatus)

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

type SourcePlex

type SourcePlex 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.clientId) || (has(self.initProvider) && has(self.initProvider.clientId))",message="spec.forProvider.clientId is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.plexTokenSecretRef)",message="spec.forProvider.plexTokenSecretRef is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.slug) || (has(self.initProvider) && has(self.initProvider.slug))",message="spec.forProvider.slug is a required parameter"
	Spec   SourcePlexSpec   `json:"spec"`
	Status SourcePlexStatus `json:"status,omitempty"`
}

SourcePlex is the Schema for the SourcePlexs API. +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,authentik}

func (*SourcePlex) DeepCopy

func (in *SourcePlex) DeepCopy() *SourcePlex

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

func (*SourcePlex) DeepCopyInto

func (in *SourcePlex) DeepCopyInto(out *SourcePlex)

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

func (*SourcePlex) DeepCopyObject

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

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

func (*SourcePlex) GetCondition

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

GetCondition of this SourcePlex.

func (*SourcePlex) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this SourcePlex

func (*SourcePlex) GetDeletionPolicy

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

GetDeletionPolicy of this SourcePlex.

func (*SourcePlex) GetID

func (tr *SourcePlex) GetID() string

GetID returns ID of underlying Terraform resource of this SourcePlex

func (*SourcePlex) GetInitParameters

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

GetInitParameters of this SourcePlex

func (*SourcePlex) GetManagementPolicies

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

GetManagementPolicies of this SourcePlex.

func (*SourcePlex) GetMergedParameters

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

GetInitParameters of this SourcePlex

func (*SourcePlex) GetObservation

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

GetObservation of this SourcePlex

func (*SourcePlex) GetParameters

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

GetParameters of this SourcePlex

func (*SourcePlex) GetProviderConfigReference

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

GetProviderConfigReference of this SourcePlex.

func (*SourcePlex) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this SourcePlex.

func (*SourcePlex) GetTerraformResourceType

func (mg *SourcePlex) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this SourcePlex

func (*SourcePlex) GetTerraformSchemaVersion

func (tr *SourcePlex) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*SourcePlex) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this SourcePlex.

func (*SourcePlex) Hub

func (tr *SourcePlex) Hub()

Hub marks this type as a conversion hub.

func (*SourcePlex) LateInitialize

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

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

func (*SourcePlex) ResolveReferences

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

ResolveReferences of this SourcePlex.

func (*SourcePlex) SetConditions

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

SetConditions of this SourcePlex.

func (*SourcePlex) SetDeletionPolicy

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

SetDeletionPolicy of this SourcePlex.

func (*SourcePlex) SetManagementPolicies

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

SetManagementPolicies of this SourcePlex.

func (*SourcePlex) SetObservation

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

SetObservation for this SourcePlex

func (*SourcePlex) SetParameters

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

SetParameters for this SourcePlex

func (*SourcePlex) SetProviderConfigReference

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

SetProviderConfigReference of this SourcePlex.

func (*SourcePlex) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this SourcePlex.

func (*SourcePlex) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this SourcePlex.

type SourcePlexInitParameters

type SourcePlexInitParameters struct {

	// (Boolean) Defaults to true.
	// Defaults to `true`.
	AllowFriends *bool `json:"allowFriends,omitempty" tf:"allow_friends,omitempty"`

	// (List of String)
	AllowedServers []*string `json:"allowedServers,omitempty" tf:"allowed_servers,omitempty"`

	// (String)
	// +crossplane:generate:reference:type=github.com/vhdirk/provider-authentik/apis/authentik/v1alpha1.Flow
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("uuid",true)
	AuthenticationFlow *string `json:"authenticationFlow,omitempty" tf:"authentication_flow,omitempty"`

	// Reference to a Flow in authentik to populate authenticationFlow.
	// +kubebuilder:validation:Optional
	AuthenticationFlowRef *v1.Reference `json:"authenticationFlowRef,omitempty" tf:"-"`

	// Selector for a Flow in authentik to populate authenticationFlow.
	// +kubebuilder:validation:Optional
	AuthenticationFlowSelector *v1.Selector `json:"authenticationFlowSelector,omitempty" tf:"-"`

	// (String)
	ClientID *string `json:"clientId,omitempty" tf:"client_id,omitempty"`

	// (Boolean) Defaults to true.
	// Defaults to `true`.
	Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`

	// (String)
	// +crossplane:generate:reference:type=github.com/vhdirk/provider-authentik/apis/authentik/v1alpha1.Flow
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("uuid",true)
	EnrollmentFlow *string `json:"enrollmentFlow,omitempty" tf:"enrollment_flow,omitempty"`

	// Reference to a Flow in authentik to populate enrollmentFlow.
	// +kubebuilder:validation:Optional
	EnrollmentFlowRef *v1.Reference `json:"enrollmentFlowRef,omitempty" tf:"-"`

	// Selector for a Flow in authentik to populate enrollmentFlow.
	// +kubebuilder:validation:Optional
	EnrollmentFlowSelector *v1.Selector `json:"enrollmentFlowSelector,omitempty" tf:"-"`

	// (String) Allowed values:
	// Allowed values:
	// - `identifier`
	// - `name_link`
	// - `name_deny`
	// Defaults to `identifier`.
	GroupMatchingMode *string `json:"groupMatchingMode,omitempty" tf:"group_matching_mode,omitempty"`

	// (String)
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// (String, Sensitive)
	PlexTokenSecretRef v1.SecretKeySelector `json:"plexTokenSecretRef" tf:"-"`

	// (String) Allowed values:
	// Allowed values:
	// - `all`
	// - `any`
	// Defaults to `any`.
	PolicyEngineMode *string `json:"policyEngineMode,omitempty" tf:"policy_engine_mode,omitempty"`

	// (String)
	Slug *string `json:"slug,omitempty" tf:"slug,omitempty"`

	// (String) Generated.
	// Generated.
	UUID *string `json:"uuid,omitempty" tf:"uuid,omitempty"`

	// (String) Allowed values:
	// Allowed values:
	// - `identifier`
	// - `email_link`
	// - `email_deny`
	// - `username_link`
	// - `username_deny`
	// Defaults to `identifier`.
	UserMatchingMode *string `json:"userMatchingMode,omitempty" tf:"user_matching_mode,omitempty"`

	// (String) Defaults to goauthentik.io/sources/%(slug)s.
	// Defaults to `goauthentik.io/sources/%(slug)s`.
	UserPathTemplate *string `json:"userPathTemplate,omitempty" tf:"user_path_template,omitempty"`
}

func (*SourcePlexInitParameters) DeepCopy

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

func (*SourcePlexInitParameters) DeepCopyInto

func (in *SourcePlexInitParameters) DeepCopyInto(out *SourcePlexInitParameters)

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

type SourcePlexList

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

SourcePlexList contains a list of SourcePlexs

func (*SourcePlexList) DeepCopy

func (in *SourcePlexList) DeepCopy() *SourcePlexList

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

func (*SourcePlexList) DeepCopyInto

func (in *SourcePlexList) DeepCopyInto(out *SourcePlexList)

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

func (*SourcePlexList) DeepCopyObject

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

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

func (*SourcePlexList) GetItems

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

GetItems of this SourcePlexList.

type SourcePlexObservation

type SourcePlexObservation struct {

	// (Boolean) Defaults to true.
	// Defaults to `true`.
	AllowFriends *bool `json:"allowFriends,omitempty" tf:"allow_friends,omitempty"`

	// (List of String)
	AllowedServers []*string `json:"allowedServers,omitempty" tf:"allowed_servers,omitempty"`

	// (String)
	AuthenticationFlow *string `json:"authenticationFlow,omitempty" tf:"authentication_flow,omitempty"`

	// (String)
	ClientID *string `json:"clientId,omitempty" tf:"client_id,omitempty"`

	// (Boolean) Defaults to true.
	// Defaults to `true`.
	Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`

	// (String)
	EnrollmentFlow *string `json:"enrollmentFlow,omitempty" tf:"enrollment_flow,omitempty"`

	// (String) Allowed values:
	// Allowed values:
	// - `identifier`
	// - `name_link`
	// - `name_deny`
	// Defaults to `identifier`.
	GroupMatchingMode *string `json:"groupMatchingMode,omitempty" tf:"group_matching_mode,omitempty"`

	// (String) The ID of this resource.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// (String)
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// (String) Allowed values:
	// Allowed values:
	// - `all`
	// - `any`
	// Defaults to `any`.
	PolicyEngineMode *string `json:"policyEngineMode,omitempty" tf:"policy_engine_mode,omitempty"`

	// (String)
	Slug *string `json:"slug,omitempty" tf:"slug,omitempty"`

	// (String) Generated.
	// Generated.
	UUID *string `json:"uuid,omitempty" tf:"uuid,omitempty"`

	// (String) Allowed values:
	// Allowed values:
	// - `identifier`
	// - `email_link`
	// - `email_deny`
	// - `username_link`
	// - `username_deny`
	// Defaults to `identifier`.
	UserMatchingMode *string `json:"userMatchingMode,omitempty" tf:"user_matching_mode,omitempty"`

	// (String) Defaults to goauthentik.io/sources/%(slug)s.
	// Defaults to `goauthentik.io/sources/%(slug)s`.
	UserPathTemplate *string `json:"userPathTemplate,omitempty" tf:"user_path_template,omitempty"`
}

func (*SourcePlexObservation) DeepCopy

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

func (*SourcePlexObservation) DeepCopyInto

func (in *SourcePlexObservation) DeepCopyInto(out *SourcePlexObservation)

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

type SourcePlexParameters

type SourcePlexParameters struct {

	// (Boolean) Defaults to true.
	// Defaults to `true`.
	// +kubebuilder:validation:Optional
	AllowFriends *bool `json:"allowFriends,omitempty" tf:"allow_friends,omitempty"`

	// (List of String)
	// +kubebuilder:validation:Optional
	AllowedServers []*string `json:"allowedServers,omitempty" tf:"allowed_servers,omitempty"`

	// (String)
	// +crossplane:generate:reference:type=github.com/vhdirk/provider-authentik/apis/authentik/v1alpha1.Flow
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("uuid",true)
	// +kubebuilder:validation:Optional
	AuthenticationFlow *string `json:"authenticationFlow,omitempty" tf:"authentication_flow,omitempty"`

	// Reference to a Flow in authentik to populate authenticationFlow.
	// +kubebuilder:validation:Optional
	AuthenticationFlowRef *v1.Reference `json:"authenticationFlowRef,omitempty" tf:"-"`

	// Selector for a Flow in authentik to populate authenticationFlow.
	// +kubebuilder:validation:Optional
	AuthenticationFlowSelector *v1.Selector `json:"authenticationFlowSelector,omitempty" tf:"-"`

	// (String)
	// +kubebuilder:validation:Optional
	ClientID *string `json:"clientId,omitempty" tf:"client_id,omitempty"`

	// (Boolean) Defaults to true.
	// Defaults to `true`.
	// +kubebuilder:validation:Optional
	Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`

	// (String)
	// +crossplane:generate:reference:type=github.com/vhdirk/provider-authentik/apis/authentik/v1alpha1.Flow
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("uuid",true)
	// +kubebuilder:validation:Optional
	EnrollmentFlow *string `json:"enrollmentFlow,omitempty" tf:"enrollment_flow,omitempty"`

	// Reference to a Flow in authentik to populate enrollmentFlow.
	// +kubebuilder:validation:Optional
	EnrollmentFlowRef *v1.Reference `json:"enrollmentFlowRef,omitempty" tf:"-"`

	// Selector for a Flow in authentik to populate enrollmentFlow.
	// +kubebuilder:validation:Optional
	EnrollmentFlowSelector *v1.Selector `json:"enrollmentFlowSelector,omitempty" tf:"-"`

	// (String) Allowed values:
	// Allowed values:
	// - `identifier`
	// - `name_link`
	// - `name_deny`
	// Defaults to `identifier`.
	// +kubebuilder:validation:Optional
	GroupMatchingMode *string `json:"groupMatchingMode,omitempty" tf:"group_matching_mode,omitempty"`

	// (String)
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// (String, Sensitive)
	// +kubebuilder:validation:Optional
	PlexTokenSecretRef v1.SecretKeySelector `json:"plexTokenSecretRef" tf:"-"`

	// (String) Allowed values:
	// Allowed values:
	// - `all`
	// - `any`
	// Defaults to `any`.
	// +kubebuilder:validation:Optional
	PolicyEngineMode *string `json:"policyEngineMode,omitempty" tf:"policy_engine_mode,omitempty"`

	// (String)
	// +kubebuilder:validation:Optional
	Slug *string `json:"slug,omitempty" tf:"slug,omitempty"`

	// (String) Generated.
	// Generated.
	// +kubebuilder:validation:Optional
	UUID *string `json:"uuid,omitempty" tf:"uuid,omitempty"`

	// (String) Allowed values:
	// Allowed values:
	// - `identifier`
	// - `email_link`
	// - `email_deny`
	// - `username_link`
	// - `username_deny`
	// Defaults to `identifier`.
	// +kubebuilder:validation:Optional
	UserMatchingMode *string `json:"userMatchingMode,omitempty" tf:"user_matching_mode,omitempty"`

	// (String) Defaults to goauthentik.io/sources/%(slug)s.
	// Defaults to `goauthentik.io/sources/%(slug)s`.
	// +kubebuilder:validation:Optional
	UserPathTemplate *string `json:"userPathTemplate,omitempty" tf:"user_path_template,omitempty"`
}

func (*SourcePlexParameters) DeepCopy

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

func (*SourcePlexParameters) DeepCopyInto

func (in *SourcePlexParameters) DeepCopyInto(out *SourcePlexParameters)

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

type SourcePlexSpec

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

SourcePlexSpec defines the desired state of SourcePlex

func (*SourcePlexSpec) DeepCopy

func (in *SourcePlexSpec) DeepCopy() *SourcePlexSpec

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

func (*SourcePlexSpec) DeepCopyInto

func (in *SourcePlexSpec) DeepCopyInto(out *SourcePlexSpec)

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

type SourcePlexStatus

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

SourcePlexStatus defines the observed state of SourcePlex.

func (*SourcePlexStatus) DeepCopy

func (in *SourcePlexStatus) DeepCopy() *SourcePlexStatus

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

func (*SourcePlexStatus) DeepCopyInto

func (in *SourcePlexStatus) DeepCopyInto(out *SourcePlexStatus)

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

type SourceSAML

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

SourceSAML is the Schema for the SourceSAMLs API. +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,authentik}

func (*SourceSAML) DeepCopy

func (in *SourceSAML) DeepCopy() *SourceSAML

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

func (*SourceSAML) DeepCopyInto

func (in *SourceSAML) DeepCopyInto(out *SourceSAML)

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

func (*SourceSAML) DeepCopyObject

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

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

func (*SourceSAML) GetCondition

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

GetCondition of this SourceSAML.

func (*SourceSAML) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this SourceSAML

func (*SourceSAML) GetDeletionPolicy

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

GetDeletionPolicy of this SourceSAML.

func (*SourceSAML) GetID

func (tr *SourceSAML) GetID() string

GetID returns ID of underlying Terraform resource of this SourceSAML

func (*SourceSAML) GetInitParameters

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

GetInitParameters of this SourceSAML

func (*SourceSAML) GetManagementPolicies

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

GetManagementPolicies of this SourceSAML.

func (*SourceSAML) GetMergedParameters

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

GetInitParameters of this SourceSAML

func (*SourceSAML) GetObservation

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

GetObservation of this SourceSAML

func (*SourceSAML) GetParameters

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

GetParameters of this SourceSAML

func (*SourceSAML) GetProviderConfigReference

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

GetProviderConfigReference of this SourceSAML.

func (*SourceSAML) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this SourceSAML.

func (*SourceSAML) GetTerraformResourceType

func (mg *SourceSAML) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this SourceSAML

func (*SourceSAML) GetTerraformSchemaVersion

func (tr *SourceSAML) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*SourceSAML) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this SourceSAML.

func (*SourceSAML) Hub

func (tr *SourceSAML) Hub()

Hub marks this type as a conversion hub.

func (*SourceSAML) LateInitialize

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

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

func (*SourceSAML) ResolveReferences

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

ResolveReferences of this SourceSAML.

func (*SourceSAML) SetConditions

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

SetConditions of this SourceSAML.

func (*SourceSAML) SetDeletionPolicy

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

SetDeletionPolicy of this SourceSAML.

func (*SourceSAML) SetManagementPolicies

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

SetManagementPolicies of this SourceSAML.

func (*SourceSAML) SetObservation

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

SetObservation for this SourceSAML

func (*SourceSAML) SetParameters

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

SetParameters for this SourceSAML

func (*SourceSAML) SetProviderConfigReference

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

SetProviderConfigReference of this SourceSAML.

func (*SourceSAML) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this SourceSAML.

func (*SourceSAML) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this SourceSAML.

type SourceSAMLInitParameters

type SourceSAMLInitParameters struct {

	// (Boolean) Defaults to false.
	// Defaults to `false`.
	AllowIdpInitiated *bool `json:"allowIdpInitiated,omitempty" tf:"allow_idp_initiated,omitempty"`

	// (String)
	// +crossplane:generate:reference:type=github.com/vhdirk/provider-authentik/apis/authentik/v1alpha1.Flow
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("uuid",true)
	AuthenticationFlow *string `json:"authenticationFlow,omitempty" tf:"authentication_flow,omitempty"`

	// Reference to a Flow in authentik to populate authenticationFlow.
	// +kubebuilder:validation:Optional
	AuthenticationFlowRef *v1.Reference `json:"authenticationFlowRef,omitempty" tf:"-"`

	// Selector for a Flow in authentik to populate authenticationFlow.
	// +kubebuilder:validation:Optional
	AuthenticationFlowSelector *v1.Selector `json:"authenticationFlowSelector,omitempty" tf:"-"`

	// (String) Allowed values:
	// Allowed values:
	// - `REDIRECT`
	// - `POST`
	// - `POST_AUTO`
	// Defaults to `REDIRECT`.
	BindingType *string `json:"bindingType,omitempty" tf:"binding_type,omitempty"`

	// (String) Allowed values:
	// Allowed values:
	// - `http://www.w3.org/2000/09/xmldsig#sha1`
	// - `http://www.w3.org/2001/04/xmlenc#sha256`
	// - `http://www.w3.org/2001/04/xmldsig-more#sha384`
	// - `http://www.w3.org/2001/04/xmlenc#sha512`
	// Defaults to `http://www.w3.org/2001/04/xmlenc#sha256`.
	DigestAlgorithm *string `json:"digestAlgorithm,omitempty" tf:"digest_algorithm,omitempty"`

	// (Boolean) Defaults to true.
	// Defaults to `true`.
	Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`

	// (String)
	EncryptionKp *string `json:"encryptionKp,omitempty" tf:"encryption_kp,omitempty"`

	// (String)
	// +crossplane:generate:reference:type=github.com/vhdirk/provider-authentik/apis/authentik/v1alpha1.Flow
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("uuid",true)
	EnrollmentFlow *string `json:"enrollmentFlow,omitempty" tf:"enrollment_flow,omitempty"`

	// Reference to a Flow in authentik to populate enrollmentFlow.
	// +kubebuilder:validation:Optional
	EnrollmentFlowRef *v1.Reference `json:"enrollmentFlowRef,omitempty" tf:"-"`

	// Selector for a Flow in authentik to populate enrollmentFlow.
	// +kubebuilder:validation:Optional
	EnrollmentFlowSelector *v1.Selector `json:"enrollmentFlowSelector,omitempty" tf:"-"`

	// (String) Allowed values:
	// Allowed values:
	// - `identifier`
	// - `name_link`
	// - `name_deny`
	// Defaults to `identifier`.
	GroupMatchingMode *string `json:"groupMatchingMode,omitempty" tf:"group_matching_mode,omitempty"`

	// (String)
	Issuer *string `json:"issuer,omitempty" tf:"issuer,omitempty"`

	// (String)
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// (String) Allowed values:
	// Allowed values:
	// - `urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress`
	// - `urn:oasis:names:tc:SAML:2.0:nameid-format:persistent`
	// - `urn:oasis:names:tc:SAML:1.1:nameid-format:X509SubjectName`
	// - `urn:oasis:names:tc:SAML:2.0:nameid-format:WindowsDomainQualifiedName`
	// - `urn:oasis:names:tc:SAML:2.0:nameid-format:transient`
	// Defaults to `urn:oasis:names:tc:SAML:2.0:nameid-format:persistent`.
	NameIDPolicy *string `json:"nameIdPolicy,omitempty" tf:"name_id_policy,omitempty"`

	// (String) Allowed values:
	// Allowed values:
	// - `all`
	// - `any`
	// Defaults to `any`.
	PolicyEngineMode *string `json:"policyEngineMode,omitempty" tf:"policy_engine_mode,omitempty"`

	// (String)
	// +crossplane:generate:reference:type=github.com/vhdirk/provider-authentik/apis/authentik/v1alpha1.Flow
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("uuid",true)
	PreAuthenticationFlow *string `json:"preAuthenticationFlow,omitempty" tf:"pre_authentication_flow,omitempty"`

	// Reference to a Flow in authentik to populate preAuthenticationFlow.
	// +kubebuilder:validation:Optional
	PreAuthenticationFlowRef *v1.Reference `json:"preAuthenticationFlowRef,omitempty" tf:"-"`

	// Selector for a Flow in authentik to populate preAuthenticationFlow.
	// +kubebuilder:validation:Optional
	PreAuthenticationFlowSelector *v1.Selector `json:"preAuthenticationFlowSelector,omitempty" tf:"-"`

	// (String)
	SLOURL *string `json:"sloUrl,omitempty" tf:"slo_url,omitempty"`

	// (String) Allowed values:
	// Allowed values:
	// - `http://www.w3.org/2000/09/xmldsig#rsa-sha1`
	// - `http://www.w3.org/2001/04/xmldsig-more#rsa-sha256`
	// - `http://www.w3.org/2001/04/xmldsig-more#rsa-sha384`
	// - `http://www.w3.org/2001/04/xmldsig-more#rsa-sha512`
	// - `http://www.w3.org/2001/04/xmldsig-more#ecdsa-sha1`
	// - `http://www.w3.org/2001/04/xmldsig-more#ecdsa-sha256`
	// - `http://www.w3.org/2001/04/xmldsig-more#ecdsa-sha384`
	// - `http://www.w3.org/2001/04/xmldsig-more#ecdsa-sha512`
	// - `http://www.w3.org/2000/09/xmldsig#dsa-sha1`
	// Defaults to `http://www.w3.org/2001/04/xmldsig-more#rsa-sha256`.
	SignatureAlgorithm *string `json:"signatureAlgorithm,omitempty" tf:"signature_algorithm,omitempty"`

	// (String)
	SigningKp *string `json:"signingKp,omitempty" tf:"signing_kp,omitempty"`

	// (String)
	Slug *string `json:"slug,omitempty" tf:"slug,omitempty"`

	// (String)
	SsoURL *string `json:"ssoUrl,omitempty" tf:"sso_url,omitempty"`

	// (String) Defaults to days=1.
	// Defaults to `days=1`.
	TemporaryUserDeleteAfter *string `json:"temporaryUserDeleteAfter,omitempty" tf:"temporary_user_delete_after,omitempty"`

	// (String) Generated.
	// Generated.
	UUID *string `json:"uuid,omitempty" tf:"uuid,omitempty"`

	// (String) Allowed values:
	// Allowed values:
	// - `identifier`
	// - `email_link`
	// - `email_deny`
	// - `username_link`
	// - `username_deny`
	// Defaults to `identifier`.
	UserMatchingMode *string `json:"userMatchingMode,omitempty" tf:"user_matching_mode,omitempty"`

	// (String) Defaults to goauthentik.io/sources/%(slug)s.
	// Defaults to `goauthentik.io/sources/%(slug)s`.
	UserPathTemplate *string `json:"userPathTemplate,omitempty" tf:"user_path_template,omitempty"`
}

func (*SourceSAMLInitParameters) DeepCopy

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

func (*SourceSAMLInitParameters) DeepCopyInto

func (in *SourceSAMLInitParameters) DeepCopyInto(out *SourceSAMLInitParameters)

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

type SourceSAMLList

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

SourceSAMLList contains a list of SourceSAMLs

func (*SourceSAMLList) DeepCopy

func (in *SourceSAMLList) DeepCopy() *SourceSAMLList

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

func (*SourceSAMLList) DeepCopyInto

func (in *SourceSAMLList) DeepCopyInto(out *SourceSAMLList)

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

func (*SourceSAMLList) DeepCopyObject

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

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

func (*SourceSAMLList) GetItems

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

GetItems of this SourceSAMLList.

type SourceSAMLObservation

type SourceSAMLObservation struct {

	// (Boolean) Defaults to false.
	// Defaults to `false`.
	AllowIdpInitiated *bool `json:"allowIdpInitiated,omitempty" tf:"allow_idp_initiated,omitempty"`

	// (String)
	AuthenticationFlow *string `json:"authenticationFlow,omitempty" tf:"authentication_flow,omitempty"`

	// (String) Allowed values:
	// Allowed values:
	// - `REDIRECT`
	// - `POST`
	// - `POST_AUTO`
	// Defaults to `REDIRECT`.
	BindingType *string `json:"bindingType,omitempty" tf:"binding_type,omitempty"`

	// (String) Allowed values:
	// Allowed values:
	// - `http://www.w3.org/2000/09/xmldsig#sha1`
	// - `http://www.w3.org/2001/04/xmlenc#sha256`
	// - `http://www.w3.org/2001/04/xmldsig-more#sha384`
	// - `http://www.w3.org/2001/04/xmlenc#sha512`
	// Defaults to `http://www.w3.org/2001/04/xmlenc#sha256`.
	DigestAlgorithm *string `json:"digestAlgorithm,omitempty" tf:"digest_algorithm,omitempty"`

	// (Boolean) Defaults to true.
	// Defaults to `true`.
	Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`

	// (String)
	EncryptionKp *string `json:"encryptionKp,omitempty" tf:"encryption_kp,omitempty"`

	// (String)
	EnrollmentFlow *string `json:"enrollmentFlow,omitempty" tf:"enrollment_flow,omitempty"`

	// (String) Allowed values:
	// Allowed values:
	// - `identifier`
	// - `name_link`
	// - `name_deny`
	// Defaults to `identifier`.
	GroupMatchingMode *string `json:"groupMatchingMode,omitempty" tf:"group_matching_mode,omitempty"`

	// (String) The ID of this resource.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// (String)
	Issuer *string `json:"issuer,omitempty" tf:"issuer,omitempty"`

	// (String) SAML Metadata Generated.
	// SAML Metadata Generated.
	Metadata *string `json:"metadata,omitempty" tf:"metadata,omitempty"`

	// (String)
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// (String) Allowed values:
	// Allowed values:
	// - `urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress`
	// - `urn:oasis:names:tc:SAML:2.0:nameid-format:persistent`
	// - `urn:oasis:names:tc:SAML:1.1:nameid-format:X509SubjectName`
	// - `urn:oasis:names:tc:SAML:2.0:nameid-format:WindowsDomainQualifiedName`
	// - `urn:oasis:names:tc:SAML:2.0:nameid-format:transient`
	// Defaults to `urn:oasis:names:tc:SAML:2.0:nameid-format:persistent`.
	NameIDPolicy *string `json:"nameIdPolicy,omitempty" tf:"name_id_policy,omitempty"`

	// (String) Allowed values:
	// Allowed values:
	// - `all`
	// - `any`
	// Defaults to `any`.
	PolicyEngineMode *string `json:"policyEngineMode,omitempty" tf:"policy_engine_mode,omitempty"`

	// (String)
	PreAuthenticationFlow *string `json:"preAuthenticationFlow,omitempty" tf:"pre_authentication_flow,omitempty"`

	// (String)
	SLOURL *string `json:"sloUrl,omitempty" tf:"slo_url,omitempty"`

	// (String) Allowed values:
	// Allowed values:
	// - `http://www.w3.org/2000/09/xmldsig#rsa-sha1`
	// - `http://www.w3.org/2001/04/xmldsig-more#rsa-sha256`
	// - `http://www.w3.org/2001/04/xmldsig-more#rsa-sha384`
	// - `http://www.w3.org/2001/04/xmldsig-more#rsa-sha512`
	// - `http://www.w3.org/2001/04/xmldsig-more#ecdsa-sha1`
	// - `http://www.w3.org/2001/04/xmldsig-more#ecdsa-sha256`
	// - `http://www.w3.org/2001/04/xmldsig-more#ecdsa-sha384`
	// - `http://www.w3.org/2001/04/xmldsig-more#ecdsa-sha512`
	// - `http://www.w3.org/2000/09/xmldsig#dsa-sha1`
	// Defaults to `http://www.w3.org/2001/04/xmldsig-more#rsa-sha256`.
	SignatureAlgorithm *string `json:"signatureAlgorithm,omitempty" tf:"signature_algorithm,omitempty"`

	// (String)
	SigningKp *string `json:"signingKp,omitempty" tf:"signing_kp,omitempty"`

	// (String)
	Slug *string `json:"slug,omitempty" tf:"slug,omitempty"`

	// (String)
	SsoURL *string `json:"ssoUrl,omitempty" tf:"sso_url,omitempty"`

	// (String) Defaults to days=1.
	// Defaults to `days=1`.
	TemporaryUserDeleteAfter *string `json:"temporaryUserDeleteAfter,omitempty" tf:"temporary_user_delete_after,omitempty"`

	// (String) Generated.
	// Generated.
	UUID *string `json:"uuid,omitempty" tf:"uuid,omitempty"`

	// (String) Allowed values:
	// Allowed values:
	// - `identifier`
	// - `email_link`
	// - `email_deny`
	// - `username_link`
	// - `username_deny`
	// Defaults to `identifier`.
	UserMatchingMode *string `json:"userMatchingMode,omitempty" tf:"user_matching_mode,omitempty"`

	// (String) Defaults to goauthentik.io/sources/%(slug)s.
	// Defaults to `goauthentik.io/sources/%(slug)s`.
	UserPathTemplate *string `json:"userPathTemplate,omitempty" tf:"user_path_template,omitempty"`
}

func (*SourceSAMLObservation) DeepCopy

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

func (*SourceSAMLObservation) DeepCopyInto

func (in *SourceSAMLObservation) DeepCopyInto(out *SourceSAMLObservation)

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

type SourceSAMLParameters

type SourceSAMLParameters struct {

	// (Boolean) Defaults to false.
	// Defaults to `false`.
	// +kubebuilder:validation:Optional
	AllowIdpInitiated *bool `json:"allowIdpInitiated,omitempty" tf:"allow_idp_initiated,omitempty"`

	// (String)
	// +crossplane:generate:reference:type=github.com/vhdirk/provider-authentik/apis/authentik/v1alpha1.Flow
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("uuid",true)
	// +kubebuilder:validation:Optional
	AuthenticationFlow *string `json:"authenticationFlow,omitempty" tf:"authentication_flow,omitempty"`

	// Reference to a Flow in authentik to populate authenticationFlow.
	// +kubebuilder:validation:Optional
	AuthenticationFlowRef *v1.Reference `json:"authenticationFlowRef,omitempty" tf:"-"`

	// Selector for a Flow in authentik to populate authenticationFlow.
	// +kubebuilder:validation:Optional
	AuthenticationFlowSelector *v1.Selector `json:"authenticationFlowSelector,omitempty" tf:"-"`

	// (String) Allowed values:
	// Allowed values:
	// - `REDIRECT`
	// - `POST`
	// - `POST_AUTO`
	// Defaults to `REDIRECT`.
	// +kubebuilder:validation:Optional
	BindingType *string `json:"bindingType,omitempty" tf:"binding_type,omitempty"`

	// (String) Allowed values:
	// Allowed values:
	// - `http://www.w3.org/2000/09/xmldsig#sha1`
	// - `http://www.w3.org/2001/04/xmlenc#sha256`
	// - `http://www.w3.org/2001/04/xmldsig-more#sha384`
	// - `http://www.w3.org/2001/04/xmlenc#sha512`
	// Defaults to `http://www.w3.org/2001/04/xmlenc#sha256`.
	// +kubebuilder:validation:Optional
	DigestAlgorithm *string `json:"digestAlgorithm,omitempty" tf:"digest_algorithm,omitempty"`

	// (Boolean) Defaults to true.
	// Defaults to `true`.
	// +kubebuilder:validation:Optional
	Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`

	// (String)
	// +kubebuilder:validation:Optional
	EncryptionKp *string `json:"encryptionKp,omitempty" tf:"encryption_kp,omitempty"`

	// (String)
	// +crossplane:generate:reference:type=github.com/vhdirk/provider-authentik/apis/authentik/v1alpha1.Flow
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("uuid",true)
	// +kubebuilder:validation:Optional
	EnrollmentFlow *string `json:"enrollmentFlow,omitempty" tf:"enrollment_flow,omitempty"`

	// Reference to a Flow in authentik to populate enrollmentFlow.
	// +kubebuilder:validation:Optional
	EnrollmentFlowRef *v1.Reference `json:"enrollmentFlowRef,omitempty" tf:"-"`

	// Selector for a Flow in authentik to populate enrollmentFlow.
	// +kubebuilder:validation:Optional
	EnrollmentFlowSelector *v1.Selector `json:"enrollmentFlowSelector,omitempty" tf:"-"`

	// (String) Allowed values:
	// Allowed values:
	// - `identifier`
	// - `name_link`
	// - `name_deny`
	// Defaults to `identifier`.
	// +kubebuilder:validation:Optional
	GroupMatchingMode *string `json:"groupMatchingMode,omitempty" tf:"group_matching_mode,omitempty"`

	// (String)
	// +kubebuilder:validation:Optional
	Issuer *string `json:"issuer,omitempty" tf:"issuer,omitempty"`

	// (String)
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// (String) Allowed values:
	// Allowed values:
	// - `urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress`
	// - `urn:oasis:names:tc:SAML:2.0:nameid-format:persistent`
	// - `urn:oasis:names:tc:SAML:1.1:nameid-format:X509SubjectName`
	// - `urn:oasis:names:tc:SAML:2.0:nameid-format:WindowsDomainQualifiedName`
	// - `urn:oasis:names:tc:SAML:2.0:nameid-format:transient`
	// Defaults to `urn:oasis:names:tc:SAML:2.0:nameid-format:persistent`.
	// +kubebuilder:validation:Optional
	NameIDPolicy *string `json:"nameIdPolicy,omitempty" tf:"name_id_policy,omitempty"`

	// (String) Allowed values:
	// Allowed values:
	// - `all`
	// - `any`
	// Defaults to `any`.
	// +kubebuilder:validation:Optional
	PolicyEngineMode *string `json:"policyEngineMode,omitempty" tf:"policy_engine_mode,omitempty"`

	// (String)
	// +crossplane:generate:reference:type=github.com/vhdirk/provider-authentik/apis/authentik/v1alpha1.Flow
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("uuid",true)
	// +kubebuilder:validation:Optional
	PreAuthenticationFlow *string `json:"preAuthenticationFlow,omitempty" tf:"pre_authentication_flow,omitempty"`

	// Reference to a Flow in authentik to populate preAuthenticationFlow.
	// +kubebuilder:validation:Optional
	PreAuthenticationFlowRef *v1.Reference `json:"preAuthenticationFlowRef,omitempty" tf:"-"`

	// Selector for a Flow in authentik to populate preAuthenticationFlow.
	// +kubebuilder:validation:Optional
	PreAuthenticationFlowSelector *v1.Selector `json:"preAuthenticationFlowSelector,omitempty" tf:"-"`

	// (String)
	// +kubebuilder:validation:Optional
	SLOURL *string `json:"sloUrl,omitempty" tf:"slo_url,omitempty"`

	// (String) Allowed values:
	// Allowed values:
	// - `http://www.w3.org/2000/09/xmldsig#rsa-sha1`
	// - `http://www.w3.org/2001/04/xmldsig-more#rsa-sha256`
	// - `http://www.w3.org/2001/04/xmldsig-more#rsa-sha384`
	// - `http://www.w3.org/2001/04/xmldsig-more#rsa-sha512`
	// - `http://www.w3.org/2001/04/xmldsig-more#ecdsa-sha1`
	// - `http://www.w3.org/2001/04/xmldsig-more#ecdsa-sha256`
	// - `http://www.w3.org/2001/04/xmldsig-more#ecdsa-sha384`
	// - `http://www.w3.org/2001/04/xmldsig-more#ecdsa-sha512`
	// - `http://www.w3.org/2000/09/xmldsig#dsa-sha1`
	// Defaults to `http://www.w3.org/2001/04/xmldsig-more#rsa-sha256`.
	// +kubebuilder:validation:Optional
	SignatureAlgorithm *string `json:"signatureAlgorithm,omitempty" tf:"signature_algorithm,omitempty"`

	// (String)
	// +kubebuilder:validation:Optional
	SigningKp *string `json:"signingKp,omitempty" tf:"signing_kp,omitempty"`

	// (String)
	// +kubebuilder:validation:Optional
	Slug *string `json:"slug,omitempty" tf:"slug,omitempty"`

	// (String)
	// +kubebuilder:validation:Optional
	SsoURL *string `json:"ssoUrl,omitempty" tf:"sso_url,omitempty"`

	// (String) Defaults to days=1.
	// Defaults to `days=1`.
	// +kubebuilder:validation:Optional
	TemporaryUserDeleteAfter *string `json:"temporaryUserDeleteAfter,omitempty" tf:"temporary_user_delete_after,omitempty"`

	// (String) Generated.
	// Generated.
	// +kubebuilder:validation:Optional
	UUID *string `json:"uuid,omitempty" tf:"uuid,omitempty"`

	// (String) Allowed values:
	// Allowed values:
	// - `identifier`
	// - `email_link`
	// - `email_deny`
	// - `username_link`
	// - `username_deny`
	// Defaults to `identifier`.
	// +kubebuilder:validation:Optional
	UserMatchingMode *string `json:"userMatchingMode,omitempty" tf:"user_matching_mode,omitempty"`

	// (String) Defaults to goauthentik.io/sources/%(slug)s.
	// Defaults to `goauthentik.io/sources/%(slug)s`.
	// +kubebuilder:validation:Optional
	UserPathTemplate *string `json:"userPathTemplate,omitempty" tf:"user_path_template,omitempty"`
}

func (*SourceSAMLParameters) DeepCopy

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

func (*SourceSAMLParameters) DeepCopyInto

func (in *SourceSAMLParameters) DeepCopyInto(out *SourceSAMLParameters)

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

type SourceSAMLSpec

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

SourceSAMLSpec defines the desired state of SourceSAML

func (*SourceSAMLSpec) DeepCopy

func (in *SourceSAMLSpec) DeepCopy() *SourceSAMLSpec

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

func (*SourceSAMLSpec) DeepCopyInto

func (in *SourceSAMLSpec) DeepCopyInto(out *SourceSAMLSpec)

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

type SourceSAMLStatus

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

SourceSAMLStatus defines the observed state of SourceSAML.

func (*SourceSAMLStatus) DeepCopy

func (in *SourceSAMLStatus) DeepCopy() *SourceSAMLStatus

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

func (*SourceSAMLStatus) DeepCopyInto

func (in *SourceSAMLStatus) DeepCopyInto(out *SourceSAMLStatus)

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

type User

type User 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   UserSpec   `json:"spec"`
	Status UserStatus `json:"status,omitempty"`
}

User is the Schema for the Users API. +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,authentik}

func (*User) DeepCopy

func (in *User) DeepCopy() *User

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

func (*User) DeepCopyInto

func (in *User) DeepCopyInto(out *User)

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

func (*User) DeepCopyObject

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

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

func (*User) GetCondition

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

GetCondition of this User.

func (*User) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this User

func (*User) GetDeletionPolicy

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

GetDeletionPolicy of this User.

func (*User) GetID

func (tr *User) GetID() string

GetID returns ID of underlying Terraform resource of this User

func (*User) GetInitParameters

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

GetInitParameters of this User

func (*User) GetManagementPolicies

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

GetManagementPolicies of this User.

func (*User) GetMergedParameters

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

GetInitParameters of this User

func (*User) GetObservation

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

GetObservation of this User

func (*User) GetParameters

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

GetParameters of this User

func (*User) GetProviderConfigReference

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

GetProviderConfigReference of this User.

func (*User) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this User.

func (*User) GetTerraformResourceType

func (mg *User) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this User

func (*User) GetTerraformSchemaVersion

func (tr *User) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*User) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this User.

func (*User) Hub

func (tr *User) Hub()

Hub marks this type as a conversion hub.

func (*User) LateInitialize

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

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

func (*User) SetConditions

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

SetConditions of this User.

func (*User) SetDeletionPolicy

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

SetDeletionPolicy of this User.

func (*User) SetManagementPolicies

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

SetManagementPolicies of this User.

func (*User) SetObservation

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

SetObservation for this User

func (*User) SetParameters

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

SetParameters for this User

func (*User) SetProviderConfigReference

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

SetProviderConfigReference of this User.

func (*User) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this User.

func (*User) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this User.

type UserInitParameters

type UserInitParameters struct {

	// (String) JSON format expected. Use jsonencode() to pass objects. Defaults to {}.
	// JSON format expected. Use jsonencode() to pass objects. Defaults to `{}`.
	Attributes *string `json:"attributes,omitempty" tf:"attributes,omitempty"`

	// (String)
	Email *string `json:"email,omitempty" tf:"email,omitempty"`

	// (List of String) Generated.
	// Generated.
	Groups []*string `json:"groups,omitempty" tf:"groups,omitempty"`

	// (Boolean) Defaults to true.
	// Defaults to `true`.
	IsActive *bool `json:"isActive,omitempty" tf:"is_active,omitempty"`

	// (String) Defaults to “.
	// Defaults to “.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// (String, Sensitive) Optionally set the user's password. Changing the password in authentik will not trigger an update here.
	// Optionally set the user's password. Changing the password in authentik will not trigger an update here.
	PasswordSecretRef *v1.SecretKeySelector `json:"passwordSecretRef,omitempty" tf:"-"`

	// (String) Defaults to users.
	// Defaults to `users`.
	Path *string `json:"path,omitempty" tf:"path,omitempty"`

	// (String) Allowed values:
	// Allowed values:
	// - `internal`
	// - `external`
	// - `service_account`
	// - `internal_service_account`
	// Defaults to `internal`.
	Type *string `json:"type,omitempty" tf:"type,omitempty"`

	// (String)
	Username *string `json:"username,omitempty" tf:"username,omitempty"`
}

func (*UserInitParameters) DeepCopy

func (in *UserInitParameters) DeepCopy() *UserInitParameters

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

func (*UserInitParameters) DeepCopyInto

func (in *UserInitParameters) DeepCopyInto(out *UserInitParameters)

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

type UserList

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

UserList contains a list of Users

func (*UserList) DeepCopy

func (in *UserList) DeepCopy() *UserList

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

func (*UserList) DeepCopyInto

func (in *UserList) DeepCopyInto(out *UserList)

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

func (*UserList) DeepCopyObject

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

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

func (*UserList) GetItems

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

GetItems of this UserList.

type UserObservation

type UserObservation struct {

	// (String) JSON format expected. Use jsonencode() to pass objects. Defaults to {}.
	// JSON format expected. Use jsonencode() to pass objects. Defaults to `{}`.
	Attributes *string `json:"attributes,omitempty" tf:"attributes,omitempty"`

	// (String)
	Email *string `json:"email,omitempty" tf:"email,omitempty"`

	// (List of String) Generated.
	// Generated.
	Groups []*string `json:"groups,omitempty" tf:"groups,omitempty"`

	// (String) The ID of this resource.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// (Boolean) Defaults to true.
	// Defaults to `true`.
	IsActive *bool `json:"isActive,omitempty" tf:"is_active,omitempty"`

	// (String) Defaults to “.
	// Defaults to “.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// (String) Defaults to users.
	// Defaults to `users`.
	Path *string `json:"path,omitempty" tf:"path,omitempty"`

	// (String) Allowed values:
	// Allowed values:
	// - `internal`
	// - `external`
	// - `service_account`
	// - `internal_service_account`
	// Defaults to `internal`.
	Type *string `json:"type,omitempty" tf:"type,omitempty"`

	// (String)
	Username *string `json:"username,omitempty" tf:"username,omitempty"`
}

func (*UserObservation) DeepCopy

func (in *UserObservation) DeepCopy() *UserObservation

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

func (*UserObservation) DeepCopyInto

func (in *UserObservation) DeepCopyInto(out *UserObservation)

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

type UserParameters

type UserParameters struct {

	// (String) JSON format expected. Use jsonencode() to pass objects. Defaults to {}.
	// JSON format expected. Use jsonencode() to pass objects. Defaults to `{}`.
	// +kubebuilder:validation:Optional
	Attributes *string `json:"attributes,omitempty" tf:"attributes,omitempty"`

	// (String)
	// +kubebuilder:validation:Optional
	Email *string `json:"email,omitempty" tf:"email,omitempty"`

	// (List of String) Generated.
	// Generated.
	// +kubebuilder:validation:Optional
	Groups []*string `json:"groups,omitempty" tf:"groups,omitempty"`

	// (Boolean) Defaults to true.
	// Defaults to `true`.
	// +kubebuilder:validation:Optional
	IsActive *bool `json:"isActive,omitempty" tf:"is_active,omitempty"`

	// (String) Defaults to “.
	// Defaults to “.
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// (String, Sensitive) Optionally set the user's password. Changing the password in authentik will not trigger an update here.
	// Optionally set the user's password. Changing the password in authentik will not trigger an update here.
	// +kubebuilder:validation:Optional
	PasswordSecretRef *v1.SecretKeySelector `json:"passwordSecretRef,omitempty" tf:"-"`

	// (String) Defaults to users.
	// Defaults to `users`.
	// +kubebuilder:validation:Optional
	Path *string `json:"path,omitempty" tf:"path,omitempty"`

	// (String) Allowed values:
	// Allowed values:
	// - `internal`
	// - `external`
	// - `service_account`
	// - `internal_service_account`
	// Defaults to `internal`.
	// +kubebuilder:validation:Optional
	Type *string `json:"type,omitempty" tf:"type,omitempty"`

	// (String)
	// +kubebuilder:validation:Optional
	Username *string `json:"username,omitempty" tf:"username,omitempty"`
}

func (*UserParameters) DeepCopy

func (in *UserParameters) DeepCopy() *UserParameters

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

func (*UserParameters) DeepCopyInto

func (in *UserParameters) DeepCopyInto(out *UserParameters)

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

type UserSpec

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

UserSpec defines the desired state of User

func (*UserSpec) DeepCopy

func (in *UserSpec) DeepCopy() *UserSpec

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

func (*UserSpec) DeepCopyInto

func (in *UserSpec) DeepCopyInto(out *UserSpec)

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

type UserStatus

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

UserStatus defines the observed state of User.

func (*UserStatus) DeepCopy

func (in *UserStatus) DeepCopy() *UserStatus

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

func (*UserStatus) DeepCopyInto

func (in *UserStatus) DeepCopyInto(out *UserStatus)

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