v1alpha1

package
v0.1.8 Latest Latest
Warning

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

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

Documentation

Overview

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

Index

Constants

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

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 (
	ProjectV3_Kind             = "ProjectV3"
	ProjectV3_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: ProjectV3_Kind}.String()
	ProjectV3_KindAPIVersion   = ProjectV3_Kind + "." + CRDGroupVersion.String()
	ProjectV3_GroupVersionKind = CRDGroupVersion.WithKind(ProjectV3_Kind)
)

Repository type metadata.

View Source
var (
	RoleAssignmentV3_Kind             = "RoleAssignmentV3"
	RoleAssignmentV3_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: RoleAssignmentV3_Kind}.String()
	RoleAssignmentV3_KindAPIVersion   = RoleAssignmentV3_Kind + "." + CRDGroupVersion.String()
	RoleAssignmentV3_GroupVersionKind = CRDGroupVersion.WithKind(RoleAssignmentV3_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type ProjectV3

type ProjectV3 struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ProjectV3Spec   `json:"spec"`
	Status            ProjectV3Status `json:"status,omitempty"`
}

ProjectV3 is the Schema for the ProjectV3s API. Manages a V3 Project resource within OpenStack Keystone. +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,openstack}

func (*ProjectV3) DeepCopy

func (in *ProjectV3) DeepCopy() *ProjectV3

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

func (*ProjectV3) DeepCopyInto

func (in *ProjectV3) DeepCopyInto(out *ProjectV3)

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

func (*ProjectV3) DeepCopyObject

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

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

func (*ProjectV3) GetCondition

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

GetCondition of this ProjectV3.

func (*ProjectV3) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this ProjectV3

func (*ProjectV3) GetDeletionPolicy

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

GetDeletionPolicy of this ProjectV3.

func (*ProjectV3) GetID

func (tr *ProjectV3) GetID() string

GetID returns ID of underlying Terraform resource of this ProjectV3

func (*ProjectV3) GetObservation

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

GetObservation of this ProjectV3

func (*ProjectV3) GetParameters

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

GetParameters of this ProjectV3

func (*ProjectV3) GetProviderConfigReference

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

GetProviderConfigReference of this ProjectV3.

func (*ProjectV3) GetProviderReference

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

GetProviderReference of this ProjectV3. Deprecated: Use GetProviderConfigReference.

func (*ProjectV3) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this ProjectV3.

func (*ProjectV3) GetTerraformResourceType

func (mg *ProjectV3) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this ProjectV3

func (*ProjectV3) GetTerraformSchemaVersion

func (tr *ProjectV3) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*ProjectV3) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this ProjectV3.

func (*ProjectV3) LateInitialize

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

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

func (*ProjectV3) SetConditions

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

SetConditions of this ProjectV3.

func (*ProjectV3) SetDeletionPolicy

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

SetDeletionPolicy of this ProjectV3.

func (*ProjectV3) SetObservation

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

SetObservation for this ProjectV3

func (*ProjectV3) SetParameters

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

SetParameters for this ProjectV3

func (*ProjectV3) SetProviderConfigReference

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

SetProviderConfigReference of this ProjectV3.

func (*ProjectV3) SetProviderReference

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

SetProviderReference of this ProjectV3. Deprecated: Use SetProviderConfigReference.

func (*ProjectV3) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this ProjectV3.

func (*ProjectV3) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this ProjectV3.

type ProjectV3List

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

ProjectV3List contains a list of ProjectV3s

func (*ProjectV3List) DeepCopy

func (in *ProjectV3List) DeepCopy() *ProjectV3List

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

func (*ProjectV3List) DeepCopyInto

func (in *ProjectV3List) DeepCopyInto(out *ProjectV3List)

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

func (*ProjectV3List) DeepCopyObject

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

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

func (*ProjectV3List) GetItems

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

GetItems of this ProjectV3List.

type ProjectV3Observation

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

func (*ProjectV3Observation) DeepCopy

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

func (*ProjectV3Observation) DeepCopyInto

func (in *ProjectV3Observation) DeepCopyInto(out *ProjectV3Observation)

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

type ProjectV3Parameters

type ProjectV3Parameters struct {

	// A description of the project.
	// +kubebuilder:validation:Optional
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// The domain this project belongs to.
	// +kubebuilder:validation:Optional
	DomainID *string `json:"domainId,omitempty" tf:"domain_id,omitempty"`

	// Whether the project is enabled or disabled. Valid
	// values are true and false. Default is true.
	// +kubebuilder:validation:Optional
	Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`

	// Whether this project is a domain. Valid values
	// are true and false. Default is false. Changing this creates a new
	// project/domain.
	// +kubebuilder:validation:Optional
	IsDomain *bool `json:"isDomain,omitempty" tf:"is_domain,omitempty"`

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

	// The parent of this project. Changing this creates
	// a new project.
	// +kubebuilder:validation:Optional
	ParentID *string `json:"parentId,omitempty" tf:"parent_id,omitempty"`

	// The region in which to obtain the V3 Keystone client.
	// If omitted, the region argument of the provider is used. Changing this
	// creates a new project.
	// +kubebuilder:validation:Optional
	Region *string `json:"region,omitempty" tf:"region,omitempty"`

	// Tags for the project. Changing this updates the existing
	// project.
	// +kubebuilder:validation:Optional
	Tags []*string `json:"tags,omitempty" tf:"tags,omitempty"`
}

func (*ProjectV3Parameters) DeepCopy

func (in *ProjectV3Parameters) DeepCopy() *ProjectV3Parameters

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

func (*ProjectV3Parameters) DeepCopyInto

func (in *ProjectV3Parameters) DeepCopyInto(out *ProjectV3Parameters)

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

type ProjectV3Spec

type ProjectV3Spec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     ProjectV3Parameters `json:"forProvider"`
}

ProjectV3Spec defines the desired state of ProjectV3

func (*ProjectV3Spec) DeepCopy

func (in *ProjectV3Spec) DeepCopy() *ProjectV3Spec

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

func (*ProjectV3Spec) DeepCopyInto

func (in *ProjectV3Spec) DeepCopyInto(out *ProjectV3Spec)

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

type ProjectV3Status

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

ProjectV3Status defines the observed state of ProjectV3.

func (*ProjectV3Status) DeepCopy

func (in *ProjectV3Status) DeepCopy() *ProjectV3Status

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

func (*ProjectV3Status) DeepCopyInto

func (in *ProjectV3Status) DeepCopyInto(out *ProjectV3Status)

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

type RoleAssignmentV3

type RoleAssignmentV3 struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              RoleAssignmentV3Spec   `json:"spec"`
	Status            RoleAssignmentV3Status `json:"status,omitempty"`
}

RoleAssignmentV3 is the Schema for the RoleAssignmentV3s API. Manages a V3 Role assignment within OpenStack Keystone. +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,openstack}

func (*RoleAssignmentV3) DeepCopy

func (in *RoleAssignmentV3) DeepCopy() *RoleAssignmentV3

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

func (*RoleAssignmentV3) DeepCopyInto

func (in *RoleAssignmentV3) DeepCopyInto(out *RoleAssignmentV3)

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

func (*RoleAssignmentV3) DeepCopyObject

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

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

func (*RoleAssignmentV3) GetCondition

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

GetCondition of this RoleAssignmentV3.

func (*RoleAssignmentV3) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this RoleAssignmentV3

func (*RoleAssignmentV3) GetDeletionPolicy

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

GetDeletionPolicy of this RoleAssignmentV3.

func (*RoleAssignmentV3) GetID

func (tr *RoleAssignmentV3) GetID() string

GetID returns ID of underlying Terraform resource of this RoleAssignmentV3

func (*RoleAssignmentV3) GetObservation

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

GetObservation of this RoleAssignmentV3

func (*RoleAssignmentV3) GetParameters

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

GetParameters of this RoleAssignmentV3

func (*RoleAssignmentV3) GetProviderConfigReference

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

GetProviderConfigReference of this RoleAssignmentV3.

func (*RoleAssignmentV3) GetProviderReference

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

GetProviderReference of this RoleAssignmentV3. Deprecated: Use GetProviderConfigReference.

func (*RoleAssignmentV3) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this RoleAssignmentV3.

func (*RoleAssignmentV3) GetTerraformResourceType

func (mg *RoleAssignmentV3) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this RoleAssignmentV3

func (*RoleAssignmentV3) GetTerraformSchemaVersion

func (tr *RoleAssignmentV3) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*RoleAssignmentV3) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this RoleAssignmentV3.

func (*RoleAssignmentV3) LateInitialize

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

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

func (*RoleAssignmentV3) ResolveReferences

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

ResolveReferences of this RoleAssignmentV3.

func (*RoleAssignmentV3) SetConditions

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

SetConditions of this RoleAssignmentV3.

func (*RoleAssignmentV3) SetDeletionPolicy

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

SetDeletionPolicy of this RoleAssignmentV3.

func (*RoleAssignmentV3) SetObservation

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

SetObservation for this RoleAssignmentV3

func (*RoleAssignmentV3) SetParameters

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

SetParameters for this RoleAssignmentV3

func (*RoleAssignmentV3) SetProviderConfigReference

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

SetProviderConfigReference of this RoleAssignmentV3.

func (*RoleAssignmentV3) SetProviderReference

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

SetProviderReference of this RoleAssignmentV3. Deprecated: Use SetProviderConfigReference.

func (*RoleAssignmentV3) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this RoleAssignmentV3.

func (*RoleAssignmentV3) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this RoleAssignmentV3.

type RoleAssignmentV3List

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

RoleAssignmentV3List contains a list of RoleAssignmentV3s

func (*RoleAssignmentV3List) DeepCopy

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

func (*RoleAssignmentV3List) DeepCopyInto

func (in *RoleAssignmentV3List) DeepCopyInto(out *RoleAssignmentV3List)

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

func (*RoleAssignmentV3List) DeepCopyObject

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

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

func (*RoleAssignmentV3List) GetItems

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

GetItems of this RoleAssignmentV3List.

type RoleAssignmentV3Observation

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

func (*RoleAssignmentV3Observation) DeepCopy

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

func (*RoleAssignmentV3Observation) DeepCopyInto

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

type RoleAssignmentV3Parameters

type RoleAssignmentV3Parameters struct {

	// The domain to assign the role in.
	// +kubebuilder:validation:Optional
	DomainID *string `json:"domainId,omitempty" tf:"domain_id,omitempty"`

	// The group to assign the role to.
	// +kubebuilder:validation:Optional
	GroupID *string `json:"groupId,omitempty" tf:"group_id,omitempty"`

	// The project to assign the role in.
	// +crossplane:generate:reference:type=ProjectV3
	// +kubebuilder:validation:Optional
	ProjectID *string `json:"projectId,omitempty" tf:"project_id,omitempty"`

	// Reference to a ProjectV3 to populate projectId.
	// +kubebuilder:validation:Optional
	ProjectIDRef *v1.Reference `json:"projectIdRef,omitempty" tf:"-"`

	// Selector for a ProjectV3 to populate projectId.
	// +kubebuilder:validation:Optional
	ProjectIDSelector *v1.Selector `json:"projectIdSelector,omitempty" tf:"-"`

	// +kubebuilder:validation:Optional
	Region *string `json:"region,omitempty" tf:"region,omitempty"`

	// The role to assign.
	// +kubebuilder:validation:Required
	RoleID *string `json:"roleId" tf:"role_id,omitempty"`

	// The user to assign the role to.
	// +kubebuilder:validation:Optional
	UserID *string `json:"userId,omitempty" tf:"user_id,omitempty"`
}

func (*RoleAssignmentV3Parameters) DeepCopy

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

func (*RoleAssignmentV3Parameters) DeepCopyInto

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

type RoleAssignmentV3Spec

type RoleAssignmentV3Spec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     RoleAssignmentV3Parameters `json:"forProvider"`
}

RoleAssignmentV3Spec defines the desired state of RoleAssignmentV3

func (*RoleAssignmentV3Spec) DeepCopy

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

func (*RoleAssignmentV3Spec) DeepCopyInto

func (in *RoleAssignmentV3Spec) DeepCopyInto(out *RoleAssignmentV3Spec)

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

type RoleAssignmentV3Status

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

RoleAssignmentV3Status defines the observed state of RoleAssignmentV3.

func (*RoleAssignmentV3Status) DeepCopy

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

func (*RoleAssignmentV3Status) DeepCopyInto

func (in *RoleAssignmentV3Status) DeepCopyInto(out *RoleAssignmentV3Status)

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