Documentation ¶
Overview ¶
Package v1 contains resources types for version v1 of the operators.openshift.io API group.
Package v1 contains API Schema definitions for the runoncedurationoverride v1 API group +k8s:deepcopy-gen=package,register +groupName=operator.openshift.io
Index ¶
- Constants
- Variables
- func Resource(resource string) schema.GroupResource
- type RunOnceDurationOverride
- type RunOnceDurationOverrideCondition
- type RunOnceDurationOverrideConditionType
- type RunOnceDurationOverrideConfig
- type RunOnceDurationOverrideConfigSpec
- type RunOnceDurationOverrideList
- type RunOnceDurationOverrideResourceHash
- type RunOnceDurationOverrideResources
- type RunOnceDurationOverrideSpec
- type RunOnceDurationOverrideStatus
Constants ¶
const ( InvalidParameters = "InvalidParameters" ConfigurationCheckFailed = "ConfigurationCheckFailed" CertNotAvailable = "CertNotAvailable" CannotSetReference = "CannotSetReference" CannotGenerateCert = "CannotGenerateCert" InternalError = "InternalError" AdmissionWebhookNotAvailable = "AdmissionWebhookNotAvailable" DeploymentNotReady = "DeploymentNotReady" )
const ( // GroupName GroupName = "operator.openshift.io" // GroupVersion is the group version used in this package. GroupVersion = "v1" )
const (
RunOnceDurationOverrideKind = "RunOnceDurationOverride"
)
Variables ¶
var ( // SchemeBuilder initializes a scheme builder SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) // AddToScheme is a global function that registers this API group & version to a scheme AddToScheme = SchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: GroupVersion}
SchemeGroupVersion is group version used to register these objects
Functions ¶
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type RunOnceDurationOverride ¶
type RunOnceDurationOverride struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` // spec holds user settable values for configuration // +required Spec RunOnceDurationOverrideSpec `json:"spec,omitempty"` // status holds observed values from the cluster. They may not be overridden. // +optional Status RunOnceDurationOverrideStatus `json:"status,omitempty"` }
+genclient +genclient:nonNamespaced +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +k8s:openapi-gen=true +kubebuilder:storageversion +kubebuilder:subresource:status +kubebuilder:resource:shortName=rodoo,scope=Cluster
func (*RunOnceDurationOverride) DeepCopy ¶
func (in *RunOnceDurationOverride) DeepCopy() *RunOnceDurationOverride
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RunOnceDurationOverride.
func (*RunOnceDurationOverride) DeepCopyInto ¶
func (in *RunOnceDurationOverride) DeepCopyInto(out *RunOnceDurationOverride)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RunOnceDurationOverride) DeepCopyObject ¶
func (in *RunOnceDurationOverride) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*RunOnceDurationOverride) IsTimeToRotateCert ¶
func (in *RunOnceDurationOverride) IsTimeToRotateCert() bool
type RunOnceDurationOverrideCondition ¶
type RunOnceDurationOverrideCondition struct { // Type is the type of RunOnceDurationOverride condition. Type RunOnceDurationOverrideConditionType `json:"type" description:"type of RunOnceDurationOverride condition"` // Status is the status of the condition, one of True, False, Unknown. Status corev1.ConditionStatus `json:"status" description:"status of the condition, one of True, False, Unknown"` // Reason is a one-word CamelCase reason for the condition's last transition. // +optional Reason string `json:"reason,omitempty" description:"one-word CamelCase reason for the condition's last transition"` // Message is a human-readable message indicating details about last transition. // +optional Message string `json:"message,omitempty" description:"human-readable message indicating details about last transition"` // LastTransitionTime is the last time the condition transit from one status to another // +optional LastTransitionTime metav1.Time `json:"lastTransitionTime,omitempty" description:"last time the condition transit from one status to another" hash:"ignore"` }
func (*RunOnceDurationOverrideCondition) DeepCopy ¶
func (in *RunOnceDurationOverrideCondition) DeepCopy() *RunOnceDurationOverrideCondition
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RunOnceDurationOverrideCondition.
func (*RunOnceDurationOverrideCondition) DeepCopyInto ¶
func (in *RunOnceDurationOverrideCondition) DeepCopyInto(out *RunOnceDurationOverrideCondition)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RunOnceDurationOverrideConditionType ¶
type RunOnceDurationOverrideConditionType string
const ( InstallReadinessFailure RunOnceDurationOverrideConditionType = "InstallReadinessFailure" Available RunOnceDurationOverrideConditionType = "Available" )
type RunOnceDurationOverrideConfig ¶
type RunOnceDurationOverrideConfig struct { metav1.TypeMeta `json:",inline"` Spec RunOnceDurationOverrideConfigSpec `json:"spec,omitempty"` }
RunOnceDurationOverrideConfig is the configuration for the admission controller which overrides activeDeadlineSeconds for pods with restartPolicy set to Never or OnFailure. +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
type RunOnceDurationOverrideConfigSpec ¶
type RunOnceDurationOverrideConfigSpec struct { // ActiveDeadlineSeconds (if > 0) overrides activeDeadlineSeconds field of pod; // if pod's restartPolicy is set to Never or OnFailure. ActiveDeadlineSeconds int64 `json:"activeDeadlineSeconds"` }
func (*RunOnceDurationOverrideConfigSpec) Hash ¶
func (in *RunOnceDurationOverrideConfigSpec) Hash() string
func (*RunOnceDurationOverrideConfigSpec) String ¶
func (in *RunOnceDurationOverrideConfigSpec) String() string
func (*RunOnceDurationOverrideConfigSpec) Validate ¶
func (in *RunOnceDurationOverrideConfigSpec) Validate() error
type RunOnceDurationOverrideList ¶
type RunOnceDurationOverrideList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []RunOnceDurationOverride `json:"items"` }
RunOnceDurationOverrideList contains a list of IngressControllers.
func (*RunOnceDurationOverrideList) DeepCopy ¶
func (in *RunOnceDurationOverrideList) DeepCopy() *RunOnceDurationOverrideList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RunOnceDurationOverrideList.
func (*RunOnceDurationOverrideList) DeepCopyInto ¶
func (in *RunOnceDurationOverrideList) DeepCopyInto(out *RunOnceDurationOverrideList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RunOnceDurationOverrideList) DeepCopyObject ¶
func (in *RunOnceDurationOverrideList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type RunOnceDurationOverrideResourceHash ¶
type RunOnceDurationOverrideResourceHash struct { Configuration string `json:"configuration,omitempty"` ServingCert string `json:"servingCert,omitempty"` }
func (*RunOnceDurationOverrideResourceHash) DeepCopy ¶
func (in *RunOnceDurationOverrideResourceHash) DeepCopy() *RunOnceDurationOverrideResourceHash
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RunOnceDurationOverrideResourceHash.
func (*RunOnceDurationOverrideResourceHash) DeepCopyInto ¶
func (in *RunOnceDurationOverrideResourceHash) DeepCopyInto(out *RunOnceDurationOverrideResourceHash)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RunOnceDurationOverrideResources ¶
type RunOnceDurationOverrideResources struct { // ConfigurationRef points to the ConfigMap that contains the parameters for // RunOnceDurationOverride admission webhook. ConfigurationRef *corev1.ObjectReference `json:"configurationRef,omitempty"` // ServiceCAConfigMapRef points to the ConfigMap that is injected with a // data item (key "service-ca.crt") containing the PEM-encoded CA signing bundle. ServiceCAConfigMapRef *corev1.ObjectReference `json:"serviceCAConfigMapRef,omitempty"` // ServiceRef points to the Service object that exposes the RunOnceDurationOverride // webhook admission server to the cluster. // This service is annotated with `service.beta.openshift.io/serving-cert-secret-name` // so that service-ca operator can issue a signed serving certificate/key pair. ServiceRef *corev1.ObjectReference `json:"serviceRef,omitempty"` // ServiceCertSecretRef points to the Secret object which is created by the // service-ca operator and contains the signed serving certificate/key pair. ServiceCertSecretRef *corev1.ObjectReference `json:"serviceCertSecretRef,omitempty"` // DeploymentRef points to the Deployment object of the RunOnceDurationOverride // admission webhook server. DeploymentRef *corev1.ObjectReference `json:"deploymentRef,omitempty"` // APiServiceRef points to the APIService object related to the RunOnceDurationOverride // admission webhook server. APiServiceRef *corev1.ObjectReference `json:"apiServiceRef,omitempty"` // APiServiceRef points to the APIService object related to the RunOnceDurationOverride // admission webhook server. MutatingWebhookConfigurationRef *corev1.ObjectReference `json:"mutatingWebhookConfigurationRef,omitempty"` }
func (*RunOnceDurationOverrideResources) DeepCopy ¶
func (in *RunOnceDurationOverrideResources) DeepCopy() *RunOnceDurationOverrideResources
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RunOnceDurationOverrideResources.
func (*RunOnceDurationOverrideResources) DeepCopyInto ¶
func (in *RunOnceDurationOverrideResources) DeepCopyInto(out *RunOnceDurationOverrideResources)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RunOnceDurationOverrideSpec ¶
type RunOnceDurationOverrideSpec struct {
RunOnceDurationOverrideConfig RunOnceDurationOverrideConfig `json:"runOnceDurationOverride"`
}
+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
func (*RunOnceDurationOverrideSpec) DeepCopy ¶
func (in *RunOnceDurationOverrideSpec) DeepCopy() *RunOnceDurationOverrideSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RunOnceDurationOverrideSpec.
func (*RunOnceDurationOverrideSpec) DeepCopyInto ¶
func (in *RunOnceDurationOverrideSpec) DeepCopyInto(out *RunOnceDurationOverrideSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RunOnceDurationOverrideStatus ¶
type RunOnceDurationOverrideStatus struct { // Resources is a set of resources associated with the operand. Resources RunOnceDurationOverrideResources `json:"resources,omitempty"` Hash RunOnceDurationOverrideResourceHash `json:"hash,omitempty"` Conditions []RunOnceDurationOverrideCondition `json:"conditions,omitempty" hash:"set"` Version string `json:"version,omitempty"` Image string `json:"image,omitempty"` // CertsRotateAt is the time the serving certs will be rotated at. // +optional CertsRotateAt metav1.Time `json:"certsRotateAt,omitempty"` }
func (*RunOnceDurationOverrideStatus) DeepCopy ¶
func (in *RunOnceDurationOverrideStatus) DeepCopy() *RunOnceDurationOverrideStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RunOnceDurationOverrideStatus.
func (*RunOnceDurationOverrideStatus) DeepCopyInto ¶
func (in *RunOnceDurationOverrideStatus) DeepCopyInto(out *RunOnceDurationOverrideStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.