v1

package
v0.0.0-...-605a907 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package v1 contains API Schema definitions for the v1 API group. +kubebuilder:object:generate=true +groupName=vahkane.anqou.net

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects.
	GroupVersion = schema.GroupVersion{Group: "vahkane.anqou.net", Version: "v1"}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme.
	SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion}

	// AddToScheme adds the types in this group-version to the given scheme.
	AddToScheme = SchemeBuilder.AddToScheme
)

Functions

This section is empty.

Types

type DiscordInteraction

type DiscordInteraction struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   DiscordInteractionSpec   `json:"spec,omitempty"`
	Status DiscordInteractionStatus `json:"status,omitempty"`
}

DiscordInteraction is the Schema for the discordinteractions API.

func (*DiscordInteraction) DeepCopy

func (in *DiscordInteraction) DeepCopy() *DiscordInteraction

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

func (*DiscordInteraction) DeepCopyInto

func (in *DiscordInteraction) DeepCopyInto(out *DiscordInteraction)

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

func (*DiscordInteraction) DeepCopyObject

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

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

type DiscordInteractionAction

type DiscordInteractionAction struct {
	Name         string                         `json:"name"`
	ActionInline DiscordInteractionActionInline `json:"actionInline"`
	Pattern      string                         `json:"pattern"`
}

func (*DiscordInteractionAction) DeepCopy

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

func (*DiscordInteractionAction) DeepCopyInto

func (in *DiscordInteractionAction) DeepCopyInto(out *DiscordInteractionAction)

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

type DiscordInteractionActionInline

type DiscordInteractionActionInline struct {
	JobTemplate batchv1.JobTemplateSpec `json:"jobTemplate"`
}

func (*DiscordInteractionActionInline) DeepCopy

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

func (*DiscordInteractionActionInline) DeepCopyInto

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

type DiscordInteractionList

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

DiscordInteractionList contains a list of DiscordInteraction.

func (*DiscordInteractionList) DeepCopy

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

func (*DiscordInteractionList) DeepCopyInto

func (in *DiscordInteractionList) DeepCopyInto(out *DiscordInteractionList)

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

func (*DiscordInteractionList) DeepCopyObject

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

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

type DiscordInteractionSpec

type DiscordInteractionSpec struct {
	GuildID  string                     `json:"guildID"`
	Actions  []DiscordInteractionAction `json:"actions"`
	Commands []string                   `json:"commands"`
}

DiscordInteractionSpec defines the desired state of DiscordInteraction.

func (*DiscordInteractionSpec) DeepCopy

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

func (*DiscordInteractionSpec) DeepCopyInto

func (in *DiscordInteractionSpec) DeepCopyInto(out *DiscordInteractionSpec)

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

type DiscordInteractionStatus

type DiscordInteractionStatus struct {
}

DiscordInteractionStatus defines the observed state of DiscordInteraction.

func (*DiscordInteractionStatus) DeepCopy

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

func (*DiscordInteractionStatus) DeepCopyInto

func (in *DiscordInteractionStatus) DeepCopyInto(out *DiscordInteractionStatus)

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