v1alpha1

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2023 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Overview

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

Index

Constants

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

Package type metadata.

Variables

View Source
var (
	GroupAssignment_Kind             = "GroupAssignment"
	GroupAssignment_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: GroupAssignment_Kind}.String()
	GroupAssignment_KindAPIVersion   = GroupAssignment_Kind + "." + CRDGroupVersion.String()
	GroupAssignment_GroupVersionKind = CRDGroupVersion.WithKind(GroupAssignment_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
)

Functions

This section is empty.

Types

type GroupAssignment

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

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

func (in *GroupAssignment) DeepCopy() *GroupAssignment

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

func (*GroupAssignment) DeepCopyInto

func (in *GroupAssignment) DeepCopyInto(out *GroupAssignment)

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

func (*GroupAssignment) DeepCopyObject

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

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

func (*GroupAssignment) GetCondition

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

GetCondition of this GroupAssignment.

func (*GroupAssignment) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this GroupAssignment

func (*GroupAssignment) GetDeletionPolicy

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

GetDeletionPolicy of this GroupAssignment.

func (*GroupAssignment) GetID

func (tr *GroupAssignment) GetID() string

GetID returns ID of underlying Terraform resource of this GroupAssignment

func (*GroupAssignment) GetManagementPolicy

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

GetManagementPolicy of this GroupAssignment.

func (*GroupAssignment) GetObservation

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

GetObservation of this GroupAssignment

func (*GroupAssignment) GetParameters

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

GetParameters of this GroupAssignment

func (*GroupAssignment) GetProviderConfigReference

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

GetProviderConfigReference of this GroupAssignment.

func (*GroupAssignment) GetProviderReference

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

GetProviderReference of this GroupAssignment. Deprecated: Use GetProviderConfigReference.

func (*GroupAssignment) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this GroupAssignment.

func (*GroupAssignment) GetTerraformResourceType

func (mg *GroupAssignment) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this GroupAssignment

func (*GroupAssignment) GetTerraformSchemaVersion

func (tr *GroupAssignment) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*GroupAssignment) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this GroupAssignment.

func (*GroupAssignment) LateInitialize

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

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

func (*GroupAssignment) ResolveReferences

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

ResolveReferences of this GroupAssignment.

func (*GroupAssignment) SetConditions

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

SetConditions of this GroupAssignment.

func (*GroupAssignment) SetDeletionPolicy

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

SetDeletionPolicy of this GroupAssignment.

func (*GroupAssignment) SetManagementPolicy

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

SetManagementPolicy of this GroupAssignment.

func (*GroupAssignment) SetObservation

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

SetObservation for this GroupAssignment

func (*GroupAssignment) SetParameters

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

SetParameters for this GroupAssignment

func (*GroupAssignment) SetProviderConfigReference

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

SetProviderConfigReference of this GroupAssignment.

func (*GroupAssignment) SetProviderReference

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

SetProviderReference of this GroupAssignment. Deprecated: Use SetProviderConfigReference.

func (*GroupAssignment) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this GroupAssignment.

func (*GroupAssignment) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this GroupAssignment.

type GroupAssignmentList

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

GroupAssignmentList contains a list of GroupAssignments

func (*GroupAssignmentList) DeepCopy

func (in *GroupAssignmentList) DeepCopy() *GroupAssignmentList

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

func (*GroupAssignmentList) DeepCopyInto

func (in *GroupAssignmentList) DeepCopyInto(out *GroupAssignmentList)

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

func (*GroupAssignmentList) DeepCopyObject

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

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

func (*GroupAssignmentList) GetItems

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

GetItems of this GroupAssignmentList.

type GroupAssignmentObservation

type GroupAssignmentObservation struct {

	// App to associate group with
	AppID *string `json:"appId,omitempty" tf:"app_id,omitempty"`

	// Group associated with the application
	GroupID *string `json:"groupId,omitempty" tf:"group_id,omitempty"`

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

	// Priority of group assignment.
	Priority *float64 `json:"priority,omitempty" tf:"priority,omitempty"`

	// JSON document containing [application profile](https://developer.okta.com/docs/reference/api/apps/#profile-object)
	Profile *string `json:"profile,omitempty" tf:"profile,omitempty"`

	// Retain the group assignment on destroy. If set to true, the resource will be removed from state but not from the Okta app.
	RetainAssignment *bool `json:"retainAssignment,omitempty" tf:"retain_assignment,omitempty"`
}

func (*GroupAssignmentObservation) DeepCopy

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

func (*GroupAssignmentObservation) DeepCopyInto

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

type GroupAssignmentParameters

type GroupAssignmentParameters struct {

	// App to associate group with
	// +kubebuilder:validation:Optional
	AppID *string `json:"appId,omitempty" tf:"app_id,omitempty"`

	// Group associated with the application
	// +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:"-"`

	// Priority of group assignment.
	// +kubebuilder:validation:Optional
	Priority *float64 `json:"priority,omitempty" tf:"priority,omitempty"`

	// JSON document containing [application profile](https://developer.okta.com/docs/reference/api/apps/#profile-object)
	// +kubebuilder:validation:Optional
	Profile *string `json:"profile,omitempty" tf:"profile,omitempty"`

	// Retain the group assignment on destroy. If set to true, the resource will be removed from state but not from the Okta app.
	// +kubebuilder:validation:Optional
	RetainAssignment *bool `json:"retainAssignment,omitempty" tf:"retain_assignment,omitempty"`
}

func (*GroupAssignmentParameters) DeepCopy

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

func (*GroupAssignmentParameters) DeepCopyInto

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

type GroupAssignmentSpec

type GroupAssignmentSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     GroupAssignmentParameters `json:"forProvider"`
}

GroupAssignmentSpec defines the desired state of GroupAssignment

func (*GroupAssignmentSpec) DeepCopy

func (in *GroupAssignmentSpec) DeepCopy() *GroupAssignmentSpec

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

func (*GroupAssignmentSpec) DeepCopyInto

func (in *GroupAssignmentSpec) DeepCopyInto(out *GroupAssignmentSpec)

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

type GroupAssignmentStatus

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

GroupAssignmentStatus defines the observed state of GroupAssignment.

func (*GroupAssignmentStatus) DeepCopy

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

func (*GroupAssignmentStatus) DeepCopyInto

func (in *GroupAssignmentStatus) DeepCopyInto(out *GroupAssignmentStatus)

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