Documentation ¶
Overview ¶
+kubebuilder:object:generate=true +groupName=extensions.pagerduty.crossplane.io +versionName=v1alpha1
Index ¶
- Constants
- Variables
- type Extension
- func (in *Extension) DeepCopy() *Extension
- func (in *Extension) DeepCopyInto(out *Extension)
- func (in *Extension) DeepCopyObject() runtime.Object
- func (mg *Extension) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *Extension) GetConnectionDetailsMapping() map[string]string
- func (mg *Extension) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *Extension) GetID() string
- func (tr *Extension) GetInitParameters() (map[string]any, error)
- func (mg *Extension) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *Extension) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
- func (tr *Extension) GetObservation() (map[string]any, error)
- func (tr *Extension) GetParameters() (map[string]any, error)
- func (mg *Extension) GetProviderConfigReference() *xpv1.Reference
- func (mg *Extension) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *Extension) GetTerraformResourceType() string
- func (tr *Extension) GetTerraformSchemaVersion() int
- func (mg *Extension) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *Extension) Hub()
- func (tr *Extension) LateInitialize(attrs []byte) (bool, error)
- func (mg *Extension) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *Extension) SetConditions(c ...xpv1.Condition)
- func (mg *Extension) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *Extension) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *Extension) SetObservation(obs map[string]any) error
- func (tr *Extension) SetParameters(params map[string]any) error
- func (mg *Extension) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *Extension) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *Extension) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type ExtensionInitParameters
- type ExtensionList
- type ExtensionObservation
- type ExtensionParameters
- type ExtensionSpec
- type ExtensionStatus
- type Servicenow
- func (in *Servicenow) DeepCopy() *Servicenow
- func (in *Servicenow) DeepCopyInto(out *Servicenow)
- func (in *Servicenow) DeepCopyObject() runtime.Object
- func (mg *Servicenow) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *Servicenow) GetConnectionDetailsMapping() map[string]string
- func (mg *Servicenow) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *Servicenow) GetID() string
- func (tr *Servicenow) GetInitParameters() (map[string]any, error)
- func (mg *Servicenow) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *Servicenow) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
- func (tr *Servicenow) GetObservation() (map[string]any, error)
- func (tr *Servicenow) GetParameters() (map[string]any, error)
- func (mg *Servicenow) GetProviderConfigReference() *xpv1.Reference
- func (mg *Servicenow) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *Servicenow) GetTerraformResourceType() string
- func (tr *Servicenow) GetTerraformSchemaVersion() int
- func (mg *Servicenow) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *Servicenow) Hub()
- func (tr *Servicenow) LateInitialize(attrs []byte) (bool, error)
- func (mg *Servicenow) SetConditions(c ...xpv1.Condition)
- func (mg *Servicenow) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *Servicenow) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *Servicenow) SetObservation(obs map[string]any) error
- func (tr *Servicenow) SetParameters(params map[string]any) error
- func (mg *Servicenow) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *Servicenow) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *Servicenow) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type ServicenowInitParameters
- type ServicenowList
- type ServicenowObservation
- type ServicenowParameters
- type ServicenowSpec
- type ServicenowStatus
Constants ¶
const ( CRDGroup = "extensions.pagerduty.crossplane.io" CRDVersion = "v1alpha1" )
Package type metadata.
Variables ¶
var ( Extension_Kind = "Extension" Extension_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Extension_Kind}.String() Extension_KindAPIVersion = Extension_Kind + "." + CRDGroupVersion.String() Extension_GroupVersionKind = CRDGroupVersion.WithKind(Extension_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 )
var ( Servicenow_Kind = "Servicenow" Servicenow_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Servicenow_Kind}.String() Servicenow_KindAPIVersion = Servicenow_Kind + "." + CRDGroupVersion.String() Servicenow_GroupVersionKind = CRDGroupVersion.WithKind(Servicenow_Kind) )
Repository type metadata.
Functions ¶
This section is empty.
Types ¶
type Extension ¶
type Extension 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.extensionSchema) || (has(self.initProvider) && has(self.initProvider.extensionSchema))",message="spec.forProvider.extensionSchema is a required parameter" Spec ExtensionSpec `json:"spec"` Status ExtensionStatus `json:"status,omitempty"` }
Extension is the Schema for the Extensions API. Creates and manages a service extension 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 (*Extension) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Extension.
func (*Extension) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Extension) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Extension) GetCondition ¶
func (mg *Extension) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this Extension.
func (*Extension) GetConnectionDetailsMapping ¶
GetConnectionDetailsMapping for this Extension
func (*Extension) GetDeletionPolicy ¶
func (mg *Extension) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this Extension.
func (*Extension) GetInitParameters ¶ added in v0.5.0
GetInitParameters of this Extension
func (*Extension) GetManagementPolicies ¶ added in v0.5.0
func (mg *Extension) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this Extension.
func (*Extension) GetMergedParameters ¶ added in v0.8.0
GetInitParameters of this Extension
func (*Extension) GetObservation ¶
GetObservation of this Extension
func (*Extension) GetParameters ¶
GetParameters of this Extension
func (*Extension) GetProviderConfigReference ¶
GetProviderConfigReference of this Extension.
func (*Extension) GetPublishConnectionDetailsTo ¶
func (mg *Extension) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this Extension.
func (*Extension) GetTerraformResourceType ¶
GetTerraformResourceType returns Terraform resource type for this Extension
func (*Extension) GetTerraformSchemaVersion ¶
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*Extension) GetWriteConnectionSecretToReference ¶
func (mg *Extension) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this Extension.
func (*Extension) Hub ¶ added in v0.8.0
func (tr *Extension) Hub()
Hub marks this type as a conversion hub.
func (*Extension) LateInitialize ¶
LateInitialize this Extension using its observed tfState. returns True if there are any spec changes for the resource.
func (*Extension) ResolveReferences ¶
ResolveReferences of this Extension.
func (*Extension) SetConditions ¶
SetConditions of this Extension.
func (*Extension) SetDeletionPolicy ¶
func (mg *Extension) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this Extension.
func (*Extension) SetManagementPolicies ¶ added in v0.5.0
func (mg *Extension) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this Extension.
func (*Extension) SetObservation ¶
SetObservation for this Extension
func (*Extension) SetParameters ¶
SetParameters for this Extension
func (*Extension) SetProviderConfigReference ¶
SetProviderConfigReference of this Extension.
func (*Extension) SetPublishConnectionDetailsTo ¶
func (mg *Extension) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this Extension.
func (*Extension) SetWriteConnectionSecretToReference ¶
func (mg *Extension) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this Extension.
type ExtensionInitParameters ¶ added in v0.5.0
type ExtensionInitParameters struct { // The configuration of the service extension as string containing plain JSON-encoded data. Config *string `json:"config,omitempty" tf:"config,omitempty"` // The url of the extension. // Note: The endpoint URL is Optional API wise in most cases. But in some cases it is a Required parameter. For example, pagerduty_extension_schema named Generic V2 Webhook doesn't accept pagerduty_extension with no endpoint_url, but one with named Slack accepts. EndpointURLSecretRef *v1.SecretKeySelector `json:"endpointUrlSecretRef,omitempty" tf:"-"` // This is the objects for which the extension applies (An array of service ids). // +crossplane:generate:reference:type=github.com/crossplane-contrib/provider-pagerduty/apis/service/v1alpha1.Service // +listType=set ExtensionObjects []*string `json:"extensionObjects,omitempty" tf:"extension_objects,omitempty"` // References to Service in service to populate extensionObjects. // +kubebuilder:validation:Optional ExtensionObjectsRefs []v1.Reference `json:"extensionObjectsRefs,omitempty" tf:"-"` // Selector for a list of Service in service to populate extensionObjects. // +kubebuilder:validation:Optional ExtensionObjectsSelector *v1.Selector `json:"extensionObjectsSelector,omitempty" tf:"-"` // This is the schema for this extension. ExtensionSchema *string `json:"extensionSchema,omitempty" tf:"extension_schema,omitempty"` // The name of the service extension. Name *string `json:"name,omitempty" tf:"name,omitempty"` Type *string `json:"type,omitempty" tf:"type,omitempty"` }
func (*ExtensionInitParameters) DeepCopy ¶ added in v0.5.0
func (in *ExtensionInitParameters) DeepCopy() *ExtensionInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExtensionInitParameters.
func (*ExtensionInitParameters) DeepCopyInto ¶ added in v0.5.0
func (in *ExtensionInitParameters) DeepCopyInto(out *ExtensionInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ExtensionList ¶
type ExtensionList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Extension `json:"items"` }
ExtensionList contains a list of Extensions
func (*ExtensionList) DeepCopy ¶
func (in *ExtensionList) DeepCopy() *ExtensionList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExtensionList.
func (*ExtensionList) DeepCopyInto ¶
func (in *ExtensionList) DeepCopyInto(out *ExtensionList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ExtensionList) DeepCopyObject ¶
func (in *ExtensionList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ExtensionList) GetItems ¶
func (l *ExtensionList) GetItems() []resource.Managed
GetItems of this ExtensionList.
type ExtensionObservation ¶
type ExtensionObservation struct { // The configuration of the service extension as string containing plain JSON-encoded data. Config *string `json:"config,omitempty" tf:"config,omitempty"` // This is the objects for which the extension applies (An array of service ids). // +listType=set ExtensionObjects []*string `json:"extensionObjects,omitempty" tf:"extension_objects,omitempty"` // This is the schema for this extension. ExtensionSchema *string `json:"extensionSchema,omitempty" tf:"extension_schema,omitempty"` // URL at which the entity is uniquely displayed in the Web app HTMLURL *string `json:"htmlUrl,omitempty" tf:"html_url,omitempty"` // The ID of the extension. ID *string `json:"id,omitempty" tf:"id,omitempty"` // The name of the service extension. Name *string `json:"name,omitempty" tf:"name,omitempty"` // A short-form, server-generated string that provides succinct, important information about an object suitable for primary labeling of an entity in a client. In many cases, this will be identical to name, though it is not intended to be an identifier. Summary *string `json:"summary,omitempty" tf:"summary,omitempty"` Type *string `json:"type,omitempty" tf:"type,omitempty"` }
func (*ExtensionObservation) DeepCopy ¶
func (in *ExtensionObservation) DeepCopy() *ExtensionObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExtensionObservation.
func (*ExtensionObservation) DeepCopyInto ¶
func (in *ExtensionObservation) DeepCopyInto(out *ExtensionObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ExtensionParameters ¶
type ExtensionParameters struct { // The configuration of the service extension as string containing plain JSON-encoded data. // +kubebuilder:validation:Optional Config *string `json:"config,omitempty" tf:"config,omitempty"` // The url of the extension. // Note: The endpoint URL is Optional API wise in most cases. But in some cases it is a Required parameter. For example, pagerduty_extension_schema named Generic V2 Webhook doesn't accept pagerduty_extension with no endpoint_url, but one with named Slack accepts. // +kubebuilder:validation:Optional EndpointURLSecretRef *v1.SecretKeySelector `json:"endpointUrlSecretRef,omitempty" tf:"-"` // This is the objects for which the extension applies (An array of service ids). // +crossplane:generate:reference:type=github.com/crossplane-contrib/provider-pagerduty/apis/service/v1alpha1.Service // +kubebuilder:validation:Optional // +listType=set ExtensionObjects []*string `json:"extensionObjects,omitempty" tf:"extension_objects,omitempty"` // References to Service in service to populate extensionObjects. // +kubebuilder:validation:Optional ExtensionObjectsRefs []v1.Reference `json:"extensionObjectsRefs,omitempty" tf:"-"` // Selector for a list of Service in service to populate extensionObjects. // +kubebuilder:validation:Optional ExtensionObjectsSelector *v1.Selector `json:"extensionObjectsSelector,omitempty" tf:"-"` // This is the schema for this extension. // +kubebuilder:validation:Optional ExtensionSchema *string `json:"extensionSchema,omitempty" tf:"extension_schema,omitempty"` // The name of the service extension. // +kubebuilder:validation:Optional Name *string `json:"name,omitempty" tf:"name,omitempty"` // +kubebuilder:validation:Optional Type *string `json:"type,omitempty" tf:"type,omitempty"` }
func (*ExtensionParameters) DeepCopy ¶
func (in *ExtensionParameters) DeepCopy() *ExtensionParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExtensionParameters.
func (*ExtensionParameters) DeepCopyInto ¶
func (in *ExtensionParameters) DeepCopyInto(out *ExtensionParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ExtensionSpec ¶
type ExtensionSpec struct { v1.ResourceSpec `json:",inline"` ForProvider ExtensionParameters `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 ExtensionInitParameters `json:"initProvider,omitempty"` }
ExtensionSpec defines the desired state of Extension
func (*ExtensionSpec) DeepCopy ¶
func (in *ExtensionSpec) DeepCopy() *ExtensionSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExtensionSpec.
func (*ExtensionSpec) DeepCopyInto ¶
func (in *ExtensionSpec) DeepCopyInto(out *ExtensionSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ExtensionStatus ¶
type ExtensionStatus struct { v1.ResourceStatus `json:",inline"` AtProvider ExtensionObservation `json:"atProvider,omitempty"` }
ExtensionStatus defines the observed state of Extension.
func (*ExtensionStatus) DeepCopy ¶
func (in *ExtensionStatus) DeepCopy() *ExtensionStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExtensionStatus.
func (*ExtensionStatus) DeepCopyInto ¶
func (in *ExtensionStatus) DeepCopyInto(out *ExtensionStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Servicenow ¶
type Servicenow 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.extensionObjects) || (has(self.initProvider) && has(self.initProvider.extensionObjects))",message="spec.forProvider.extensionObjects is a required parameter" // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.extensionSchema) || (has(self.initProvider) && has(self.initProvider.extensionSchema))",message="spec.forProvider.extensionSchema is a required parameter" // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.referer) || (has(self.initProvider) && has(self.initProvider.referer))",message="spec.forProvider.referer is a required parameter" // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.snowPasswordSecretRef)",message="spec.forProvider.snowPasswordSecretRef is a required parameter" // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.snowUser) || (has(self.initProvider) && has(self.initProvider.snowUser))",message="spec.forProvider.snowUser is a required parameter" // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.syncOptions) || (has(self.initProvider) && has(self.initProvider.syncOptions))",message="spec.forProvider.syncOptions is a required parameter" // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.target) || (has(self.initProvider) && has(self.initProvider.target))",message="spec.forProvider.target is a required parameter" // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.taskType) || (has(self.initProvider) && has(self.initProvider.taskType))",message="spec.forProvider.taskType is a required parameter" Spec ServicenowSpec `json:"spec"` Status ServicenowStatus `json:"status,omitempty"` }
Servicenow is the Schema for the Servicenows API. Creates and manages a ServiceNow service extension 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 (*Servicenow) DeepCopy ¶
func (in *Servicenow) DeepCopy() *Servicenow
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Servicenow.
func (*Servicenow) DeepCopyInto ¶
func (in *Servicenow) DeepCopyInto(out *Servicenow)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Servicenow) DeepCopyObject ¶
func (in *Servicenow) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Servicenow) GetCondition ¶
func (mg *Servicenow) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this Servicenow.
func (*Servicenow) GetConnectionDetailsMapping ¶
func (tr *Servicenow) GetConnectionDetailsMapping() map[string]string
GetConnectionDetailsMapping for this Servicenow
func (*Servicenow) GetDeletionPolicy ¶
func (mg *Servicenow) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this Servicenow.
func (*Servicenow) GetID ¶
func (tr *Servicenow) GetID() string
GetID returns ID of underlying Terraform resource of this Servicenow
func (*Servicenow) GetInitParameters ¶ added in v0.5.0
func (tr *Servicenow) GetInitParameters() (map[string]any, error)
GetInitParameters of this Servicenow
func (*Servicenow) GetManagementPolicies ¶ added in v0.5.0
func (mg *Servicenow) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this Servicenow.
func (*Servicenow) GetMergedParameters ¶ added in v0.8.0
func (tr *Servicenow) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
GetInitParameters of this Servicenow
func (*Servicenow) GetObservation ¶
func (tr *Servicenow) GetObservation() (map[string]any, error)
GetObservation of this Servicenow
func (*Servicenow) GetParameters ¶
func (tr *Servicenow) GetParameters() (map[string]any, error)
GetParameters of this Servicenow
func (*Servicenow) GetProviderConfigReference ¶
func (mg *Servicenow) GetProviderConfigReference() *xpv1.Reference
GetProviderConfigReference of this Servicenow.
func (*Servicenow) GetPublishConnectionDetailsTo ¶
func (mg *Servicenow) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this Servicenow.
func (*Servicenow) GetTerraformResourceType ¶
func (mg *Servicenow) GetTerraformResourceType() string
GetTerraformResourceType returns Terraform resource type for this Servicenow
func (*Servicenow) GetTerraformSchemaVersion ¶
func (tr *Servicenow) GetTerraformSchemaVersion() int
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*Servicenow) GetWriteConnectionSecretToReference ¶
func (mg *Servicenow) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this Servicenow.
func (*Servicenow) Hub ¶ added in v0.8.0
func (tr *Servicenow) Hub()
Hub marks this type as a conversion hub.
func (*Servicenow) LateInitialize ¶
func (tr *Servicenow) LateInitialize(attrs []byte) (bool, error)
LateInitialize this Servicenow using its observed tfState. returns True if there are any spec changes for the resource.
func (*Servicenow) SetConditions ¶
func (mg *Servicenow) SetConditions(c ...xpv1.Condition)
SetConditions of this Servicenow.
func (*Servicenow) SetDeletionPolicy ¶
func (mg *Servicenow) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this Servicenow.
func (*Servicenow) SetManagementPolicies ¶ added in v0.5.0
func (mg *Servicenow) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this Servicenow.
func (*Servicenow) SetObservation ¶
func (tr *Servicenow) SetObservation(obs map[string]any) error
SetObservation for this Servicenow
func (*Servicenow) SetParameters ¶
func (tr *Servicenow) SetParameters(params map[string]any) error
SetParameters for this Servicenow
func (*Servicenow) SetProviderConfigReference ¶
func (mg *Servicenow) SetProviderConfigReference(r *xpv1.Reference)
SetProviderConfigReference of this Servicenow.
func (*Servicenow) SetPublishConnectionDetailsTo ¶
func (mg *Servicenow) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this Servicenow.
func (*Servicenow) SetWriteConnectionSecretToReference ¶
func (mg *Servicenow) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this Servicenow.
type ServicenowInitParameters ¶ added in v0.5.0
type ServicenowInitParameters struct { EndpointURLSecretRef *v1.SecretKeySelector `json:"endpointUrlSecretRef,omitempty" tf:"-"` // This is the objects for which the extension applies (An array of service ids). // +listType=set ExtensionObjects []*string `json:"extensionObjects,omitempty" tf:"extension_objects,omitempty"` // This is the schema for this extension. ExtensionSchema *string `json:"extensionSchema,omitempty" tf:"extension_schema,omitempty"` // The name of the service extension. Name *string `json:"name,omitempty" tf:"name,omitempty"` // The ServiceNow referer. Referer *string `json:"referer,omitempty" tf:"referer,omitempty"` // The ServiceNow password. SnowPasswordSecretRef v1.SecretKeySelector `json:"snowPasswordSecretRef" tf:"-"` // The ServiceNow username. SnowUser *string `json:"snowUser,omitempty" tf:"snow_user,omitempty"` // A short-form, server-generated string that provides succinct, important information about an object suitable for primary labeling of an entity in a client. In many cases, this will be identical to name, though it is not intended to be an identifier. Summary *string `json:"summary,omitempty" tf:"summary,omitempty"` // The ServiceNow sync option. SyncOptions *string `json:"syncOptions,omitempty" tf:"sync_options,omitempty"` // Target Webhook URL. Target *string `json:"target,omitempty" tf:"target,omitempty"` // The ServiceNow task type, typically incident. TaskType *string `json:"taskType,omitempty" tf:"task_type,omitempty"` Type *string `json:"type,omitempty" tf:"type,omitempty"` }
func (*ServicenowInitParameters) DeepCopy ¶ added in v0.5.0
func (in *ServicenowInitParameters) DeepCopy() *ServicenowInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServicenowInitParameters.
func (*ServicenowInitParameters) DeepCopyInto ¶ added in v0.5.0
func (in *ServicenowInitParameters) DeepCopyInto(out *ServicenowInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ServicenowList ¶
type ServicenowList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Servicenow `json:"items"` }
ServicenowList contains a list of Servicenows
func (*ServicenowList) DeepCopy ¶
func (in *ServicenowList) DeepCopy() *ServicenowList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServicenowList.
func (*ServicenowList) DeepCopyInto ¶
func (in *ServicenowList) DeepCopyInto(out *ServicenowList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ServicenowList) DeepCopyObject ¶
func (in *ServicenowList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ServicenowList) GetItems ¶
func (l *ServicenowList) GetItems() []resource.Managed
GetItems of this ServicenowList.
type ServicenowObservation ¶
type ServicenowObservation struct { // This is the objects for which the extension applies (An array of service ids). // +listType=set ExtensionObjects []*string `json:"extensionObjects,omitempty" tf:"extension_objects,omitempty"` // This is the schema for this extension. ExtensionSchema *string `json:"extensionSchema,omitempty" tf:"extension_schema,omitempty"` // URL at which the entity is uniquely displayed in the Web app. HTMLURL *string `json:"htmlUrl,omitempty" tf:"html_url,omitempty"` // The ID of the extension. ID *string `json:"id,omitempty" tf:"id,omitempty"` // The name of the service extension. Name *string `json:"name,omitempty" tf:"name,omitempty"` // The ServiceNow referer. Referer *string `json:"referer,omitempty" tf:"referer,omitempty"` // The ServiceNow username. SnowUser *string `json:"snowUser,omitempty" tf:"snow_user,omitempty"` // A short-form, server-generated string that provides succinct, important information about an object suitable for primary labeling of an entity in a client. In many cases, this will be identical to name, though it is not intended to be an identifier. Summary *string `json:"summary,omitempty" tf:"summary,omitempty"` // The ServiceNow sync option. SyncOptions *string `json:"syncOptions,omitempty" tf:"sync_options,omitempty"` // Target Webhook URL. Target *string `json:"target,omitempty" tf:"target,omitempty"` // The ServiceNow task type, typically incident. TaskType *string `json:"taskType,omitempty" tf:"task_type,omitempty"` Type *string `json:"type,omitempty" tf:"type,omitempty"` }
func (*ServicenowObservation) DeepCopy ¶
func (in *ServicenowObservation) DeepCopy() *ServicenowObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServicenowObservation.
func (*ServicenowObservation) DeepCopyInto ¶
func (in *ServicenowObservation) DeepCopyInto(out *ServicenowObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ServicenowParameters ¶
type ServicenowParameters struct { // +kubebuilder:validation:Optional EndpointURLSecretRef *v1.SecretKeySelector `json:"endpointUrlSecretRef,omitempty" tf:"-"` // This is the objects for which the extension applies (An array of service ids). // +kubebuilder:validation:Optional // +listType=set ExtensionObjects []*string `json:"extensionObjects,omitempty" tf:"extension_objects,omitempty"` // This is the schema for this extension. // +kubebuilder:validation:Optional ExtensionSchema *string `json:"extensionSchema,omitempty" tf:"extension_schema,omitempty"` // The name of the service extension. // +kubebuilder:validation:Optional Name *string `json:"name,omitempty" tf:"name,omitempty"` // The ServiceNow referer. // +kubebuilder:validation:Optional Referer *string `json:"referer,omitempty" tf:"referer,omitempty"` // The ServiceNow password. // +kubebuilder:validation:Optional SnowPasswordSecretRef v1.SecretKeySelector `json:"snowPasswordSecretRef" tf:"-"` // The ServiceNow username. // +kubebuilder:validation:Optional SnowUser *string `json:"snowUser,omitempty" tf:"snow_user,omitempty"` // A short-form, server-generated string that provides succinct, important information about an object suitable for primary labeling of an entity in a client. In many cases, this will be identical to name, though it is not intended to be an identifier. // +kubebuilder:validation:Optional Summary *string `json:"summary,omitempty" tf:"summary,omitempty"` // The ServiceNow sync option. // +kubebuilder:validation:Optional SyncOptions *string `json:"syncOptions,omitempty" tf:"sync_options,omitempty"` // Target Webhook URL. // +kubebuilder:validation:Optional Target *string `json:"target,omitempty" tf:"target,omitempty"` // The ServiceNow task type, typically incident. // +kubebuilder:validation:Optional TaskType *string `json:"taskType,omitempty" tf:"task_type,omitempty"` // +kubebuilder:validation:Optional Type *string `json:"type,omitempty" tf:"type,omitempty"` }
func (*ServicenowParameters) DeepCopy ¶
func (in *ServicenowParameters) DeepCopy() *ServicenowParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServicenowParameters.
func (*ServicenowParameters) DeepCopyInto ¶
func (in *ServicenowParameters) DeepCopyInto(out *ServicenowParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ServicenowSpec ¶
type ServicenowSpec struct { v1.ResourceSpec `json:",inline"` ForProvider ServicenowParameters `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 ServicenowInitParameters `json:"initProvider,omitempty"` }
ServicenowSpec defines the desired state of Servicenow
func (*ServicenowSpec) DeepCopy ¶
func (in *ServicenowSpec) DeepCopy() *ServicenowSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServicenowSpec.
func (*ServicenowSpec) DeepCopyInto ¶
func (in *ServicenowSpec) DeepCopyInto(out *ServicenowSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ServicenowStatus ¶
type ServicenowStatus struct { v1.ResourceStatus `json:",inline"` AtProvider ServicenowObservation `json:"atProvider,omitempty"` }
ServicenowStatus defines the observed state of Servicenow.
func (*ServicenowStatus) DeepCopy ¶
func (in *ServicenowStatus) DeepCopy() *ServicenowStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServicenowStatus.
func (*ServicenowStatus) DeepCopyInto ¶
func (in *ServicenowStatus) DeepCopyInto(out *ServicenowStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.