v1

package
v0.0.0-...-355c346 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package v1 contains API Schema definitions for the eventnotifier v1 API group +kubebuilder:object:generate=true +groupName=eventnotifier.drhelius.io

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "eventnotifier.drhelius.io", 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 SlackNotification

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

	Spec   SlackNotificationSpec   `json:"spec,omitempty"`
	Status SlackNotificationStatus `json:"status,omitempty"`
}

SlackNotification is the Schema for the slacknotifications API

func (*SlackNotification) DeepCopy

func (in *SlackNotification) DeepCopy() *SlackNotification

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

func (*SlackNotification) DeepCopyInto

func (in *SlackNotification) DeepCopyInto(out *SlackNotification)

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

func (*SlackNotification) DeepCopyObject

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

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

type SlackNotificationList

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

SlackNotificationList contains a list of SlackNotification

func (*SlackNotificationList) DeepCopy

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

func (*SlackNotificationList) DeepCopyInto

func (in *SlackNotificationList) DeepCopyInto(out *SlackNotificationList)

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

func (*SlackNotificationList) DeepCopyObject

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

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

type SlackNotificationSpec

type SlackNotificationSpec struct {

	// Foo is an example field of SlackNotification. Edit SlackNotification_types.go to remove/update
	Token     string   `json:"token,omitempty"`
	Channel   string   `json:"channel,omitempty"`
	Regex     string   `json:"regex,omitempty"`
	Resources []string `json:"resources,omitempty"`
}

SlackNotificationSpec defines the desired state of SlackNotification

func (*SlackNotificationSpec) DeepCopy

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

func (*SlackNotificationSpec) DeepCopyInto

func (in *SlackNotificationSpec) DeepCopyInto(out *SlackNotificationSpec)

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

type SlackNotificationStatus

type SlackNotificationStatus struct {
}

SlackNotificationStatus defines the observed state of SlackNotification

func (*SlackNotificationStatus) DeepCopy

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

func (*SlackNotificationStatus) DeepCopyInto

func (in *SlackNotificationStatus) DeepCopyInto(out *SlackNotificationStatus)

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