Documentation ¶
Overview ¶
Package v1 contains API Schema definitions for the web v1 API group +kubebuilder:object:generate=true +groupName=web.dyatlov.net
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "web.dyatlov.net", 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 )
Functions ¶
This section is empty.
Types ¶
type Statik ¶
type Statik struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec StatikSpec `json:"spec,omitempty"` Status StatikStatus `json:"status,omitempty"` }
Statik is the Schema for the statiks API
func (*Statik) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Statik.
func (*Statik) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Statik) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type StatikList ¶
type StatikList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Statik `json:"items"` }
StatikList contains a list of Statik
func (*StatikList) DeepCopy ¶
func (in *StatikList) DeepCopy() *StatikList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatikList.
func (*StatikList) DeepCopyInto ¶
func (in *StatikList) DeepCopyInto(out *StatikList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*StatikList) DeepCopyObject ¶
func (in *StatikList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type StatikSpec ¶
type StatikSpec struct { RepoURL string `json:"repoURL"` // URL of the GitHub repository CommitHash string `json:"commitHash"` // GitHub commit hash to deploy DomainName string `json:"domainName"` // Domain where the site will be deployed }
StatikSpec defines the desired state of Statik
func (*StatikSpec) DeepCopy ¶
func (in *StatikSpec) DeepCopy() *StatikSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatikSpec.
func (*StatikSpec) DeepCopyInto ¶
func (in *StatikSpec) DeepCopyInto(out *StatikSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type StatikStatus ¶
type StatikStatus struct { DeployedCommitHash string `json:"deployedCommitHash,omitempty"` // Hash of the deployed commit DeploymentStatus string `json:"deploymentStatus,omitempty"` // Status of the deployment LastUpdated *metav1.Time `json:"lastUpdated,omitempty"` // Last successful deployment time }
StatikStatus defines the observed state of Statik
func (*StatikStatus) DeepCopy ¶
func (in *StatikStatus) DeepCopy() *StatikStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatikStatus.
func (*StatikStatus) DeepCopyInto ¶
func (in *StatikStatus) DeepCopyInto(out *StatikStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.