v1alpha1

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Overview

+kubebuilder:object:generate=true +groupName=group.okta.upbound.io +versionName=v1alpha1

Index

Constants

View Source
const (
	CRDGroup   = "group.okta.upbound.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 (
	Role_Kind             = "Role"
	Role_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Role_Kind}.String()
	Role_KindAPIVersion   = Role_Kind + "." + CRDGroupVersion.String()
	Role_GroupVersionKind = CRDGroupVersion.WithKind(Role_Kind)
)

Repository type metadata.

View Source
var (
	Rule_Kind             = "Rule"
	Rule_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Rule_Kind}.String()
	Rule_KindAPIVersion   = Rule_Kind + "." + CRDGroupVersion.String()
	Rule_GroupVersionKind = CRDGroupVersion.WithKind(Rule_Kind)
)

Repository type metadata.

Functions

func GroupID

func GroupID() reference.ExtractValueFn

GroupID returns an extractor that returns the Group ID.

Types

type Group

type Group struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	// +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.name)",message="name is a required parameter"
	Spec   GroupSpec   `json:"spec"`
	Status GroupStatus `json:"status,omitempty"`
}

Group is the Schema for the Groups API. <no value> +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,okta}

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) GetManagementPolicy

func (mg *Group) GetManagementPolicy() xpv1.ManagementPolicy

GetManagementPolicy 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) GetProviderReference

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

GetProviderReference of this Group. Deprecated: Use GetProviderConfigReference.

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) 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) 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) SetManagementPolicy

func (mg *Group) SetManagementPolicy(r xpv1.ManagementPolicy)

SetManagementPolicy 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) SetProviderReference

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

SetProviderReference of this Group. Deprecated: Use SetProviderConfigReference.

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 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 {

	// JSON formatted custom attributes for a group. It must be JSON due to various types Okta allows.
	CustomProfileAttributes *string `json:"customProfileAttributes,omitempty" tf:"custom_profile_attributes,omitempty"`

	// Group description
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

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

	// Group name
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// Ignore users sync. This is a temporary solution until 'users' field is supported in all the app-like resources
	SkipUsers *bool `json:"skipUsers,omitempty" tf:"skip_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 {

	// JSON formatted custom attributes for a group. It must be JSON due to various types Okta allows.
	// +kubebuilder:validation:Optional
	CustomProfileAttributes *string `json:"customProfileAttributes,omitempty" tf:"custom_profile_attributes,omitempty"`

	// Group description
	// +kubebuilder:validation:Optional
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

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

	// Ignore users sync. This is a temporary solution until 'users' field is supported in all the app-like resources
	// +kubebuilder:validation:Optional
	SkipUsers *bool `json:"skipUsers,omitempty" tf:"skip_users,omitempty"`
}

func (*GroupParameters) DeepCopy

func (in *GroupParameters) DeepCopy() *GroupParameters

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

func (*GroupParameters) DeepCopyInto

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

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

type GroupSpec

type GroupSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     GroupParameters `json:"forProvider"`
}

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

type Role struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	// +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.roleType)",message="roleType is a required parameter"
	Spec   RoleSpec   `json:"spec"`
	Status RoleStatus `json:"status,omitempty"`
}

Role is the Schema for the Roles API. <no value> +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,okta}

func (*Role) DeepCopy added in v0.2.0

func (in *Role) DeepCopy() *Role

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

func (*Role) DeepCopyInto added in v0.2.0

func (in *Role) DeepCopyInto(out *Role)

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

func (*Role) DeepCopyObject added in v0.2.0

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

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

func (*Role) GetCondition added in v0.2.0

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

GetCondition of this Role.

func (*Role) GetConnectionDetailsMapping added in v0.2.0

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

GetConnectionDetailsMapping for this Role

func (*Role) GetDeletionPolicy added in v0.2.0

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

GetDeletionPolicy of this Role.

func (*Role) GetID added in v0.2.0

func (tr *Role) GetID() string

GetID returns ID of underlying Terraform resource of this Role

func (*Role) GetManagementPolicy added in v0.2.0

func (mg *Role) GetManagementPolicy() xpv1.ManagementPolicy

GetManagementPolicy of this Role.

func (*Role) GetObservation added in v0.2.0

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

GetObservation of this Role

func (*Role) GetParameters added in v0.2.0

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

GetParameters of this Role

func (*Role) GetProviderConfigReference added in v0.2.0

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

GetProviderConfigReference of this Role.

func (*Role) GetProviderReference added in v0.2.0

func (mg *Role) GetProviderReference() *xpv1.Reference

GetProviderReference of this Role. Deprecated: Use GetProviderConfigReference.

func (*Role) GetPublishConnectionDetailsTo added in v0.2.0

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

GetPublishConnectionDetailsTo of this Role.

func (*Role) GetTerraformResourceType added in v0.2.0

func (mg *Role) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Role

func (*Role) GetTerraformSchemaVersion added in v0.2.0

func (tr *Role) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Role) GetWriteConnectionSecretToReference added in v0.2.0

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

GetWriteConnectionSecretToReference of this Role.

func (*Role) LateInitialize added in v0.2.0

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

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

func (*Role) ResolveReferences added in v0.2.0

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

ResolveReferences of this Role.

func (*Role) SetConditions added in v0.2.0

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

SetConditions of this Role.

func (*Role) SetDeletionPolicy added in v0.2.0

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

SetDeletionPolicy of this Role.

func (*Role) SetManagementPolicy added in v0.2.0

func (mg *Role) SetManagementPolicy(r xpv1.ManagementPolicy)

SetManagementPolicy of this Role.

func (*Role) SetObservation added in v0.2.0

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

SetObservation for this Role

func (*Role) SetParameters added in v0.2.0

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

SetParameters for this Role

func (*Role) SetProviderConfigReference added in v0.2.0

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

SetProviderConfigReference of this Role.

func (*Role) SetProviderReference added in v0.2.0

func (mg *Role) SetProviderReference(r *xpv1.Reference)

SetProviderReference of this Role. Deprecated: Use SetProviderConfigReference.

func (*Role) SetPublishConnectionDetailsTo added in v0.2.0

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

SetPublishConnectionDetailsTo of this Role.

func (*Role) SetWriteConnectionSecretToReference added in v0.2.0

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

SetWriteConnectionSecretToReference of this Role.

type RoleList added in v0.2.0

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

RoleList contains a list of Roles

func (*RoleList) DeepCopy added in v0.2.0

func (in *RoleList) DeepCopy() *RoleList

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

func (*RoleList) DeepCopyInto added in v0.2.0

func (in *RoleList) DeepCopyInto(out *RoleList)

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

func (*RoleList) DeepCopyObject added in v0.2.0

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

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

func (*RoleList) GetItems added in v0.2.0

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

GetItems of this RoleList.

type RoleObservation added in v0.2.0

type RoleObservation struct {

	// When this setting is enabled, the admins won't receive any of the default Okta administrator emails
	DisableNotifications *bool `json:"disableNotifications,omitempty" tf:"disable_notifications,omitempty"`

	// ID of group to attach admin roles to
	GroupID *string `json:"groupId,omitempty" tf:"group_id,omitempty"`

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

	// Type of Role to assign
	RoleType *string `json:"roleType,omitempty" tf:"role_type,omitempty"`

	// List of apps ids for the targets of the admin role.
	TargetAppList []*string `json:"targetAppList,omitempty" tf:"target_app_list,omitempty"`

	// List of groups ids for the targets of the admin role.
	TargetGroupList []*string `json:"targetGroupList,omitempty" tf:"target_group_list,omitempty"`
}

func (*RoleObservation) DeepCopy added in v0.2.0

func (in *RoleObservation) DeepCopy() *RoleObservation

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

func (*RoleObservation) DeepCopyInto added in v0.2.0

func (in *RoleObservation) DeepCopyInto(out *RoleObservation)

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

type RoleParameters added in v0.2.0

type RoleParameters struct {

	// When this setting is enabled, the admins won't receive any of the default Okta administrator emails
	// +kubebuilder:validation:Optional
	DisableNotifications *bool `json:"disableNotifications,omitempty" tf:"disable_notifications,omitempty"`

	// ID of group to attach admin roles to
	// +crossplane:generate:reference:type=github.com/healthcarecom/provider-okta/apis/group/v1alpha1.Group
	// +crossplane:generate:reference:extractor=github.com/healthcarecom/provider-okta/apis/group/v1alpha1.GroupID()
	// +kubebuilder:validation:Optional
	GroupID *string `json:"groupId,omitempty" tf:"group_id,omitempty"`

	// Reference to a Group in group to populate groupId.
	// +kubebuilder:validation:Optional
	GroupIDRef *v1.Reference `json:"groupIdRef,omitempty" tf:"-"`

	// Selector for a Group in group to populate groupId.
	// +kubebuilder:validation:Optional
	GroupIDSelector *v1.Selector `json:"groupIdSelector,omitempty" tf:"-"`

	// Type of Role to assign
	// +kubebuilder:validation:Optional
	RoleType *string `json:"roleType,omitempty" tf:"role_type,omitempty"`

	// List of apps ids for the targets of the admin role.
	// +kubebuilder:validation:Optional
	TargetAppList []*string `json:"targetAppList,omitempty" tf:"target_app_list,omitempty"`

	// List of groups ids for the targets of the admin role.
	// +kubebuilder:validation:Optional
	TargetGroupList []*string `json:"targetGroupList,omitempty" tf:"target_group_list,omitempty"`
}

func (*RoleParameters) DeepCopy added in v0.2.0

func (in *RoleParameters) DeepCopy() *RoleParameters

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

func (*RoleParameters) DeepCopyInto added in v0.2.0

func (in *RoleParameters) DeepCopyInto(out *RoleParameters)

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

type RoleSpec added in v0.2.0

type RoleSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     RoleParameters `json:"forProvider"`
}

RoleSpec defines the desired state of Role

func (*RoleSpec) DeepCopy added in v0.2.0

func (in *RoleSpec) DeepCopy() *RoleSpec

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

func (*RoleSpec) DeepCopyInto added in v0.2.0

func (in *RoleSpec) DeepCopyInto(out *RoleSpec)

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

type RoleStatus added in v0.2.0

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

RoleStatus defines the observed state of Role.

func (*RoleStatus) DeepCopy added in v0.2.0

func (in *RoleStatus) DeepCopy() *RoleStatus

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

func (*RoleStatus) DeepCopyInto added in v0.2.0

func (in *RoleStatus) DeepCopyInto(out *RoleStatus)

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

type Rule added in v0.2.0

type Rule struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	// +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.expressionValue)",message="expressionValue is a required parameter"
	// +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.name)",message="name is a required parameter"
	Spec   RuleSpec   `json:"spec"`
	Status RuleStatus `json:"status,omitempty"`
}

Rule is the Schema for the Rules API. <no value> +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,okta}

func (*Rule) DeepCopy added in v0.2.0

func (in *Rule) DeepCopy() *Rule

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

func (*Rule) DeepCopyInto added in v0.2.0

func (in *Rule) DeepCopyInto(out *Rule)

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

func (*Rule) DeepCopyObject added in v0.2.0

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

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

func (*Rule) GetCondition added in v0.2.0

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

GetCondition of this Rule.

func (*Rule) GetConnectionDetailsMapping added in v0.2.0

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

GetConnectionDetailsMapping for this Rule

func (*Rule) GetDeletionPolicy added in v0.2.0

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

GetDeletionPolicy of this Rule.

func (*Rule) GetID added in v0.2.0

func (tr *Rule) GetID() string

GetID returns ID of underlying Terraform resource of this Rule

func (*Rule) GetManagementPolicy added in v0.2.0

func (mg *Rule) GetManagementPolicy() xpv1.ManagementPolicy

GetManagementPolicy of this Rule.

func (*Rule) GetObservation added in v0.2.0

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

GetObservation of this Rule

func (*Rule) GetParameters added in v0.2.0

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

GetParameters of this Rule

func (*Rule) GetProviderConfigReference added in v0.2.0

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

GetProviderConfigReference of this Rule.

func (*Rule) GetProviderReference added in v0.2.0

func (mg *Rule) GetProviderReference() *xpv1.Reference

GetProviderReference of this Rule. Deprecated: Use GetProviderConfigReference.

func (*Rule) GetPublishConnectionDetailsTo added in v0.2.0

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

GetPublishConnectionDetailsTo of this Rule.

func (*Rule) GetTerraformResourceType added in v0.2.0

func (mg *Rule) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Rule

func (*Rule) GetTerraformSchemaVersion added in v0.2.0

func (tr *Rule) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Rule) GetWriteConnectionSecretToReference added in v0.2.0

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

GetWriteConnectionSecretToReference of this Rule.

func (*Rule) LateInitialize added in v0.2.0

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

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

func (*Rule) ResolveReferences added in v0.2.0

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

ResolveReferences of this Rule.

func (*Rule) SetConditions added in v0.2.0

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

SetConditions of this Rule.

func (*Rule) SetDeletionPolicy added in v0.2.0

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

SetDeletionPolicy of this Rule.

func (*Rule) SetManagementPolicy added in v0.2.0

func (mg *Rule) SetManagementPolicy(r xpv1.ManagementPolicy)

SetManagementPolicy of this Rule.

func (*Rule) SetObservation added in v0.2.0

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

SetObservation for this Rule

func (*Rule) SetParameters added in v0.2.0

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

SetParameters for this Rule

func (*Rule) SetProviderConfigReference added in v0.2.0

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

SetProviderConfigReference of this Rule.

func (*Rule) SetProviderReference added in v0.2.0

func (mg *Rule) SetProviderReference(r *xpv1.Reference)

SetProviderReference of this Rule. Deprecated: Use SetProviderConfigReference.

func (*Rule) SetPublishConnectionDetailsTo added in v0.2.0

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

SetPublishConnectionDetailsTo of this Rule.

func (*Rule) SetWriteConnectionSecretToReference added in v0.2.0

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

SetWriteConnectionSecretToReference of this Rule.

type RuleList added in v0.2.0

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

RuleList contains a list of Rules

func (*RuleList) DeepCopy added in v0.2.0

func (in *RuleList) DeepCopy() *RuleList

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

func (*RuleList) DeepCopyInto added in v0.2.0

func (in *RuleList) DeepCopyInto(out *RuleList)

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

func (*RuleList) DeepCopyObject added in v0.2.0

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

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

func (*RuleList) GetItems added in v0.2.0

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

GetItems of this RuleList.

type RuleObservation added in v0.2.0

type RuleObservation struct {
	ExpressionType *string `json:"expressionType,omitempty" tf:"expression_type,omitempty"`

	ExpressionValue *string `json:"expressionValue,omitempty" tf:"expression_value,omitempty"`

	GroupAssignments []*string `json:"groupAssignments,omitempty" tf:"group_assignments,omitempty"`

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

	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// Remove users added by this rule from the assigned group after deleting this resource
	RemoveAssignedUsers *bool `json:"removeAssignedUsers,omitempty" tf:"remove_assigned_users,omitempty"`

	Status *string `json:"status,omitempty" tf:"status,omitempty"`

	// The list of user IDs that would be excluded when rules are processed
	UsersExcluded []*string `json:"usersExcluded,omitempty" tf:"users_excluded,omitempty"`
}

func (*RuleObservation) DeepCopy added in v0.2.0

func (in *RuleObservation) DeepCopy() *RuleObservation

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

func (*RuleObservation) DeepCopyInto added in v0.2.0

func (in *RuleObservation) DeepCopyInto(out *RuleObservation)

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

type RuleParameters added in v0.2.0

type RuleParameters struct {

	// +kubebuilder:validation:Optional
	ExpressionType *string `json:"expressionType,omitempty" tf:"expression_type,omitempty"`

	// +kubebuilder:validation:Optional
	ExpressionValue *string `json:"expressionValue,omitempty" tf:"expression_value,omitempty"`

	// +crossplane:generate:reference:type=github.com/healthcarecom/provider-okta/apis/group/v1alpha1.Group
	// +crossplane:generate:reference:extractor=github.com/healthcarecom/provider-okta/apis/group/v1alpha1.GroupID()
	// +kubebuilder:validation:Optional
	GroupAssignments []*string `json:"groupAssignments,omitempty" tf:"group_assignments,omitempty"`

	// References to Group in group to populate groupAssignments.
	// +kubebuilder:validation:Optional
	GroupAssignmentsRefs []v1.Reference `json:"groupAssignmentsRefs,omitempty" tf:"-"`

	// Selector for a list of Group in group to populate groupAssignments.
	// +kubebuilder:validation:Optional
	GroupAssignmentsSelector *v1.Selector `json:"groupAssignmentsSelector,omitempty" tf:"-"`

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

	// Remove users added by this rule from the assigned group after deleting this resource
	// +kubebuilder:validation:Optional
	RemoveAssignedUsers *bool `json:"removeAssignedUsers,omitempty" tf:"remove_assigned_users,omitempty"`

	// +kubebuilder:validation:Optional
	Status *string `json:"status,omitempty" tf:"status,omitempty"`

	// The list of user IDs that would be excluded when rules are processed
	// +kubebuilder:validation:Optional
	UsersExcluded []*string `json:"usersExcluded,omitempty" tf:"users_excluded,omitempty"`
}

func (*RuleParameters) DeepCopy added in v0.2.0

func (in *RuleParameters) DeepCopy() *RuleParameters

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

func (*RuleParameters) DeepCopyInto added in v0.2.0

func (in *RuleParameters) DeepCopyInto(out *RuleParameters)

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

type RuleSpec added in v0.2.0

type RuleSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     RuleParameters `json:"forProvider"`
}

RuleSpec defines the desired state of Rule

func (*RuleSpec) DeepCopy added in v0.2.0

func (in *RuleSpec) DeepCopy() *RuleSpec

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

func (*RuleSpec) DeepCopyInto added in v0.2.0

func (in *RuleSpec) DeepCopyInto(out *RuleSpec)

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

type RuleStatus added in v0.2.0

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

RuleStatus defines the observed state of Rule.

func (*RuleStatus) DeepCopy added in v0.2.0

func (in *RuleStatus) DeepCopy() *RuleStatus

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

func (*RuleStatus) DeepCopyInto added in v0.2.0

func (in *RuleStatus) DeepCopyInto(out *RuleStatus)

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