v1alpha1

package
v0.0.0-...-f8ac4ba Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 License: Apache-2.0 Imports: 4 Imported by: 14

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the eks-distro v1alpha1 API group +kubebuilder:object:generate=true +groupName=distro.eks.amazonaws.com

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "distro.eks.amazonaws.com", 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 Asset

type Asset struct {
	// +kubebuilder:validation:Required
	// The asset name
	Name string `json:"name,omitempty"`

	// +kubebuilder:validation:Required
	// +kubebuilder:validation:Enum=Archive;Image;
	// The type of the asset
	Type string `json:"type,omitempty"`

	// +kubebuilder:validation:Required
	Description string `json:"description,omitempty"`

	// +kubebuilder:validation:Enum=linux;darwin;windows
	// Operating system of the asset
	OS string `json:"os,omitempty"`

	// Architectures of the asset
	Arch []string `json:"arch,omitempty"`

	// +optional
	Image *AssetImage `json:"image,omitempty"`

	// +optional
	Archive *AssetArchive `json:"archive,omitempty"`
}

func (*Asset) DeepCopy

func (in *Asset) DeepCopy() *Asset

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

func (*Asset) DeepCopyInto

func (in *Asset) DeepCopyInto(out *Asset)

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

type AssetArchive

type AssetArchive struct {
	// +kubebuilder:validation:Required
	// The URI where the asset is located
	URI string `json:"uri,omitempty"`
	// +kubebuilder:validation:Required
	// The sha512 of the asset, only applies for 'file' store
	SHA512 string `json:"sha512,omitempty"`
	// +kubebuilder:validation:Required
	// The sha256 of the asset, only applies for 'file' store
	SHA256 string `json:"sha256,omitempty"`
}

func (*AssetArchive) DeepCopy

func (in *AssetArchive) DeepCopy() *AssetArchive

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

func (*AssetArchive) DeepCopyInto

func (in *AssetArchive) DeepCopyInto(out *AssetArchive)

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

type AssetImage

type AssetImage struct {
	// +kubebuilder:validation:Required
	// The image repository, name, and tag
	URI string `json:"uri,omitempty"`

	// +kubebuilder:validation:Required
	// SHA256 digest for the image
	ImageDigest string `json:"imageDigest,omitempty"`
}

func (*AssetImage) DeepCopy

func (in *AssetImage) DeepCopy() *AssetImage

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

func (*AssetImage) DeepCopyInto

func (in *AssetImage) DeepCopyInto(out *AssetImage)

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

type Component

type Component struct {
	// +kubebuilder:validation:Required
	Name string `json:"name,omitempty"`

	// +kubebuilder:validation:Required
	// Git commit the component is built from, before any patches
	GitCommit string `json:"gitCommit,omitempty"`
	// Git tag the component is built from, before any patches
	GitTag string `json:"gitTag,omitempty"`

	// +kubebuilder:validation:Required
	Assets []Asset `json:"assets,omitempty"`
}

A component of a release

func (*Component) DeepCopy

func (in *Component) DeepCopy() *Component

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

func (*Component) DeepCopyInto

func (in *Component) DeepCopyInto(out *Component)

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

type Release

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

	Spec   ReleaseSpec   `json:"spec,omitempty"`
	Status ReleaseStatus `json:"status,omitempty"`
}

Release is the Schema for the releases API

func (*Release) DeepCopy

func (in *Release) DeepCopy() *Release

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

func (*Release) DeepCopyInto

func (in *Release) DeepCopyInto(out *Release)

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

func (*Release) DeepCopyObject

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

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

type ReleaseChannel

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

	Spec   ReleaseChannelSpec   `json:"spec,omitempty"`
	Status ReleaseChannelStatus `json:"status,omitempty"`
}

ReleaseChannel is the Schema for the releasechannels API

func (*ReleaseChannel) DeepCopy

func (in *ReleaseChannel) DeepCopy() *ReleaseChannel

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

func (*ReleaseChannel) DeepCopyInto

func (in *ReleaseChannel) DeepCopyInto(out *ReleaseChannel)

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

func (*ReleaseChannel) DeepCopyObject

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

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

type ReleaseChannelList

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

ReleaseChannelList contains a list of ReleaseChannel

func (*ReleaseChannelList) DeepCopy

func (in *ReleaseChannelList) DeepCopy() *ReleaseChannelList

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

func (*ReleaseChannelList) DeepCopyInto

func (in *ReleaseChannelList) DeepCopyInto(out *ReleaseChannelList)

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

func (*ReleaseChannelList) DeepCopyObject

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

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

type ReleaseChannelSpec

type ReleaseChannelSpec struct {
	SNSTopicARN string `json:"snsTopicARN,omitempty"`
}

ReleaseChannelSpec defines the desired state of ReleaseChannel

func (*ReleaseChannelSpec) DeepCopy

func (in *ReleaseChannelSpec) DeepCopy() *ReleaseChannelSpec

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

func (*ReleaseChannelSpec) DeepCopyInto

func (in *ReleaseChannelSpec) DeepCopyInto(out *ReleaseChannelSpec)

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

type ReleaseChannelStatus

type ReleaseChannelStatus struct {
	// +kubebuilder:validation:Required
	Active bool `json:"active,omitempty"`
	// +kubebuilder:validation:Required
	// +kubebuilder:validation:Minimum=1
	LatestRelease int `json:"latestRelease,omitempty"`
}

ReleaseChannelStatus defines the observed state of ReleaseChannel

func (*ReleaseChannelStatus) DeepCopy

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

func (*ReleaseChannelStatus) DeepCopyInto

func (in *ReleaseChannelStatus) DeepCopyInto(out *ReleaseChannelStatus)

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

type ReleaseList

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

ReleaseList contains a list of Release

func (*ReleaseList) DeepCopy

func (in *ReleaseList) DeepCopy() *ReleaseList

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

func (*ReleaseList) DeepCopyInto

func (in *ReleaseList) DeepCopyInto(out *ReleaseList)

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

func (*ReleaseList) DeepCopyObject

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

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

type ReleaseSpec

type ReleaseSpec struct {

	// +kubebuilder:validation:Required
	Channel string `json:"channel,omitempty"`
	// +kubebuilder:validation:Required
	// +kubebuilder:validation:Minimum=1
	// Monotonically increasing release number
	Number int `json:"number,omitempty"`

	// +kubebuilder:validation:Required
	BuildRepoCommit string `json:"buildRepoCommit,omitempty"`
}

ReleaseSpec defines the desired state of Release

func (*ReleaseSpec) DeepCopy

func (in *ReleaseSpec) DeepCopy() *ReleaseSpec

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

func (*ReleaseSpec) DeepCopyInto

func (in *ReleaseSpec) DeepCopyInto(out *ReleaseSpec)

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

type ReleaseStatus

type ReleaseStatus struct {

	// +kubebuilder:validation:Required
	// +kubebuilder:validation:Type=string
	// +kubebuilder:validation:Format=date-time
	Date string `json:"date,omitempty"`

	// +kubebuilder:validation:Required
	Components []Component `json:"components,omitempty"`
}

ReleaseStatus defines the observed state of Release

func (*ReleaseStatus) DeepCopy

func (in *ReleaseStatus) DeepCopy() *ReleaseStatus

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

func (*ReleaseStatus) DeepCopyInto

func (in *ReleaseStatus) DeepCopyInto(out *ReleaseStatus)

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