v1alpha1

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ChartsContentKind    = "Charts"
	ChartsCollectionKind = "ThickCharts"
)
View Source
const (
	Version         = "v1alpha1"
	ContentGroup    = "content.hauler.cattle.io"
	CollectionGroup = "collection.hauler.cattle.io"
)
View Source
const (
	DriverContentKind = "Driver"
)
View Source
const FilesContentKind = "Files"
View Source
const (
	ImageTxtsContentKind = "ImageTxts"
)
View Source
const ImagesContentKind = "Images"
View Source
const K3sCollectionKind = "K3s"

Variables

View Source
var (
	ContentGroupVersion = schema.GroupVersion{Group: ContentGroup, Version: Version}

	CollectionGroupVersion = schema.GroupVersion{Group: CollectionGroup, Version: Version}
)

Functions

This section is empty.

Types

type Chart

type Chart struct {
	Name    string `json:"name,omitempty"`
	RepoURL string `json:"repoURL,omitempty"`
	Version string `json:"version,omitempty"`
}

type ChartImage

type ChartImage struct {
	Reference string `json:"ref"`
}

type ChartSpec

type ChartSpec struct {
	Charts []Chart `json:"charts,omitempty"`
}

type Charts

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

	Spec ChartSpec `json:"spec,omitempty"`
}

type Driver

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

	Spec DriverSpec `json:"spec"`
}

type DriverSpec

type DriverSpec struct {
	Type    string `json:"type"`
	Version string `json:"version"`
}

type File

type File struct {
	// Path is the path to the file contents, can be a local or remote path
	Path string `json:"path"`

	// Name is an optional field specifying the name of the file when specified,
	// 	it will override any dynamic name discovery from Path
	Name string `json:"name,omitempty"`
}

type FileSpec

type FileSpec struct {
	Files []File `json:"files,omitempty"`
}

type Files

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

	Spec FileSpec `json:"spec,omitempty"`
}

type Image

type Image struct {
	// Name is the full location for the image, can be referenced by tags or digests
	Name string `json:"name"`

	// Path is the path to the cosign public key used for verifying image signatures
	//Key string `json:"key,omitempty"`
	Key string `json:"key"`

	// Platform of the image to be pulled.  If not specified, all platforms will be pulled.
	//Platform string `json:"key,omitempty"`
	Platform string `json:"platform"`
}

type ImageSpec

type ImageSpec struct {
	Images []Image `json:"images,omitempty"`
}

type ImageTxt

type ImageTxt struct {
	Ref     string          `json:"ref,omitempty"`
	Sources ImageTxtSources `json:"sources,omitempty"`
}

type ImageTxtSources

type ImageTxtSources struct {
	Include []string `json:"include,omitempty"`
	Exclude []string `json:"exclude,omitempty"`
}

type ImageTxts

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

	Spec ImageTxtsSpec `json:"spec,omitempty"`
}

type ImageTxtsSpec

type ImageTxtsSpec struct {
	ImageTxts []ImageTxt `json:"imageTxts,omitempty"`
}

type Images

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

	Spec ImageSpec `json:"spec,omitempty"`
}

type K3s

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

	Spec K3sSpec `json:"spec,omitempty"`
}

type K3sSpec

type K3sSpec struct {
	Version string `json:"version"`
	Arch    string `json:"arch"`
}

type ThickChart

type ThickChart struct {
	Chart       `json:",inline,omitempty"`
	ExtraImages []ChartImage `json:"extraImages,omitempty"`
}

type ThickChartSpec

type ThickChartSpec struct {
	Charts []ThickChart `json:"charts,omitempty"`
}

type ThickCharts

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

	Spec ThickChartSpec `json:"spec,omitempty"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL