v1beta1

package
v0.6.0-rc.0 Latest Latest
Warning

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

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

Documentation

Overview

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

Index

Constants

View Source
const (
	CRDGroup   = "serviceprincipaldelegated.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 (
	PermissionGrant_Kind             = "PermissionGrant"
	PermissionGrant_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: PermissionGrant_Kind}.String()
	PermissionGrant_KindAPIVersion   = PermissionGrant_Kind + "." + CRDGroupVersion.String()
	PermissionGrant_GroupVersionKind = CRDGroupVersion.WithKind(PermissionGrant_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type PermissionGrant

type PermissionGrant struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              PermissionGrantSpec   `json:"spec"`
	Status            PermissionGrantStatus `json:"status,omitempty"`
}

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

func (in *PermissionGrant) DeepCopy() *PermissionGrant

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

func (*PermissionGrant) DeepCopyInto

func (in *PermissionGrant) DeepCopyInto(out *PermissionGrant)

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

func (*PermissionGrant) DeepCopyObject

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

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

func (*PermissionGrant) GetCondition

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

GetCondition of this PermissionGrant.

func (*PermissionGrant) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this PermissionGrant

func (*PermissionGrant) GetDeletionPolicy

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

GetDeletionPolicy of this PermissionGrant.

func (*PermissionGrant) GetID

func (tr *PermissionGrant) GetID() string

GetID returns ID of underlying Terraform resource of this PermissionGrant

func (*PermissionGrant) GetObservation

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

GetObservation of this PermissionGrant

func (*PermissionGrant) GetParameters

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

GetParameters of this PermissionGrant

func (*PermissionGrant) GetProviderConfigReference

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

GetProviderConfigReference of this PermissionGrant.

func (*PermissionGrant) GetProviderReference

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

GetProviderReference of this PermissionGrant. Deprecated: Use GetProviderConfigReference.

func (*PermissionGrant) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this PermissionGrant.

func (*PermissionGrant) GetTerraformResourceType

func (mg *PermissionGrant) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this PermissionGrant

func (*PermissionGrant) GetTerraformSchemaVersion

func (tr *PermissionGrant) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*PermissionGrant) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this PermissionGrant.

func (*PermissionGrant) LateInitialize

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

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

func (*PermissionGrant) ResolveReferences

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

ResolveReferences of this PermissionGrant.

func (*PermissionGrant) SetConditions

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

SetConditions of this PermissionGrant.

func (*PermissionGrant) SetDeletionPolicy

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

SetDeletionPolicy of this PermissionGrant.

func (*PermissionGrant) SetObservation

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

SetObservation for this PermissionGrant

func (*PermissionGrant) SetParameters

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

SetParameters for this PermissionGrant

func (*PermissionGrant) SetProviderConfigReference

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

SetProviderConfigReference of this PermissionGrant.

func (*PermissionGrant) SetProviderReference

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

SetProviderReference of this PermissionGrant. Deprecated: Use SetProviderConfigReference.

func (*PermissionGrant) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this PermissionGrant.

func (*PermissionGrant) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this PermissionGrant.

type PermissionGrantList

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

PermissionGrantList contains a list of PermissionGrants

func (*PermissionGrantList) DeepCopy

func (in *PermissionGrantList) DeepCopy() *PermissionGrantList

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

func (*PermissionGrantList) DeepCopyInto

func (in *PermissionGrantList) DeepCopyInto(out *PermissionGrantList)

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

func (*PermissionGrantList) DeepCopyObject

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

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

func (*PermissionGrantList) GetItems

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

GetItems of this PermissionGrantList.

type PermissionGrantObservation

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

func (*PermissionGrantObservation) DeepCopy

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

func (*PermissionGrantObservation) DeepCopyInto

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

type PermissionGrantParameters

type PermissionGrantParameters struct {

	// A set of claim values for delegated permission scopes which should be included in access tokens for the resource
	// +kubebuilder:validation:Required
	ClaimValues []*string `json:"claimValues" tf:"claim_values,omitempty"`

	// The object ID of the service principal representing the resource to be accessed
	// +crossplane:generate:reference:type=github.com/upbound/provider-azuread/apis/serviceprincipals/v1beta1.Principal
	// +kubebuilder:validation:Optional
	ResourceServicePrincipalObjectID *string `json:"resourceServicePrincipalObjectId,omitempty" tf:"resource_service_principal_object_id,omitempty"`

	// Reference to a Principal in serviceprincipals to populate resourceServicePrincipalObjectId.
	// +kubebuilder:validation:Optional
	ResourceServicePrincipalObjectIDRef *v1.Reference `json:"resourceServicePrincipalObjectIdRef,omitempty" tf:"-"`

	// Selector for a Principal in serviceprincipals to populate resourceServicePrincipalObjectId.
	// +kubebuilder:validation:Optional
	ResourceServicePrincipalObjectIDSelector *v1.Selector `json:"resourceServicePrincipalObjectIdSelector,omitempty" tf:"-"`

	// The object ID of the service principal for which this delegated permission grant should be created
	// +crossplane:generate:reference:type=github.com/upbound/provider-azuread/apis/serviceprincipals/v1beta1.Principal
	// +kubebuilder:validation:Optional
	ServicePrincipalObjectID *string `json:"servicePrincipalObjectId,omitempty" tf:"service_principal_object_id,omitempty"`

	// Reference to a Principal in serviceprincipals to populate servicePrincipalObjectId.
	// +kubebuilder:validation:Optional
	ServicePrincipalObjectIDRef *v1.Reference `json:"servicePrincipalObjectIdRef,omitempty" tf:"-"`

	// Selector for a Principal in serviceprincipals to populate servicePrincipalObjectId.
	// +kubebuilder:validation:Optional
	ServicePrincipalObjectIDSelector *v1.Selector `json:"servicePrincipalObjectIdSelector,omitempty" tf:"-"`

	// The object ID of the user on behalf of whom the service principal is authorized to access the resource
	// +kubebuilder:validation:Optional
	UserObjectID *string `json:"userObjectId,omitempty" tf:"user_object_id,omitempty"`
}

func (*PermissionGrantParameters) DeepCopy

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

func (*PermissionGrantParameters) DeepCopyInto

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

type PermissionGrantSpec

type PermissionGrantSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     PermissionGrantParameters `json:"forProvider"`
}

PermissionGrantSpec defines the desired state of PermissionGrant

func (*PermissionGrantSpec) DeepCopy

func (in *PermissionGrantSpec) DeepCopy() *PermissionGrantSpec

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

func (*PermissionGrantSpec) DeepCopyInto

func (in *PermissionGrantSpec) DeepCopyInto(out *PermissionGrantSpec)

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

type PermissionGrantStatus

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

PermissionGrantStatus defines the observed state of PermissionGrant.

func (*PermissionGrantStatus) DeepCopy

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

func (*PermissionGrantStatus) DeepCopyInto

func (in *PermissionGrantStatus) DeepCopyInto(out *PermissionGrantStatus)

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