v1alpha1

package
v0.13.3 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2024 License: Apache-2.0 Imports: 9 Imported by: 20

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Blob

type Blob struct {
	URL             string `json:"url"`
	StripComponents int64  `json:"stripComponents,omitempty"`
}

+k8s:openapi-gen=true +k8s:deepcopy-gen=true

func (*Blob) BuildEnvVars

func (b *Blob) BuildEnvVars() []corev1.EnvVar

func (*Blob) DeepCopy

func (in *Blob) DeepCopy() *Blob

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

func (*Blob) DeepCopyInto

func (in *Blob) DeepCopyInto(out *Blob)

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

func (*Blob) ImagePullSecretsVolume

func (b *Blob) ImagePullSecretsVolume(name string) corev1.Volume

func (*Blob) Validate

func (b *Blob) Validate(ctx context.Context) *apis.FieldError

type BuildBuilderSpec

type BuildBuilderSpec struct {
	Image string `json:"image,omitempty"`
	// +patchMergeKey=name
	// +patchStrategy=merge
	// +listType
	ImagePullSecrets []corev1.LocalObjectReference `json:"imagePullSecrets,omitempty" patchStrategy:"merge" patchMergeKey:"name" protobuf:"bytes,15,rep,name=imagePullSecrets"`
}

+k8s:openapi-gen=true +k8s:deepcopy-gen=true

func (*BuildBuilderSpec) DeepCopy

func (in *BuildBuilderSpec) DeepCopy() *BuildBuilderSpec

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

func (*BuildBuilderSpec) DeepCopyInto

func (in *BuildBuilderSpec) DeepCopyInto(out *BuildBuilderSpec)

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

func (*BuildBuilderSpec) Validate

func (bbs *BuildBuilderSpec) Validate(ctx context.Context) *apis.FieldError

type BuildStack

type BuildStack struct {
	RunImage string `json:"runImage,omitempty"`
	ID       string `json:"id,omitempty"`
}

+k8s:openapi-gen=true +k8s:deepcopy-gen=true

func (*BuildStack) DeepCopy

func (in *BuildStack) DeepCopy() *BuildStack

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

func (*BuildStack) DeepCopyInto

func (in *BuildStack) DeepCopyInto(out *BuildStack)

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

type BuildpackInfo

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

+k8s:openapi-gen=true +k8s:deepcopy-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 BuildpackMetadata

type BuildpackMetadata struct {
	Id       string `json:"id"`
	Version  string `json:"version"`
	Homepage string `json:"homepage,omitempty"`
}

+k8s:openapi-gen=true +k8s:deepcopy-gen=true

func (*BuildpackMetadata) DeepCopy

func (in *BuildpackMetadata) DeepCopy() *BuildpackMetadata

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

func (*BuildpackMetadata) DeepCopyInto

func (in *BuildpackMetadata) DeepCopyInto(out *BuildpackMetadata)

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

type BuildpackMetadataList

type BuildpackMetadataList []BuildpackMetadata

func (BuildpackMetadataList) Include

type BuildpackRef

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

+k8s:openapi-gen=true +k8s:deepcopy-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 BuildpackStack

type BuildpackStack struct {
	ID string `json:"id"`

	// +listType
	Mixins []string `json:"mixins,omitempty"`
}

+k8s:openapi-gen=true +k8s:deepcopy-gen=true

func (*BuildpackStack) DeepCopy

func (in *BuildpackStack) DeepCopy() *BuildpackStack

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

func (*BuildpackStack) DeepCopyInto

func (in *BuildpackStack) DeepCopyInto(out *BuildpackStack)

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

type BuildpackStatus

type BuildpackStatus struct {
	BuildpackInfo `json:",inline"`
	Buildpackage  BuildpackageInfo `json:"buildpackage,omitempty"`
	StoreImage    ImageSource      `json:"storeImage,omitempty"`
	DiffId        string           `json:"diffId,omitempty"`
	Digest        string           `json:"digest,omitempty"`
	Size          int64            `json:"size,omitempty"`
	API           string           `json:"api,omitempty"`
	Homepage      string           `json:"homepage,omitempty"`
	// +listType
	Order []OrderEntry `json:"order,omitempty"`
	// +listType
	Stacks []BuildpackStack `json:"stacks,omitempty"`
}

+k8s:openapi-gen=true +k8s:deepcopy-gen=true

func (*BuildpackStatus) DeepCopy

func (in *BuildpackStatus) DeepCopy() *BuildpackStatus

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

func (*BuildpackStatus) DeepCopyInto

func (in *BuildpackStatus) DeepCopyInto(out *BuildpackStatus)

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

type BuildpackageInfo

type BuildpackageInfo struct {
	Id       string `json:"id,omitempty"`
	Version  string `json:"version,omitempty"`
	Homepage string `json:"homepage,omitempty"`
}

+k8s:openapi-gen=true +k8s:deepcopy-gen=true

func (*BuildpackageInfo) DeepCopy

func (in *BuildpackageInfo) DeepCopy() *BuildpackageInfo

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

func (*BuildpackageInfo) DeepCopyInto

func (in *BuildpackageInfo) DeepCopyInto(out *BuildpackageInfo)

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

type CNBBinding

type CNBBinding struct {
	Name        string                       `json:"name,omitempty"`
	MetadataRef *corev1.LocalObjectReference `json:"metadataRef,omitempty"`
	SecretRef   *corev1.LocalObjectReference `json:"secretRef,omitempty"`
}

+k8s:openapi-gen=true +k8s:deepcopy-gen=true

func (*CNBBinding) DeepCopy

func (in *CNBBinding) DeepCopy() *CNBBinding

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

func (*CNBBinding) DeepCopyInto

func (in *CNBBinding) DeepCopyInto(out *CNBBinding)

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

func (*CNBBinding) Validate

func (b *CNBBinding) Validate(ctx context.Context) *apis.FieldError

type CNBBindings

type CNBBindings []CNBBinding

+k8s:openapi-gen=true +k8s:deepcopy-gen=true

func (CNBBindings) DeepCopy

func (in CNBBindings) DeepCopy() CNBBindings

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

func (CNBBindings) DeepCopyInto

func (in CNBBindings) DeepCopyInto(out *CNBBindings)

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

func (CNBBindings) Validate

func (bs CNBBindings) Validate(ctx context.Context) *apis.FieldError

type CNBServiceBinding

type CNBServiceBinding struct {
	Name        string
	SecretRef   *corev1.LocalObjectReference
	MetadataRef *corev1.LocalObjectReference
}

func (*CNBServiceBinding) ServiceName

func (v *CNBServiceBinding) ServiceName() string

type Condition

type Condition struct {
	// Type of condition.
	// +required
	Type ConditionType `json:"type" description:"type of status condition"`

	// Status of the condition, one of True, False, Unknown.
	// +required
	Status corev1.ConditionStatus `json:"status" description:"status of the condition, one of True, False, Unknown"`

	// Severity with which to treat failures of this type of condition.
	// When this is not specified, it defaults to Error.
	// +optional
	Severity ConditionSeverity `json:"severity,omitempty" description:"how to interpret failures of this condition, one of Error, Warning, Info"`

	// LastTransitionTime is the last time the condition transitioned from one status to another.
	// We use VolatileTime in place of metav1.Time to exclude this from creating equality.Semantic
	// differences (all other things held constant).
	// +optional
	LastTransitionTime VolatileTime `json:"lastTransitionTime,omitempty" description:"last time the condition transit from one status to another"`

	// The reason for the condition's last transition.
	// +optional
	Reason string `json:"reason,omitempty" description:"one-word CamelCase reason for the condition's last transition"`

	// A human readable message indicating details about the transition.
	// +optional
	Message string `json:"message,omitempty" description:"human-readable message indicating details about last transition"`
}

Conditions defines a readiness condition for a Knative resource. See: https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#typical-status-properties +k8s:deepcopy-gen=true +k8s:openapi-gen=true

func (*Condition) DeepCopy

func (in *Condition) DeepCopy() *Condition

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

func (*Condition) DeepCopyInto

func (in *Condition) DeepCopyInto(out *Condition)

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

func (*Condition) IsFalse

func (c *Condition) IsFalse() bool

IsFalse is true if the condition is False

func (*Condition) IsTrue

func (c *Condition) IsTrue() bool

IsTrue is true if the condition is True

func (*Condition) IsUnknown

func (c *Condition) IsUnknown() bool

IsUnknown is true if the condition is Unknown

type ConditionSeverity

type ConditionSeverity string

ConditionSeverity expresses the severity of a Condition Type failing.

const (
	// ConditionSeverityError specifies that a failure of a condition type
	// should be viewed as an error.  As "Error" is the default for conditions
	// we use the empty string (coupled with omitempty) to avoid confusion in
	// the case where the condition is in state "True" (aka nothing is wrong).
	ConditionSeverityError ConditionSeverity = ""
	// ConditionSeverityWarning specifies that a failure of a condition type
	// should be viewed as a warning, but that things could still work.
	ConditionSeverityWarning ConditionSeverity = "Warning"
	// ConditionSeverityInfo specifies that a failure of a condition type
	// should be viewed as purely informational, and that things could still work.
	ConditionSeverityInfo ConditionSeverity = "Info"
)

type ConditionType

type ConditionType string

ConditionType is a camel-cased condition type.

const (
	// ConditionReady specifies that the resource is ready.
	// For long-running resources.
	ConditionReady ConditionType = "Ready"
	// ConditionSucceeded specifies that the resource has finished.
	// For resource which run to completion.
	ConditionSucceeded ConditionType = "Succeeded"
)

type Conditions

type Conditions []Condition

Conditions is the schema for the conditions portion of the payload

type Git

type Git struct {
	URL                  string `json:"url"`
	Revision             string `json:"revision"`
	InitializeSubmodules bool   `json:"initializeSubmodules,omitempty"`
}

+k8s:openapi-gen=true +k8s:deepcopy-gen=true

func (*Git) BuildEnvVars

func (g *Git) BuildEnvVars() []corev1.EnvVar

func (*Git) DeepCopy

func (in *Git) DeepCopy() *Git

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

func (*Git) DeepCopyInto

func (in *Git) DeepCopyInto(out *Git)

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

func (*Git) ImagePullSecretsVolume

func (in *Git) ImagePullSecretsVolume(name string) corev1.Volume

func (*Git) Validate

func (g *Git) Validate(ctx context.Context) *apis.FieldError

type GitSourceKind

type GitSourceKind string
const (
	Unknown GitSourceKind = "Unknown"
	Branch  GitSourceKind = "Branch"
	Tag     GitSourceKind = "Tag"
	Commit  GitSourceKind = "Commit"
)

type ImageSource

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

+k8s:openapi-gen=true +k8s:deepcopy-gen=true

func (*ImageSource) DeepCopy

func (in *ImageSource) DeepCopy() *ImageSource

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

func (*ImageSource) DeepCopyInto

func (in *ImageSource) DeepCopyInto(out *ImageSource)

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

type ImageTaggingStrategy

type ImageTaggingStrategy string
const (
	None        ImageTaggingStrategy = "None"
	BuildNumber ImageTaggingStrategy = "BuildNumber"
)

type NotaryConfig

type NotaryConfig struct {
	V1 *NotaryV1Config `json:"v1,omitempty"`
}

+k8s:openapi-gen=true +k8s:deepcopy-gen=true

func (*NotaryConfig) DeepCopy

func (in *NotaryConfig) DeepCopy() *NotaryConfig

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

func (*NotaryConfig) DeepCopyInto

func (in *NotaryConfig) DeepCopyInto(out *NotaryConfig)

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

func (*NotaryConfig) Validate

func (n *NotaryConfig) Validate(ctx context.Context) *apis.FieldError

type NotarySecretRef

type NotarySecretRef struct {
	Name string `json:"name"`
}

+k8s:openapi-gen=true +k8s:deepcopy-gen=true

func (*NotarySecretRef) DeepCopy

func (in *NotarySecretRef) DeepCopy() *NotarySecretRef

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

func (*NotarySecretRef) DeepCopyInto

func (in *NotarySecretRef) DeepCopyInto(out *NotarySecretRef)

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

type NotaryV1Config

type NotaryV1Config struct {
	URL       string          `json:"url"`
	SecretRef NotarySecretRef `json:"secretRef"`
}

+k8s:openapi-gen=true +k8s:deepcopy-gen=true

func (*NotaryV1Config) DeepCopy

func (in *NotaryV1Config) DeepCopy() *NotaryV1Config

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

func (*NotaryV1Config) DeepCopyInto

func (in *NotaryV1Config) DeepCopyInto(out *NotaryV1Config)

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

func (*NotaryV1Config) Validate

func (n *NotaryV1Config) Validate(ctx context.Context) *apis.FieldError

type Order

type Order []OrderEntry

type OrderEntry

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

+k8s:openapi-gen=true +k8s:deepcopy-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 Registry

type Registry struct {
	Image string `json:"image"`
	// +patchMergeKey=name
	// +patchStrategy=merge
	// +listType
	ImagePullSecrets []corev1.LocalObjectReference `json:"imagePullSecrets,omitempty" patchStrategy:"merge" patchMergeKey:"name" protobuf:"bytes,15,rep,name=imagePullSecrets"`
}

+k8s:openapi-gen=true +k8s:deepcopy-gen=true

func (*Registry) BuildEnvVars

func (r *Registry) BuildEnvVars() []corev1.EnvVar

func (*Registry) DeepCopy

func (in *Registry) DeepCopy() *Registry

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

func (*Registry) DeepCopyInto

func (in *Registry) DeepCopyInto(out *Registry)

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

func (*Registry) ImagePullSecretsVolume

func (r *Registry) ImagePullSecretsVolume(name string) corev1.Volume

func (*Registry) Validate

func (r *Registry) Validate(ctx context.Context) *apis.FieldError

type ResolvedBlobSource

type ResolvedBlobSource struct {
	URL             string `json:"url"`
	SubPath         string `json:"subPath,omitempty"`
	StripComponents int64  `json:"stripComponents,omitempty"`
}

+k8s:openapi-gen=true +k8s:deepcopy-gen=true

func (*ResolvedBlobSource) DeepCopy

func (in *ResolvedBlobSource) DeepCopy() *ResolvedBlobSource

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

func (*ResolvedBlobSource) DeepCopyInto

func (in *ResolvedBlobSource) DeepCopyInto(out *ResolvedBlobSource)

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

func (*ResolvedBlobSource) IsPollable

func (bs *ResolvedBlobSource) IsPollable() bool

func (*ResolvedBlobSource) IsUnknown

func (bs *ResolvedBlobSource) IsUnknown() bool

func (*ResolvedBlobSource) SourceConfig

func (bs *ResolvedBlobSource) SourceConfig() SourceConfig

type ResolvedGitSource

type ResolvedGitSource struct {
	URL                  string        `json:"url"`
	Revision             string        `json:"revision"`
	SubPath              string        `json:"subPath,omitempty"`
	Type                 GitSourceKind `json:"type"`
	InitializeSubmodules bool          `json:"initializeSubmodules,omitempty"`
}

+k8s:openapi-gen=true +k8s:deepcopy-gen=true

func (*ResolvedGitSource) DeepCopy

func (in *ResolvedGitSource) DeepCopy() *ResolvedGitSource

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

func (*ResolvedGitSource) DeepCopyInto

func (in *ResolvedGitSource) DeepCopyInto(out *ResolvedGitSource)

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

func (*ResolvedGitSource) IsPollable

func (gs *ResolvedGitSource) IsPollable() bool

func (*ResolvedGitSource) IsUnknown

func (gs *ResolvedGitSource) IsUnknown() bool

func (*ResolvedGitSource) SourceConfig

func (gs *ResolvedGitSource) SourceConfig() SourceConfig

type ResolvedRegistrySource

type ResolvedRegistrySource struct {
	Image   string `json:"image"`
	SubPath string `json:"subPath,omitempty"`
	// +patchMergeKey=name
	// +patchStrategy=merge
	// +listType
	ImagePullSecrets []corev1.LocalObjectReference `json:"imagePullSecrets,omitempty" patchStrategy:"merge" patchMergeKey:"name" protobuf:"bytes,15,rep,name=imagePullSecrets"`
}

+k8s:openapi-gen=true +k8s:deepcopy-gen=true

func (*ResolvedRegistrySource) DeepCopy

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

func (*ResolvedRegistrySource) DeepCopyInto

func (in *ResolvedRegistrySource) DeepCopyInto(out *ResolvedRegistrySource)

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

func (*ResolvedRegistrySource) IsPollable

func (rs *ResolvedRegistrySource) IsPollable() bool

func (*ResolvedRegistrySource) IsUnknown

func (rs *ResolvedRegistrySource) IsUnknown() bool

func (*ResolvedRegistrySource) SourceConfig

func (rs *ResolvedRegistrySource) SourceConfig() SourceConfig

type ResolvedSource

type ResolvedSource interface {
	IsUnknown() bool
	IsPollable() bool
	SourceConfig() SourceConfig
}

type ResolvedSourceConfig

type ResolvedSourceConfig struct {
	Git      *ResolvedGitSource      `json:"git,omitempty"`
	Blob     *ResolvedBlobSource     `json:"blob,omitempty"`
	Registry *ResolvedRegistrySource `json:"registry,omitempty"`
}

+k8s:openapi-gen=true +k8s:deepcopy-gen=true

func (*ResolvedSourceConfig) DeepCopy

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

func (*ResolvedSourceConfig) DeepCopyInto

func (in *ResolvedSourceConfig) DeepCopyInto(out *ResolvedSourceConfig)

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

func (ResolvedSourceConfig) ResolvedSource

func (sc ResolvedSourceConfig) ResolvedSource() ResolvedSource

type ServiceBinding

type ServiceBinding struct {
	Name      string
	SecretRef *corev1.LocalObjectReference
}

func (*ServiceBinding) ServiceName

func (s *ServiceBinding) ServiceName() string

type Source

type Source interface {
	BuildEnvVars() []corev1.EnvVar
	ImagePullSecretsVolume(name string) corev1.Volume
}

type SourceConfig

type SourceConfig struct {
	Git      *Git      `json:"git,omitempty"`
	Blob     *Blob     `json:"blob,omitempty"`
	Registry *Registry `json:"registry,omitempty"`
	SubPath  string    `json:"subPath,omitempty"`
}

+k8s:openapi-gen=true +k8s:deepcopy-gen=true

func (*SourceConfig) DeepCopy

func (in *SourceConfig) DeepCopy() *SourceConfig

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

func (*SourceConfig) DeepCopyInto

func (in *SourceConfig) DeepCopyInto(out *SourceConfig)

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

func (*SourceConfig) Source

func (sc *SourceConfig) Source() Source

func (*SourceConfig) Validate

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

type Status

type Status struct {
	// ObservedGeneration is the 'Generation' of the Service that
	// was last processed by the controller.
	// +optional
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`

	// Conditions the latest available observations of a resource's current state.
	// +optional
	// +patchMergeKey=type
	// +patchStrategy=merge
	Conditions Conditions `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type"`
}

Status shows how we expect folks to embed Conditions in their Status field. WARNING: Adding fields to this struct will add them to all Knative resources. +k8s:deepcopy-gen=true +k8s:openapi-gen=true

func CreateStatusWithReadyCondition

func CreateStatusWithReadyCondition(generation int64, err error) Status

func (*Status) DeepCopy

func (in *Status) DeepCopy() *Status

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

func (*Status) DeepCopyInto

func (in *Status) DeepCopyInto(out *Status)

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

func (*Status) GetCondition

func (s *Status) GetCondition(t ConditionType) *Condition

type VolatileTime

type VolatileTime struct {
	Inner metav1.Time `json:"inner"`
}

VolatileTime wraps metav1.Time +k8s:deepcopy-gen=true +k8s:openapi-gen=true

func (*VolatileTime) DeepCopy

func (in *VolatileTime) DeepCopy() *VolatileTime

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

func (*VolatileTime) DeepCopyInto

func (in *VolatileTime) DeepCopyInto(out *VolatileTime)

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

func (VolatileTime) MarshalJSON

func (t VolatileTime) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaler interface.

func (*VolatileTime) UnmarshalJSON

func (t *VolatileTime) UnmarshalJSON(b []byte) error

UnmarshalJSON implements the json.Unmarshaller interface.

Jump to

Keyboard shortcuts

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