v1alpha1

package
v0.0.0-...-d9a26ea Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2022 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Overview

+kubebuilder:object:generate=true +groupName=domain.boundary.jet.crossplane.io +versionName=v1alpha1

Index

Constants

View Source
const (
	CRDGroup   = "domain.boundary.jet.crossplane.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 (
	Scope_Kind             = "Scope"
	Scope_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Scope_Kind}.String()
	Scope_KindAPIVersion   = Scope_Kind + "." + CRDGroupVersion.String()
	Scope_GroupVersionKind = CRDGroupVersion.WithKind(Scope_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type Scope

type Scope struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ScopeSpec   `json:"spec"`
	Status            ScopeStatus `json:"status,omitempty"`
}

Scope is the Schema for the Scopes 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,boundaryjet}

func (*Scope) DeepCopy

func (in *Scope) DeepCopy() *Scope

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

func (*Scope) DeepCopyInto

func (in *Scope) DeepCopyInto(out *Scope)

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

func (*Scope) DeepCopyObject

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

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

func (*Scope) GetCondition

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

GetCondition of this Scope.

func (*Scope) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Scope

func (*Scope) GetDeletionPolicy

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

GetDeletionPolicy of this Scope.

func (*Scope) GetID

func (tr *Scope) GetID() string

GetID returns ID of underlying Terraform resource of this Scope

func (*Scope) GetObservation

func (tr *Scope) GetObservation() (map[string]interface{}, error)

GetObservation of this Scope

func (*Scope) GetParameters

func (tr *Scope) GetParameters() (map[string]interface{}, error)

GetParameters of this Scope

func (*Scope) GetProviderConfigReference

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

GetProviderConfigReference of this Scope.

func (*Scope) GetProviderReference

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

GetProviderReference of this Scope. Deprecated: Use GetProviderConfigReference.

func (*Scope) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Scope.

func (*Scope) GetTerraformResourceType

func (mg *Scope) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Scope

func (*Scope) GetTerraformSchemaVersion

func (tr *Scope) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Scope) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Scope.

func (*Scope) LateInitialize

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

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

func (*Scope) ResolveReferences

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

ResolveReferences of this Scope.

func (*Scope) SetConditions

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

SetConditions of this Scope.

func (*Scope) SetDeletionPolicy

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

SetDeletionPolicy of this Scope.

func (*Scope) SetObservation

func (tr *Scope) SetObservation(obs map[string]interface{}) error

SetObservation for this Scope

func (*Scope) SetParameters

func (tr *Scope) SetParameters(params map[string]interface{}) error

SetParameters for this Scope

func (*Scope) SetProviderConfigReference

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

SetProviderConfigReference of this Scope.

func (*Scope) SetProviderReference

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

SetProviderReference of this Scope. Deprecated: Use SetProviderConfigReference.

func (*Scope) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Scope.

func (*Scope) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Scope.

type ScopeList

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

ScopeList contains a list of Scopes

func (*ScopeList) DeepCopy

func (in *ScopeList) DeepCopy() *ScopeList

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

func (*ScopeList) DeepCopyInto

func (in *ScopeList) DeepCopyInto(out *ScopeList)

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

func (*ScopeList) DeepCopyObject

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

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

func (*ScopeList) GetItems

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

GetItems of this ScopeList.

type ScopeObservation

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

func (*ScopeObservation) DeepCopy

func (in *ScopeObservation) DeepCopy() *ScopeObservation

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

func (*ScopeObservation) DeepCopyInto

func (in *ScopeObservation) DeepCopyInto(out *ScopeObservation)

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

type ScopeParameters

type ScopeParameters struct {

	// If set, when a new scope is created, the provider will not disable the functionality that automatically creates a role in the new scope and gives permissions to manage the scope to the provider's user. Marking this true makes for simpler HCL but results in role resources that are unmanaged by Terraform.
	// +kubebuilder:validation:Optional
	AutoCreateAdminRole *bool `json:"autoCreateAdminRole,omitempty" tf:"auto_create_admin_role,omitempty"`

	// Only relevant when creating an org scope. If set, when a new scope is created, the provider will not disable the functionality that automatically creates a role in the new scope and gives listing of scopes and auth methods and the ability to authenticate to the anonymous user. Marking this true makes for simpler HCL but results in role resources that are unmanaged by Terraform.
	// +kubebuilder:validation:Optional
	AutoCreateDefaultRole *bool `json:"autoCreateDefaultRole,omitempty" tf:"auto_create_default_role,omitempty"`

	// The scope description.
	// +kubebuilder:validation:Optional
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// Indicates that the scope containing this value is the global scope, which triggers some specialized behavior to allow it to be imported and managed.
	// +kubebuilder:validation:Optional
	GlobalScope *bool `json:"globalScope,omitempty" tf:"global_scope,omitempty"`

	// The scope name. Defaults to the resource name.
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// The scope ID containing the sub scope resource.
	// +crossplane:generate:reference:type=Scope
	// +kubebuilder:validation:Optional
	ScopeID *string `json:"scopeId,omitempty" tf:"scope_id,omitempty"`

	// +kubebuilder:validation:Optional
	ScopeIDRef *v1.Reference `json:"scopeIdRef,omitempty" tf:"-"`

	// +kubebuilder:validation:Optional
	ScopeIDSelector *v1.Selector `json:"scopeIdSelector,omitempty" tf:"-"`
}

func (*ScopeParameters) DeepCopy

func (in *ScopeParameters) DeepCopy() *ScopeParameters

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

func (*ScopeParameters) DeepCopyInto

func (in *ScopeParameters) DeepCopyInto(out *ScopeParameters)

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

type ScopeSpec

type ScopeSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     ScopeParameters `json:"forProvider"`
}

ScopeSpec defines the desired state of Scope

func (*ScopeSpec) DeepCopy

func (in *ScopeSpec) DeepCopy() *ScopeSpec

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

func (*ScopeSpec) DeepCopyInto

func (in *ScopeSpec) DeepCopyInto(out *ScopeSpec)

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

type ScopeStatus

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

ScopeStatus defines the observed state of Scope.

func (*ScopeStatus) DeepCopy

func (in *ScopeStatus) DeepCopy() *ScopeStatus

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

func (*ScopeStatus) DeepCopyInto

func (in *ScopeStatus) DeepCopyInto(out *ScopeStatus)

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