Documentation
¶
Overview ¶
*
- Copyright 2022 Comcast Cable Communications Management, LLC *
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at *
- http://www.apache.org/licenses/LICENSE-2.0 *
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License. *
- SPDX-License-Identifier: Apache-2.0
Index ¶
- Constants
- func NewApprovedChangeInf() interface{}
- func NewApprovedTelemetryTwoChangeInf() interface{}
- func NewChangeInf() interface{}
- func NewTelemetryTwoChangeInf() interface{}
- type ApprovedChange
- func (c ApprovedChange) GetApplicationType() string
- func (c ApprovedChange) GetApprovedUser() string
- func (c ApprovedChange) GetAuthor() string
- func (c ApprovedChange) GetEntityID() string
- func (c ApprovedChange) GetEntityType() EntityType
- func (c ApprovedChange) GetID() string
- func (c ApprovedChange) GetNewEntity() *logupload.PermanentTelemetryProfile
- func (c ApprovedChange) GetOldEntity() *logupload.PermanentTelemetryProfile
- func (c ApprovedChange) GetOperation() ChangeOperation
- type ApprovedTelemetryTwoChange
- type Change
- func (c *Change) EqualChangeData(c2 *Change) bool
- func (c Change) GetApplicationType() string
- func (c Change) GetApprovedUser() string
- func (c Change) GetAuthor() string
- func (c Change) GetEntityID() string
- func (c Change) GetEntityType() EntityType
- func (c Change) GetID() string
- func (c Change) GetNewEntity() *logupload.PermanentTelemetryProfile
- func (c Change) GetOldEntity() *logupload.PermanentTelemetryProfile
- func (c Change) GetOperation() ChangeOperation
- type ChangeOperation
- type EntityInterface
- type EntityType
- type PendingChange
- type TelemetryTwoChange
Constants ¶
View Source
const ( Create ChangeOperation = "CREATE" Update = "UPDATE" Delete = "DELETE" )
Variables ¶
This section is empty.
Functions ¶
func NewApprovedChangeInf ¶
func NewApprovedChangeInf() interface{}
NewApprovedChangeInf constructor
func NewApprovedTelemetryTwoChangeInf ¶
func NewApprovedTelemetryTwoChangeInf() interface{}
NewApprovedTelemetryTwoChangeInf constructor
func NewTelemetryTwoChangeInf ¶
func NewTelemetryTwoChangeInf() interface{}
NewTelemetryTwoChangeInf constructor
Types ¶
type ApprovedChange ¶
type ApprovedChange Change
ApprovedChange XconfApprovedChange table
func (ApprovedChange) GetApplicationType ¶
func (c ApprovedChange) GetApplicationType() string
func (ApprovedChange) GetApprovedUser ¶
func (c ApprovedChange) GetApprovedUser() string
func (ApprovedChange) GetAuthor ¶
func (c ApprovedChange) GetAuthor() string
func (ApprovedChange) GetEntityID ¶
func (c ApprovedChange) GetEntityID() string
func (ApprovedChange) GetEntityType ¶
func (c ApprovedChange) GetEntityType() EntityType
func (ApprovedChange) GetID ¶
func (c ApprovedChange) GetID() string
func (ApprovedChange) GetNewEntity ¶
func (c ApprovedChange) GetNewEntity() *logupload.PermanentTelemetryProfile
func (ApprovedChange) GetOldEntity ¶
func (c ApprovedChange) GetOldEntity() *logupload.PermanentTelemetryProfile
func (ApprovedChange) GetOperation ¶
func (c ApprovedChange) GetOperation() ChangeOperation
type ApprovedTelemetryTwoChange ¶
type ApprovedTelemetryTwoChange TelemetryTwoChange
TelemetryTwoChange XconfApprovedTelemetryTwoChange table
func (*ApprovedTelemetryTwoChange) Validate ¶
func (obj *ApprovedTelemetryTwoChange) Validate() error
type Change ¶
type Change struct {
ID string `json:"id"`
Updated int64 `json:"updated"`
EntityID string `json:"entityId"`
EntityType EntityType `json:"entityType"`
ApplicationType string `json:"applicationType"`
NewEntity *logupload.PermanentTelemetryProfile `json:"newEntity,omitempty"`
OldEntity *logupload.PermanentTelemetryProfile `json:"oldEntity,omitempty"`
Operation ChangeOperation `json:"operation"`
Author string `json:"author"`
ApprovedUser string `json:"approvedUser"`
}
Change XconfChange table
func NewEmptyChange ¶
func NewEmptyChange() *Change
func (*Change) EqualChangeData ¶
func (Change) GetApplicationType ¶
func (Change) GetApprovedUser ¶
func (Change) GetEntityID ¶
func (Change) GetEntityType ¶
func (c Change) GetEntityType() EntityType
func (Change) GetNewEntity ¶
func (c Change) GetNewEntity() *logupload.PermanentTelemetryProfile
func (Change) GetOldEntity ¶
func (c Change) GetOldEntity() *logupload.PermanentTelemetryProfile
func (Change) GetOperation ¶
func (c Change) GetOperation() ChangeOperation
type EntityInterface ¶
type EntityInterface interface {
// contains filtered or unexported methods
}
type EntityType ¶
type EntityType string
EntityType enum
const (
TelemetryProfile EntityType = "TELEMETRY_PROFILE"
)
type PendingChange ¶
type PendingChange interface {
GetID() string
GetEntityID() string
GetEntityType() EntityType
GetApplicationType() string
GetNewEntity() *logupload.PermanentTelemetryProfile
GetOldEntity() *logupload.PermanentTelemetryProfile
GetOperation() ChangeOperation
GetAuthor() string
GetApprovedUser() string
}
type TelemetryTwoChange ¶
type TelemetryTwoChange struct {
ID string `json:"id"`
Updated int64 `json:"updated"`
EntityID string `json:"entityId"`
EntityType string `json:"entityType"`
ApplicationType string `json:"applicationType"`
NewEntity *logupload.TelemetryTwoProfile `json:"newEntity,omitempty"`
OldEntity *logupload.TelemetryTwoProfile `json:"oldEntity,omitempty"`
Operation ChangeOperation `json:"operation"`
Author string `json:"author"`
ApprovedUser string `json:"approvedUser,omitempty"`
}
TelemetryTwoChange XconfTelemetryTwoChange table
func (*TelemetryTwoChange) Validate ¶
func (obj *TelemetryTwoChange) Validate() error
Click to show internal directories.
Click to hide internal directories.