v1alpha1

package
v0.8.1 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2024 License: Apache-2.0 Imports: 8 Imported by: 3

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the webhooks v1alpha1 API group +kubebuilder:object:generate=true

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "webhooks.conventions.carto.run", 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 BOM

type BOM struct {
	Name string `json:"name"`
	Raw  []byte `json:"raw"`
}

func (*BOM) AsCycloneDX

func (b *BOM) AsCycloneDX() (*cyclonedx.BOM, error)

func (*BOM) DeepCopy added in v0.3.0

func (in *BOM) DeepCopy() *BOM

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

func (*BOM) DeepCopyInto added in v0.3.0

func (in *BOM) DeepCopyInto(out *BOM)

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

type ImageConfig

type ImageConfig struct {
	Image  string            `json:"image"`
	BOMs   []BOM             `json:"boms,omitempty"`
	Config ggcrv1.ConfigFile `json:"config"`
}

func (*ImageConfig) DeepCopy added in v0.3.0

func (in *ImageConfig) DeepCopy() *ImageConfig

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

func (*ImageConfig) DeepCopyInto added in v0.3.0

func (in *ImageConfig) DeepCopyInto(out *ImageConfig)

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

type PodConventionContext

type PodConventionContext struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              PodConventionContextSpec   `json:"spec"`
	Status            PodConventionContextStatus `json:"status"`
}

func (*PodConventionContext) DeepCopy

DeepCopy is a deepcopy function, copying the receiver, creating a new PodConventionContext.

func (*PodConventionContext) DeepCopyInto added in v0.3.0

func (in *PodConventionContext) DeepCopyInto(out *PodConventionContext)

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

func (*PodConventionContext) DeepCopyObject

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

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

type PodConventionContextSpec

type PodConventionContextSpec struct {
	Template    corev1.PodTemplateSpec `json:"template"`
	ImageConfig []ImageConfig          `json:"imageConfig"`
}

func (*PodConventionContextSpec) DeepCopy added in v0.3.0

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

func (*PodConventionContextSpec) DeepCopyInto added in v0.3.0

func (in *PodConventionContextSpec) DeepCopyInto(out *PodConventionContextSpec)

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

type PodConventionContextStatus

type PodConventionContextStatus struct {
	Template           corev1.PodTemplateSpec `json:"template"`
	AppliedConventions []string               `json:"appliedConventions"`
}

func (*PodConventionContextStatus) DeepCopy added in v0.3.0

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

func (*PodConventionContextStatus) DeepCopyInto added in v0.3.0

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