v1beta1

package
v0.38.9 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2023 License: Apache-2.0 Imports: 10 Imported by: 2

Documentation

Overview

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

Index

Constants

View Source
const (
	// SchemaVersion is the current version of the API.
	SchemaVersion = "v1beta1"
)

Variables

View Source
var (
	// SchemeGroupVersion is group version used to register these objects
	SchemeGroupVersion = schema.GroupVersion{Group: operator.GroupName, Version: SchemaVersion}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes)
	// AddToScheme adds the API's types to the Scheme.
	AddToScheme = SchemeBuilder.AddToScheme
)

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 IngressConfigs

type IngressConfigs struct {
	Istio   base.IstioIngressConfiguration   `json:"istio"`
	Kourier base.KourierIngressConfiguration `json:"kourier"`
	Contour base.ContourIngressConfiguration `json:"contour"`
}

IngressConfigs specifies options for the ingresses.

func (*IngressConfigs) DeepCopy

func (in *IngressConfigs) DeepCopy() *IngressConfigs

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

func (*IngressConfigs) DeepCopyInto

func (in *IngressConfigs) DeepCopyInto(out *IngressConfigs)

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

type KnativeEventing

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

	Spec   KnativeEventingSpec   `json:"spec,omitempty"`
	Status KnativeEventingStatus `json:"status,omitempty"`
}

KnativeEventing is the Schema for the eventings API +genclient +genreconciler:krshapedlogic=false +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

func (*KnativeEventing) ConvertFrom

func (ke *KnativeEventing) ConvertFrom(ctx context.Context, source apis.Convertible) error

ConvertFrom implements apis.Convertible Converts KnativeServing from a higher version into v1beta1.KnativeServing

func (*KnativeEventing) ConvertTo

func (ke *KnativeEventing) ConvertTo(ctx context.Context, sink apis.Convertible) error

ConvertTo implements apis.Convertible Converts KnativeServing from v1beta1.KnativeServing into a higher version.

func (*KnativeEventing) DeepCopy

func (in *KnativeEventing) DeepCopy() *KnativeEventing

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

func (*KnativeEventing) DeepCopyInto

func (in *KnativeEventing) DeepCopyInto(out *KnativeEventing)

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

func (*KnativeEventing) DeepCopyObject

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

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

func (*KnativeEventing) GetSpec

func (ke *KnativeEventing) GetSpec() base.KComponentSpec

GetSpec implements KComponent

func (*KnativeEventing) GetStatus

func (ke *KnativeEventing) GetStatus() base.KComponentStatus

GetStatus implements KComponent

func (*KnativeEventing) GroupVersionKind

func (e *KnativeEventing) GroupVersionKind() schema.GroupVersionKind

GroupVersionKind returns SchemeGroupVersion of an KnativeEventing

type KnativeEventingList

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

KnativeEventingList contains a list of KnativeEventing +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

func (*KnativeEventingList) DeepCopy

func (in *KnativeEventingList) DeepCopy() *KnativeEventingList

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

func (*KnativeEventingList) DeepCopyInto

func (in *KnativeEventingList) DeepCopyInto(out *KnativeEventingList)

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

func (*KnativeEventingList) DeepCopyObject

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

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

type KnativeEventingSpec

type KnativeEventingSpec struct {
	base.CommonSpec `json:",inline"`

	// The default broker type to use for the brokers Knative creates.
	// If no value is provided, MTChannelBasedBroker will be used.
	// +optional
	DefaultBrokerClass string `json:"defaultBrokerClass,omitempty"`

	// SinkBindingSelectionMode specifies the NamespaceSelector and ObjectSelector
	// for the sinkbinding webhook.
	// If `inclusion` is selected, namespaces/objects labelled as `bindings.knative.dev/include:true`
	// will be considered by the sinkbinding webhook;
	// If `exclusion` is selected, namespaces/objects labelled as `bindings.knative.dev/exclude:true`
	// will NOT be considered by the sinkbinding webhook.
	// If no SINK_BINDING_SELECTION_MODE env var is given in the workloadOverrides for the
	// sinkinding webhook, the default `exclusion` is used.
	// +optional
	SinkBindingSelectionMode string `json:"sinkBindingSelectionMode,omitempty"`

	// Source allows configuration of different eventing sources to be shipped.
	// +optional
	Source *SourceConfigs `json:"source,omitempty"`
}

KnativeEventingSpec defines the desired state of KnativeEventing

func (*KnativeEventingSpec) DeepCopy

func (in *KnativeEventingSpec) DeepCopy() *KnativeEventingSpec

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

func (*KnativeEventingSpec) DeepCopyInto

func (in *KnativeEventingSpec) DeepCopyInto(out *KnativeEventingSpec)

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

type KnativeEventingStatus

type KnativeEventingStatus struct {
	duckv1.Status `json:",inline"`

	// The version of the installed release
	// +optional
	Version string `json:"version,omitempty"`

	// The url links of the manifests, separated by comma
	// +optional
	Manifests []string `json:"manifests,omitempty"`
}

KnativeEventingStatus defines the observed state of KnativeEventing

func (*KnativeEventingStatus) DeepCopy

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

func (*KnativeEventingStatus) DeepCopyInto

func (in *KnativeEventingStatus) DeepCopyInto(out *KnativeEventingStatus)

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

func (*KnativeEventingStatus) GetCondition

func (es *KnativeEventingStatus) GetCondition(t apis.ConditionType) *apis.Condition

GetCondition returns the current condition of a given condition type

func (*KnativeEventingStatus) GetManifests

func (es *KnativeEventingStatus) GetManifests() []string

GetManifests gets the url links of the manifests.

func (*KnativeEventingStatus) GetVersion

func (es *KnativeEventingStatus) GetVersion() string

GetVersion gets the currently installed version of the component.

func (*KnativeEventingStatus) InitializeConditions

func (es *KnativeEventingStatus) InitializeConditions()

InitializeConditions initializes conditions of an KnativeEventingStatus

func (*KnativeEventingStatus) IsReady

func (es *KnativeEventingStatus) IsReady() bool

IsReady looks at the conditions and if the Status has a condition EventingConditionReady returns true if ConditionStatus is True

func (*KnativeEventingStatus) MarkDependenciesInstalled

func (es *KnativeEventingStatus) MarkDependenciesInstalled()

MarkDependenciesInstalled marks the DependenciesInstalled status as true.

func (*KnativeEventingStatus) MarkDependencyInstalling

func (es *KnativeEventingStatus) MarkDependencyInstalling(msg string)

MarkDependencyInstalling marks the DependenciesInstalled status as false with the given message.

func (*KnativeEventingStatus) MarkDependencyMissing

func (es *KnativeEventingStatus) MarkDependencyMissing(msg string)

MarkDependencyMissing marks the DependenciesInstalled status as false with the given message.

func (*KnativeEventingStatus) MarkDeploymentsAvailable

func (es *KnativeEventingStatus) MarkDeploymentsAvailable()

MarkDeploymentsAvailable marks the VersionMigrationEligible status as true.

func (*KnativeEventingStatus) MarkDeploymentsNotReady

func (es *KnativeEventingStatus) MarkDeploymentsNotReady(deployments []string)

MarkDeploymentsNotReady marks the DeploymentsAvailable status as false and calls out it's waiting for deployments.

func (*KnativeEventingStatus) MarkInstallFailed

func (es *KnativeEventingStatus) MarkInstallFailed(msg string)

MarkInstallFailed marks the InstallationSucceeded status as false with the given message.

func (*KnativeEventingStatus) MarkInstallSucceeded

func (es *KnativeEventingStatus) MarkInstallSucceeded()

MarkInstallSucceeded marks the InstallationSucceeded status as true.

func (*KnativeEventingStatus) MarkVersionMigrationEligible

func (es *KnativeEventingStatus) MarkVersionMigrationEligible()

MarkVersionMigrationEligible marks the VersionMigrationEligible status as false with given message.

func (*KnativeEventingStatus) MarkVersionMigrationNotEligible

func (es *KnativeEventingStatus) MarkVersionMigrationNotEligible(msg string)

MarkVersionMigrationNotEligible marks the DeploymentsAvailable status as true.

func (*KnativeEventingStatus) SetManifests

func (es *KnativeEventingStatus) SetManifests(manifests []string)

SetManifests sets the url links of the manifests.

func (*KnativeEventingStatus) SetVersion

func (es *KnativeEventingStatus) SetVersion(version string)

SetVersion sets the currently installed version of the component.

type KnativeServing

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 +genclient +genreconciler:krshapedlogic=false +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

func (*KnativeServing) ConvertFrom

func (ks *KnativeServing) ConvertFrom(ctx context.Context, source apis.Convertible) error

ConvertFrom implements apis.Convertible Converts KnativeServing from a higher version into v1beta1.KnativeServing

func (*KnativeServing) ConvertTo

func (ks *KnativeServing) ConvertTo(ctx context.Context, sink apis.Convertible) error

ConvertTo implements apis.Convertible Converts KnativeServing from v1beta1.KnativeServing into a higher version.

func (*KnativeServing) DeepCopy

func (in *KnativeServing) DeepCopy() *KnativeServing

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

func (*KnativeServing) DeepCopyInto

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

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

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

func (*KnativeServing) GetSpec

func (ks *KnativeServing) GetSpec() base.KComponentSpec

GetSpec implements KComponent

func (*KnativeServing) GetStatus

func (ks *KnativeServing) GetStatus() base.KComponentStatus

GetStatus implements KComponent

func (*KnativeServing) GroupVersionKind

func (ks *KnativeServing) GroupVersionKind() schema.GroupVersionKind

GroupVersionKind returns SchemeGroupVersion of a KnativeServing

type KnativeServingList

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

KnativeServingList contains a list of KnativeServing +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

func (*KnativeServingList) DeepCopy

func (in *KnativeServingList) DeepCopy() *KnativeServingList

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

func (*KnativeServingList) DeepCopyInto

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

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

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

type KnativeServingSpec

type KnativeServingSpec struct {
	base.CommonSpec `json:",inline"`

	// Enables controller to trust registries with self-signed certificates
	ControllerCustomCerts base.CustomCerts `json:"controller-custom-certs,omitempty"`

	// Ingress allows configuration of different ingress adapters to be shipped.
	Ingress *IngressConfigs `json:"ingress,omitempty"`

	// Security allows configuration of different security adapters to be shipped.
	Security *SecurityConfigs `json:"security,omitempty"`
}

KnativeServingSpec defines the desired state of KnativeServing

func (*KnativeServingSpec) DeepCopy

func (in *KnativeServingSpec) DeepCopy() *KnativeServingSpec

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

func (*KnativeServingSpec) DeepCopyInto

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

type KnativeServingStatus struct {
	duckv1.Status `json:",inline"`

	// The version of the installed release
	// +optional
	Version string `json:"version,omitempty"`

	// The url links of the manifests, separated by comma
	// +optional
	Manifests []string `json:"manifests,omitempty"`
}

KnativeServingStatus defines the observed state of KnativeServing

func (*KnativeServingStatus) DeepCopy

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

func (*KnativeServingStatus) DeepCopyInto

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

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

GetCondition returns the current condition of a given condition type

func (*KnativeServingStatus) GetManifests

func (is *KnativeServingStatus) GetManifests() []string

GetManifests gets the url links of the manifests.

func (*KnativeServingStatus) GetVersion

func (is *KnativeServingStatus) GetVersion() string

GetVersion gets the currently installed version of the component.

func (*KnativeServingStatus) InitializeConditions

func (is *KnativeServingStatus) InitializeConditions()

InitializeConditions initializes conditions of an KnativeServingStatus

func (*KnativeServingStatus) IsReady

func (is *KnativeServingStatus) IsReady() bool

IsReady looks at the conditions returns true if they are all true.

func (*KnativeServingStatus) MarkDependenciesInstalled

func (is *KnativeServingStatus) MarkDependenciesInstalled()

MarkDependenciesInstalled marks the DependenciesInstalled status as true.

func (*KnativeServingStatus) MarkDependencyInstalling

func (is *KnativeServingStatus) MarkDependencyInstalling(msg string)

MarkDependencyInstalling marks the DependenciesInstalled status as false with the given message.

func (*KnativeServingStatus) MarkDependencyMissing

func (is *KnativeServingStatus) MarkDependencyMissing(msg string)

MarkDependencyMissing marks the DependenciesInstalled status as false with the given message.

func (*KnativeServingStatus) MarkDeploymentsAvailable

func (is *KnativeServingStatus) MarkDeploymentsAvailable()

MarkDeploymentsAvailable marks the DeploymentsAvailable status as true.

func (*KnativeServingStatus) MarkDeploymentsNotReady

func (is *KnativeServingStatus) MarkDeploymentsNotReady(deployments []string)

MarkDeploymentsNotReady marks the DeploymentsAvailable status as false and calls out it's waiting for deployments.

func (*KnativeServingStatus) MarkInstallFailed

func (is *KnativeServingStatus) MarkInstallFailed(msg string)

MarkInstallFailed marks the InstallationSucceeded status as false with the given message.

func (*KnativeServingStatus) MarkInstallSucceeded

func (is *KnativeServingStatus) MarkInstallSucceeded()

MarkInstallSucceeded marks the InstallationSucceeded status as true.

func (*KnativeServingStatus) MarkVersionMigrationEligible

func (is *KnativeServingStatus) MarkVersionMigrationEligible()

MarkVersionMigrationEligible marks the VersionMigrationEligible status as false with given message.

func (*KnativeServingStatus) MarkVersionMigrationNotEligible

func (is *KnativeServingStatus) MarkVersionMigrationNotEligible(msg string)

MarkVersionMigrationNotEligible marks the DeploymentsAvailable status as true.

func (*KnativeServingStatus) SetManifests

func (is *KnativeServingStatus) SetManifests(manifests []string)

SetManifests sets the url links of the manifests.

func (*KnativeServingStatus) SetVersion

func (is *KnativeServingStatus) SetVersion(version string)

SetVersion sets the currently installed version of the component.

type SecurityConfigs added in v0.36.0

type SecurityConfigs struct {
	SecurityGuard base.SecurityGuardConfiguration `json:"securityGuard"`
}

SecurityConfigs specifies options for the security

func (*SecurityConfigs) DeepCopy added in v0.36.0

func (in *SecurityConfigs) DeepCopy() *SecurityConfigs

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

func (*SecurityConfigs) DeepCopyInto added in v0.36.0

func (in *SecurityConfigs) DeepCopyInto(out *SecurityConfigs)

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

type SourceConfigs

type SourceConfigs struct {
	Ceph     base.CephSourceConfiguration     `json:"ceph"`
	Github   base.GithubSourceConfiguration   `json:"github"`
	Gitlab   base.GitlabSourceConfiguration   `json:"gitlab"`
	Kafka    base.KafkaSourceConfiguration    `json:"kafka"`
	Rabbitmq base.RabbitmqSourceConfiguration `json:"rabbitmq"`
	Redis    base.RedisSourceConfiguration    `json:"redis"`
}

SourceConfigs specifies options for the eventing sources.

func (*SourceConfigs) DeepCopy

func (in *SourceConfigs) DeepCopy() *SourceConfigs

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

func (*SourceConfigs) DeepCopyInto

func (in *SourceConfigs) DeepCopyInto(out *SourceConfigs)

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