v1alpha1

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: May 23, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

+k8s:deepcopy-gen=package

Index

Constants

This section is empty.

Variables

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

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion}

	// AddToScheme adds the types in this group-version to the given scheme.
	AddToScheme = SchemeBuilder.AddToScheme
)

Functions

This section is empty.

Types

type DigestMeta

type DigestMeta struct {
	Type     string   `json:"type"`
	Digest   string   `json:"digest"`
	Name     string   `json:"name"`
	Size     FileSize `json:"size"`
	Tag      string   `json:"tag,omitempty"`
	Platform string   `json:"platform,omitempty"`
}

func (*DigestMeta) DeepCopy

func (in *DigestMeta) DeepCopy() *DigestMeta

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

func (*DigestMeta) DeepCopyInto

func (in *DigestMeta) DeepCopyInto(out *DigestMeta)

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

type FileSize

type FileSize int64

func (FileSize) String

func (f FileSize) String() string

type KubePkg

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

	Spec   KubePkgSpec   `json:"spec,omitempty"`
	Status KubePkgStatus `json:"status,omitempty"`
}

+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

func (*KubePkg) DeepCopy

func (in *KubePkg) DeepCopy() *KubePkg

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

func (*KubePkg) DeepCopyInto

func (in *KubePkg) DeepCopyInto(out *KubePkg)

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

func (*KubePkg) DeepCopyObject

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

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

type KubePkgList

type KubePkgList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`

	Items []KubePkg `json:"items"`
}

+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

func (*KubePkgList) DeepCopy

func (in *KubePkgList) DeepCopy() *KubePkgList

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

func (*KubePkgList) DeepCopyInto

func (in *KubePkgList) DeepCopyInto(out *KubePkgList)

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

func (*KubePkgList) DeepCopyObject

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

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

type KubePkgSpec

type KubePkgSpec struct {
	Version   string            `json:"version"`
	Images    map[string]string `json:"images,omitempty"`
	Manifests Manifests         `json:"manifests,omitempty"`
}

func (*KubePkgSpec) DeepCopy

func (in *KubePkgSpec) DeepCopy() *KubePkgSpec

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

func (*KubePkgSpec) DeepCopyInto

func (in *KubePkgSpec) DeepCopyInto(out *KubePkgSpec)

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

type KubePkgStatus

type KubePkgStatus struct {
	Statuses Statuses     `json:"statuses,omitempty"`
	Digests  []DigestMeta `json:"digests,omitempty"`
}

func (*KubePkgStatus) DeepCopy

func (in *KubePkgStatus) DeepCopy() *KubePkgStatus

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

func (*KubePkgStatus) DeepCopyInto

func (in *KubePkgStatus) DeepCopyInto(out *KubePkgStatus)

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

type Manifests

type Manifests map[string]any

func (Manifests) DeepCopy

func (s Manifests) DeepCopy() Manifests

func (Manifests) DeepCopyInto

func (in Manifests) DeepCopyInto(out *Manifests)

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

type Statuses

type Statuses map[string]any

func (Statuses) DeepCopy

func (ss Statuses) DeepCopy() Statuses

func (Statuses) DeepCopyInto

func (in Statuses) DeepCopyInto(out *Statuses)

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