v1alpha1

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

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

Index

Constants

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

Package type metadata.

Variables

View Source
var (
	ContactMethod_Kind             = "ContactMethod"
	ContactMethod_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: ContactMethod_Kind}.String()
	ContactMethod_KindAPIVersion   = ContactMethod_Kind + "." + CRDGroupVersion.String()
	ContactMethod_GroupVersionKind = CRDGroupVersion.WithKind(ContactMethod_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 (
	NotificationRule_Kind             = "NotificationRule"
	NotificationRule_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: NotificationRule_Kind}.String()
	NotificationRule_KindAPIVersion   = NotificationRule_Kind + "." + CRDGroupVersion.String()
	NotificationRule_GroupVersionKind = CRDGroupVersion.WithKind(NotificationRule_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type ContactMethod

type ContactMethod struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ContactMethodSpec   `json:"spec"`
	Status            ContactMethodStatus `json:"status,omitempty"`
}

ContactMethod is the Schema for the ContactMethods API +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,pagerdutyjet}

func (*ContactMethod) DeepCopy

func (in *ContactMethod) DeepCopy() *ContactMethod

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

func (*ContactMethod) DeepCopyInto

func (in *ContactMethod) DeepCopyInto(out *ContactMethod)

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

func (*ContactMethod) DeepCopyObject

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

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

func (*ContactMethod) GetCondition

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

GetCondition of this ContactMethod.

func (*ContactMethod) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this ContactMethod

func (*ContactMethod) GetDeletionPolicy

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

GetDeletionPolicy of this ContactMethod.

func (*ContactMethod) GetID

func (tr *ContactMethod) GetID() string

GetID returns ID of underlying Terraform resource of this ContactMethod

func (*ContactMethod) GetObservation

func (tr *ContactMethod) GetObservation() (map[string]interface{}, error)

GetObservation of this ContactMethod

func (*ContactMethod) GetParameters

func (tr *ContactMethod) GetParameters() (map[string]interface{}, error)

GetParameters of this ContactMethod

func (*ContactMethod) GetProviderConfigReference

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

GetProviderConfigReference of this ContactMethod.

func (*ContactMethod) GetProviderReference

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

GetProviderReference of this ContactMethod. Deprecated: Use GetProviderConfigReference.

func (*ContactMethod) GetTerraformResourceType

func (mg *ContactMethod) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this ContactMethod

func (*ContactMethod) GetTerraformSchemaVersion

func (tr *ContactMethod) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*ContactMethod) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this ContactMethod.

func (*ContactMethod) LateInitialize

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

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

func (*ContactMethod) SetConditions

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

SetConditions of this ContactMethod.

func (*ContactMethod) SetDeletionPolicy

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

SetDeletionPolicy of this ContactMethod.

func (*ContactMethod) SetObservation

func (tr *ContactMethod) SetObservation(obs map[string]interface{}) error

SetObservation for this ContactMethod

func (*ContactMethod) SetParameters

func (tr *ContactMethod) SetParameters(params map[string]interface{}) error

SetParameters for this ContactMethod

func (*ContactMethod) SetProviderConfigReference

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

SetProviderConfigReference of this ContactMethod.

func (*ContactMethod) SetProviderReference

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

SetProviderReference of this ContactMethod. Deprecated: Use SetProviderConfigReference.

func (*ContactMethod) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this ContactMethod.

type ContactMethodList

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

ContactMethodList contains a list of ContactMethods

func (*ContactMethodList) DeepCopy

func (in *ContactMethodList) DeepCopy() *ContactMethodList

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

func (*ContactMethodList) DeepCopyInto

func (in *ContactMethodList) DeepCopyInto(out *ContactMethodList)

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

func (*ContactMethodList) DeepCopyObject

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

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

func (*ContactMethodList) GetItems

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

GetItems of this ContactMethodList.

type ContactMethodObservation

type ContactMethodObservation struct {
	Blacklisted *bool `json:"blacklisted,omitempty" tf:"blacklisted,omitempty"`

	Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`

	ID *string `json:"id,omitempty" tf:"id,omitempty"`
}

func (*ContactMethodObservation) DeepCopy

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

func (*ContactMethodObservation) DeepCopyInto

func (in *ContactMethodObservation) DeepCopyInto(out *ContactMethodObservation)

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

type ContactMethodParameters

type ContactMethodParameters struct {

	// +kubebuilder:validation:Required
	Address *string `json:"address" tf:"address,omitempty"`

	// +kubebuilder:validation:Optional
	CountryCode *float64 `json:"countryCode,omitempty" tf:"country_code,omitempty"`

	// +kubebuilder:validation:Required
	Label *string `json:"label" tf:"label,omitempty"`

	// +kubebuilder:validation:Optional
	SendShortEmail *bool `json:"sendShortEmail,omitempty" tf:"send_short_email,omitempty"`

	// +kubebuilder:validation:Required
	Type *string `json:"type" tf:"type,omitempty"`

	// +kubebuilder:validation:Required
	UserID *string `json:"userId" tf:"user_id,omitempty"`
}

func (*ContactMethodParameters) DeepCopy

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

func (*ContactMethodParameters) DeepCopyInto

func (in *ContactMethodParameters) DeepCopyInto(out *ContactMethodParameters)

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

type ContactMethodSpec

type ContactMethodSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     ContactMethodParameters `json:"forProvider"`
}

ContactMethodSpec defines the desired state of ContactMethod

func (*ContactMethodSpec) DeepCopy

func (in *ContactMethodSpec) DeepCopy() *ContactMethodSpec

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

func (*ContactMethodSpec) DeepCopyInto

func (in *ContactMethodSpec) DeepCopyInto(out *ContactMethodSpec)

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

type ContactMethodStatus

type ContactMethodStatus struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        ContactMethodObservation `json:"atProvider,omitempty"`
}

ContactMethodStatus defines the observed state of ContactMethod.

func (*ContactMethodStatus) DeepCopy

func (in *ContactMethodStatus) DeepCopy() *ContactMethodStatus

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

func (*ContactMethodStatus) DeepCopyInto

func (in *ContactMethodStatus) DeepCopyInto(out *ContactMethodStatus)

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

type NotificationRule

type NotificationRule struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              NotificationRuleSpec   `json:"spec"`
	Status            NotificationRuleStatus `json:"status,omitempty"`
}

NotificationRule is the Schema for the NotificationRules API +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,pagerdutyjet}

func (*NotificationRule) DeepCopy

func (in *NotificationRule) DeepCopy() *NotificationRule

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

func (*NotificationRule) DeepCopyInto

func (in *NotificationRule) DeepCopyInto(out *NotificationRule)

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

func (*NotificationRule) DeepCopyObject

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

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

func (*NotificationRule) GetCondition

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

GetCondition of this NotificationRule.

func (*NotificationRule) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this NotificationRule

func (*NotificationRule) GetDeletionPolicy

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

GetDeletionPolicy of this NotificationRule.

func (*NotificationRule) GetID

func (tr *NotificationRule) GetID() string

GetID returns ID of underlying Terraform resource of this NotificationRule

func (*NotificationRule) GetObservation

func (tr *NotificationRule) GetObservation() (map[string]interface{}, error)

GetObservation of this NotificationRule

func (*NotificationRule) GetParameters

func (tr *NotificationRule) GetParameters() (map[string]interface{}, error)

GetParameters of this NotificationRule

func (*NotificationRule) GetProviderConfigReference

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

GetProviderConfigReference of this NotificationRule.

func (*NotificationRule) GetProviderReference

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

GetProviderReference of this NotificationRule. Deprecated: Use GetProviderConfigReference.

func (*NotificationRule) GetTerraformResourceType

func (mg *NotificationRule) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this NotificationRule

func (*NotificationRule) GetTerraformSchemaVersion

func (tr *NotificationRule) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*NotificationRule) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this NotificationRule.

func (*NotificationRule) LateInitialize

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

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

func (*NotificationRule) SetConditions

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

SetConditions of this NotificationRule.

func (*NotificationRule) SetDeletionPolicy

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

SetDeletionPolicy of this NotificationRule.

func (*NotificationRule) SetObservation

func (tr *NotificationRule) SetObservation(obs map[string]interface{}) error

SetObservation for this NotificationRule

func (*NotificationRule) SetParameters

func (tr *NotificationRule) SetParameters(params map[string]interface{}) error

SetParameters for this NotificationRule

func (*NotificationRule) SetProviderConfigReference

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

SetProviderConfigReference of this NotificationRule.

func (*NotificationRule) SetProviderReference

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

SetProviderReference of this NotificationRule. Deprecated: Use SetProviderConfigReference.

func (*NotificationRule) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this NotificationRule.

type NotificationRuleList

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

NotificationRuleList contains a list of NotificationRules

func (*NotificationRuleList) DeepCopy

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

func (*NotificationRuleList) DeepCopyInto

func (in *NotificationRuleList) DeepCopyInto(out *NotificationRuleList)

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

func (*NotificationRuleList) DeepCopyObject

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

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

func (*NotificationRuleList) GetItems

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

GetItems of this NotificationRuleList.

type NotificationRuleObservation

type NotificationRuleObservation struct {
	ID *string `json:"id,omitempty" tf:"id,omitempty"`
}

func (*NotificationRuleObservation) DeepCopy

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

func (*NotificationRuleObservation) DeepCopyInto

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

type NotificationRuleParameters

type NotificationRuleParameters struct {

	// +kubebuilder:validation:Required
	ContactMethod map[string]*string `json:"contactMethod" tf:"contact_method,omitempty"`

	// +kubebuilder:validation:Required
	StartDelayInMinutes *float64 `json:"startDelayInMinutes" tf:"start_delay_in_minutes,omitempty"`

	// +kubebuilder:validation:Required
	Urgency *string `json:"urgency" tf:"urgency,omitempty"`

	// +kubebuilder:validation:Required
	UserID *string `json:"userId" tf:"user_id,omitempty"`
}

func (*NotificationRuleParameters) DeepCopy

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

func (*NotificationRuleParameters) DeepCopyInto

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

type NotificationRuleSpec

type NotificationRuleSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     NotificationRuleParameters `json:"forProvider"`
}

NotificationRuleSpec defines the desired state of NotificationRule

func (*NotificationRuleSpec) DeepCopy

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

func (*NotificationRuleSpec) DeepCopyInto

func (in *NotificationRuleSpec) DeepCopyInto(out *NotificationRuleSpec)

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

type NotificationRuleStatus

type NotificationRuleStatus struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        NotificationRuleObservation `json:"atProvider,omitempty"`
}

NotificationRuleStatus defines the observed state of NotificationRule.

func (*NotificationRuleStatus) DeepCopy

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

func (*NotificationRuleStatus) DeepCopyInto

func (in *NotificationRuleStatus) DeepCopyInto(out *NotificationRuleStatus)

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