v1alpha1

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2020 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Overview

+k8s:deepcopy-gen=package +groupName=experimental.kpack.pivotal.io

Index

Constants

View Source
const CustomBuilderKind = "CustomBuilder"
View Source
const CustomClusterBuilderKind = "CustomClusterBuilder"
View Source
const StackKind = "Stack"
View Source
const StoreKind = "Store"

Variables

View Source
var (

	// AddToScheme adds Build types to the scheme.
	AddToScheme = schemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: experimental.GroupName, Version: "v1alpha1"}

SchemeGroupVersion is group version used to register these objects

Functions

func Kind

func Kind(kind string) schema.GroupKind

Kind takes an unqualified kind and returns back a Group qualified GroupKind

func Resource

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group qualified GroupResource

Types

type BuildpackInfo

type BuildpackInfo struct {
	Id      string `json:"id"`
	Version string `json:"version,omitempty"`
}

+k8s:openapi-gen=true

func (*BuildpackInfo) DeepCopy

func (in *BuildpackInfo) DeepCopy() *BuildpackInfo

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

func (*BuildpackInfo) DeepCopyInto

func (in *BuildpackInfo) DeepCopyInto(out *BuildpackInfo)

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

func (BuildpackInfo) String

func (b BuildpackInfo) String() string

type BuildpackRef

type BuildpackRef struct {
	BuildpackInfo `json:",inline"`
	Optional      bool `json:"optional,omitempty"`
}

+k8s:openapi-gen=true

func (*BuildpackRef) DeepCopy

func (in *BuildpackRef) DeepCopy() *BuildpackRef

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

func (*BuildpackRef) DeepCopyInto

func (in *BuildpackRef) DeepCopyInto(out *BuildpackRef)

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

type CustomBuilder

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

	Spec   CustomNamespacedBuilderSpec `json:"spec"`
	Status CustomBuilderStatus         `json:"status"`
}

+k8s:openapi-gen=true

func (*CustomBuilder) DeepCopy

func (in *CustomBuilder) DeepCopy() *CustomBuilder

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

func (*CustomBuilder) DeepCopyInto

func (in *CustomBuilder) DeepCopyInto(out *CustomBuilder)

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

func (*CustomBuilder) DeepCopyObject

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

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

func (*CustomBuilder) DeepCopyObjectMetaAccessor

func (in *CustomBuilder) DeepCopyObjectMetaAccessor() v1.ObjectMetaAccessor

DeepCopyObjectMetaAccessor is an autogenerated deepcopy function, copying the receiver, creating a new v1.ObjectMetaAccessor.

func (*CustomBuilder) GetGroupVersionKind

func (*CustomBuilder) GetGroupVersionKind() schema.GroupVersionKind

func (*CustomBuilder) NamespacedName

func (c *CustomBuilder) NamespacedName() types.NamespacedName

func (*CustomBuilder) SetDefaults

func (cb *CustomBuilder) SetDefaults(context.Context)

func (*CustomBuilder) Validate

func (cb *CustomBuilder) Validate(ctx context.Context) *apis.FieldError

type CustomBuilderList

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

	// +listType
	Items []CustomBuilder `json:"items"`
}

+k8s:openapi-gen=true

func (*CustomBuilderList) DeepCopy

func (in *CustomBuilderList) DeepCopy() *CustomBuilderList

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

func (*CustomBuilderList) DeepCopyInto

func (in *CustomBuilderList) DeepCopyInto(out *CustomBuilderList)

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

func (*CustomBuilderList) DeepCopyObject

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

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

type CustomBuilderSpec

type CustomBuilderSpec struct {
	Tag   string `json:"tag,omitempty"`
	Stack string `json:"stack,omitempty"`
	Store string `json:"store,omitempty"`
	// +listType
	Order []OrderEntry `json:"order,omitempty"`
}

+k8s:openapi-gen=true

func (*CustomBuilderSpec) DeepCopy

func (in *CustomBuilderSpec) DeepCopy() *CustomBuilderSpec

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

func (*CustomBuilderSpec) DeepCopyInto

func (in *CustomBuilderSpec) DeepCopyInto(out *CustomBuilderSpec)

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

func (*CustomBuilderSpec) Validate

func (s *CustomBuilderSpec) Validate(ctx context.Context) *apis.FieldError

type CustomBuilderStatus

type CustomBuilderStatus struct {
	v1alpha1.BuilderStatus `json:",inline"`
}

+k8s:openapi-gen=true

func (*CustomBuilderStatus) DeepCopy

func (in *CustomBuilderStatus) DeepCopy() *CustomBuilderStatus

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

func (*CustomBuilderStatus) DeepCopyInto

func (in *CustomBuilderStatus) DeepCopyInto(out *CustomBuilderStatus)

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

func (*CustomBuilderStatus) ErrorCreate

func (cb *CustomBuilderStatus) ErrorCreate(err error)

type CustomClusterBuilder

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

	Spec   CustomClusterBuilderSpec `json:"spec"`
	Status CustomBuilderStatus      `json:"status"`
}

+k8s:openapi-gen=true

func (*CustomClusterBuilder) DeepCopy

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

func (*CustomClusterBuilder) DeepCopyInto

func (in *CustomClusterBuilder) DeepCopyInto(out *CustomClusterBuilder)

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

func (*CustomClusterBuilder) DeepCopyObject

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

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

func (*CustomClusterBuilder) DeepCopyObjectMetaAccessor

func (in *CustomClusterBuilder) DeepCopyObjectMetaAccessor() v1.ObjectMetaAccessor

DeepCopyObjectMetaAccessor is an autogenerated deepcopy function, copying the receiver, creating a new v1.ObjectMetaAccessor.

func (*CustomClusterBuilder) GetGroupVersionKind

func (*CustomClusterBuilder) GetGroupVersionKind() schema.GroupVersionKind

func (*CustomClusterBuilder) NamespacedName

func (c *CustomClusterBuilder) NamespacedName() types.NamespacedName

func (*CustomClusterBuilder) SetDefaults

func (ccb *CustomClusterBuilder) SetDefaults(context.Context)

func (*CustomClusterBuilder) Validate

func (ccb *CustomClusterBuilder) Validate(ctx context.Context) *apis.FieldError

type CustomClusterBuilderList

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

	// +listType
	Items []CustomClusterBuilder `json:"items"`
}

+k8s:openapi-gen=true

func (*CustomClusterBuilderList) DeepCopy

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

func (*CustomClusterBuilderList) DeepCopyInto

func (in *CustomClusterBuilderList) DeepCopyInto(out *CustomClusterBuilderList)

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

func (*CustomClusterBuilderList) DeepCopyObject

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

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

type CustomClusterBuilderSpec

type CustomClusterBuilderSpec struct {
	CustomBuilderSpec `json:",inline"`
	ServiceAccountRef corev1.ObjectReference `json:"serviceAccountRef,omitempty"`
}

+k8s:openapi-gen=true

func (*CustomClusterBuilderSpec) DeepCopy

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

func (*CustomClusterBuilderSpec) DeepCopyInto

func (in *CustomClusterBuilderSpec) DeepCopyInto(out *CustomClusterBuilderSpec)

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

func (*CustomClusterBuilderSpec) Validate

type CustomNamespacedBuilderSpec

type CustomNamespacedBuilderSpec struct {
	CustomBuilderSpec `json:",inline"`
	ServiceAccount    string `json:"serviceAccount,omitempty"`
}

+k8s:openapi-gen=true

func (*CustomNamespacedBuilderSpec) DeepCopy

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

func (*CustomNamespacedBuilderSpec) DeepCopyInto

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

func (*CustomNamespacedBuilderSpec) Validate

type Order

type Order []OrderEntry

func (Order) DeepCopy

func (in Order) DeepCopy() Order

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

func (Order) DeepCopyInto

func (in Order) DeepCopyInto(out *Order)

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

type OrderEntry

type OrderEntry struct {
	// +listType
	Group []BuildpackRef `json:"group,omitempty"`
}

+k8s:openapi-gen=true

func (*OrderEntry) DeepCopy

func (in *OrderEntry) DeepCopy() *OrderEntry

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

func (*OrderEntry) DeepCopyInto

func (in *OrderEntry) DeepCopyInto(out *OrderEntry)

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

type Stack

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

	Spec   StackSpec   `json:"spec"`
	Status StackStatus `json:"status"`
}

+k8s:openapi-gen=true

func (*Stack) DeepCopy

func (in *Stack) DeepCopy() *Stack

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

func (*Stack) DeepCopyInto

func (in *Stack) DeepCopyInto(out *Stack)

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

func (*Stack) DeepCopyObject

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

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

func (*Stack) DeepCopyObjectMetaAccessor

func (in *Stack) DeepCopyObjectMetaAccessor() v1.ObjectMetaAccessor

DeepCopyObjectMetaAccessor is an autogenerated deepcopy function, copying the receiver, creating a new v1.ObjectMetaAccessor.

func (*Stack) GetGroupVersionKind

func (*Stack) GetGroupVersionKind() schema.GroupVersionKind

func (*Stack) SetDefaults

func (s *Stack) SetDefaults(context.Context)

func (*Stack) Validate

func (s *Stack) Validate(ctx context.Context) *apis.FieldError

type StackList

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

	// +listType
	Items []Stack `json:"items"`
}

+k8s:openapi-gen=true

func (*StackList) DeepCopy

func (in *StackList) DeepCopy() *StackList

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

func (*StackList) DeepCopyInto

func (in *StackList) DeepCopyInto(out *StackList)

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

func (*StackList) DeepCopyObject

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

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

type StackSpec

type StackSpec struct {
	Id         string         `json:"id,omitempty"`
	BuildImage StackSpecImage `json:"buildImage,omitempty"`
	RunImage   StackSpecImage `json:"runImage,omitempty"`
}

+k8s:openapi-gen=true

func (*StackSpec) DeepCopy

func (in *StackSpec) DeepCopy() *StackSpec

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

func (*StackSpec) DeepCopyInto

func (in *StackSpec) DeepCopyInto(out *StackSpec)

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

func (*StackSpec) Validate

func (ss *StackSpec) Validate(ctx context.Context) *apis.FieldError

type StackSpecImage

type StackSpecImage struct {
	Image string `json:"image,omitempty"`
}

+k8s:openapi-gen=true

func (*StackSpecImage) DeepCopy

func (in *StackSpecImage) DeepCopy() *StackSpecImage

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

func (*StackSpecImage) DeepCopyInto

func (in *StackSpecImage) DeepCopyInto(out *StackSpecImage)

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

func (*StackSpecImage) Validate

func (ssi *StackSpecImage) Validate(context.Context) *apis.FieldError

type StackStatus

type StackStatus struct {
	corev1alpha1.Status `json:",inline"`

	BuildImage StackStatusImage `json:"buildImage,omitempty"`
	RunImage   StackStatusImage `json:"runImage,omitempty"`
}

+k8s:openapi-gen=true

func (*StackStatus) DeepCopy

func (in *StackStatus) DeepCopy() *StackStatus

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

func (*StackStatus) DeepCopyInto

func (in *StackStatus) DeepCopyInto(out *StackStatus)

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

type StackStatusImage

type StackStatusImage struct {
	LatestImage string `json:"latestImage,omitempty"`
}

+k8s:openapi-gen=true

func (*StackStatusImage) DeepCopy

func (in *StackStatusImage) DeepCopy() *StackStatusImage

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

func (*StackStatusImage) DeepCopyInto

func (in *StackStatusImage) DeepCopyInto(out *StackStatusImage)

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

type Store

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

	Spec   StoreSpec   `json:"spec"`
	Status StoreStatus `json:"status"`
}

+k8s:openapi-gen=true

func (*Store) DeepCopy

func (in *Store) DeepCopy() *Store

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

func (*Store) DeepCopyInto

func (in *Store) DeepCopyInto(out *Store)

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

func (*Store) DeepCopyObject

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

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

func (*Store) DeepCopyObjectMetaAccessor

func (in *Store) DeepCopyObjectMetaAccessor() v1.ObjectMetaAccessor

DeepCopyObjectMetaAccessor is an autogenerated deepcopy function, copying the receiver, creating a new v1.ObjectMetaAccessor.

func (*Store) GetGroupVersionKind

func (*Store) GetGroupVersionKind() schema.GroupVersionKind

func (*Store) SetDefaults

func (s *Store) SetDefaults(context.Context)

func (*Store) Validate

func (s *Store) Validate(ctx context.Context) *apis.FieldError

type StoreBuildpack

type StoreBuildpack struct {
	BuildpackInfo `json:",inline"`
	StoreImage    StoreImage `json:"storeImage,omitempty"`
	// +listType
	Order  []OrderEntry `json:"order,omitempty"`
	DiffId string       `json:"diffId,omitempty"`
	Digest string       `json:"digest,omitempty"`
	Size   int64        `json:"size,omitempty"`
}

+k8s:openapi-gen=true

func (*StoreBuildpack) DeepCopy

func (in *StoreBuildpack) DeepCopy() *StoreBuildpack

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

func (*StoreBuildpack) DeepCopyInto

func (in *StoreBuildpack) DeepCopyInto(out *StoreBuildpack)

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

type StoreImage

type StoreImage struct {
	Image string `json:"image,omitempty"`
}

+k8s:openapi-gen=true

func (*StoreImage) DeepCopy

func (in *StoreImage) DeepCopy() *StoreImage

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

func (*StoreImage) DeepCopyInto

func (in *StoreImage) DeepCopyInto(out *StoreImage)

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

type StoreList

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

	// +listType
	Items []Store `json:"items"`
}

+k8s:openapi-gen=true

func (*StoreList) DeepCopy

func (in *StoreList) DeepCopy() *StoreList

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

func (*StoreList) DeepCopyInto

func (in *StoreList) DeepCopyInto(out *StoreList)

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

func (*StoreList) DeepCopyObject

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

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

type StoreSpec

type StoreSpec struct {
	// +listType
	Sources []StoreImage `json:"sources,omitempty"`
}

+k8s:openapi-gen=true

func (*StoreSpec) DeepCopy

func (in *StoreSpec) DeepCopy() *StoreSpec

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

func (*StoreSpec) DeepCopyInto

func (in *StoreSpec) DeepCopyInto(out *StoreSpec)

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

func (*StoreSpec) Validate

func (s *StoreSpec) Validate(ctx context.Context) *apis.FieldError

type StoreStatus

type StoreStatus struct {
	corev1alpha1.Status `json:",inline"`

	// +listType
	Buildpacks []StoreBuildpack `json:"buildpacks,omitempty"`
}

+k8s:openapi-gen=true

func (*StoreStatus) DeepCopy

func (in *StoreStatus) DeepCopy() *StoreStatus

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

func (*StoreStatus) DeepCopyInto

func (in *StoreStatus) DeepCopyInto(out *StoreStatus)

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