Skip to content

Commit

Permalink
Merge pull request #85 from cdapio/tethering
Browse files Browse the repository at this point in the history
Add support for tethering services
  • Loading branch information
rmstar authored Mar 10, 2022
2 parents ff44316 + 5857123 commit bc3e48f
Show file tree
Hide file tree
Showing 11 changed files with 4,298 additions and 181 deletions.
20 changes: 20 additions & 0 deletions api/v1alpha1/cdapmaster_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,16 @@ type CDAPMasterSpec struct {
// To disable this service: either omit or set the field to nil
// To enable this service: set it to a pointer to a SupportBundleSpec struct (can be an empty struct)
SupportBundle *SupportBundleSpec `json:"supportBundle,omitempty"`
// TetheringAgent is specification for the CDAP Tethering Agent service.
// This is an optional service and may not be required for CDAP to be operational.
// To disable this service: either omit or set the field to nil
// To enable this service: set it to a pointer to a TetheringAgentSpec struct (can be an empty struct)
TetheringAgent *TetheringAgentSpec `json:"tetheringAgent,omitempty"`
// ArtifactCache is specification for the CDAP Artifact Cache service.
// This is an optional service and may not be required for CDAP to be operational.
// To disable this service: either omit or set the field to nil
// To enable this service: set it to a pointer to a ArtifactCacheSpec struct (can be an empty struct)
ArtifactCache *ArtifactCacheSpec `json:"artifactCache,omitempty"`
// Runtime is specification for the CDAP runtime service.
// This is an optional service and may not be required for CDAP to be operational.
// To disable this service: either omit or set the field to nil
Expand Down Expand Up @@ -239,6 +249,16 @@ type SupportBundleSpec struct {
CDAPStatefulServiceSpec `json:",inline"`
}

// TetheringAgentSpec defines the specification for the TetheringAgent service.
type TetheringAgentSpec struct {
CDAPStatefulServiceSpec `json:",inline"`
}

// ArtifactCacheSpec defines the specification for the ArtifactCache service.
type ArtifactCacheSpec struct {
CDAPStatefulServiceSpec `json:",inline"`
}

// SystemMetricExporterSpec defines the specification for the SystemMetricsExporter service.
type SystemMetricExporterSpec struct {
CDAPServiceSpec `json:",inline"`
Expand Down
43 changes: 42 additions & 1 deletion api/v1alpha1/zz_generated.deepcopy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit bc3e48f

Please sign in to comment.