Documentation ¶
Overview ¶
+kubebuilder:object:generate=true +groupName=slackconfiguration.taikun.jet.crossplane.io +versionName=v1alpha1
Index ¶
- Constants
- Variables
- type Configuration
- func (in *Configuration) DeepCopy() *Configuration
- func (in *Configuration) DeepCopyInto(out *Configuration)
- func (in *Configuration) DeepCopyObject() runtime.Object
- func (mg *Configuration) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *Configuration) GetConnectionDetailsMapping() map[string]string
- func (mg *Configuration) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *Configuration) GetID() string
- func (tr *Configuration) GetObservation() (map[string]any, error)
- func (tr *Configuration) GetParameters() (map[string]any, error)
- func (mg *Configuration) GetProviderConfigReference() *xpv1.Reference
- func (mg *Configuration) GetProviderReference() *xpv1.Reference
- func (mg *Configuration) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *Configuration) GetTerraformResourceType() string
- func (tr *Configuration) GetTerraformSchemaVersion() int
- func (mg *Configuration) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *Configuration) LateInitialize(attrs []byte) (bool, error)
- func (mg *Configuration) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *Configuration) SetConditions(c ...xpv1.Condition)
- func (mg *Configuration) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (tr *Configuration) SetObservation(obs map[string]any) error
- func (tr *Configuration) SetParameters(params map[string]any) error
- func (mg *Configuration) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *Configuration) SetProviderReference(r *xpv1.Reference)
- func (mg *Configuration) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *Configuration) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type ConfigurationList
- type ConfigurationObservation
- type ConfigurationParameters
- type ConfigurationSpec
- type ConfigurationStatus
Constants ¶
const ( CRDGroup = "slackconfiguration.taikun.jet.crossplane.io" CRDVersion = "v1alpha1" )
Package type metadata.
Variables ¶
var ( Configuration_Kind = "Configuration" Configuration_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Configuration_Kind}.String() Configuration_KindAPIVersion = Configuration_Kind + "." + CRDGroupVersion.String() Configuration_GroupVersionKind = CRDGroupVersion.WithKind(Configuration_Kind) )
Repository type metadata.
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 )
Functions ¶
This section is empty.
Types ¶
type Configuration ¶
type Configuration struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ConfigurationSpec `json:"spec"` Status ConfigurationStatus `json:"status,omitempty"` }
Configuration is the Schema for the Configurations 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,taikunjet}
func (*Configuration) DeepCopy ¶
func (in *Configuration) DeepCopy() *Configuration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Configuration.
func (*Configuration) DeepCopyInto ¶
func (in *Configuration) DeepCopyInto(out *Configuration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Configuration) DeepCopyObject ¶
func (in *Configuration) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Configuration) GetCondition ¶
func (mg *Configuration) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this Configuration.
func (*Configuration) GetConnectionDetailsMapping ¶
func (tr *Configuration) GetConnectionDetailsMapping() map[string]string
GetConnectionDetailsMapping for this Configuration
func (*Configuration) GetDeletionPolicy ¶
func (mg *Configuration) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this Configuration.
func (*Configuration) GetID ¶
func (tr *Configuration) GetID() string
GetID returns ID of underlying Terraform resource of this Configuration
func (*Configuration) GetObservation ¶
func (tr *Configuration) GetObservation() (map[string]any, error)
GetObservation of this Configuration
func (*Configuration) GetParameters ¶
func (tr *Configuration) GetParameters() (map[string]any, error)
GetParameters of this Configuration
func (*Configuration) GetProviderConfigReference ¶
func (mg *Configuration) GetProviderConfigReference() *xpv1.Reference
GetProviderConfigReference of this Configuration.
func (*Configuration) GetProviderReference ¶
func (mg *Configuration) GetProviderReference() *xpv1.Reference
GetProviderReference of this Configuration. Deprecated: Use GetProviderConfigReference.
func (*Configuration) GetPublishConnectionDetailsTo ¶
func (mg *Configuration) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this Configuration.
func (*Configuration) GetTerraformResourceType ¶
func (mg *Configuration) GetTerraformResourceType() string
GetTerraformResourceType returns Terraform resource type for this Configuration
func (*Configuration) GetTerraformSchemaVersion ¶
func (tr *Configuration) GetTerraformSchemaVersion() int
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*Configuration) GetWriteConnectionSecretToReference ¶
func (mg *Configuration) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this Configuration.
func (*Configuration) LateInitialize ¶
func (tr *Configuration) LateInitialize(attrs []byte) (bool, error)
LateInitialize this Configuration using its observed tfState. returns True if there are any spec changes for the resource.
func (*Configuration) ResolveReferences ¶
ResolveReferences of this Configuration.
func (*Configuration) SetConditions ¶
func (mg *Configuration) SetConditions(c ...xpv1.Condition)
SetConditions of this Configuration.
func (*Configuration) SetDeletionPolicy ¶
func (mg *Configuration) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this Configuration.
func (*Configuration) SetObservation ¶
func (tr *Configuration) SetObservation(obs map[string]any) error
SetObservation for this Configuration
func (*Configuration) SetParameters ¶
func (tr *Configuration) SetParameters(params map[string]any) error
SetParameters for this Configuration
func (*Configuration) SetProviderConfigReference ¶
func (mg *Configuration) SetProviderConfigReference(r *xpv1.Reference)
SetProviderConfigReference of this Configuration.
func (*Configuration) SetProviderReference ¶
func (mg *Configuration) SetProviderReference(r *xpv1.Reference)
SetProviderReference of this Configuration. Deprecated: Use SetProviderConfigReference.
func (*Configuration) SetPublishConnectionDetailsTo ¶
func (mg *Configuration) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this Configuration.
func (*Configuration) SetWriteConnectionSecretToReference ¶
func (mg *Configuration) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this Configuration.
type ConfigurationList ¶
type ConfigurationList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Configuration `json:"items"` }
ConfigurationList contains a list of Configurations
func (*ConfigurationList) DeepCopy ¶
func (in *ConfigurationList) DeepCopy() *ConfigurationList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigurationList.
func (*ConfigurationList) DeepCopyInto ¶
func (in *ConfigurationList) DeepCopyInto(out *ConfigurationList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ConfigurationList) DeepCopyObject ¶
func (in *ConfigurationList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ConfigurationList) GetItems ¶
func (l *ConfigurationList) GetItems() []resource.Managed
GetItems of this ConfigurationList.
type ConfigurationObservation ¶
type ConfigurationObservation struct { ID *string `json:"id,omitempty" tf:"id,omitempty"` // The name of the organization which owns the Slack configuration. OrganizationName *string `json:"organizationName,omitempty" tf:"organization_name,omitempty"` }
func (*ConfigurationObservation) DeepCopy ¶
func (in *ConfigurationObservation) DeepCopy() *ConfigurationObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigurationObservation.
func (*ConfigurationObservation) DeepCopyInto ¶
func (in *ConfigurationObservation) DeepCopyInto(out *ConfigurationObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ConfigurationParameters ¶
type ConfigurationParameters struct { // Slack channel for notifications. // +kubebuilder:validation:Required Channel *string `json:"channel" tf:"channel,omitempty"` // The Slack configuration's name. // +kubebuilder:validation:Required Name *string `json:"name" tf:"name,omitempty"` // The ID of the organization which owns the Slack configuration. // +crossplane:generate:reference:type=github.com/itera-io/provider-jet-taikun/apis/organization/v1alpha1.Organization // +kubebuilder:validation:Optional OrganizationID *string `json:"organizationId,omitempty" tf:"organization_id,omitempty"` // Reference to a Organization in organization to populate organizationId. // +kubebuilder:validation:Optional OrganizationIDRef *v1.Reference `json:"organizationIdRef,omitempty" tf:"-"` // Selector for a Organization in organization to populate organizationId. // +kubebuilder:validation:Optional OrganizationIDSelector *v1.Selector `json:"organizationIdSelector,omitempty" tf:"-"` // The type of notifications to receive: `Alert` (only alert-type notifications) or `General` (all notifications). // +kubebuilder:validation:Required Type *string `json:"type" tf:"type,omitempty"` // Webhook URL from Slack app. // +kubebuilder:validation:Required URL *string `json:"url" tf:"url,omitempty"` }
func (*ConfigurationParameters) DeepCopy ¶
func (in *ConfigurationParameters) DeepCopy() *ConfigurationParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigurationParameters.
func (*ConfigurationParameters) DeepCopyInto ¶
func (in *ConfigurationParameters) DeepCopyInto(out *ConfigurationParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ConfigurationSpec ¶
type ConfigurationSpec struct { v1.ResourceSpec `json:",inline"` ForProvider ConfigurationParameters `json:"forProvider"` }
ConfigurationSpec defines the desired state of Configuration
func (*ConfigurationSpec) DeepCopy ¶
func (in *ConfigurationSpec) DeepCopy() *ConfigurationSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigurationSpec.
func (*ConfigurationSpec) DeepCopyInto ¶
func (in *ConfigurationSpec) DeepCopyInto(out *ConfigurationSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ConfigurationStatus ¶
type ConfigurationStatus struct { v1.ResourceStatus `json:",inline"` AtProvider ConfigurationObservation `json:"atProvider,omitempty"` }
ConfigurationStatus defines the observed state of Configuration.
func (*ConfigurationStatus) DeepCopy ¶
func (in *ConfigurationStatus) DeepCopy() *ConfigurationStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigurationStatus.
func (*ConfigurationStatus) DeepCopyInto ¶
func (in *ConfigurationStatus) DeepCopyInto(out *ConfigurationStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.