Documentation ¶
Overview ¶
+groupName=oam.verrazzano.io
Package v1alpha1 contains API Schema definitions for the oam v1alpha1 API group +kubebuilder:object:generate=true +groupName=oam.verrazzano.io
Index ¶
- Constants
- Variables
- func QualifiedResourceRelationSlicesEquivalent(left []QualifiedResourceRelation, right []QualifiedResourceRelation) bool
- func QualifiedResourceRelationsContain(slice []QualifiedResourceRelation, find *QualifiedResourceRelation) bool
- type AuthorizationPolicy
- type AuthorizationRule
- type AuthorizationRuleCondition
- type AuthorizationRuleFrom
- type DeploymentTemplate
- type IngressDestination
- type IngressDestinationHTTPCookie
- type IngressPath
- type IngressRule
- type IngressSecurity
- type IngressTrait
- func (in *IngressTrait) DeepCopy() *IngressTrait
- func (in *IngressTrait) DeepCopyInto(out *IngressTrait)
- func (in *IngressTrait) DeepCopyObject() runtime.Object
- func (in *IngressTrait) GetCondition(ct oamrt.ConditionType) oamrt.Condition
- func (in *IngressTrait) GetWorkloadReference() oamrt.TypedReference
- func (in *IngressTrait) SetConditions(c ...oamrt.Condition)
- func (in *IngressTrait) SetWorkloadReference(r oamrt.TypedReference)
- func (r *IngressTrait) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *IngressTrait) ValidateCreate() error
- func (r *IngressTrait) ValidateDelete() error
- func (r *IngressTrait) ValidateUpdate(old runtime.Object) error
- type IngressTraitList
- type IngressTraitSpec
- type IngressTraitStatus
- type LoggingTrait
- func (in *LoggingTrait) DeepCopy() *LoggingTrait
- func (in *LoggingTrait) DeepCopyInto(out *LoggingTrait)
- func (in *LoggingTrait) DeepCopyObject() runtime.Object
- func (in *LoggingTrait) GetCondition(ct oamrt.ConditionType) oamrt.Condition
- func (in *LoggingTrait) GetWorkloadReference() oamrt.TypedReference
- func (in *LoggingTrait) SetConditions(c ...oamrt.Condition)
- func (in *LoggingTrait) SetWorkloadReference(r oamrt.TypedReference)
- type LoggingTraitList
- type LoggingTraitSpec
- type LoggingTraitStatus
- type MetricsTrait
- func (in *MetricsTrait) DeepCopy() *MetricsTrait
- func (in *MetricsTrait) DeepCopyInto(out *MetricsTrait)
- func (in *MetricsTrait) DeepCopyObject() runtime.Object
- func (t *MetricsTrait) GetCondition(ct oamrt.ConditionType) oamrt.Condition
- func (t *MetricsTrait) GetWorkloadReference() oamrt.TypedReference
- func (t *MetricsTrait) SetConditions(c ...oamrt.Condition)
- func (t *MetricsTrait) SetWorkloadReference(r oamrt.TypedReference)
- type MetricsTraitList
- type MetricsTraitSpec
- type MetricsTraitStatus
- type PortSpec
- type QualifiedResourceRelation
- type VerrazzanoCoherenceWorkload
- type VerrazzanoCoherenceWorkloadList
- type VerrazzanoCoherenceWorkloadSpec
- type VerrazzanoCoherenceWorkloadStatus
- type VerrazzanoHelidonWorkload
- type VerrazzanoHelidonWorkloadList
- type VerrazzanoHelidonWorkloadSpec
- type VerrazzanoHelidonWorkloadStatus
- type VerrazzanoWebLogicWorkload
- type VerrazzanoWebLogicWorkloadList
- type VerrazzanoWebLogicWorkloadSpec
- type VerrazzanoWebLogicWorkloadStatus
Constants ¶
const LoggingTraitKind string = "LoggingTrait"
LoggingTraitKind is the Kind of the LoggingTrait
const MetricsTraitKind string = "MetricsTrait"
MetricsTraitKind is the Kind of the MetricsTrait
Variables ¶
var ( // SchemeGroupVersion is group version used to register these objects SchemeGroupVersion = schema.GroupVersion{Group: "oam.verrazzano.io", Version: "v1alpha1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion} // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme )
Functions ¶
func QualifiedResourceRelationSlicesEquivalent ¶
func QualifiedResourceRelationSlicesEquivalent(left []QualifiedResourceRelation, right []QualifiedResourceRelation) bool
QualifiedResourceRelationSlicesEquivalent determines if two slices of related resources are equivalent. The comparison does not depend on the order of the relations in the two slices. left - The first qualified resource relation for the equivalence comparison right - The second qualified resource relation for the equivalence comparison
func QualifiedResourceRelationsContain ¶
func QualifiedResourceRelationsContain(slice []QualifiedResourceRelation, find *QualifiedResourceRelation) bool
QualifiedResourceRelationsContain determines if a slice of relations contains a specific relation. slice - The slice of qualified resource relations to search find - The qualified resource relation to find in the slice
Types ¶
type AuthorizationPolicy ¶ added in v1.3.1
type AuthorizationPolicy struct { // A list of rules to match the request. A match occurs when at least // one rule matches the request. Rules []*AuthorizationRule `json:"rules,omitempty"` }
AuthorizationPolicy defines the set of rules for authorizing a request.
func (*AuthorizationPolicy) DeepCopy ¶ added in v1.3.1
func (in *AuthorizationPolicy) DeepCopy() *AuthorizationPolicy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthorizationPolicy.
func (*AuthorizationPolicy) DeepCopyInto ¶ added in v1.3.1
func (in *AuthorizationPolicy) DeepCopyInto(out *AuthorizationPolicy)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AuthorizationRule ¶ added in v1.3.1
type AuthorizationRule struct { From *AuthorizationRuleFrom `json:"from,omitempty"` When []*AuthorizationRuleCondition `json:"when,omitempty"` }
AuthorizationRule matches requests from a list of request principals that access a specific path subject to a list of conditions.
func (*AuthorizationRule) DeepCopy ¶ added in v1.3.1
func (in *AuthorizationRule) DeepCopy() *AuthorizationRule
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthorizationRule.
func (*AuthorizationRule) DeepCopyInto ¶ added in v1.3.1
func (in *AuthorizationRule) DeepCopyInto(out *AuthorizationRule)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AuthorizationRuleCondition ¶ added in v1.3.1
type AuthorizationRuleCondition struct { Key string `json:"key,omitempty"` Values []string `json:"values,omitempty"` }
AuthorizationRuleCondition specifies additional required attributes.
func (*AuthorizationRuleCondition) DeepCopy ¶ added in v1.3.1
func (in *AuthorizationRuleCondition) DeepCopy() *AuthorizationRuleCondition
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthorizationRuleCondition.
func (*AuthorizationRuleCondition) DeepCopyInto ¶ added in v1.3.1
func (in *AuthorizationRuleCondition) DeepCopyInto(out *AuthorizationRuleCondition)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AuthorizationRuleFrom ¶ added in v1.3.1
type AuthorizationRuleFrom struct {
RequestPrincipals []string `json:"requestPrincipals,omitempty"`
}
AuthorizationRuleFrom includes a list of request principals.
func (*AuthorizationRuleFrom) DeepCopy ¶ added in v1.3.1
func (in *AuthorizationRuleFrom) DeepCopy() *AuthorizationRuleFrom
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthorizationRuleFrom.
func (*AuthorizationRuleFrom) DeepCopyInto ¶ added in v1.3.1
func (in *AuthorizationRuleFrom) DeepCopyInto(out *AuthorizationRuleFrom)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DeploymentTemplate ¶
type DeploymentTemplate struct { // +kubebuilder:validation:Required // +kubebuilder:pruning:PreserveUnknownFields Metadata metav1.ObjectMeta `json:"metadata"` // The deployment strategy to use to replace existing pods with new ones. // +kubebuilder:validation:Optional // +patchStrategy=retainKeys Strategy appsv1.DeploymentStrategy `json:"strategy,omitempty" patchStrategy:"retainKeys" protobuf:"bytes,4,opt,name=strategy"` // +kubebuilder:validation:Required PodSpec v1.PodSpec `json:"podSpec"` // A label selector is a label query over a set of resources Selector metav1.LabelSelector `json:"selector,omitempty" patchStrategy:"retainKeys"` }
DeploymentTemplate should have the metadata and spec of the underlying apps/Deployment
func (*DeploymentTemplate) DeepCopy ¶
func (in *DeploymentTemplate) DeepCopy() *DeploymentTemplate
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentTemplate.
func (*DeploymentTemplate) DeepCopyInto ¶
func (in *DeploymentTemplate) DeepCopyInto(out *DeploymentTemplate)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IngressDestination ¶ added in v0.13.0
type IngressDestination struct { Host string `json:"host,omitempty"` Port uint32 `json:"port,omitempty"` HTTPCookie *IngressDestinationHTTPCookie `json:"httpCookie,omitempty"` }
IngressDestination specifies a specific destination host and port for the ingress paths.
func (*IngressDestination) DeepCopy ¶ added in v0.13.0
func (in *IngressDestination) DeepCopy() *IngressDestination
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressDestination.
func (*IngressDestination) DeepCopyInto ¶ added in v0.13.0
func (in *IngressDestination) DeepCopyInto(out *IngressDestination)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IngressDestinationHTTPCookie ¶ added in v1.2.0
type IngressDestinationHTTPCookie struct { Name string `json:"name,omitempty"` Path string `json:"path,omitempty"` TTL time.Duration `json:"ttl,omitempty"` }
func (*IngressDestinationHTTPCookie) DeepCopy ¶ added in v1.2.0
func (in *IngressDestinationHTTPCookie) DeepCopy() *IngressDestinationHTTPCookie
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressDestinationHTTPCookie.
func (*IngressDestinationHTTPCookie) DeepCopyInto ¶ added in v1.2.0
func (in *IngressDestinationHTTPCookie) DeepCopyInto(out *IngressDestinationHTTPCookie)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IngressPath ¶
type IngressPath struct { Path string `json:"path,omitempty"` PathType string `json:"pathType,omitempty"` Policy *AuthorizationPolicy `json:"authorizationPolicy,omitempty"` }
IngressPath specifies a specific path to be exposed for an ingress trait.
func (*IngressPath) DeepCopy ¶
func (in *IngressPath) DeepCopy() *IngressPath
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressPath.
func (*IngressPath) DeepCopyInto ¶
func (in *IngressPath) DeepCopyInto(out *IngressPath)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IngressRule ¶
type IngressRule struct { Hosts []string `json:"hosts,omitempty"` Paths []IngressPath `json:"paths,omitempty"` Destination IngressDestination `json:"destination,omitempty"` }
IngressRule specifies the hosts, paths and destination to be exposed for an ingress trait.
func (*IngressRule) DeepCopy ¶
func (in *IngressRule) DeepCopy() *IngressRule
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressRule.
func (*IngressRule) DeepCopyInto ¶
func (in *IngressRule) DeepCopyInto(out *IngressRule)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IngressSecurity ¶
type IngressSecurity struct {
SecretName string `json:"secretName,omitempty"`
}
IngressSecurity specifies the secret containing the certificate securing the transport for an ingress trait.
func (*IngressSecurity) DeepCopy ¶
func (in *IngressSecurity) DeepCopy() *IngressSecurity
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressSecurity.
func (*IngressSecurity) DeepCopyInto ¶
func (in *IngressSecurity) DeepCopyInto(out *IngressSecurity)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IngressTrait ¶
type IngressTrait struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec IngressTraitSpec `json:"spec,omitempty"` Status IngressTraitStatus `json:"status,omitempty"` }
IngressTrait specifies the ingress traits API
func (*IngressTrait) DeepCopy ¶
func (in *IngressTrait) DeepCopy() *IngressTrait
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressTrait.
func (*IngressTrait) DeepCopyInto ¶
func (in *IngressTrait) DeepCopyInto(out *IngressTrait)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*IngressTrait) DeepCopyObject ¶
func (in *IngressTrait) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*IngressTrait) GetCondition ¶
func (in *IngressTrait) GetCondition(ct oamrt.ConditionType) oamrt.Condition
GetCondition gets the status condition of this ingress trait.
func (*IngressTrait) GetWorkloadReference ¶
func (in *IngressTrait) GetWorkloadReference() oamrt.TypedReference
GetWorkloadReference gets the workload reference of this ingress trait.
func (*IngressTrait) SetConditions ¶
func (in *IngressTrait) SetConditions(c ...oamrt.Condition)
SetConditions sets the status condition of this ingress trait.
func (*IngressTrait) SetWorkloadReference ¶
func (in *IngressTrait) SetWorkloadReference(r oamrt.TypedReference)
SetWorkloadReference sets the workload reference of this ingress trait.
func (*IngressTrait) SetupWebhookWithManager ¶
func (r *IngressTrait) SetupWebhookWithManager(mgr ctrl.Manager) error
SetupWebhookWithManager saves client from manager and sets up webhook
func (*IngressTrait) ValidateCreate ¶
func (r *IngressTrait) ValidateCreate() error
ValidateCreate implements webhook.Validator so a webhook will be registered for ingress trait type creation.
func (*IngressTrait) ValidateDelete ¶
func (r *IngressTrait) ValidateDelete() error
ValidateDelete implements webhook.Validator so a webhook will be registered for ingress trait type deletion.
func (*IngressTrait) ValidateUpdate ¶
func (r *IngressTrait) ValidateUpdate(old runtime.Object) error
ValidateUpdate implements webhook.Validator so a webhook will be registered for ingress trait type update.
type IngressTraitList ¶
type IngressTraitList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []IngressTrait `json:"items"` }
IngressTraitList contains a list of IngressTrait
func (*IngressTraitList) DeepCopy ¶
func (in *IngressTraitList) DeepCopy() *IngressTraitList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressTraitList.
func (*IngressTraitList) DeepCopyInto ¶
func (in *IngressTraitList) DeepCopyInto(out *IngressTraitList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*IngressTraitList) DeepCopyObject ¶
func (in *IngressTraitList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type IngressTraitSpec ¶
type IngressTraitSpec struct { // Rules specifies a list of ingress rules to for an ingress trait. Rules []IngressRule `json:"rules,omitempty"` // TLS specifies the security parameters for an ingress trait. // +optional TLS IngressSecurity `json:"tls,omitempty"` // The WorkloadReference to the workload to which this trait applies. // This value is populated by the OAM runtime when a ApplicationConfiguration // resource is processed. When the ApplicationConfiguration is processed a trait and // a workload resource are created from the content of the ApplicationConfiguration. // The WorkloadReference is provided in the trait by OAM to ensure the trait controller // can find the workload associated with the component containing the trait within the // original ApplicationConfiguration. WorkloadReference oamrt.TypedReference `json:"workloadRef"` }
IngressTraitSpec specifies the desired state of an ingress trait.
func (*IngressTraitSpec) DeepCopy ¶
func (in *IngressTraitSpec) DeepCopy() *IngressTraitSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressTraitSpec.
func (*IngressTraitSpec) DeepCopyInto ¶
func (in *IngressTraitSpec) DeepCopyInto(out *IngressTraitSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IngressTraitStatus ¶
type IngressTraitStatus struct { // The reconcile status of this ingress trait oamrt.ConditionedStatus `json:",inline"` // The resources managed by this ingress trait Resources []oamrt.TypedReference `json:"resources,omitempty"` }
IngressTraitStatus specifies the observed state of an ingress trait and related resources.
func (*IngressTraitStatus) DeepCopy ¶
func (in *IngressTraitStatus) DeepCopy() *IngressTraitStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressTraitStatus.
func (*IngressTraitStatus) DeepCopyInto ¶
func (in *IngressTraitStatus) DeepCopyInto(out *IngressTraitStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LoggingTrait ¶ added in v1.1.0
type LoggingTrait struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec LoggingTraitSpec `json:"spec,omitempty"` Status LoggingTraitStatus `json:"status,omitempty"` }
+kubebuilder:object:root=true +kubebuilder:subresource:status +kubebuilder:object:generate=true LoggingTrait is the Schema for the loggingtraits API
func (*LoggingTrait) DeepCopy ¶ added in v1.1.0
func (in *LoggingTrait) DeepCopy() *LoggingTrait
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LoggingTrait.
func (*LoggingTrait) DeepCopyInto ¶ added in v1.1.0
func (in *LoggingTrait) DeepCopyInto(out *LoggingTrait)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*LoggingTrait) DeepCopyObject ¶ added in v1.1.0
func (in *LoggingTrait) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*LoggingTrait) GetCondition ¶ added in v1.1.0
func (in *LoggingTrait) GetCondition(ct oamrt.ConditionType) oamrt.Condition
GetCondition gets the status condition of this trait.
func (*LoggingTrait) GetWorkloadReference ¶ added in v1.1.0
func (in *LoggingTrait) GetWorkloadReference() oamrt.TypedReference
GetWorkloadReference gets the workload reference of this trait.
func (*LoggingTrait) SetConditions ¶ added in v1.1.0
func (in *LoggingTrait) SetConditions(c ...oamrt.Condition)
SetConditions sets the status condition of this trait.
func (*LoggingTrait) SetWorkloadReference ¶ added in v1.1.0
func (in *LoggingTrait) SetWorkloadReference(r oamrt.TypedReference)
SetWorkloadReference sets the workload reference of this trait.
type LoggingTraitList ¶ added in v1.1.0
type LoggingTraitList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []LoggingTrait `json:"items"` }
+kubebuilder:object:root=true +kubebuilder:object:generate=true LoggingTraitList contains a list of LoggingTrait
func (*LoggingTraitList) DeepCopy ¶ added in v1.1.0
func (in *LoggingTraitList) DeepCopy() *LoggingTraitList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LoggingTraitList.
func (*LoggingTraitList) DeepCopyInto ¶ added in v1.1.0
func (in *LoggingTraitList) DeepCopyInto(out *LoggingTraitList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*LoggingTraitList) DeepCopyObject ¶ added in v1.1.0
func (in *LoggingTraitList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type LoggingTraitSpec ¶ added in v1.1.0
type LoggingTraitSpec struct { // LoggingConfig represents the configuration provided by the user for the FluentD configuration that consists of fluentd.conf: "<source>\n ... and so on ...\n" LoggingConfig string `json:"loggingConfig,omitempty"` // LoggingImage represents the optional FluentD image provided by the user // +optional LoggingImage string `json:"loggingImage,omitempty"` // ImagePullPolicy represents the optional image pull policy for the FluentD image provided by the user // +optional ImagePullPolicy string `json:"imagePullPolicy,omitempty"` // The WorkloadReference to the workload to which this trait applies. // This value is populated by the OAM runtime when a ApplicationConfiguration // resource is processed. When the ApplicationConfiguration is processed a trait and // a workload resource are created from the content of the ApplicationConfiguration. // The WorkloadReference is provided in the trait by OAM to ensure the trait controller // can find the workload associated with the component containing the trait within the // original ApplicationConfiguration. WorkloadReference oamrt.TypedReference `json:"workloadRef"` }
LoggingTraitSpec defines the desired state of LoggingTrait
func (*LoggingTraitSpec) DeepCopy ¶ added in v1.1.0
func (in *LoggingTraitSpec) DeepCopy() *LoggingTraitSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LoggingTraitSpec.
func (*LoggingTraitSpec) DeepCopyInto ¶ added in v1.1.0
func (in *LoggingTraitSpec) DeepCopyInto(out *LoggingTraitSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LoggingTraitStatus ¶ added in v1.1.0
type LoggingTraitStatus struct { // The reconcile status of this logging trait oamrt.ConditionedStatus `json:",inline"` // The resources managed by this logging trait Resources []oamrt.TypedReference `json:"resources,omitempty"` }
LoggingTraitStatus defines the observed state of LoggingTrait
func (*LoggingTraitStatus) DeepCopy ¶ added in v1.1.0
func (in *LoggingTraitStatus) DeepCopy() *LoggingTraitStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LoggingTraitStatus.
func (*LoggingTraitStatus) DeepCopyInto ¶ added in v1.1.0
func (in *LoggingTraitStatus) DeepCopyInto(out *LoggingTraitStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MetricsTrait ¶
type MetricsTrait struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec MetricsTraitSpec `json:"spec,omitempty"` Status MetricsTraitStatus `json:"status,omitempty"` }
MetricsTrait specifies the metrics trait API +kubebuilder:object:root=true +kubebuilder:subresource:status
func (*MetricsTrait) DeepCopy ¶
func (in *MetricsTrait) DeepCopy() *MetricsTrait
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetricsTrait.
func (*MetricsTrait) DeepCopyInto ¶
func (in *MetricsTrait) DeepCopyInto(out *MetricsTrait)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MetricsTrait) DeepCopyObject ¶
func (in *MetricsTrait) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*MetricsTrait) GetCondition ¶
func (t *MetricsTrait) GetCondition(ct oamrt.ConditionType) oamrt.Condition
GetCondition gets the condition of this trait.
func (*MetricsTrait) GetWorkloadReference ¶
func (t *MetricsTrait) GetWorkloadReference() oamrt.TypedReference
GetWorkloadReference gets the workload reference of this trait.
func (*MetricsTrait) SetConditions ¶
func (t *MetricsTrait) SetConditions(c ...oamrt.Condition)
SetConditions sets the condition of this trait.
func (*MetricsTrait) SetWorkloadReference ¶
func (t *MetricsTrait) SetWorkloadReference(r oamrt.TypedReference)
SetWorkloadReference sets the workload reference of this trait.
type MetricsTraitList ¶
type MetricsTraitList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []MetricsTrait `json:"items"` }
MetricsTraitList contains a list of metrics traits. +kubebuilder:object:root=true
func (*MetricsTraitList) DeepCopy ¶
func (in *MetricsTraitList) DeepCopy() *MetricsTraitList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetricsTraitList.
func (*MetricsTraitList) DeepCopyInto ¶
func (in *MetricsTraitList) DeepCopyInto(out *MetricsTraitList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MetricsTraitList) DeepCopyObject ¶
func (in *MetricsTraitList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type MetricsTraitSpec ¶
type MetricsTraitSpec struct { // The HTTP port for the related metrics trait. Defaults to 8080. Port *int `json:"port,omitempty"` // The HTTP ports for the related metrics trait. Defaults to 8080. Ports []PortSpec `json:"ports,omitempty"` // The HTTP path for the related metrics endpoint. Defaults to /metrics. Path *string `json:"path,omitempty"` // The name of an opaque secret (i.e. username and password) within the workload's namespace for metrics endpoint access. Secret *string `json:"secret,omitempty"` // The prometheus deployment used to scrape the related metrics endpoints. // Defaults to istio-system/prometheus Scraper *string `json:"scraper,omitempty"` // Enabled specifies whether metrics collection is enabled. Defaults to true. //+optional Enabled *bool `json:"enabled,omitempty"` // A reference to the workload used to generate this metrics trait. WorkloadReference oamrt.TypedReference `json:"workloadRef"` }
MetricsTraitSpec specifies the desired state of a metrics trait.
func (*MetricsTraitSpec) DeepCopy ¶
func (in *MetricsTraitSpec) DeepCopy() *MetricsTraitSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetricsTraitSpec.
func (*MetricsTraitSpec) DeepCopyInto ¶
func (in *MetricsTraitSpec) DeepCopyInto(out *MetricsTraitSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MetricsTraitStatus ¶
type MetricsTraitStatus struct { // The reconcile status of this metrics trait oamrt.ConditionedStatus `json:",inline"` // Related resources affected by this metrics trait Resources []QualifiedResourceRelation `json:"resources,omitempty"` }
MetricsTraitStatus defines the observed state of MetricsTrait and related resources.
func (*MetricsTraitStatus) DeepCopy ¶
func (in *MetricsTraitStatus) DeepCopy() *MetricsTraitStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetricsTraitStatus.
func (*MetricsTraitStatus) DeepCopyInto ¶
func (in *MetricsTraitStatus) DeepCopyInto(out *MetricsTraitStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PortSpec ¶ added in v1.3.0
type PortSpec struct { // The HTTP port for the related metrics trait. Defaults to 8080. Port *int `json:"port,omitempty"` // The HTTP path for the related metrics endpoint. Defaults to /metrics. Path *string `json:"path,omitempty"` }
func (*PortSpec) DeepCopy ¶ added in v1.3.0
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PortSpec.
func (*PortSpec) DeepCopyInto ¶ added in v1.3.0
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type QualifiedResourceRelation ¶
type QualifiedResourceRelation struct { APIVersion string `json:"apiversion"` Kind string `json:"kind"` Namespace string `json:"namespace"` Name string `json:"name"` Role string `json:"role"` }
QualifiedResourceRelation identifies a specific related resource (both APIVersion/Kind and namespace name) along this the role of the resource in the relationship.
func (*QualifiedResourceRelation) DeepCopy ¶
func (in *QualifiedResourceRelation) DeepCopy() *QualifiedResourceRelation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new QualifiedResourceRelation.
func (*QualifiedResourceRelation) DeepCopyInto ¶
func (in *QualifiedResourceRelation) DeepCopyInto(out *QualifiedResourceRelation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VerrazzanoCoherenceWorkload ¶
type VerrazzanoCoherenceWorkload struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec VerrazzanoCoherenceWorkloadSpec `json:"spec,omitempty"` Status VerrazzanoCoherenceWorkloadStatus `json:"status,omitempty"` }
VerrazzanoCoherenceWorkload is the Schema for the verrazzanocoherenceworkloads API +kubebuilder:subresource:status
func (*VerrazzanoCoherenceWorkload) DeepCopy ¶
func (in *VerrazzanoCoherenceWorkload) DeepCopy() *VerrazzanoCoherenceWorkload
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VerrazzanoCoherenceWorkload.
func (*VerrazzanoCoherenceWorkload) DeepCopyInto ¶
func (in *VerrazzanoCoherenceWorkload) DeepCopyInto(out *VerrazzanoCoherenceWorkload)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*VerrazzanoCoherenceWorkload) DeepCopyObject ¶
func (in *VerrazzanoCoherenceWorkload) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type VerrazzanoCoherenceWorkloadList ¶
type VerrazzanoCoherenceWorkloadList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []VerrazzanoCoherenceWorkload `json:"items"` }
VerrazzanoCoherenceWorkloadList contains a list of VerrazzanoCoherenceWorkload
func (*VerrazzanoCoherenceWorkloadList) DeepCopy ¶
func (in *VerrazzanoCoherenceWorkloadList) DeepCopy() *VerrazzanoCoherenceWorkloadList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VerrazzanoCoherenceWorkloadList.
func (*VerrazzanoCoherenceWorkloadList) DeepCopyInto ¶
func (in *VerrazzanoCoherenceWorkloadList) DeepCopyInto(out *VerrazzanoCoherenceWorkloadList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*VerrazzanoCoherenceWorkloadList) DeepCopyObject ¶
func (in *VerrazzanoCoherenceWorkloadList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type VerrazzanoCoherenceWorkloadSpec ¶
type VerrazzanoCoherenceWorkloadSpec struct { // +kubebuilder:pruning:PreserveUnknownFields Template runtime.RawExtension `json:"template"` }
VerrazzanoCoherenceWorkloadSpec wraps a Coherence resource. The Coherence object specified in the template must contain a spec field and it may include a metadata field.
func (*VerrazzanoCoherenceWorkloadSpec) DeepCopy ¶
func (in *VerrazzanoCoherenceWorkloadSpec) DeepCopy() *VerrazzanoCoherenceWorkloadSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VerrazzanoCoherenceWorkloadSpec.
func (*VerrazzanoCoherenceWorkloadSpec) DeepCopyInto ¶
func (in *VerrazzanoCoherenceWorkloadSpec) DeepCopyInto(out *VerrazzanoCoherenceWorkloadSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VerrazzanoCoherenceWorkloadStatus ¶
type VerrazzanoCoherenceWorkloadStatus struct { // LastGeneration is the last generation of the spec that was reconciled LastGeneration string `json:"lastGeneration,omitempty"` // LastRestartVersion is the last value of the verrazzano.io/restart-version annotation LastRestartVersion string `json:"lastRestartVersion,omitempty"` }
VerrazzanoCoherenceWorkloadStatus defines the observed state of VerrazzanoCoherenceWorkload
func (*VerrazzanoCoherenceWorkloadStatus) DeepCopy ¶
func (in *VerrazzanoCoherenceWorkloadStatus) DeepCopy() *VerrazzanoCoherenceWorkloadStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VerrazzanoCoherenceWorkloadStatus.
func (*VerrazzanoCoherenceWorkloadStatus) DeepCopyInto ¶
func (in *VerrazzanoCoherenceWorkloadStatus) DeepCopyInto(out *VerrazzanoCoherenceWorkloadStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VerrazzanoHelidonWorkload ¶
type VerrazzanoHelidonWorkload struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` // +kubebuilder:validation:Required Spec VerrazzanoHelidonWorkloadSpec `json:"spec"` Status VerrazzanoHelidonWorkloadStatus `json:"status,omitempty"` }
VerrazzanoHelidonWorkload is the Schema for verrazzanohelidonworkloads API +kubebuilder:object:root=true +kubebuilder:subresource:status +genclient
func (*VerrazzanoHelidonWorkload) DeepCopy ¶
func (in *VerrazzanoHelidonWorkload) DeepCopy() *VerrazzanoHelidonWorkload
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VerrazzanoHelidonWorkload.
func (*VerrazzanoHelidonWorkload) DeepCopyInto ¶
func (in *VerrazzanoHelidonWorkload) DeepCopyInto(out *VerrazzanoHelidonWorkload)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*VerrazzanoHelidonWorkload) DeepCopyObject ¶
func (in *VerrazzanoHelidonWorkload) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type VerrazzanoHelidonWorkloadList ¶
type VerrazzanoHelidonWorkloadList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []VerrazzanoHelidonWorkload `json:"items"` }
VerrazzanoHelidonWorkloadList contains a list of VerrazzanoHelidonWorkload +kubebuilder:object:root=true
func (*VerrazzanoHelidonWorkloadList) DeepCopy ¶
func (in *VerrazzanoHelidonWorkloadList) DeepCopy() *VerrazzanoHelidonWorkloadList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VerrazzanoHelidonWorkloadList.
func (*VerrazzanoHelidonWorkloadList) DeepCopyInto ¶
func (in *VerrazzanoHelidonWorkloadList) DeepCopyInto(out *VerrazzanoHelidonWorkloadList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*VerrazzanoHelidonWorkloadList) DeepCopyObject ¶
func (in *VerrazzanoHelidonWorkloadList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type VerrazzanoHelidonWorkloadSpec ¶
type VerrazzanoHelidonWorkloadSpec struct { // The embedded apps/Deployment DeploymentTemplate DeploymentTemplate `json:"deploymentTemplate"` }
VerrazzanoHelidonWorkloadSpec wraps meta/ObjectMeta & apps/DeploymentSpec.
func (*VerrazzanoHelidonWorkloadSpec) DeepCopy ¶
func (in *VerrazzanoHelidonWorkloadSpec) DeepCopy() *VerrazzanoHelidonWorkloadSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VerrazzanoHelidonWorkloadSpec.
func (*VerrazzanoHelidonWorkloadSpec) DeepCopyInto ¶
func (in *VerrazzanoHelidonWorkloadSpec) DeepCopyInto(out *VerrazzanoHelidonWorkloadSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VerrazzanoHelidonWorkloadStatus ¶
type VerrazzanoHelidonWorkloadStatus struct { // The reconcile status of this workload. oamrt.ConditionedStatus `json:",inline"` // Resources managed by this workload. Resources []QualifiedResourceRelation `json:"resources,omitempty"` }
VerrazzanoHelidonWorkloadStatus defines the observed state of VerrazzanoHelidonWorkload
func (*VerrazzanoHelidonWorkloadStatus) DeepCopy ¶
func (in *VerrazzanoHelidonWorkloadStatus) DeepCopy() *VerrazzanoHelidonWorkloadStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VerrazzanoHelidonWorkloadStatus.
func (*VerrazzanoHelidonWorkloadStatus) DeepCopyInto ¶
func (in *VerrazzanoHelidonWorkloadStatus) DeepCopyInto(out *VerrazzanoHelidonWorkloadStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VerrazzanoWebLogicWorkload ¶
type VerrazzanoWebLogicWorkload struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec VerrazzanoWebLogicWorkloadSpec `json:"spec,omitempty"` Status VerrazzanoWebLogicWorkloadStatus `json:"status,omitempty"` }
VerrazzanoWebLogicWorkload is the Schema for the verrazzanoweblogicworkloads API +kubebuilder:subresource:status
func (*VerrazzanoWebLogicWorkload) DeepCopy ¶
func (in *VerrazzanoWebLogicWorkload) DeepCopy() *VerrazzanoWebLogicWorkload
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VerrazzanoWebLogicWorkload.
func (*VerrazzanoWebLogicWorkload) DeepCopyInto ¶
func (in *VerrazzanoWebLogicWorkload) DeepCopyInto(out *VerrazzanoWebLogicWorkload)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*VerrazzanoWebLogicWorkload) DeepCopyObject ¶
func (in *VerrazzanoWebLogicWorkload) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type VerrazzanoWebLogicWorkloadList ¶
type VerrazzanoWebLogicWorkloadList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []VerrazzanoWebLogicWorkload `json:"items"` }
VerrazzanoWebLogicWorkloadList contains a list of VerrazzanoWebLogicWorkload
func (*VerrazzanoWebLogicWorkloadList) DeepCopy ¶
func (in *VerrazzanoWebLogicWorkloadList) DeepCopy() *VerrazzanoWebLogicWorkloadList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VerrazzanoWebLogicWorkloadList.
func (*VerrazzanoWebLogicWorkloadList) DeepCopyInto ¶
func (in *VerrazzanoWebLogicWorkloadList) DeepCopyInto(out *VerrazzanoWebLogicWorkloadList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*VerrazzanoWebLogicWorkloadList) DeepCopyObject ¶
func (in *VerrazzanoWebLogicWorkloadList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type VerrazzanoWebLogicWorkloadSpec ¶
type VerrazzanoWebLogicWorkloadSpec struct { // +kubebuilder:pruning:PreserveUnknownFields Template runtime.RawExtension `json:"template"` }
VerrazzanoWebLogicWorkloadSpec wraps a WebLogic resource. The WebLogic domain specified in the template must contain a spec field and it may include a metadata field.
func (*VerrazzanoWebLogicWorkloadSpec) DeepCopy ¶
func (in *VerrazzanoWebLogicWorkloadSpec) DeepCopy() *VerrazzanoWebLogicWorkloadSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VerrazzanoWebLogicWorkloadSpec.
func (*VerrazzanoWebLogicWorkloadSpec) DeepCopyInto ¶
func (in *VerrazzanoWebLogicWorkloadSpec) DeepCopyInto(out *VerrazzanoWebLogicWorkloadSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VerrazzanoWebLogicWorkloadStatus ¶
type VerrazzanoWebLogicWorkloadStatus struct { // LastGeneration is the last generation of the spec that was reconciled LastGeneration string `json:"lastGeneration,omitempty"` // LastRestartVersion is the last value of the verrazzano.io/restart-version annotation LastRestartVersion string `json:"lastRestartVersion,omitempty"` // LastLifecycleAction is the last value of the verrazzano.io/lifecycle-action LastLifecycleAction string `json:"lastLifecycleAction,omitempty"` }
VerrazzanoWebLogicWorkloadStatus defines the observed state of VerrazzanoWebLogicWorkload
func (*VerrazzanoWebLogicWorkloadStatus) DeepCopy ¶
func (in *VerrazzanoWebLogicWorkloadStatus) DeepCopy() *VerrazzanoWebLogicWorkloadStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VerrazzanoWebLogicWorkloadStatus.
func (*VerrazzanoWebLogicWorkloadStatus) DeepCopyInto ¶
func (in *VerrazzanoWebLogicWorkloadStatus) DeepCopyInto(out *VerrazzanoWebLogicWorkloadStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
Source Files ¶
- doc.go
- groupversion_info.go
- ingresstrait_authorization.go
- ingresstrait_methods.go
- ingresstrait_types.go
- ingresstrait_webhook.go
- loggingtrait_methods.go
- loggingtrait_types.go
- metricstrait_methods.go
- metricstrait_types.go
- status_types.go
- verrazzanocoherenceworkload_types.go
- verrazzanohelidonworkload_types.go
- verrazzanoweblogicworkload_types.go
- zz_generated.deepcopy.go