v1alpha1

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2026 License: Apache-2.0 Imports: 4 Imported by: 6

Documentation

Overview

+k8s:openapi-gen=true

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects.
	GroupVersion = schema.GroupVersion{Group: "events.blanketops.dev", Version: "v1alpha1"}

	// 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 GitHubEvent

type GitHubEvent struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              GitHubEventSpec   `json:"spec,omitempty"`
	Status            GitHubEventStatus `json:"status,omitempty"`
}

GitHubEvent represents an immutable log of an external Git platform action. GitHubEvent represents a declarative request to GitHubEvent an artifact. This resource is a Kubernetes-native envelope around a transport-agnostic BlanketOps Environments GitHubEvent contract.

func (*GitHubEvent) DeepCopy

func (in *GitHubEvent) DeepCopy() *GitHubEvent

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

func (*GitHubEvent) DeepCopyInto

func (in *GitHubEvent) DeepCopyInto(out *GitHubEvent)

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

func (*GitHubEvent) DeepCopyObject

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

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

type GitHubEventList

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

GitHubEventList contains a list of GitHubEvent resources.

func (*GitHubEventList) DeepCopy

func (in *GitHubEventList) DeepCopy() *GitHubEventList

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

func (*GitHubEventList) DeepCopyInto

func (in *GitHubEventList) DeepCopyInto(out *GitHubEventList)

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

func (*GitHubEventList) DeepCopyObject

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

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

type GitHubEventSpec

type GitHubEventSpec struct {

	// Contract is the canonical BlanketOps Environments GitHubEvent specification.
	//
	// This field is intentionally opaque to Kubernetes and schema generation.
	// It is preserved verbatim by the API server.
	//
	// +kubebuilder:validation:Required
	// +kubebuilder:pruning:PreserveUnknownFields
	Contract runtime.RawExtension `json:"contract"`
}

GitHubEventSpec is a Kubernetes-native envelope around the canonical BlanketOps Environments GitHubEvent contract.

IMPORTANT: - Kubernetes does NOT understand the contents of `Contract` - Kubernetes does NOT validate the contents of `Contract` - Kubernetes ONLY stores and round-trips this field

Ownership boundaries: - API server: envelope + metadata - Controller: lifecycle orchestration - Contract layer: semantic meaning

func (*GitHubEventSpec) DeepCopy

func (in *GitHubEventSpec) DeepCopy() *GitHubEventSpec

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

func (*GitHubEventSpec) DeepCopyInto

func (in *GitHubEventSpec) DeepCopyInto(out *GitHubEventSpec)

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

type GitHubEventStatus

type GitHubEventStatus struct {

	// Contract is the canonical BlanketOps Environments GitHubEvent status.
	//
	// This field is opaque and preserved verbatim.
	//
	// +optional
	// +kubebuilder:pruning:PreserveUnknownFields
	Contract runtime.RawExtension `json:"contract,omitempty"`

	// Conditions follows standard Kubernetes condition conventions.
	// These are intended for kubectl, UIs, and ecosystem tooling.
	//
	// +optional
	Conditions []metav1.Condition `json:"conditions,omitempty"`
}

GitHubEventStatus represents observed state owned by the controller.

This mirrors the contract status but remains opaque to Kubernetes.

func (*GitHubEventStatus) DeepCopy

func (in *GitHubEventStatus) DeepCopy() *GitHubEventStatus

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

func (*GitHubEventStatus) DeepCopyInto

func (in *GitHubEventStatus) DeepCopyInto(out *GitHubEventStatus)

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