v1alpha1

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: May 8, 2022 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Overview

+groupName=extension.pagerduty.kubeform.com

Index

Constants

This section is empty.

Variables

View Source
var (
	// TODO: move SchemeBuilder with zz_generated.deepcopy.go to k8s.io/api.
	// localSchemeBuilder and AddToScheme will stay in k8s.io/kubernetes.
	SchemeBuilder runtime.SchemeBuilder

	AddToScheme = localSchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: extension.GroupName, Version: "v1alpha1"}

Functions

func GetDecoder

func GetDecoder() map[string]jsoniter.ValDecoder

func GetEncoder

func GetEncoder() map[string]jsoniter.ValEncoder

func Kind

func Kind(kind string) schema.GroupKind

Kind takes an unqualified kind and returns a Group qualified GroupKind

func Resource

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group qualified GroupResource

Types

type Extension

type Extension struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ExtensionSpec   `json:"spec,omitempty"`
	Status            ExtensionStatus `json:"status,omitempty"`
}

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

func (r *Extension) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*Extension) ValidateCreate

func (r *Extension) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*Extension) ValidateDelete

func (r *Extension) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*Extension) ValidateUpdate

func (r *Extension) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type ExtensionList

type ExtensionList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	// Items is a list of Extension CRD objects
	Items []Extension `json:"items,omitempty"`
}

ExtensionList is 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.

type ExtensionSpec

type ExtensionSpec struct {
	State *ExtensionSpecResource `json:"state,omitempty" tf:"-"`

	Resource ExtensionSpecResource `json:"resource" tf:"resource"`

	UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"`

	TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"`

	ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"`

	SecretRef *core.LocalObjectReference `json:"secretRef,omitempty" tf:"-"`

	BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"`
}

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 ExtensionSpecResource

type ExtensionSpecResource struct {
	ID string `json:"id,omitempty" tf:"id,omitempty"`

	// +optional
	Config *string `json:"config,omitempty" tf:"config"`
	// +optional
	EndpointURL      *string  `json:"-" sensitive:"true" tf:"endpoint_url"`
	ExtensionObjects []string `json:"extensionObjects" tf:"extension_objects"`
	ExtensionSchema  *string  `json:"extensionSchema" tf:"extension_schema"`
	// +optional
	HtmlURL *string `json:"htmlURL,omitempty" tf:"html_url"`
	// +optional
	Name *string `json:"name,omitempty" tf:"name"`
	// +optional
	Summary *string `json:"summary,omitempty" tf:"summary"`
	// +optional
	Type *string `json:"type,omitempty" tf:"type"`
}

func (*ExtensionSpecResource) DeepCopy

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

func (*ExtensionSpecResource) DeepCopyInto

func (in *ExtensionSpecResource) DeepCopyInto(out *ExtensionSpecResource)

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

type ExtensionStatus

type ExtensionStatus struct {
	// Resource generation, which is updated on mutation by the API Server.
	// +optional
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`
	// +optional
	Phase status.Status `json:"phase,omitempty"`
	// +optional
	Conditions []kmapi.Condition `json:"conditions,omitempty"`
}

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,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ServicenowSpec   `json:"spec,omitempty"`
	Status            ServicenowStatus `json:"status,omitempty"`
}

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

func (r *Servicenow) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*Servicenow) ValidateCreate

func (r *Servicenow) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*Servicenow) ValidateDelete

func (r *Servicenow) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*Servicenow) ValidateUpdate

func (r *Servicenow) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type ServicenowList

type ServicenowList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	// Items is a list of Servicenow CRD objects
	Items []Servicenow `json:"items,omitempty"`
}

ServicenowList is 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.

type ServicenowSpec

type ServicenowSpec struct {
	State *ServicenowSpecResource `json:"state,omitempty" tf:"-"`

	Resource ServicenowSpecResource `json:"resource" tf:"resource"`

	UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"`

	TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"`

	ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"`

	SecretRef *core.LocalObjectReference `json:"secretRef,omitempty" tf:"-"`

	BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"`
}

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 ServicenowSpecResource

type ServicenowSpecResource struct {
	ID string `json:"id,omitempty" tf:"id,omitempty"`

	// +optional
	EndpointURL      *string  `json:"-" sensitive:"true" tf:"endpoint_url"`
	ExtensionObjects []string `json:"extensionObjects" tf:"extension_objects"`
	ExtensionSchema  *string  `json:"extensionSchema" tf:"extension_schema"`
	// +optional
	HtmlURL *string `json:"htmlURL,omitempty" tf:"html_url"`
	// +optional
	Name         *string `json:"name,omitempty" tf:"name"`
	Referer      *string `json:"referer" tf:"referer"`
	SnowPassword *string `json:"-" sensitive:"true" tf:"snow_password"`
	SnowUser     *string `json:"snowUser" tf:"snow_user"`
	// +optional
	Summary     *string `json:"summary,omitempty" tf:"summary"`
	SyncOptions *string `json:"syncOptions" tf:"sync_options"`
	Target      *string `json:"target" tf:"target"`
	TaskType    *string `json:"taskType" tf:"task_type"`
	// +optional
	Type *string `json:"type,omitempty" tf:"type"`
}

func (*ServicenowSpecResource) DeepCopy

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

func (*ServicenowSpecResource) DeepCopyInto

func (in *ServicenowSpecResource) DeepCopyInto(out *ServicenowSpecResource)

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

type ServicenowStatus

type ServicenowStatus struct {
	// Resource generation, which is updated on mutation by the API Server.
	// +optional
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`
	// +optional
	Phase status.Status `json:"phase,omitempty"`
	// +optional
	Conditions []kmapi.Condition `json:"conditions,omitempty"`
}

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