incidents

package
v0.0.0-...-425e462 Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2019 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package api is the internal version of the API. +groupName=incidents.monitoring.appscode.com

Index

Constants

View Source
const GroupName = "incidents.monitoring.appscode.com"

Variables

View Source
var (
	SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes)
	AddToScheme   = SchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: runtime.APIVersionInternal}

SchemeGroupVersion is group version used to register these objects

Functions

func Kind

func Kind(kind string) schema.GroupKind

Kind takes an unqualified kind and returns back a Group qualified GroupKind

func RegisterDefaults

func RegisterDefaults(scheme *runtime.Scheme) error

RegisterDefaults adds defaulters functions to the given scheme. Public to allow building arbitrary schemes. All generated defaulters are covering - they call all nested defaulters.

func Resource

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns back a Group qualified GroupResource

Types

type Acknowledgement

type Acknowledgement struct {
	metav1.TypeMeta
	metav1.ObjectMeta

	Request  AcknowledgementRequest
	Response AcknowledgementResponse
}

func (*Acknowledgement) DeepCopy

func (in *Acknowledgement) DeepCopy() *Acknowledgement

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

func (*Acknowledgement) DeepCopyInto

func (in *Acknowledgement) DeepCopyInto(out *Acknowledgement)

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

func (*Acknowledgement) DeepCopyObject

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

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

type AcknowledgementRequest

type AcknowledgementRequest struct {
	// Comment by user
	Comment string

	// Skip sending notification
	// +optional
	SkipNotify bool
}

func (*AcknowledgementRequest) DeepCopy

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

func (*AcknowledgementRequest) DeepCopyInto

func (in *AcknowledgementRequest) DeepCopyInto(out *AcknowledgementRequest)

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

type AcknowledgementResponse

type AcknowledgementResponse struct {
	// The time at which the acknowledgement was done.
	// +optional
	Timestamp metav1.Time
}

func (*AcknowledgementResponse) DeepCopy

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

func (*AcknowledgementResponse) DeepCopyInto

func (in *AcknowledgementResponse) DeepCopyInto(out *AcknowledgementResponse)

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

Directories

Path Synopsis
Package v1alpha1 is the v1alpha1 version of the API.
Package v1alpha1 is the v1alpha1 version of the API.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL