v1

package
v0.1.0-rc4 Latest Latest
Warning

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

Go to latest
Published: May 15, 2019 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

+k8s:deepcopy-gen=package +groupName=webhookinator.rio.cattle.io

+k8s:deepcopy-gen=package +groupName=webhookinator.rio.cattle.io

+k8s:deepcopy-gen=package +groupName=webhookinator.rio.cattle.io

Index

Constants

View Source
const (
	GitWebHookReceiverConditionRegistered   condition.Cond = "Registered"
	GitWebHookExecutionConditionInitialized condition.Cond = "Initialized"
	GitWebHookExecutionConditionHandled     condition.Cond = "Handled"
)

Variables

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

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 Resource

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group qualified GroupResource

Types

type Condition

type Condition struct {
	// Type of the condition.
	Type string `json:"type"`
	// Status of the condition, one of True, False, Unknown.
	Status v1.ConditionStatus `json:"status"`
	// The last time this condition was updated.
	LastUpdateTime string `json:"lastUpdateTime,omitempty"`
	// Last time the condition transitioned from one status to another.
	LastTransitionTime string `json:"lastTransitionTime,omitempty"`
	// The reason for the condition's last transition.
	Reason string `json:"reason,omitempty"`
	// Human-readable message indicating details about last transition
	Message string `json:"message,omitempty"`
}

func (*Condition) DeepCopy

func (in *Condition) DeepCopy() *Condition

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

func (*Condition) DeepCopyInto

func (in *Condition) DeepCopyInto(out *Condition)

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

type GitWebHookExecution

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

	Spec   GitWebHookExecutionSpec   `json:"spec,omitempty"`
	Status GitWebHookExecutionStatus `json:"status,omitempty"`
}

func NewGitWebHookExecution

func NewGitWebHookExecution(namespace, name string, obj GitWebHookExecution) *GitWebHookExecution

func (*GitWebHookExecution) DeepCopy

func (in *GitWebHookExecution) DeepCopy() *GitWebHookExecution

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

func (*GitWebHookExecution) DeepCopyInto

func (in *GitWebHookExecution) DeepCopyInto(out *GitWebHookExecution)

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

func (*GitWebHookExecution) DeepCopyObject

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

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

type GitWebHookExecutionList

type GitWebHookExecutionList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata"`

	Items []GitWebHookExecution `json:"items"`
}

GitWebHookExecutionList is a list of GitWebHookExecution resources

func (*GitWebHookExecutionList) DeepCopy

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

func (*GitWebHookExecutionList) DeepCopyInto

func (in *GitWebHookExecutionList) DeepCopyInto(out *GitWebHookExecutionList)

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

func (*GitWebHookExecutionList) DeepCopyObject

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

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

type GitWebHookExecutionSpec

type GitWebHookExecutionSpec struct {
	Payload                string `json:"payload,omitempty"`
	GitWebHookReceiverName string `json:"gitWebHookReceiverName,omitempty"`
	Commit                 string `json:"commit,omitempty"`
	Branch                 string `json:"branch,omitempty"`
	Tag                    string `json:"tag,omitempty"`
	PR                     string `json:"pr,omitempty"`
	SourceLink             string `json:"sourceLink,omitempty"`
	RepositoryURL          string `json:"repositoryUrl,omitempty"`
	Title                  string `json:"title,omitempty"`
	Message                string `json:"message,omitempty"`
	Author                 string `json:"author,omitempty"`
	AuthorEmail            string `json:"authorEmail,omitempty"`
	AuthorAvatar           string `json:"authorAvatar,omitempty"`
}

func (*GitWebHookExecutionSpec) DeepCopy

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

func (*GitWebHookExecutionSpec) DeepCopyInto

func (in *GitWebHookExecutionSpec) DeepCopyInto(out *GitWebHookExecutionSpec)

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

type GitWebHookExecutionStatus

type GitWebHookExecutionStatus struct {
	Conditions    []Condition `json:"conditions,omitempty"`
	StatusURL     string      `json:"statusUrl,omitempty"`
	AppliedStatus string      `json:"appliedStatus,omitempty"`
}

func (*GitWebHookExecutionStatus) DeepCopy

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

func (*GitWebHookExecutionStatus) DeepCopyInto

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

type GitWebHookReceiver

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

	Spec   GitWebHookReceiverSpec   `json:"spec"`
	Status GitWebHookReceiverStatus `json:"status"`
}

func NewGitWebHookReceiver

func NewGitWebHookReceiver(namespace, name string, obj GitWebHookReceiver) *GitWebHookReceiver

func (*GitWebHookReceiver) DeepCopy

func (in *GitWebHookReceiver) DeepCopy() *GitWebHookReceiver

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

func (*GitWebHookReceiver) DeepCopyInto

func (in *GitWebHookReceiver) DeepCopyInto(out *GitWebHookReceiver)

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

func (*GitWebHookReceiver) DeepCopyObject

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

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

type GitWebHookReceiverList

type GitWebHookReceiverList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata"`

	Items []GitWebHookReceiver `json:"items"`
}

GitWebHookReceiverList is a list of GitWebHookReceiver resources

func (*GitWebHookReceiverList) DeepCopy

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

func (*GitWebHookReceiverList) DeepCopyInto

func (in *GitWebHookReceiverList) DeepCopyInto(out *GitWebHookReceiverList)

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

func (*GitWebHookReceiverList) DeepCopyObject

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

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

type GitWebHookReceiverSpec

type GitWebHookReceiverSpec struct {
	RepositoryURL                  string            `json:"repositoryUrl,omitempty"`
	RepositoryCredentialSecretName string            `json:"repositoryCredentialSecretName,omitempty"`
	Provider                       string            `json:"provider,omitempty"`
	Push                           bool              `json:"push,omitempty"`
	PR                             bool              `json:"pr,omitempty"`
	Tag                            bool              `json:"tag,omitempty"`
	ExecutionLabels                map[string]string `json:"executionLabels,omitempty"`
	Enabled                        bool              `json:"enabled,omitempty"`
}

func (*GitWebHookReceiverSpec) DeepCopy

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

func (*GitWebHookReceiverSpec) DeepCopyInto

func (in *GitWebHookReceiverSpec) DeepCopyInto(out *GitWebHookReceiverSpec)

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

type GitWebHookReceiverStatus

type GitWebHookReceiverStatus struct {
	Conditions []Condition `json:"conditions,omitempty"`
	Token      string      `json:"token,omitempty"`
	HookID     string      `json:"hookId,omitempty"`
}

func (*GitWebHookReceiverStatus) DeepCopy

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

func (*GitWebHookReceiverStatus) DeepCopyInto

func (in *GitWebHookReceiverStatus) DeepCopyInto(out *GitWebHookReceiverStatus)

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