v1

package
v0.0.0-...-f55e022 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

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

Index

Constants

This section is empty.

Variables

View Source
var (
	// Group is the group of these objects
	Group = "slack.crossplane.io"

	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: Group, 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
)
View Source
var (
	MessageKind             = reflect.TypeOf(Message{}).Name()
	MessageKindAPIVersion   = MessageKind + "." + GroupVersion.String()
	MessageGroupVersionKind = GroupVersion.WithKind(MessageKind)
)

Message type metadata

Functions

This section is empty.

Types

type Message

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

	Spec   MessageSpec   `json:"spec,omitempty"`
	Status MessageStatus `json:"status,omitempty"`
}

Message is the Schema for the messages API

func (*Message) DeepCopy

func (in *Message) DeepCopy() *Message

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

func (*Message) DeepCopyInto

func (in *Message) DeepCopyInto(out *Message)

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

func (*Message) DeepCopyObject

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

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

func (*Message) GetBindingPhase

func (a *Message) GetBindingPhase() runtimev1alpha1.BindingPhase

GetBindingPhase of this Message.

func (*Message) GetClaimReference

func (a *Message) GetClaimReference() *corev1.ObjectReference

GetClaimReference of this Message.

func (*Message) GetClassReference

func (a *Message) GetClassReference() *corev1.ObjectReference

GetClassReference of this Message.

func (*Message) GetReclaimPolicy

func (a *Message) GetReclaimPolicy() runtimev1alpha1.ReclaimPolicy

GetReclaimPolicy of this Message.

func (*Message) GetWriteConnectionSecretToReference

func (a *Message) GetWriteConnectionSecretToReference() corev1.LocalObjectReference

GetWriteConnectionSecretToReference of this Message.

func (*Message) SetBindingPhase

func (a *Message) SetBindingPhase(p runtimev1alpha1.BindingPhase)

SetBindingPhase of this Message.

func (*Message) SetClaimReference

func (a *Message) SetClaimReference(r *corev1.ObjectReference)

SetClaimReference of this Message.

func (*Message) SetClassReference

func (a *Message) SetClassReference(r *corev1.ObjectReference)

SetClassReference of this Message.

func (*Message) SetConditions

func (a *Message) SetConditions(c ...runtimev1alpha1.Condition)

SetConditions of this Message.

func (*Message) SetReclaimPolicy

func (a *Message) SetReclaimPolicy(p runtimev1alpha1.ReclaimPolicy)

SetReclaimPolicy of this Message.

func (*Message) SetWriteConnectionSecretToReference

func (a *Message) SetWriteConnectionSecretToReference(r corev1.LocalObjectReference)

SetWriteConnectionSecretToReference of this Message.

type MessageList

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

MessageList contains a list of Message

func (*MessageList) DeepCopy

func (in *MessageList) DeepCopy() *MessageList

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

func (*MessageList) DeepCopyInto

func (in *MessageList) DeepCopyInto(out *MessageList)

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

func (*MessageList) DeepCopyObject

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

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

type MessageSpec

type MessageSpec struct {
	runtimev1alpha1.ResourceSpec `json:",inline"`

	// Slack channel that the message should be sent to
	Channel string `json:"channel"`

	// Message text to be sent to the Slack channel
	Text string `json:"text"`
}

MessageSpec defines the desired state of Message

func (*MessageSpec) DeepCopy

func (in *MessageSpec) DeepCopy() *MessageSpec

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

func (*MessageSpec) DeepCopyInto

func (in *MessageSpec) DeepCopyInto(out *MessageSpec)

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

type MessageStatus

type MessageStatus struct {
	runtimev1alpha1.ResourceStatus `json:",inline"`

	// Sent determines whether the message has been sent
	Sent bool `json:"sent,omitempty"`
}

MessageStatus defines the observed state of Message

func (*MessageStatus) DeepCopy

func (in *MessageStatus) DeepCopy() *MessageStatus

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

func (*MessageStatus) DeepCopyInto

func (in *MessageStatus) DeepCopyInto(out *MessageStatus)

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

type Provider

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

	Spec ProviderSpec `json:"spec,omitempty"`
}

Provider is the Schema for the providers API

func (*Provider) DeepCopy

func (in *Provider) DeepCopy() *Provider

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

func (*Provider) DeepCopyInto

func (in *Provider) DeepCopyInto(out *Provider)

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

func (*Provider) DeepCopyObject

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

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

type ProviderList

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

ProviderList contains a list of Provider

func (*ProviderList) DeepCopy

func (in *ProviderList) DeepCopy() *ProviderList

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

func (*ProviderList) DeepCopyInto

func (in *ProviderList) DeepCopyInto(out *ProviderList)

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

func (*ProviderList) DeepCopyObject

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

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

type ProviderSpec

type ProviderSpec struct {

	// Slack token secret reference
	Secret corev1.SecretKeySelector `json:"credentialsSecretRef"`
}

ProviderSpec defines the desired state of Provider

func (*ProviderSpec) DeepCopy

func (in *ProviderSpec) DeepCopy() *ProviderSpec

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

func (*ProviderSpec) DeepCopyInto

func (in *ProviderSpec) DeepCopyInto(out *ProviderSpec)

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