v1alpha1

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

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

Index

Constants

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

Package type metadata.

Variables

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

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
)

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="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:resource:scope=Cluster,categories={crossplane,managed,pagerduty}

func (*Addon) DeepCopy

func (in *Addon) DeepCopy() *Addon

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

func (*Addon) DeepCopyInto

func (in *Addon) DeepCopyInto(out *Addon)

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

func (*Addon) DeepCopyObject

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

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

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

GetConnectionDetailsMapping for this Addon

func (*Addon) GetDeletionPolicy

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

GetDeletionPolicy of this Addon.

func (*Addon) GetID

func (tr *Addon) GetID() string

GetID returns ID of underlying Terraform resource of this Addon

func (*Addon) GetInitParameters added in v0.5.0

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

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

func (tr *Addon) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)

GetInitParameters of this Addon

func (*Addon) GetObservation

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

GetObservation of this Addon

func (*Addon) GetParameters

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

GetParameters of this Addon

func (*Addon) GetProviderConfigReference

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

GetProviderConfigReference of this Addon.

func (*Addon) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Addon.

func (*Addon) GetTerraformResourceType

func (mg *Addon) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Addon

func (*Addon) GetTerraformSchemaVersion

func (tr *Addon) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Addon) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Addon.

func (*Addon) Hub added in v0.8.0

func (tr *Addon) Hub()

Hub marks this type as a conversion hub.

func (*Addon) LateInitialize

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

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

func (*Addon) SetConditions

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

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

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

SetObservation for this Addon

func (*Addon) SetParameters

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

SetParameters for this Addon

func (*Addon) SetProviderConfigReference

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

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

func (in *AddonList) DeepCopy() *AddonList

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

func (*AddonList) DeepCopyInto

func (in *AddonList) DeepCopyInto(out *AddonList)

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

func (*AddonList) DeepCopyObject

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

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

func (*AddonList) GetItems

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

GetItems of this AddonList.

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

func (in *AddonSpec) DeepCopy() *AddonSpec

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

func (*AddonSpec) DeepCopyInto

func (in *AddonSpec) DeepCopyInto(out *AddonSpec)

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.

Jump to

Keyboard shortcuts

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