Documentation
¶
Overview ¶
+kubebuilder:object:generate=true +groupName=addon.pagerduty.crossplane.io +versionName=v1alpha1
Index ¶
- Constants
- Variables
- type Addon
- func (in *Addon) DeepCopy() *Addon
- func (in *Addon) DeepCopyInto(out *Addon)
- func (in *Addon) DeepCopyObject() runtime.Object
- func (mg *Addon) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *Addon) GetConnectionDetailsMapping() map[string]string
- func (mg *Addon) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *Addon) GetID() string
- func (tr *Addon) GetInitParameters() (map[string]any, error)
- func (mg *Addon) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *Addon) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
- func (tr *Addon) GetObservation() (map[string]any, error)
- func (tr *Addon) GetParameters() (map[string]any, error)
- func (mg *Addon) GetProviderConfigReference() *xpv1.Reference
- func (mg *Addon) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *Addon) GetTerraformResourceType() string
- func (tr *Addon) GetTerraformSchemaVersion() int
- func (mg *Addon) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *Addon) Hub()
- func (tr *Addon) LateInitialize(attrs []byte) (bool, error)
- func (mg *Addon) SetConditions(c ...xpv1.Condition)
- func (mg *Addon) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *Addon) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *Addon) SetObservation(obs map[string]any) error
- func (tr *Addon) SetParameters(params map[string]any) error
- func (mg *Addon) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *Addon) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *Addon) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type AddonInitParameters
- type AddonList
- type AddonObservation
- type AddonParameters
- type AddonSpec
- type AddonStatus
Constants ¶
const ( CRDGroup = "addon.pagerduty.crossplane.io" CRDVersion = "v1alpha1" )
Package type metadata.
Variables ¶
var ( Addon_Kind = "Addon" Addon_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Addon_Kind}.String() Addon_KindAPIVersion = Addon_Kind + "." + CRDGroupVersion.String() Addon_GroupVersionKind = CRDGroupVersion.WithKind(Addon_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 Addon ¶
type Addon struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.src) || (has(self.initProvider) && has(self.initProvider.src))",message="spec.forProvider.src is a required parameter" Spec AddonSpec `json:"spec"` Status AddonStatus `json:"status,omitempty"` }
Addon is the Schema for the Addons API. Creates and manages an add-on in PagerDuty. +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].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:resource:scope=Cluster,categories={crossplane,managed,pagerduty}
func (*Addon) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Addon.
func (*Addon) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Addon) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Addon) GetCondition ¶
func (mg *Addon) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this Addon.
func (*Addon) GetConnectionDetailsMapping ¶
GetConnectionDetailsMapping for this Addon
func (*Addon) GetDeletionPolicy ¶
func (mg *Addon) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this Addon.
func (*Addon) GetInitParameters ¶ added in v0.5.0
GetInitParameters of this Addon
func (*Addon) GetManagementPolicies ¶ added in v0.5.0
func (mg *Addon) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this Addon.
func (*Addon) GetMergedParameters ¶ added in v0.8.0
GetInitParameters of this Addon
func (*Addon) GetObservation ¶
GetObservation of this Addon
func (*Addon) GetParameters ¶
GetParameters of this Addon
func (*Addon) GetProviderConfigReference ¶
GetProviderConfigReference of this Addon.
func (*Addon) GetPublishConnectionDetailsTo ¶
func (mg *Addon) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this Addon.
func (*Addon) GetTerraformResourceType ¶
GetTerraformResourceType returns Terraform resource type for this Addon
func (*Addon) GetTerraformSchemaVersion ¶
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*Addon) GetWriteConnectionSecretToReference ¶
func (mg *Addon) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this Addon.
func (*Addon) LateInitialize ¶
LateInitialize this Addon using its observed tfState. returns True if there are any spec changes for the resource.
func (*Addon) SetConditions ¶
SetConditions of this Addon.
func (*Addon) SetDeletionPolicy ¶
func (mg *Addon) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this Addon.
func (*Addon) SetManagementPolicies ¶ added in v0.5.0
func (mg *Addon) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this Addon.
func (*Addon) SetObservation ¶
SetObservation for this Addon
func (*Addon) SetParameters ¶
SetParameters for this Addon
func (*Addon) SetProviderConfigReference ¶
SetProviderConfigReference of this Addon.
func (*Addon) SetPublishConnectionDetailsTo ¶
func (mg *Addon) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this Addon.
func (*Addon) SetWriteConnectionSecretToReference ¶
func (mg *Addon) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this Addon.
type AddonInitParameters ¶ added in v0.5.0
type AddonInitParameters struct { // The name of the add-on. Name *string `json:"name,omitempty" tf:"name,omitempty"` // The source URL to display in a frame in the PagerDuty UI. HTTPS is required. Src *string `json:"src,omitempty" tf:"src,omitempty"` }
func (*AddonInitParameters) DeepCopy ¶ added in v0.5.0
func (in *AddonInitParameters) DeepCopy() *AddonInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AddonInitParameters.
func (*AddonInitParameters) DeepCopyInto ¶ added in v0.5.0
func (in *AddonInitParameters) DeepCopyInto(out *AddonInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AddonList ¶
type AddonList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Addon `json:"items"` }
AddonList contains a list of Addons
func (*AddonList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AddonList.
func (*AddonList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AddonList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type AddonObservation ¶
type AddonObservation struct { // The ID of the add-on. ID *string `json:"id,omitempty" tf:"id,omitempty"` // The name of the add-on. Name *string `json:"name,omitempty" tf:"name,omitempty"` // The source URL to display in a frame in the PagerDuty UI. HTTPS is required. Src *string `json:"src,omitempty" tf:"src,omitempty"` }
func (*AddonObservation) DeepCopy ¶
func (in *AddonObservation) DeepCopy() *AddonObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AddonObservation.
func (*AddonObservation) DeepCopyInto ¶
func (in *AddonObservation) DeepCopyInto(out *AddonObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AddonParameters ¶
type AddonParameters struct { // The name of the add-on. // +kubebuilder:validation:Optional Name *string `json:"name,omitempty" tf:"name,omitempty"` // The source URL to display in a frame in the PagerDuty UI. HTTPS is required. // +kubebuilder:validation:Optional Src *string `json:"src,omitempty" tf:"src,omitempty"` }
func (*AddonParameters) DeepCopy ¶
func (in *AddonParameters) DeepCopy() *AddonParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AddonParameters.
func (*AddonParameters) DeepCopyInto ¶
func (in *AddonParameters) DeepCopyInto(out *AddonParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AddonSpec ¶
type AddonSpec struct { v1.ResourceSpec `json:",inline"` ForProvider AddonParameters `json:"forProvider"` // THIS IS A BETA FIELD. It will be honored // unless the Management Policies feature flag is disabled. // InitProvider holds the same fields as ForProvider, with the exception // of Identifier and other resource reference fields. The fields that are // in InitProvider are merged into ForProvider when the resource is created. // The same fields are also added to the terraform ignore_changes hook, to // avoid updating them after creation. This is useful for fields that are // required on creation, but we do not desire to update them after creation, // for example because of an external controller is managing them, like an // autoscaler. InitProvider AddonInitParameters `json:"initProvider,omitempty"` }
AddonSpec defines the desired state of Addon
func (*AddonSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AddonSpec.
func (*AddonSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AddonStatus ¶
type AddonStatus struct { v1.ResourceStatus `json:",inline"` AtProvider AddonObservation `json:"atProvider,omitempty"` }
AddonStatus defines the observed state of Addon.
func (*AddonStatus) DeepCopy ¶
func (in *AddonStatus) DeepCopy() *AddonStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AddonStatus.
func (*AddonStatus) DeepCopyInto ¶
func (in *AddonStatus) DeepCopyInto(out *AddonStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.