v1alpha1

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2019 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the serving v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=serving.knative.dev

Package v1alpha1 contains API Schema definitions for the serving v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=serving.knative.dev

Index

Constants

View Source
const (
	InstallSucceeded     apis.ConditionType = "InstallSucceeded"
	DeploymentsAvailable apis.ConditionType = "DeploymentsAvailable"
)

Variables

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

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

Functions

func RegisterDefaults

func RegisterDefaults(scheme *runtime.Scheme) error

RegisterDefaults adds defaulters functions to the given scheme. Public to allow building arbitrary schemes. All generated defaulters are covering - they call all nested defaulters.

Types

type KnativeServing added in v0.6.0

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

	Spec   KnativeServingSpec   `json:"spec,omitempty"`
	Status KnativeServingStatus `json:"status,omitempty"`
}

KnativeServing is the Schema for the knativeservings API +k8s:openapi-gen=true

func (*KnativeServing) DeepCopy added in v0.6.0

func (in *KnativeServing) DeepCopy() *KnativeServing

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

func (*KnativeServing) DeepCopyInto added in v0.6.0

func (in *KnativeServing) DeepCopyInto(out *KnativeServing)

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

func (*KnativeServing) DeepCopyObject added in v0.6.0

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

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

type KnativeServingList added in v0.6.0

type KnativeServingList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []KnativeServing `json:"items"`
}

KnativeServingList contains a list of KnativeServing

func (*KnativeServingList) DeepCopy added in v0.6.0

func (in *KnativeServingList) DeepCopy() *KnativeServingList

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

func (*KnativeServingList) DeepCopyInto added in v0.6.0

func (in *KnativeServingList) DeepCopyInto(out *KnativeServingList)

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

func (*KnativeServingList) DeepCopyObject added in v0.6.0

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

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

type KnativeServingSpec added in v0.6.0

type KnativeServingSpec struct {

	// A means to override the corresponding entries in the upstream configmaps
	// +optional
	Config map[string]map[string]string `json:"config,omitempty"`
}

KnativeServingSpec defines the desired state of KnativeServing +k8s:openapi-gen=true

func (*KnativeServingSpec) DeepCopy added in v0.6.0

func (in *KnativeServingSpec) DeepCopy() *KnativeServingSpec

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

func (*KnativeServingSpec) DeepCopyInto added in v0.6.0

func (in *KnativeServingSpec) DeepCopyInto(out *KnativeServingSpec)

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

type KnativeServingStatus added in v0.6.0

type KnativeServingStatus struct {

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

KnativeServingStatus defines the observed state of KnativeServing +k8s:openapi-gen=true

func (*KnativeServingStatus) DeepCopy added in v0.6.0

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

func (*KnativeServingStatus) DeepCopyInto added in v0.6.0

func (in *KnativeServingStatus) DeepCopyInto(out *KnativeServingStatus)

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

func (*KnativeServingStatus) GetCondition added in v0.6.0

func (is *KnativeServingStatus) GetCondition(t apis.ConditionType) *apis.Condition

func (*KnativeServingStatus) GetConditions added in v0.6.0

func (s *KnativeServingStatus) GetConditions() apis.Conditions

GetConditions implements apis.ConditionsAccessor

func (*KnativeServingStatus) InitializeConditions added in v0.6.0

func (is *KnativeServingStatus) InitializeConditions()

func (*KnativeServingStatus) IsAvailable added in v0.6.0

func (is *KnativeServingStatus) IsAvailable() bool

func (*KnativeServingStatus) IsDeploying added in v0.6.0

func (is *KnativeServingStatus) IsDeploying() bool

func (*KnativeServingStatus) IsInstalled added in v0.6.0

func (is *KnativeServingStatus) IsInstalled() bool

func (*KnativeServingStatus) IsReady added in v0.6.0

func (is *KnativeServingStatus) IsReady() bool

func (*KnativeServingStatus) MarkDeploymentsAvailable added in v0.6.0

func (is *KnativeServingStatus) MarkDeploymentsAvailable()

func (*KnativeServingStatus) MarkDeploymentsNotReady added in v0.6.0

func (is *KnativeServingStatus) MarkDeploymentsNotReady()

func (*KnativeServingStatus) MarkIgnored added in v0.6.0

func (is *KnativeServingStatus) MarkIgnored(msg string)

func (*KnativeServingStatus) MarkInstallFailed added in v0.6.0

func (is *KnativeServingStatus) MarkInstallFailed(msg string)

func (*KnativeServingStatus) MarkInstallSucceeded added in v0.6.0

func (is *KnativeServingStatus) MarkInstallSucceeded()

func (*KnativeServingStatus) SetConditions added in v0.6.0

func (s *KnativeServingStatus) SetConditions(c apis.Conditions)

SetConditions implements apis.ConditionsAccessor

Jump to

Keyboard shortcuts

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