Documentation ¶
Overview ¶
+kubebuilder:object:generate=true +groupName=groupmembership.okta.upbound.io +versionName=v1alpha1
Index ¶
- Constants
- Variables
- type Memberships
- func (in *Memberships) DeepCopy() *Memberships
- func (in *Memberships) DeepCopyInto(out *Memberships)
- func (in *Memberships) DeepCopyObject() runtime.Object
- func (mg *Memberships) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *Memberships) GetConnectionDetailsMapping() map[string]string
- func (mg *Memberships) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *Memberships) GetID() string
- func (mg *Memberships) GetManagementPolicy() xpv1.ManagementPolicy
- func (tr *Memberships) GetObservation() (map[string]any, error)
- func (tr *Memberships) GetParameters() (map[string]any, error)
- func (mg *Memberships) GetProviderConfigReference() *xpv1.Reference
- func (mg *Memberships) GetProviderReference() *xpv1.Reference
- func (mg *Memberships) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *Memberships) GetTerraformResourceType() string
- func (tr *Memberships) GetTerraformSchemaVersion() int
- func (mg *Memberships) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *Memberships) LateInitialize(attrs []byte) (bool, error)
- func (mg *Memberships) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *Memberships) SetConditions(c ...xpv1.Condition)
- func (mg *Memberships) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *Memberships) SetManagementPolicy(r xpv1.ManagementPolicy)
- func (tr *Memberships) SetObservation(obs map[string]any) error
- func (tr *Memberships) SetParameters(params map[string]any) error
- func (mg *Memberships) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *Memberships) SetProviderReference(r *xpv1.Reference)
- func (mg *Memberships) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *Memberships) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type MembershipsList
- type MembershipsObservation
- type MembershipsParameters
- type MembershipsSpec
- type MembershipsStatus
Constants ¶
const ( CRDGroup = "groupmembership.okta.upbound.io" CRDVersion = "v1alpha1" )
Package type metadata.
Variables ¶
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 )
var ( Memberships_Kind = "Memberships" Memberships_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Memberships_Kind}.String() Memberships_KindAPIVersion = Memberships_Kind + "." + CRDGroupVersion.String() Memberships_GroupVersionKind = CRDGroupVersion.WithKind(Memberships_Kind) )
Repository type metadata.
Functions ¶
This section is empty.
Types ¶
type Memberships ¶
type Memberships struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec MembershipsSpec `json:"spec"` Status MembershipsStatus `json:"status,omitempty"` }
Memberships is the Schema for the Membershipss API. Resource to manage a set of memberships for a specific group. +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 (*Memberships) DeepCopy ¶
func (in *Memberships) DeepCopy() *Memberships
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Memberships.
func (*Memberships) DeepCopyInto ¶
func (in *Memberships) DeepCopyInto(out *Memberships)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Memberships) DeepCopyObject ¶
func (in *Memberships) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Memberships) GetCondition ¶
func (mg *Memberships) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this Memberships.
func (*Memberships) GetConnectionDetailsMapping ¶
func (tr *Memberships) GetConnectionDetailsMapping() map[string]string
GetConnectionDetailsMapping for this Memberships
func (*Memberships) GetDeletionPolicy ¶
func (mg *Memberships) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this Memberships.
func (*Memberships) GetID ¶
func (tr *Memberships) GetID() string
GetID returns ID of underlying Terraform resource of this Memberships
func (*Memberships) GetManagementPolicy ¶
func (mg *Memberships) GetManagementPolicy() xpv1.ManagementPolicy
GetManagementPolicy of this Memberships.
func (*Memberships) GetObservation ¶
func (tr *Memberships) GetObservation() (map[string]any, error)
GetObservation of this Memberships
func (*Memberships) GetParameters ¶
func (tr *Memberships) GetParameters() (map[string]any, error)
GetParameters of this Memberships
func (*Memberships) GetProviderConfigReference ¶
func (mg *Memberships) GetProviderConfigReference() *xpv1.Reference
GetProviderConfigReference of this Memberships.
func (*Memberships) GetProviderReference ¶
func (mg *Memberships) GetProviderReference() *xpv1.Reference
GetProviderReference of this Memberships. Deprecated: Use GetProviderConfigReference.
func (*Memberships) GetPublishConnectionDetailsTo ¶
func (mg *Memberships) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this Memberships.
func (*Memberships) GetTerraformResourceType ¶
func (mg *Memberships) GetTerraformResourceType() string
GetTerraformResourceType returns Terraform resource type for this Memberships
func (*Memberships) GetTerraformSchemaVersion ¶
func (tr *Memberships) GetTerraformSchemaVersion() int
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*Memberships) GetWriteConnectionSecretToReference ¶
func (mg *Memberships) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this Memberships.
func (*Memberships) LateInitialize ¶
func (tr *Memberships) LateInitialize(attrs []byte) (bool, error)
LateInitialize this Memberships using its observed tfState. returns True if there are any spec changes for the resource.
func (*Memberships) ResolveReferences ¶
ResolveReferences of this Memberships.
func (*Memberships) SetConditions ¶
func (mg *Memberships) SetConditions(c ...xpv1.Condition)
SetConditions of this Memberships.
func (*Memberships) SetDeletionPolicy ¶
func (mg *Memberships) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this Memberships.
func (*Memberships) SetManagementPolicy ¶
func (mg *Memberships) SetManagementPolicy(r xpv1.ManagementPolicy)
SetManagementPolicy of this Memberships.
func (*Memberships) SetObservation ¶
func (tr *Memberships) SetObservation(obs map[string]any) error
SetObservation for this Memberships
func (*Memberships) SetParameters ¶
func (tr *Memberships) SetParameters(params map[string]any) error
SetParameters for this Memberships
func (*Memberships) SetProviderConfigReference ¶
func (mg *Memberships) SetProviderConfigReference(r *xpv1.Reference)
SetProviderConfigReference of this Memberships.
func (*Memberships) SetProviderReference ¶
func (mg *Memberships) SetProviderReference(r *xpv1.Reference)
SetProviderReference of this Memberships. Deprecated: Use SetProviderConfigReference.
func (*Memberships) SetPublishConnectionDetailsTo ¶
func (mg *Memberships) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this Memberships.
func (*Memberships) SetWriteConnectionSecretToReference ¶
func (mg *Memberships) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this Memberships.
type MembershipsList ¶
type MembershipsList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Memberships `json:"items"` }
MembershipsList contains a list of Membershipss
func (*MembershipsList) DeepCopy ¶
func (in *MembershipsList) DeepCopy() *MembershipsList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MembershipsList.
func (*MembershipsList) DeepCopyInto ¶
func (in *MembershipsList) DeepCopyInto(out *MembershipsList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MembershipsList) DeepCopyObject ¶
func (in *MembershipsList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*MembershipsList) GetItems ¶
func (l *MembershipsList) GetItems() []resource.Managed
GetItems of this MembershipsList.
type MembershipsObservation ¶
type MembershipsObservation struct { // Okta group ID. // ID of a Okta group. GroupID *string `json:"groupId,omitempty" tf:"group_id,omitempty"` ID *string `json:"id,omitempty" tf:"id,omitempty"` // The resource will concern itself with all users added/deleted to the group; even those managed outside of the resource. // The resource concerns itself with all users added/deleted to the group; even those managed outside of the resource. TrackAllUsers *bool `json:"trackAllUsers,omitempty" tf:"track_all_users,omitempty"` // The list of Okta user IDs which the group should have membership managed for. // The list of Okta user IDs which the group should have membership managed for. Users []*string `json:"users,omitempty" tf:"users,omitempty"` }
func (*MembershipsObservation) DeepCopy ¶
func (in *MembershipsObservation) DeepCopy() *MembershipsObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MembershipsObservation.
func (*MembershipsObservation) DeepCopyInto ¶
func (in *MembershipsObservation) DeepCopyInto(out *MembershipsObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MembershipsParameters ¶
type MembershipsParameters struct { // Okta group ID. // ID of a Okta group. // +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:"-"` // The resource will concern itself with all users added/deleted to the group; even those managed outside of the resource. // The resource concerns itself with all users added/deleted to the group; even those managed outside of the resource. // +kubebuilder:validation:Optional TrackAllUsers *bool `json:"trackAllUsers,omitempty" tf:"track_all_users,omitempty"` // The list of Okta user IDs which the group should have membership managed for. // The list of Okta user IDs which the group should have membership managed for. // +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 Users []*string `json:"users,omitempty" tf:"users,omitempty"` // References to User in user to populate users. // +kubebuilder:validation:Optional UsersRefs []v1.Reference `json:"usersRefs,omitempty" tf:"-"` // Selector for a list of User in user to populate users. // +kubebuilder:validation:Optional UsersSelector *v1.Selector `json:"usersSelector,omitempty" tf:"-"` }
func (*MembershipsParameters) DeepCopy ¶
func (in *MembershipsParameters) DeepCopy() *MembershipsParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MembershipsParameters.
func (*MembershipsParameters) DeepCopyInto ¶
func (in *MembershipsParameters) DeepCopyInto(out *MembershipsParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MembershipsSpec ¶
type MembershipsSpec struct { v1.ResourceSpec `json:",inline"` ForProvider MembershipsParameters `json:"forProvider"` }
MembershipsSpec defines the desired state of Memberships
func (*MembershipsSpec) DeepCopy ¶
func (in *MembershipsSpec) DeepCopy() *MembershipsSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MembershipsSpec.
func (*MembershipsSpec) DeepCopyInto ¶
func (in *MembershipsSpec) DeepCopyInto(out *MembershipsSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MembershipsStatus ¶
type MembershipsStatus struct { v1.ResourceStatus `json:",inline"` AtProvider MembershipsObservation `json:"atProvider,omitempty"` }
MembershipsStatus defines the observed state of Memberships.
func (*MembershipsStatus) DeepCopy ¶
func (in *MembershipsStatus) DeepCopy() *MembershipsStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MembershipsStatus.
func (*MembershipsStatus) DeepCopyInto ¶
func (in *MembershipsStatus) DeepCopyInto(out *MembershipsStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.