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=slack.pagerduty.jet.crossplane.io +versionName=v1alpha1

Index

Constants

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

Package type metadata.

Variables

View Source
var (
	Connection_Kind             = "Connection"
	Connection_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Connection_Kind}.String()
	Connection_KindAPIVersion   = Connection_Kind + "." + CRDGroupVersion.String()
	Connection_GroupVersionKind = CRDGroupVersion.WithKind(Connection_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 ConfigObservation

type ConfigObservation struct {
}

func (*ConfigObservation) DeepCopy

func (in *ConfigObservation) DeepCopy() *ConfigObservation

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

func (*ConfigObservation) DeepCopyInto

func (in *ConfigObservation) DeepCopyInto(out *ConfigObservation)

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

type ConfigParameters

type ConfigParameters struct {

	// +kubebuilder:validation:Required
	Events []*string `json:"events" tf:"events,omitempty"`

	// +kubebuilder:validation:Optional
	Priorities []*string `json:"priorities,omitempty" tf:"priorities,omitempty"`

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

func (*ConfigParameters) DeepCopy

func (in *ConfigParameters) DeepCopy() *ConfigParameters

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

func (*ConfigParameters) DeepCopyInto

func (in *ConfigParameters) DeepCopyInto(out *ConfigParameters)

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

type Connection

type Connection struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ConnectionSpec   `json:"spec"`
	Status            ConnectionStatus `json:"status,omitempty"`
}

Connection is the Schema for the Connections 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 (*Connection) DeepCopy

func (in *Connection) DeepCopy() *Connection

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

func (*Connection) DeepCopyInto

func (in *Connection) DeepCopyInto(out *Connection)

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

func (*Connection) DeepCopyObject

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

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

func (*Connection) GetCondition

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

GetCondition of this Connection.

func (*Connection) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Connection

func (*Connection) GetDeletionPolicy

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

GetDeletionPolicy of this Connection.

func (*Connection) GetID

func (tr *Connection) GetID() string

GetID returns ID of underlying Terraform resource of this Connection

func (*Connection) GetObservation

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

GetObservation of this Connection

func (*Connection) GetParameters

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

GetParameters of this Connection

func (*Connection) GetProviderConfigReference

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

GetProviderConfigReference of this Connection.

func (*Connection) GetProviderReference

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

GetProviderReference of this Connection. Deprecated: Use GetProviderConfigReference.

func (*Connection) GetTerraformResourceType

func (mg *Connection) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Connection

func (*Connection) GetTerraformSchemaVersion

func (tr *Connection) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Connection) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Connection.

func (*Connection) LateInitialize

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

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

func (*Connection) SetConditions

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

SetConditions of this Connection.

func (*Connection) SetDeletionPolicy

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

SetDeletionPolicy of this Connection.

func (*Connection) SetObservation

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

SetObservation for this Connection

func (*Connection) SetParameters

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

SetParameters for this Connection

func (*Connection) SetProviderConfigReference

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

SetProviderConfigReference of this Connection.

func (*Connection) SetProviderReference

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

SetProviderReference of this Connection. Deprecated: Use SetProviderConfigReference.

func (*Connection) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Connection.

type ConnectionList

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

ConnectionList contains a list of Connections

func (*ConnectionList) DeepCopy

func (in *ConnectionList) DeepCopy() *ConnectionList

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

func (*ConnectionList) DeepCopyInto

func (in *ConnectionList) DeepCopyInto(out *ConnectionList)

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

func (*ConnectionList) DeepCopyObject

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

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

func (*ConnectionList) GetItems

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

GetItems of this ConnectionList.

type ConnectionObservation

type ConnectionObservation struct {
	ChannelName *string `json:"channelName,omitempty" tf:"channel_name,omitempty"`

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

	SourceName *string `json:"sourceName,omitempty" tf:"source_name,omitempty"`
}

func (*ConnectionObservation) DeepCopy

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

func (*ConnectionObservation) DeepCopyInto

func (in *ConnectionObservation) DeepCopyInto(out *ConnectionObservation)

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

type ConnectionParameters

type ConnectionParameters struct {

	// +kubebuilder:validation:Required
	ChannelID *string `json:"channelId" tf:"channel_id,omitempty"`

	// +kubebuilder:validation:Required
	Config []ConfigParameters `json:"config" tf:"config,omitempty"`

	// +kubebuilder:validation:Required
	NotificationType *string `json:"notificationType" tf:"notification_type,omitempty"`

	// +kubebuilder:validation:Required
	SourceID *string `json:"sourceId" tf:"source_id,omitempty"`

	// +kubebuilder:validation:Required
	SourceType *string `json:"sourceType" tf:"source_type,omitempty"`

	// +kubebuilder:validation:Required
	WorkspaceID *string `json:"workspaceId" tf:"workspace_id,omitempty"`
}

func (*ConnectionParameters) DeepCopy

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

func (*ConnectionParameters) DeepCopyInto

func (in *ConnectionParameters) DeepCopyInto(out *ConnectionParameters)

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

type ConnectionSpec

type ConnectionSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     ConnectionParameters `json:"forProvider"`
}

ConnectionSpec defines the desired state of Connection

func (*ConnectionSpec) DeepCopy

func (in *ConnectionSpec) DeepCopy() *ConnectionSpec

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

func (*ConnectionSpec) DeepCopyInto

func (in *ConnectionSpec) DeepCopyInto(out *ConnectionSpec)

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

type ConnectionStatus

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

ConnectionStatus defines the observed state of Connection.

func (*ConnectionStatus) DeepCopy

func (in *ConnectionStatus) DeepCopy() *ConnectionStatus

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

func (*ConnectionStatus) DeepCopyInto

func (in *ConnectionStatus) DeepCopyInto(out *ConnectionStatus)

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