v1alpha1

package
v0.0.2 Latest Latest
Warning

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

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

Documentation

Overview

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

Index

Constants

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

Package type metadata.

Variables

View Source
var (
	AuthnMapping_Kind             = "AuthnMapping"
	AuthnMapping_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: AuthnMapping_Kind}.String()
	AuthnMapping_KindAPIVersion   = AuthnMapping_Kind + "." + CRDGroupVersion.String()
	AuthnMapping_GroupVersionKind = CRDGroupVersion.WithKind(AuthnMapping_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
)
View Source
var (
	Role_Kind             = "Role"
	Role_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Role_Kind}.String()
	Role_KindAPIVersion   = Role_Kind + "." + CRDGroupVersion.String()
	Role_GroupVersionKind = CRDGroupVersion.WithKind(Role_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type AuthnMapping

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

AuthnMapping is the Schema for the AuthnMappings 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,datadog}

func (*AuthnMapping) DeepCopy

func (in *AuthnMapping) DeepCopy() *AuthnMapping

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

func (*AuthnMapping) DeepCopyInto

func (in *AuthnMapping) DeepCopyInto(out *AuthnMapping)

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

func (*AuthnMapping) DeepCopyObject

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

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

func (*AuthnMapping) GetCondition

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

GetCondition of this AuthnMapping.

func (*AuthnMapping) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this AuthnMapping

func (*AuthnMapping) GetDeletionPolicy

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

GetDeletionPolicy of this AuthnMapping.

func (*AuthnMapping) GetID

func (tr *AuthnMapping) GetID() string

GetID returns ID of underlying Terraform resource of this AuthnMapping

func (*AuthnMapping) GetManagementPolicy

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

GetManagementPolicy of this AuthnMapping.

func (*AuthnMapping) GetObservation

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

GetObservation of this AuthnMapping

func (*AuthnMapping) GetParameters

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

GetParameters of this AuthnMapping

func (*AuthnMapping) GetProviderConfigReference

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

GetProviderConfigReference of this AuthnMapping.

func (*AuthnMapping) GetProviderReference

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

GetProviderReference of this AuthnMapping. Deprecated: Use GetProviderConfigReference.

func (*AuthnMapping) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this AuthnMapping.

func (*AuthnMapping) GetTerraformResourceType

func (mg *AuthnMapping) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this AuthnMapping

func (*AuthnMapping) GetTerraformSchemaVersion

func (tr *AuthnMapping) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*AuthnMapping) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this AuthnMapping.

func (*AuthnMapping) LateInitialize

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

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

func (*AuthnMapping) ResolveReferences

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

ResolveReferences of this AuthnMapping.

func (*AuthnMapping) SetConditions

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

SetConditions of this AuthnMapping.

func (*AuthnMapping) SetDeletionPolicy

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

SetDeletionPolicy of this AuthnMapping.

func (*AuthnMapping) SetManagementPolicy

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

SetManagementPolicy of this AuthnMapping.

func (*AuthnMapping) SetObservation

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

SetObservation for this AuthnMapping

func (*AuthnMapping) SetParameters

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

SetParameters for this AuthnMapping

func (*AuthnMapping) SetProviderConfigReference

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

SetProviderConfigReference of this AuthnMapping.

func (*AuthnMapping) SetProviderReference

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

SetProviderReference of this AuthnMapping. Deprecated: Use SetProviderConfigReference.

func (*AuthnMapping) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this AuthnMapping.

func (*AuthnMapping) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this AuthnMapping.

type AuthnMappingList

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

AuthnMappingList contains a list of AuthnMappings

func (*AuthnMappingList) DeepCopy

func (in *AuthnMappingList) DeepCopy() *AuthnMappingList

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

func (*AuthnMappingList) DeepCopyInto

func (in *AuthnMappingList) DeepCopyInto(out *AuthnMappingList)

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

func (*AuthnMappingList) DeepCopyObject

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

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

func (*AuthnMappingList) GetItems

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

GetItems of this AuthnMappingList.

type AuthnMappingObservation

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

	// Identity provider key.
	Key *string `json:"key,omitempty" tf:"key,omitempty"`

	// The ID of a role to attach to all users with the corresponding key and value.
	Role *string `json:"role,omitempty" tf:"role,omitempty"`

	// Identity provider value.
	Value *string `json:"value,omitempty" tf:"value,omitempty"`
}

func (*AuthnMappingObservation) DeepCopy

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

func (*AuthnMappingObservation) DeepCopyInto

func (in *AuthnMappingObservation) DeepCopyInto(out *AuthnMappingObservation)

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

type AuthnMappingParameters

type AuthnMappingParameters struct {

	// Identity provider key.
	// +kubebuilder:validation:Optional
	Key *string `json:"key,omitempty" tf:"key,omitempty"`

	// The ID of a role to attach to all users with the corresponding key and value.
	// +crossplane:generate:reference:type=Role
	// +kubebuilder:validation:Optional
	Role *string `json:"role,omitempty" tf:"role,omitempty"`

	// Reference to a Role to populate role.
	// +kubebuilder:validation:Optional
	RoleRef *v1.Reference `json:"roleRef,omitempty" tf:"-"`

	// Selector for a Role to populate role.
	// +kubebuilder:validation:Optional
	RoleSelector *v1.Selector `json:"roleSelector,omitempty" tf:"-"`

	// Identity provider value.
	// +kubebuilder:validation:Optional
	Value *string `json:"value,omitempty" tf:"value,omitempty"`
}

func (*AuthnMappingParameters) DeepCopy

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

func (*AuthnMappingParameters) DeepCopyInto

func (in *AuthnMappingParameters) DeepCopyInto(out *AuthnMappingParameters)

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

type AuthnMappingSpec

type AuthnMappingSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     AuthnMappingParameters `json:"forProvider"`
}

AuthnMappingSpec defines the desired state of AuthnMapping

func (*AuthnMappingSpec) DeepCopy

func (in *AuthnMappingSpec) DeepCopy() *AuthnMappingSpec

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

func (*AuthnMappingSpec) DeepCopyInto

func (in *AuthnMappingSpec) DeepCopyInto(out *AuthnMappingSpec)

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

type AuthnMappingStatus

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

AuthnMappingStatus defines the observed state of AuthnMapping.

func (*AuthnMappingStatus) DeepCopy

func (in *AuthnMappingStatus) DeepCopy() *AuthnMappingStatus

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

func (*AuthnMappingStatus) DeepCopyInto

func (in *AuthnMappingStatus) DeepCopyInto(out *AuthnMappingStatus)

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

type PermissionObservation

type PermissionObservation struct {

	// ID of the permission to assign.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// Name of the permission.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`
}

func (*PermissionObservation) DeepCopy

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

func (*PermissionObservation) DeepCopyInto

func (in *PermissionObservation) DeepCopyInto(out *PermissionObservation)

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

type PermissionParameters

type PermissionParameters struct {

	// ID of the permission to assign.
	// +kubebuilder:validation:Required
	ID *string `json:"id" tf:"id,omitempty"`
}

func (*PermissionParameters) DeepCopy

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

func (*PermissionParameters) DeepCopyInto

func (in *PermissionParameters) DeepCopyInto(out *PermissionParameters)

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

type Role

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

Role is the Schema for the Roles 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,datadog}

func (*Role) DeepCopy

func (in *Role) DeepCopy() *Role

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

func (*Role) DeepCopyInto

func (in *Role) DeepCopyInto(out *Role)

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

func (*Role) DeepCopyObject

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

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

func (*Role) GetCondition

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

GetCondition of this Role.

func (*Role) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Role

func (*Role) GetDeletionPolicy

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

GetDeletionPolicy of this Role.

func (*Role) GetID

func (tr *Role) GetID() string

GetID returns ID of underlying Terraform resource of this Role

func (*Role) GetManagementPolicy

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

GetManagementPolicy of this Role.

func (*Role) GetObservation

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

GetObservation of this Role

func (*Role) GetParameters

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

GetParameters of this Role

func (*Role) GetProviderConfigReference

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

GetProviderConfigReference of this Role.

func (*Role) GetProviderReference

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

GetProviderReference of this Role. Deprecated: Use GetProviderConfigReference.

func (*Role) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Role.

func (*Role) GetTerraformResourceType

func (mg *Role) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Role

func (*Role) GetTerraformSchemaVersion

func (tr *Role) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Role) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Role.

func (*Role) LateInitialize

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

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

func (*Role) SetConditions

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

SetConditions of this Role.

func (*Role) SetDeletionPolicy

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

SetDeletionPolicy of this Role.

func (*Role) SetManagementPolicy

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

SetManagementPolicy of this Role.

func (*Role) SetObservation

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

SetObservation for this Role

func (*Role) SetParameters

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

SetParameters for this Role

func (*Role) SetProviderConfigReference

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

SetProviderConfigReference of this Role.

func (*Role) SetProviderReference

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

SetProviderReference of this Role. Deprecated: Use SetProviderConfigReference.

func (*Role) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Role.

func (*Role) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Role.

type RoleList

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

RoleList contains a list of Roles

func (*RoleList) DeepCopy

func (in *RoleList) DeepCopy() *RoleList

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

func (*RoleList) DeepCopyInto

func (in *RoleList) DeepCopyInto(out *RoleList)

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

func (*RoleList) DeepCopyObject

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

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

func (*RoleList) GetItems

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

GetItems of this RoleList.

type RoleObservation

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

	// Name of the role.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// Set of objects containing the permission ID and the name of the permissions granted to this role.
	Permission []PermissionObservation `json:"permission,omitempty" tf:"permission,omitempty"`

	// Number of users that have this role.
	UserCount *float64 `json:"userCount,omitempty" tf:"user_count,omitempty"`

	// If set to `false`, skip the validation call done during plan.
	Validate *bool `json:"validate,omitempty" tf:"validate,omitempty"`
}

func (*RoleObservation) DeepCopy

func (in *RoleObservation) DeepCopy() *RoleObservation

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

func (*RoleObservation) DeepCopyInto

func (in *RoleObservation) DeepCopyInto(out *RoleObservation)

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

type RoleParameters

type RoleParameters struct {

	// Name of the role.
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// Set of objects containing the permission ID and the name of the permissions granted to this role.
	// +kubebuilder:validation:Optional
	Permission []PermissionParameters `json:"permission,omitempty" tf:"permission,omitempty"`

	// If set to `false`, skip the validation call done during plan.
	// +kubebuilder:validation:Optional
	Validate *bool `json:"validate,omitempty" tf:"validate,omitempty"`
}

func (*RoleParameters) DeepCopy

func (in *RoleParameters) DeepCopy() *RoleParameters

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

func (*RoleParameters) DeepCopyInto

func (in *RoleParameters) DeepCopyInto(out *RoleParameters)

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

type RoleSpec

type RoleSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     RoleParameters `json:"forProvider"`
}

RoleSpec defines the desired state of Role

func (*RoleSpec) DeepCopy

func (in *RoleSpec) DeepCopy() *RoleSpec

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

func (*RoleSpec) DeepCopyInto

func (in *RoleSpec) DeepCopyInto(out *RoleSpec)

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

type RoleStatus

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

RoleStatus defines the observed state of Role.

func (*RoleStatus) DeepCopy

func (in *RoleStatus) DeepCopy() *RoleStatus

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

func (*RoleStatus) DeepCopyInto

func (in *RoleStatus) DeepCopyInto(out *RoleStatus)

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