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
- Variables
- func Kind(kind string) schema.GroupKind
- func Resource(resource string) schema.GroupResource
- type Condition
- type GitWebHookExecution
- type GitWebHookExecutionList
- type GitWebHookExecutionSpec
- type GitWebHookExecutionStatus
- type GitWebHookReceiver
- type GitWebHookReceiverList
- type GitWebHookReceiverSpec
- type GitWebHookReceiverStatus
Constants ¶
Variables ¶
var ( SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) AddToScheme = SchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: webhookinator.GroupName, Version: "v1"}
SchemeGroupVersion is group version used to register these objects
Functions ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Condition.
func (*Condition) DeepCopyInto ¶
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 ¶
func (in *GitWebHookExecutionList) DeepCopy() *GitWebHookExecutionList
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 ¶
func (in *GitWebHookExecutionSpec) DeepCopy() *GitWebHookExecutionSpec
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 ¶
func (in *GitWebHookExecutionStatus) DeepCopy() *GitWebHookExecutionStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GitWebHookExecutionStatus.
func (*GitWebHookExecutionStatus) DeepCopyInto ¶
func (in *GitWebHookExecutionStatus) DeepCopyInto(out *GitWebHookExecutionStatus)
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 ¶
func (in *GitWebHookReceiverList) DeepCopy() *GitWebHookReceiverList
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 ¶
func (in *GitWebHookReceiverSpec) DeepCopy() *GitWebHookReceiverSpec
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 ¶
func (in *GitWebHookReceiverStatus) DeepCopy() *GitWebHookReceiverStatus
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.