v1alpha1

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

Package v1alpha1 contains the v1alpha1 group Sample resources of the temporal provider. +kubebuilder:object:generate=true +groupName=core.temporal.crossplane.io +versionName=v1alpha1

Index

Constants

View Source
const (
	Group   = "core.temporal.crossplane.io"
	Version = "v1alpha1"
)

Package type metadata.

Variables

View Source
var (
	// SchemeGroupVersion is group version used to register these objects
	SchemeGroupVersion = schema.GroupVersion{Group: Group, Version: Version}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion}
)
View Source
var (
	SearchAttributeKind             = reflect.TypeOf(SearchAttribute{}).Name()
	SearchAttributeGroupKind        = schema.GroupKind{Group: Group, Kind: SearchAttributeKind}.String()
	SearchAttributeKindAPIVersion   = SearchAttributeKind + "." + SchemeGroupVersion.String()
	SearchAttributeGroupVersionKind = SchemeGroupVersion.WithKind(SearchAttributeKind)
)

SearchAttribute type metadata.

View Source
var (
	TemporalNamespaceKind             = reflect.TypeOf(TemporalNamespace{}).Name()
	TemporalNamespaceGroupKind        = schema.GroupKind{Group: Group, Kind: TemporalNamespaceKind}.String()
	TemporalNamespaceKindAPIVersion   = TemporalNamespaceKind + "." + SchemeGroupVersion.String()
	TemporalNamespaceGroupVersionKind = SchemeGroupVersion.WithKind(TemporalNamespaceKind)
)

TemporalNamespace type metadata.

Functions

This section is empty.

Types

type SearchAttribute added in v1.2.0

type SearchAttribute struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   SearchAttributeSpec   `json:"spec"`
	Status SearchAttributeStatus `json:"status,omitempty"`
}

A SearchAttribute is an example API type. +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,temporal}

func (*SearchAttribute) DeepCopy added in v1.2.0

func (in *SearchAttribute) DeepCopy() *SearchAttribute

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

func (*SearchAttribute) DeepCopyInto added in v1.2.0

func (in *SearchAttribute) DeepCopyInto(out *SearchAttribute)

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

func (*SearchAttribute) DeepCopyObject added in v1.2.0

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

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

func (*SearchAttribute) GetCondition added in v1.2.0

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

GetCondition of this SearchAttribute.

func (*SearchAttribute) GetDeletionPolicy added in v1.2.0

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

GetDeletionPolicy of this SearchAttribute.

func (*SearchAttribute) GetManagementPolicies added in v1.2.0

func (mg *SearchAttribute) GetManagementPolicies() xpv1.ManagementPolicies

GetManagementPolicies of this SearchAttribute.

func (*SearchAttribute) GetProviderConfigReference added in v1.2.0

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

GetProviderConfigReference of this SearchAttribute.

func (*SearchAttribute) GetProviderReference added in v1.2.0

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

GetProviderReference of this SearchAttribute. Deprecated: Use GetProviderConfigReference.

func (*SearchAttribute) GetPublishConnectionDetailsTo added in v1.2.0

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

GetPublishConnectionDetailsTo of this SearchAttribute.

func (*SearchAttribute) GetWriteConnectionSecretToReference added in v1.2.0

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

GetWriteConnectionSecretToReference of this SearchAttribute.

func (*SearchAttribute) ResolveReferences added in v1.2.0

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

ResolveReferences of this SearchAttribute.

func (*SearchAttribute) SetConditions added in v1.2.0

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

SetConditions of this SearchAttribute.

func (*SearchAttribute) SetDeletionPolicy added in v1.2.0

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

SetDeletionPolicy of this SearchAttribute.

func (*SearchAttribute) SetManagementPolicies added in v1.2.0

func (mg *SearchAttribute) SetManagementPolicies(r xpv1.ManagementPolicies)

SetManagementPolicies of this SearchAttribute.

func (*SearchAttribute) SetProviderConfigReference added in v1.2.0

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

SetProviderConfigReference of this SearchAttribute.

func (*SearchAttribute) SetProviderReference added in v1.2.0

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

SetProviderReference of this SearchAttribute. Deprecated: Use SetProviderConfigReference.

func (*SearchAttribute) SetPublishConnectionDetailsTo added in v1.2.0

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

SetPublishConnectionDetailsTo of this SearchAttribute.

func (*SearchAttribute) SetWriteConnectionSecretToReference added in v1.2.0

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

SetWriteConnectionSecretToReference of this SearchAttribute.

type SearchAttributeList added in v1.2.0

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

SearchAttributeList contains a list of SearchAttribute

func (*SearchAttributeList) DeepCopy added in v1.2.0

func (in *SearchAttributeList) DeepCopy() *SearchAttributeList

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

func (*SearchAttributeList) DeepCopyInto added in v1.2.0

func (in *SearchAttributeList) DeepCopyInto(out *SearchAttributeList)

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

func (*SearchAttributeList) DeepCopyObject added in v1.2.0

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

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

func (*SearchAttributeList) GetItems added in v1.2.0

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

GetItems of this SearchAttributeList.

type SearchAttributeObservation added in v1.2.0

type SearchAttributeObservation struct {
	Name string `json:"name"`

	Type string `json:"type"`

	TemporalNamespaceName string `json:"temporalNamespaceName"`
}

SearchAttributeObservation are the observable fields of a SearchAttribute.

func (*SearchAttributeObservation) DeepCopy added in v1.2.0

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

func (*SearchAttributeObservation) DeepCopyInto added in v1.2.0

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

type SearchAttributeParameters added in v1.2.0

type SearchAttributeParameters struct {

	// Name of the SearchAttribute (immutable)
	// +kubebuilder:validation:Required
	// +kubebuilder:validation:XValidation:rule="self == oldSelf",message="Name is immutable"
	Name string `json:"name"`

	// Type of the SearchAttribute (immutable)
	// +kubebuilder:validation:Required
	// +kubebuilder:validation:XValidation:rule="self == oldSelf",message="Type is immutable"
	// +kubebuilder:validation:Enum=Text;Keyword;Int;Double;Bool;Datetime;KeywordList;
	Type string `json:"type"`

	// Namespace where search-attribute will be created (immutable)
	// At least one of temporalNamespaceName, temporalNamespaceNameRef or temporalNamespaceNameSelector is required.
	// +kubebuilder:validation:Optional
	// +kubebuilder:validation:XValidation:rule="self == oldSelf",message="TemporalNamespaceName is immutable"
	// +crossplane:generate:reference:type=github.com/denniskniep/provider-temporal/apis/core/v1alpha1.TemporalNamespace
	TemporalNamespaceName *string `json:"temporalNamespaceName,omitempty"`

	// Namespace reference to retrieve the namespace name, where search-attribute will be created
	// At least one of temporalNamespaceName, temporalNamespaceNameRef or temporalNamespaceNameSelector is required.
	// +optional
	TemporalNamespaceNameRef *xpv1.Reference `json:"temporalNamespaceNameRef,omitempty"`

	// TemporalNamespaceNameSelector selects a reference to a TemporalNamespace and retrieves its name
	// At least one of temporalNamespaceName, temporalNamespaceNameRef or temporalNamespaceNameSelector is required.
	// +optional
	TemporalNamespaceNameSelector *xpv1.Selector `json:"temporalNamespaceNameSelector,omitempty"`
}

SearchAttributeParameters are the configurable fields of a SearchAttribute. +kubebuilder:validation:XValidation:rule="!has(oldSelf.temporalNamespaceName) || has(self.temporalNamespaceName)", message="TemporalNamespaceName is required once set"

func (*SearchAttributeParameters) DeepCopy added in v1.2.0

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

func (*SearchAttributeParameters) DeepCopyInto added in v1.2.0

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

type SearchAttributeSpec added in v1.2.0

type SearchAttributeSpec struct {
	xpv1.ResourceSpec `json:",inline"`
	ForProvider       SearchAttributeParameters `json:"forProvider"`
}

A SearchAttributeSpec defines the desired state of a SearchAttribute.

func (*SearchAttributeSpec) DeepCopy added in v1.2.0

func (in *SearchAttributeSpec) DeepCopy() *SearchAttributeSpec

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

func (*SearchAttributeSpec) DeepCopyInto added in v1.2.0

func (in *SearchAttributeSpec) DeepCopyInto(out *SearchAttributeSpec)

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

type SearchAttributeStatus added in v1.2.0

type SearchAttributeStatus struct {
	xpv1.ResourceStatus `json:",inline"`
	AtProvider          SearchAttributeObservation `json:"atProvider,omitempty"`
}

A SearchAttributeStatus represents the observed state of a SearchAttribute.

func (*SearchAttributeStatus) DeepCopy added in v1.2.0

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

func (*SearchAttributeStatus) DeepCopyInto added in v1.2.0

func (in *SearchAttributeStatus) DeepCopyInto(out *SearchAttributeStatus)

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

type TemporalNamespace

type TemporalNamespace struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   TemporalNamespaceSpec   `json:"spec"`
	Status TemporalNamespaceStatus `json:"status,omitempty"`
}

A TemporalNamespace is an API type. +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,temporal}

func (*TemporalNamespace) DeepCopy

func (in *TemporalNamespace) DeepCopy() *TemporalNamespace

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

func (*TemporalNamespace) DeepCopyInto

func (in *TemporalNamespace) DeepCopyInto(out *TemporalNamespace)

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

func (*TemporalNamespace) DeepCopyObject

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

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

func (*TemporalNamespace) GetCondition

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

GetCondition of this TemporalNamespace.

func (*TemporalNamespace) GetDeletionPolicy

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

GetDeletionPolicy of this TemporalNamespace.

func (*TemporalNamespace) GetManagementPolicies

func (mg *TemporalNamespace) GetManagementPolicies() xpv1.ManagementPolicies

GetManagementPolicies of this TemporalNamespace.

func (*TemporalNamespace) GetProviderConfigReference

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

GetProviderConfigReference of this TemporalNamespace.

func (*TemporalNamespace) GetProviderReference

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

GetProviderReference of this TemporalNamespace. Deprecated: Use GetProviderConfigReference.

func (*TemporalNamespace) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this TemporalNamespace.

func (*TemporalNamespace) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this TemporalNamespace.

func (*TemporalNamespace) SetConditions

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

SetConditions of this TemporalNamespace.

func (*TemporalNamespace) SetDeletionPolicy

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

SetDeletionPolicy of this TemporalNamespace.

func (*TemporalNamespace) SetManagementPolicies

func (mg *TemporalNamespace) SetManagementPolicies(r xpv1.ManagementPolicies)

SetManagementPolicies of this TemporalNamespace.

func (*TemporalNamespace) SetProviderConfigReference

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

SetProviderConfigReference of this TemporalNamespace.

func (*TemporalNamespace) SetProviderReference

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

SetProviderReference of this TemporalNamespace. Deprecated: Use SetProviderConfigReference.

func (*TemporalNamespace) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this TemporalNamespace.

func (*TemporalNamespace) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this TemporalNamespace.

type TemporalNamespaceList

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

TemporalNamespaceList contains a list of TemporalNamespace

func (*TemporalNamespaceList) DeepCopy

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

func (*TemporalNamespaceList) DeepCopyInto

func (in *TemporalNamespaceList) DeepCopyInto(out *TemporalNamespaceList)

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

func (*TemporalNamespaceList) DeepCopyObject

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

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

func (*TemporalNamespaceList) GetItems

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

GetItems of this TemporalNamespaceList.

type TemporalNamespaceObservation

type TemporalNamespaceObservation struct {
	Id string `json:"id"`

	Name string `json:"name"`

	Description *string `json:"description,omitempty"`

	OwnerEmail *string `json:"ownerEmail,omitempty"`

	WorkflowExecutionRetentionDays int `json:"workflowExecutionRetentionDays,omitempty"`

	Data *map[string]string `json:"data,omitempty"`

	HistoryArchivalState string `json:"historyArchivalState,omitempty"`

	HistoryArchivalUri *string `json:"historyArchivalUri,omitempty"`

	VisibilityArchivalState string `json:"visibilityArchivalState,omitempty"`

	VisibilityArchivalUri *string `json:"visibilityArchivalUri,omitempty"`

	State string `json:"state"`
}

TemporalNamespaceObservation are the observable fields of a TemporalNamespace.

func (*TemporalNamespaceObservation) DeepCopy

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

func (*TemporalNamespaceObservation) DeepCopyInto

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

type TemporalNamespaceParameters

type TemporalNamespaceParameters struct {

	// Name of the Namespace (immutable)
	// +kubebuilder:validation:Required
	// +kubebuilder:validation:XValidation:rule="self == oldSelf",message="Name is immutable"
	Name string `json:"name"`

	// +optional
	Description *string `json:"description,omitempty"`

	// +optional
	OwnerEmail *string `json:"ownerEmail,omitempty"`

	// Workflow Execution retention.
	// +kubebuilder:default=30
	// +kubebuilder:validation:Minimum=1
	WorkflowExecutionRetentionDays int `json:"workflowExecutionRetentionDays,omitempty"`

	// +optional
	Data *map[string]string `json:"data,omitempty"`

	// +kubebuilder:default=Disabled
	// +kubebuilder:validation:Enum=Disabled;Enabled
	HistoryArchivalState string `json:"historyArchivalState,omitempty"`

	// +optional
	HistoryArchivalUri *string `json:"historyArchivalUri,omitempty"`

	// +kubebuilder:default=Disabled
	// +kubebuilder:validation:Enum=Disabled;Enabled
	VisibilityArchivalState string `json:"visibilityArchivalState,omitempty"`

	// +optional
	VisibilityArchivalUri *string `json:"visibilityArchivalUri,omitempty"`
}

TemporalNamespaceParameters are the configurable fields of a TemporalNamespace.

func (*TemporalNamespaceParameters) DeepCopy

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

func (*TemporalNamespaceParameters) DeepCopyInto

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

type TemporalNamespaceSpec

type TemporalNamespaceSpec struct {
	xpv1.ResourceSpec `json:",inline"`
	ForProvider       TemporalNamespaceParameters `json:"forProvider"`
}

A TemporalNamespaceSpec defines the desired state of a TemporalNamespace.

func (*TemporalNamespaceSpec) DeepCopy

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

func (*TemporalNamespaceSpec) DeepCopyInto

func (in *TemporalNamespaceSpec) DeepCopyInto(out *TemporalNamespaceSpec)

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

type TemporalNamespaceStatus

type TemporalNamespaceStatus struct {
	xpv1.ResourceStatus `json:",inline"`
	AtProvider          TemporalNamespaceObservation `json:"atProvider,omitempty"`
}

A TemporalNamespaceStatus represents the observed state of a TemporalNamespace.

func (*TemporalNamespaceStatus) DeepCopy

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

func (*TemporalNamespaceStatus) DeepCopyInto

func (in *TemporalNamespaceStatus) DeepCopyInto(out *TemporalNamespaceStatus)

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