v1beta1

package
v0.2.0 Latest Latest
Warning

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

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

Documentation

Overview

+kubebuilder:object:generate=true +groupName=administrativeunits.azuread.upbound.io +versionName=v1beta1

Index

Constants

View Source
const (
	CRDGroup   = "administrativeunits.azuread.upbound.io"
	CRDVersion = "v1beta1"
)

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 (
	Member_Kind             = "Member"
	Member_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Member_Kind}.String()
	Member_KindAPIVersion   = Member_Kind + "." + CRDGroupVersion.String()
	Member_GroupVersionKind = CRDGroupVersion.WithKind(Member_Kind)
)

Repository type metadata.

View Source
var (
	Unit_Kind             = "Unit"
	Unit_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Unit_Kind}.String()
	Unit_KindAPIVersion   = Unit_Kind + "." + CRDGroupVersion.String()
	Unit_GroupVersionKind = CRDGroupVersion.WithKind(Unit_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type Member

type Member struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              MemberSpec   `json:"spec"`
	Status            MemberStatus `json:"status,omitempty"`
}

Member is the Schema for the Members 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,azuread}

func (*Member) DeepCopy

func (in *Member) DeepCopy() *Member

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

func (*Member) DeepCopyInto

func (in *Member) DeepCopyInto(out *Member)

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

func (*Member) DeepCopyObject

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

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

func (*Member) GetCondition

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

GetCondition of this Member.

func (*Member) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Member

func (*Member) GetDeletionPolicy

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

GetDeletionPolicy of this Member.

func (*Member) GetID

func (tr *Member) GetID() string

GetID returns ID of underlying Terraform resource of this Member

func (*Member) GetObservation

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

GetObservation of this Member

func (*Member) GetParameters

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

GetParameters of this Member

func (*Member) GetProviderConfigReference

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

GetProviderConfigReference of this Member.

func (*Member) GetProviderReference

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

GetProviderReference of this Member. Deprecated: Use GetProviderConfigReference.

func (*Member) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Member.

func (*Member) GetTerraformResourceType

func (mg *Member) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Member

func (*Member) GetTerraformSchemaVersion

func (tr *Member) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Member) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Member.

func (*Member) LateInitialize

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

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

func (*Member) ResolveReferences

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

ResolveReferences of this Member.

func (*Member) SetConditions

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

SetConditions of this Member.

func (*Member) SetDeletionPolicy

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

SetDeletionPolicy of this Member.

func (*Member) SetObservation

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

SetObservation for this Member

func (*Member) SetParameters

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

SetParameters for this Member

func (*Member) SetProviderConfigReference

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

SetProviderConfigReference of this Member.

func (*Member) SetProviderReference

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

SetProviderReference of this Member. Deprecated: Use SetProviderConfigReference.

func (*Member) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Member.

func (*Member) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Member.

type MemberList

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

MemberList contains a list of Members

func (*MemberList) DeepCopy

func (in *MemberList) DeepCopy() *MemberList

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

func (*MemberList) DeepCopyInto

func (in *MemberList) DeepCopyInto(out *MemberList)

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

func (*MemberList) DeepCopyObject

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

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

func (*MemberList) GetItems

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

GetItems of this MemberList.

type MemberObservation

type MemberObservation struct {
	ID *string `json:"id,omitempty" tf:"id,omitempty"`
}

func (*MemberObservation) DeepCopy

func (in *MemberObservation) DeepCopy() *MemberObservation

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

func (*MemberObservation) DeepCopyInto

func (in *MemberObservation) DeepCopyInto(out *MemberObservation)

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

type MemberParameters

type MemberParameters struct {

	// The object ID of the administrative unit
	// +crossplane:generate:reference:type=Unit
	// +kubebuilder:validation:Optional
	AdministrativeUnitObjectID *string `json:"administrativeUnitObjectId,omitempty" tf:"administrative_unit_object_id,omitempty"`

	// Reference to a Unit to populate administrativeUnitObjectId.
	// +kubebuilder:validation:Optional
	AdministrativeUnitObjectIDRef *v1.Reference `json:"administrativeUnitObjectIdRef,omitempty" tf:"-"`

	// Selector for a Unit to populate administrativeUnitObjectId.
	// +kubebuilder:validation:Optional
	AdministrativeUnitObjectIDSelector *v1.Selector `json:"administrativeUnitObjectIdSelector,omitempty" tf:"-"`

	// The object ID of the member
	// +kubebuilder:validation:Optional
	MemberObjectID *string `json:"memberObjectId,omitempty" tf:"member_object_id,omitempty"`
}

func (*MemberParameters) DeepCopy

func (in *MemberParameters) DeepCopy() *MemberParameters

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

func (*MemberParameters) DeepCopyInto

func (in *MemberParameters) DeepCopyInto(out *MemberParameters)

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

type MemberSpec

type MemberSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     MemberParameters `json:"forProvider"`
}

MemberSpec defines the desired state of Member

func (*MemberSpec) DeepCopy

func (in *MemberSpec) DeepCopy() *MemberSpec

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

func (*MemberSpec) DeepCopyInto

func (in *MemberSpec) DeepCopyInto(out *MemberSpec)

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

type MemberStatus

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

MemberStatus defines the observed state of Member.

func (*MemberStatus) DeepCopy

func (in *MemberStatus) DeepCopy() *MemberStatus

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

func (*MemberStatus) DeepCopyInto

func (in *MemberStatus) DeepCopyInto(out *MemberStatus)

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

type Unit

type Unit struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              UnitSpec   `json:"spec"`
	Status            UnitStatus `json:"status,omitempty"`
}

Unit is the Schema for the Units API. +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,azuread}

func (*Unit) DeepCopy

func (in *Unit) DeepCopy() *Unit

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

func (*Unit) DeepCopyInto

func (in *Unit) DeepCopyInto(out *Unit)

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

func (*Unit) DeepCopyObject

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

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

func (*Unit) GetCondition

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

GetCondition of this Unit.

func (*Unit) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Unit

func (*Unit) GetDeletionPolicy

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

GetDeletionPolicy of this Unit.

func (*Unit) GetID

func (tr *Unit) GetID() string

GetID returns ID of underlying Terraform resource of this Unit

func (*Unit) GetObservation

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

GetObservation of this Unit

func (*Unit) GetParameters

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

GetParameters of this Unit

func (*Unit) GetProviderConfigReference

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

GetProviderConfigReference of this Unit.

func (*Unit) GetProviderReference

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

GetProviderReference of this Unit. Deprecated: Use GetProviderConfigReference.

func (*Unit) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Unit.

func (*Unit) GetTerraformResourceType

func (mg *Unit) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Unit

func (*Unit) GetTerraformSchemaVersion

func (tr *Unit) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Unit) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Unit.

func (*Unit) LateInitialize

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

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

func (*Unit) SetConditions

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

SetConditions of this Unit.

func (*Unit) SetDeletionPolicy

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

SetDeletionPolicy of this Unit.

func (*Unit) SetObservation

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

SetObservation for this Unit

func (*Unit) SetParameters

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

SetParameters for this Unit

func (*Unit) SetProviderConfigReference

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

SetProviderConfigReference of this Unit.

func (*Unit) SetProviderReference

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

SetProviderReference of this Unit. Deprecated: Use SetProviderConfigReference.

func (*Unit) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Unit.

func (*Unit) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Unit.

type UnitList

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

UnitList contains a list of Units

func (*UnitList) DeepCopy

func (in *UnitList) DeepCopy() *UnitList

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

func (*UnitList) DeepCopyInto

func (in *UnitList) DeepCopyInto(out *UnitList)

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

func (*UnitList) DeepCopyObject

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

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

func (*UnitList) GetItems

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

GetItems of this UnitList.

type UnitObservation

type UnitObservation struct {
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// The object ID of the administrative unit
	ObjectID *string `json:"objectId,omitempty" tf:"object_id,omitempty"`
}

func (*UnitObservation) DeepCopy

func (in *UnitObservation) DeepCopy() *UnitObservation

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

func (*UnitObservation) DeepCopyInto

func (in *UnitObservation) DeepCopyInto(out *UnitObservation)

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

type UnitParameters

type UnitParameters struct {

	// The description for the administrative unit
	// +kubebuilder:validation:Optional
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// The display name for the administrative unit
	// +kubebuilder:validation:Required
	DisplayName *string `json:"displayName" tf:"display_name,omitempty"`

	// Whether the administrative unit and its members are hidden or publicly viewable in the directory
	// +kubebuilder:validation:Optional
	HiddenMembershipEnabled *bool `json:"hiddenMembershipEnabled,omitempty" tf:"hidden_membership_enabled,omitempty"`

	// A set of object IDs of members who should be present in this administrative unit. Supported object types are Users or Groups
	// +kubebuilder:validation:Optional
	Members []*string `json:"members,omitempty" tf:"members,omitempty"`

	// If `true`, will return an error if an existing administrative unit is found with the same name
	// +kubebuilder:validation:Optional
	PreventDuplicateNames *bool `json:"preventDuplicateNames,omitempty" tf:"prevent_duplicate_names,omitempty"`
}

func (*UnitParameters) DeepCopy

func (in *UnitParameters) DeepCopy() *UnitParameters

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

func (*UnitParameters) DeepCopyInto

func (in *UnitParameters) DeepCopyInto(out *UnitParameters)

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

type UnitSpec

type UnitSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     UnitParameters `json:"forProvider"`
}

UnitSpec defines the desired state of Unit

func (*UnitSpec) DeepCopy

func (in *UnitSpec) DeepCopy() *UnitSpec

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

func (*UnitSpec) DeepCopyInto

func (in *UnitSpec) DeepCopyInto(out *UnitSpec)

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

type UnitStatus

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

UnitStatus defines the observed state of Unit.

func (*UnitStatus) DeepCopy

func (in *UnitStatus) DeepCopy() *UnitStatus

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

func (*UnitStatus) DeepCopyInto

func (in *UnitStatus) DeepCopyInto(out *UnitStatus)

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