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

Index

Constants

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

Package type metadata.

Variables

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 Servicenow

type Servicenow struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ServicenowSpec   `json:"spec"`
	Status            ServicenowStatus `json:"status,omitempty"`
}

Servicenow is the Schema for the Servicenows 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 (*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) GetObservation

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

GetObservation of this Servicenow

func (*Servicenow) GetParameters

func (tr *Servicenow) GetParameters() (map[string]interface{}, 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) 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) SetObservation

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

SetObservation for this Servicenow

func (*Servicenow) SetParameters

func (tr *Servicenow) SetParameters(params map[string]interface{}) 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) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Servicenow.

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 {
	HTMLURL *string `json:"htmlUrl,omitempty" tf:"html_url,omitempty"`

	ID *string `json:"id,omitempty" tf:"id,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:"-"`

	// +kubebuilder:validation:Required
	ExtensionObjects []*string `json:"extensionObjects" tf:"extension_objects,omitempty"`

	// +kubebuilder:validation:Required
	ExtensionSchema *string `json:"extensionSchema" tf:"extension_schema,omitempty"`

	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// +kubebuilder:validation:Required
	Referer *string `json:"referer" tf:"referer,omitempty"`

	// +kubebuilder:validation:Required
	SnowPasswordSecretRef v1.SecretKeySelector `json:"snowPasswordSecretRef" tf:"-"`

	// +kubebuilder:validation:Required
	SnowUser *string `json:"snowUser" tf:"snow_user,omitempty"`

	// +kubebuilder:validation:Optional
	Summary *string `json:"summary,omitempty" tf:"summary,omitempty"`

	// +kubebuilder:validation:Required
	SyncOptions *string `json:"syncOptions" tf:"sync_options,omitempty"`

	// +kubebuilder:validation:Required
	Target *string `json:"target" tf:"target,omitempty"`

	// +kubebuilder:validation:Required
	TaskType *string `json:"taskType" 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"`
}

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