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=response.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: response.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 Play

type Play struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              PlaySpec   `json:"spec,omitempty"`
	Status            PlayStatus `json:"status,omitempty"`
}

func (*Play) DeepCopy

func (in *Play) DeepCopy() *Play

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

func (*Play) DeepCopyInto

func (in *Play) DeepCopyInto(out *Play)

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

func (*Play) DeepCopyObject

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

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

func (*Play) SetupWebhookWithManager

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

func (*Play) ValidateCreate

func (r *Play) ValidateCreate() error

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

func (*Play) ValidateDelete

func (r *Play) ValidateDelete() error

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

func (*Play) ValidateUpdate

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

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

type PlayList

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

PlayList is a list of Plays

func (*PlayList) DeepCopy

func (in *PlayList) DeepCopy() *PlayList

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

func (*PlayList) DeepCopyInto

func (in *PlayList) DeepCopyInto(out *PlayList)

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

func (*PlayList) DeepCopyObject

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

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

type PlaySpec

type PlaySpec struct {
	State *PlaySpecResource `json:"state,omitempty" tf:"-"`

	Resource PlaySpecResource `json:"resource" tf:"resource"`

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

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

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

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

func (*PlaySpec) DeepCopy

func (in *PlaySpec) DeepCopy() *PlaySpec

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

func (*PlaySpec) DeepCopyInto

func (in *PlaySpec) DeepCopyInto(out *PlaySpec)

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

type PlaySpecResource

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

	// +optional
	ConferenceNumber *string `json:"conferenceNumber,omitempty" tf:"conference_number"`
	// +optional
	ConferenceURL *string `json:"conferenceURL,omitempty" tf:"conference_url"`
	// +optional
	Description *string `json:"description,omitempty" tf:"description"`
	From        *string `json:"from" tf:"from"`
	Name        *string `json:"name" tf:"name"`
	// +optional
	Responder []PlaySpecResponder `json:"responder,omitempty" tf:"responder"`
	// +optional
	RespondersMessage *string `json:"respondersMessage,omitempty" tf:"responders_message"`
	// +optional
	Runnability *string `json:"runnability,omitempty" tf:"runnability"`
	// +optional
	Subscriber []PlaySpecSubscriber `json:"subscriber,omitempty" tf:"subscriber"`
	// +optional
	SubscribersMessage *string `json:"subscribersMessage,omitempty" tf:"subscribers_message"`
	// +optional
	Team *string `json:"team,omitempty" tf:"team"`
	// +optional
	Type *string `json:"type,omitempty" tf:"type"`
}

func (*PlaySpecResource) DeepCopy

func (in *PlaySpecResource) DeepCopy() *PlaySpecResource

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

func (*PlaySpecResource) DeepCopyInto

func (in *PlaySpecResource) DeepCopyInto(out *PlaySpecResource)

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

type PlaySpecResponder

type PlaySpecResponder struct {
	// +optional
	Description *string `json:"description,omitempty" tf:"description"`
	// +optional
	EscalationRule []PlaySpecResponderEscalationRule `json:"escalationRule,omitempty" tf:"escalation_rule"`
	// +optional
	ID *string `json:"ID,omitempty" tf:"id"`
	// +optional
	Name *string `json:"name,omitempty" tf:"name"`
	// +optional
	NumLoops *int64 `json:"numLoops,omitempty" tf:"num_loops"`
	// +optional
	OnCallHandoffNotifications *string `json:"onCallHandoffNotifications,omitempty" tf:"on_call_handoff_notifications"`
	// +optional
	Service []PlaySpecResponderService `json:"service,omitempty" tf:"service"`
	// +optional
	Team []PlaySpecResponderTeam `json:"team,omitempty" tf:"team"`
	// +optional
	Type *string `json:"type,omitempty" tf:"type"`
}

func (*PlaySpecResponder) DeepCopy

func (in *PlaySpecResponder) DeepCopy() *PlaySpecResponder

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

func (*PlaySpecResponder) DeepCopyInto

func (in *PlaySpecResponder) DeepCopyInto(out *PlaySpecResponder)

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

type PlaySpecResponderEscalationRule

type PlaySpecResponderEscalationRule struct {
	// +optional
	EscalationDelayInMinutes *int64 `json:"escalationDelayInMinutes,omitempty" tf:"escalation_delay_in_minutes"`
	// +optional
	ID     *string                                 `json:"ID,omitempty" tf:"id"`
	Target []PlaySpecResponderEscalationRuleTarget `json:"target" tf:"target"`
}

func (*PlaySpecResponderEscalationRule) DeepCopy

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

func (*PlaySpecResponderEscalationRule) DeepCopyInto

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

type PlaySpecResponderEscalationRuleTarget

type PlaySpecResponderEscalationRuleTarget struct {
	// +optional
	ID *string `json:"ID,omitempty" tf:"id"`
	// +optional
	Type *string `json:"type,omitempty" tf:"type"`
}

func (*PlaySpecResponderEscalationRuleTarget) DeepCopy

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

func (*PlaySpecResponderEscalationRuleTarget) DeepCopyInto

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

type PlaySpecResponderService

type PlaySpecResponderService struct {
	// +optional
	ID *string `json:"ID,omitempty" tf:"id"`
	// +optional
	Type *string `json:"type,omitempty" tf:"type"`
}

func (*PlaySpecResponderService) DeepCopy

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

func (*PlaySpecResponderService) DeepCopyInto

func (in *PlaySpecResponderService) DeepCopyInto(out *PlaySpecResponderService)

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

type PlaySpecResponderTeam

type PlaySpecResponderTeam struct {
	// +optional
	ID   *string `json:"ID,omitempty" tf:"id"`
	Type *string `json:"type" tf:"type"`
}

func (*PlaySpecResponderTeam) DeepCopy

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

func (*PlaySpecResponderTeam) DeepCopyInto

func (in *PlaySpecResponderTeam) DeepCopyInto(out *PlaySpecResponderTeam)

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

type PlaySpecSubscriber

type PlaySpecSubscriber struct {
	// +optional
	ID *string `json:"ID,omitempty" tf:"id"`
	// +optional
	Type *string `json:"type,omitempty" tf:"type"`
}

func (*PlaySpecSubscriber) DeepCopy

func (in *PlaySpecSubscriber) DeepCopy() *PlaySpecSubscriber

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

func (*PlaySpecSubscriber) DeepCopyInto

func (in *PlaySpecSubscriber) DeepCopyInto(out *PlaySpecSubscriber)

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

type PlayStatus

type PlayStatus 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 (*PlayStatus) DeepCopy

func (in *PlayStatus) DeepCopy() *PlayStatus

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

func (*PlayStatus) DeepCopyInto

func (in *PlayStatus) DeepCopyInto(out *PlayStatus)

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