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: 13 Imported by: 0

Documentation

Overview

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

Index

Constants

View Source
const (
	CRDGroup   = "admin.okta.upbound.io"
	CRDVersion = "v1alpha1"
)

Package type metadata.

Variables

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 (
	RoleTargets_Kind             = "RoleTargets"
	RoleTargets_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: RoleTargets_Kind}.String()
	RoleTargets_KindAPIVersion   = RoleTargets_Kind + "." + CRDGroupVersion.String()
	RoleTargets_GroupVersionKind = CRDGroupVersion.WithKind(RoleTargets_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type RoleTargets

type RoleTargets 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   RoleTargetsSpec   `json:"spec"`
	Status RoleTargetsStatus `json:"status,omitempty"`
}

RoleTargets is the Schema for the RoleTargetss 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 (*RoleTargets) DeepCopy

func (in *RoleTargets) DeepCopy() *RoleTargets

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

func (*RoleTargets) DeepCopyInto

func (in *RoleTargets) DeepCopyInto(out *RoleTargets)

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

func (*RoleTargets) DeepCopyObject

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

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

func (*RoleTargets) GetCondition

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

GetCondition of this RoleTargets.

func (*RoleTargets) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this RoleTargets

func (*RoleTargets) GetDeletionPolicy

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

GetDeletionPolicy of this RoleTargets.

func (*RoleTargets) GetID

func (tr *RoleTargets) GetID() string

GetID returns ID of underlying Terraform resource of this RoleTargets

func (*RoleTargets) GetManagementPolicy

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

GetManagementPolicy of this RoleTargets.

func (*RoleTargets) GetObservation

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

GetObservation of this RoleTargets

func (*RoleTargets) GetParameters

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

GetParameters of this RoleTargets

func (*RoleTargets) GetProviderConfigReference

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

GetProviderConfigReference of this RoleTargets.

func (*RoleTargets) GetProviderReference

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

GetProviderReference of this RoleTargets. Deprecated: Use GetProviderConfigReference.

func (*RoleTargets) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this RoleTargets.

func (*RoleTargets) GetTerraformResourceType

func (mg *RoleTargets) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this RoleTargets

func (*RoleTargets) GetTerraformSchemaVersion

func (tr *RoleTargets) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*RoleTargets) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this RoleTargets.

func (*RoleTargets) LateInitialize

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

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

func (*RoleTargets) ResolveReferences

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

ResolveReferences of this RoleTargets.

func (*RoleTargets) SetConditions

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

SetConditions of this RoleTargets.

func (*RoleTargets) SetDeletionPolicy

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

SetDeletionPolicy of this RoleTargets.

func (*RoleTargets) SetManagementPolicy

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

SetManagementPolicy of this RoleTargets.

func (*RoleTargets) SetObservation

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

SetObservation for this RoleTargets

func (*RoleTargets) SetParameters

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

SetParameters for this RoleTargets

func (*RoleTargets) SetProviderConfigReference

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

SetProviderConfigReference of this RoleTargets.

func (*RoleTargets) SetProviderReference

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

SetProviderReference of this RoleTargets. Deprecated: Use SetProviderConfigReference.

func (*RoleTargets) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this RoleTargets.

func (*RoleTargets) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this RoleTargets.

type RoleTargetsList

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

RoleTargetsList contains a list of RoleTargetss

func (*RoleTargetsList) DeepCopy

func (in *RoleTargetsList) DeepCopy() *RoleTargetsList

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

func (*RoleTargetsList) DeepCopyInto

func (in *RoleTargetsList) DeepCopyInto(out *RoleTargetsList)

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

func (*RoleTargetsList) DeepCopyObject

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

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

func (*RoleTargetsList) GetItems

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

GetItems of this RoleTargetsList.

type RoleTargetsObservation

type RoleTargetsObservation struct {

	// List of app names (name represents set of app instances) or a combination of app name and app instance ID (like 'salesforce' or 'facebook.0oapsqQ6dv19pqyEo0g3')
	Apps []*string `json:"apps,omitempty" tf:"apps,omitempty"`

	// List of group IDs
	Groups []*string `json:"groups,omitempty" tf:"groups,omitempty"`

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

	// ID of a role
	RoleID *string `json:"roleId,omitempty" tf:"role_id,omitempty"`

	// Type of the role that is assigned to the user and supports optional targets
	RoleType *string `json:"roleType,omitempty" tf:"role_type,omitempty"`

	// User associated with the role
	UserID *string `json:"userId,omitempty" tf:"user_id,omitempty"`
}

func (*RoleTargetsObservation) DeepCopy

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

func (*RoleTargetsObservation) DeepCopyInto

func (in *RoleTargetsObservation) DeepCopyInto(out *RoleTargetsObservation)

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

type RoleTargetsParameters

type RoleTargetsParameters struct {

	// List of app names (name represents set of app instances) or a combination of app name and app instance ID (like 'salesforce' or 'facebook.0oapsqQ6dv19pqyEo0g3')
	// +kubebuilder:validation:Optional
	Apps []*string `json:"apps,omitempty" tf:"apps,omitempty"`

	// List of group IDs
	// +kubebuilder:validation:Optional
	Groups []*string `json:"groups,omitempty" tf:"groups,omitempty"`

	// Type of the role that is assigned to the user and supports optional targets
	// +kubebuilder:validation:Optional
	RoleType *string `json:"roleType,omitempty" tf:"role_type,omitempty"`

	// User associated with the role
	// +crossplane:generate:reference:type=github.com/healthcarecom/provider-okta/apis/user/v1alpha1.User
	// +crossplane:generate:reference:extractor=github.com/healthcarecom/provider-okta/apis/user/v1alpha1.UserID()
	// +kubebuilder:validation:Optional
	UserID *string `json:"userId,omitempty" tf:"user_id,omitempty"`

	// Reference to a User in user to populate userId.
	// +kubebuilder:validation:Optional
	UserIDRef *v1.Reference `json:"userIdRef,omitempty" tf:"-"`

	// Selector for a User in user to populate userId.
	// +kubebuilder:validation:Optional
	UserIDSelector *v1.Selector `json:"userIdSelector,omitempty" tf:"-"`
}

func (*RoleTargetsParameters) DeepCopy

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

func (*RoleTargetsParameters) DeepCopyInto

func (in *RoleTargetsParameters) DeepCopyInto(out *RoleTargetsParameters)

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

type RoleTargetsSpec

type RoleTargetsSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     RoleTargetsParameters `json:"forProvider"`
}

RoleTargetsSpec defines the desired state of RoleTargets

func (*RoleTargetsSpec) DeepCopy

func (in *RoleTargetsSpec) DeepCopy() *RoleTargetsSpec

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

func (*RoleTargetsSpec) DeepCopyInto

func (in *RoleTargetsSpec) DeepCopyInto(out *RoleTargetsSpec)

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

type RoleTargetsStatus

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

RoleTargetsStatus defines the observed state of RoleTargets.

func (*RoleTargetsStatus) DeepCopy

func (in *RoleTargetsStatus) DeepCopy() *RoleTargetsStatus

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

func (*RoleTargetsStatus) DeepCopyInto

func (in *RoleTargetsStatus) DeepCopyInto(out *RoleTargetsStatus)

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