Documentation
¶
Overview ¶
+k8s:openapi-gen=true
+kubebuilder:object:generate=true +groupName=sources.blanketops.dev
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects. GroupVersion = schema.GroupVersion{Group: "sources.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 GitRepository ¶
type GitRepository struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec GitRepositorySpec `json:"spec,omitempty"`
Status GitRepositoryStatus `json:"status,omitempty"`
}
GitRepository represents a declarative request to GitRepository an artifact.
This resource is a Kubernetes-native envelope around a transport-agnostic BlanketOps GitRepository contract.
func (*GitRepository) DeepCopy ¶
func (in *GitRepository) DeepCopy() *GitRepository
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GitRepository.
func (*GitRepository) DeepCopyInto ¶
func (in *GitRepository) DeepCopyInto(out *GitRepository)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*GitRepository) DeepCopyObject ¶
func (in *GitRepository) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type GitRepositoryList ¶
type GitRepositoryList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []GitRepository `json:"items"`
}
GitRepositoryList contains a list of GitRepository resources.
func (*GitRepositoryList) DeepCopy ¶
func (in *GitRepositoryList) DeepCopy() *GitRepositoryList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GitRepositoryList.
func (*GitRepositoryList) DeepCopyInto ¶
func (in *GitRepositoryList) DeepCopyInto(out *GitRepositoryList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*GitRepositoryList) DeepCopyObject ¶
func (in *GitRepositoryList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type GitRepositorySpec ¶
type GitRepositorySpec struct {
// Contract is the canonical BlanketOps GitRepository 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"`
}
GitRepositorySpec is a Kubernetes-native envelope around the canonical BlanketOps GitRepository 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 (*GitRepositorySpec) DeepCopy ¶
func (in *GitRepositorySpec) DeepCopy() *GitRepositorySpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GitRepositorySpec.
func (*GitRepositorySpec) DeepCopyInto ¶
func (in *GitRepositorySpec) DeepCopyInto(out *GitRepositorySpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GitRepositoryStatus ¶
type GitRepositoryStatus struct {
// Contract is the canonical BlanketOps GitRepository 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"`
}
GitRepositoryStatus represents observed state owned by the controller.
This mirrors the contract status but remains opaque to Kubernetes.
func (*GitRepositoryStatus) DeepCopy ¶
func (in *GitRepositoryStatus) DeepCopy() *GitRepositoryStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GitRepositoryStatus.
func (*GitRepositoryStatus) DeepCopyInto ¶
func (in *GitRepositoryStatus) DeepCopyInto(out *GitRepositoryStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.