v1alpha1

package
v0.6.1 Latest Latest
Warning

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

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

Documentation

Overview

+kubebuilder:object:generate=true +groupName=extensions.pagerduty.crossplane.io +versionName=v1alpha1

Index

Constants

View Source
const (
	CRDGroup   = "extensions.pagerduty.crossplane.io"
	CRDVersion = "v1alpha1"
)

Package type metadata.

Variables

View Source
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.

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 (
	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.extensionSchema)",message="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="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,pagerduty}

func (*Extension) DeepCopy

func (in *Extension) DeepCopy() *Extension

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

func (*Extension) DeepCopyInto

func (in *Extension) DeepCopyInto(out *Extension)

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

func (*Extension) DeepCopyObject

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

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

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

GetConnectionDetailsMapping for this Extension

func (*Extension) GetDeletionPolicy

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

GetDeletionPolicy of this Extension.

func (*Extension) GetID

func (tr *Extension) GetID() string

GetID returns ID of underlying Terraform resource of this Extension

func (*Extension) GetInitParameters added in v0.5.0

func (tr *Extension) GetInitParameters() (map[string]any, error)

GetInitParameters of this Extension

func (*Extension) GetManagementPolicies added in v0.5.0

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

GetManagementPolicies of this Extension.

func (*Extension) GetObservation

func (tr *Extension) GetObservation() (map[string]any, error)

GetObservation of this Extension

func (*Extension) GetParameters

func (tr *Extension) GetParameters() (map[string]any, error)

GetParameters of this Extension

func (*Extension) GetProviderConfigReference

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

GetProviderConfigReference of this Extension.

func (*Extension) GetProviderReference

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

GetProviderReference of this Extension. Deprecated: Use GetProviderConfigReference.

func (*Extension) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Extension.

func (*Extension) GetTerraformResourceType

func (mg *Extension) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Extension

func (*Extension) GetTerraformSchemaVersion

func (tr *Extension) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Extension) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Extension.

func (*Extension) LateInitialize

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

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

func (*Extension) ResolveReferences

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

ResolveReferences of this Extension.

func (*Extension) SetConditions

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

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

func (tr *Extension) SetObservation(obs map[string]any) error

SetObservation for this Extension

func (*Extension) SetParameters

func (tr *Extension) SetParameters(params map[string]any) error

SetParameters for this Extension

func (*Extension) SetProviderConfigReference

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

SetProviderConfigReference of this Extension.

func (*Extension) SetProviderReference

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

SetProviderReference of this Extension. Deprecated: Use SetProviderConfigReference.

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"`

	// 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

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).
	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

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
	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 AN ALPHA FIELD. Do not use it in production. It is not honored
	// unless the relevant Crossplane feature flag is enabled, and may be
	// changed or removed without notice.
	// 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.extensionObjects)",message="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.extensionSchema)",message="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.referer)",message="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="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.snowUser)",message="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.syncOptions)",message="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.target)",message="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.taskType)",message="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="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,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) 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) GetProviderReference

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

GetProviderReference of this Servicenow. Deprecated: Use GetProviderConfigReference.

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) 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) SetProviderReference

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

SetProviderReference of this Servicenow. Deprecated: Use SetProviderConfigReference.

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 {

	// This is the objects for which the extension applies (An array of service ids).
	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 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

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).
	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

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
	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

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 AN ALPHA FIELD. Do not use it in production. It is not honored
	// unless the relevant Crossplane feature flag is enabled, and may be
	// changed or removed without notice.
	// 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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL