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
- Variables
- func Kind(kind string) schema.GroupKind
- func Resource(resource string) schema.GroupResource
- type IngressConfigs
- type KnativeEventing
- func (ke *KnativeEventing) ConvertFrom(ctx context.Context, source apis.Convertible) error
- func (ke *KnativeEventing) ConvertTo(ctx context.Context, sink apis.Convertible) error
- func (in *KnativeEventing) DeepCopy() *KnativeEventing
- func (in *KnativeEventing) DeepCopyInto(out *KnativeEventing)
- func (in *KnativeEventing) DeepCopyObject() runtime.Object
- func (ke *KnativeEventing) GetSpec() base.KComponentSpec
- func (ke *KnativeEventing) GetStatus() base.KComponentStatus
- func (e *KnativeEventing) GroupVersionKind() schema.GroupVersionKind
- type KnativeEventingList
- type KnativeEventingSpec
- type KnativeEventingStatus
- func (in *KnativeEventingStatus) DeepCopy() *KnativeEventingStatus
- func (in *KnativeEventingStatus) DeepCopyInto(out *KnativeEventingStatus)
- func (es *KnativeEventingStatus) GetCondition(t apis.ConditionType) *apis.Condition
- func (es *KnativeEventingStatus) GetManifests() []string
- func (es *KnativeEventingStatus) GetVersion() string
- func (es *KnativeEventingStatus) InitializeConditions()
- func (es *KnativeEventingStatus) IsReady() bool
- func (es *KnativeEventingStatus) MarkDependenciesInstalled()
- func (es *KnativeEventingStatus) MarkDependencyInstalling(msg string)
- func (es *KnativeEventingStatus) MarkDependencyMissing(msg string)
- func (es *KnativeEventingStatus) MarkDeploymentsAvailable()
- func (es *KnativeEventingStatus) MarkDeploymentsNotReady(deployments []string)
- func (es *KnativeEventingStatus) MarkInstallFailed(msg string)
- func (es *KnativeEventingStatus) MarkInstallSucceeded()
- func (es *KnativeEventingStatus) MarkVersionMigrationEligible()
- func (es *KnativeEventingStatus) MarkVersionMigrationNotEligible(msg string)
- func (es *KnativeEventingStatus) SetManifests(manifests []string)
- func (es *KnativeEventingStatus) SetVersion(version string)
- type KnativeServing
- func (ks *KnativeServing) ConvertFrom(ctx context.Context, source apis.Convertible) error
- func (ks *KnativeServing) ConvertTo(ctx context.Context, sink apis.Convertible) error
- func (in *KnativeServing) DeepCopy() *KnativeServing
- func (in *KnativeServing) DeepCopyInto(out *KnativeServing)
- func (in *KnativeServing) DeepCopyObject() runtime.Object
- func (ks *KnativeServing) GetSpec() base.KComponentSpec
- func (ks *KnativeServing) GetStatus() base.KComponentStatus
- func (ks *KnativeServing) GroupVersionKind() schema.GroupVersionKind
- type KnativeServingList
- type KnativeServingSpec
- type KnativeServingStatus
- func (in *KnativeServingStatus) DeepCopy() *KnativeServingStatus
- func (in *KnativeServingStatus) DeepCopyInto(out *KnativeServingStatus)
- func (is *KnativeServingStatus) GetCondition(t apis.ConditionType) *apis.Condition
- func (is *KnativeServingStatus) GetManifests() []string
- func (is *KnativeServingStatus) GetVersion() string
- func (is *KnativeServingStatus) InitializeConditions()
- func (is *KnativeServingStatus) IsReady() bool
- func (is *KnativeServingStatus) MarkDependenciesInstalled()
- func (is *KnativeServingStatus) MarkDependencyInstalling(msg string)
- func (is *KnativeServingStatus) MarkDependencyMissing(msg string)
- func (is *KnativeServingStatus) MarkDeploymentsAvailable()
- func (is *KnativeServingStatus) MarkDeploymentsNotReady(deployments []string)
- func (is *KnativeServingStatus) MarkInstallFailed(msg string)
- func (is *KnativeServingStatus) MarkInstallSucceeded()
- func (is *KnativeServingStatus) MarkVersionMigrationEligible()
- func (is *KnativeServingStatus) MarkVersionMigrationNotEligible(msg string)
- func (is *KnativeServingStatus) SetManifests(manifests []string)
- func (is *KnativeServingStatus) SetVersion(version string)
- type SecurityConfigs
- type SourceConfigs
Constants ¶
const (
// SchemaVersion is the current version of the API.
SchemaVersion = "v1beta1"
)
Variables ¶
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 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 ¶
func (in *KnativeEventingStatus) DeepCopy() *KnativeEventingStatus
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 ¶
func (in *KnativeServingStatus) DeepCopy() *KnativeServingStatus
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.