Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApplyResult ¶
type ApplyResult struct {
LocalDef interface{} `json:"local"`
RemoteDef interface{} `json:"remote"`
Data interface{} `json:"data"`
Diff string `json:"diff"`
Err string `json:"error"`
Applied bool `json:"applied"`
}
An apply result
func (ApplyResult) HasUnappliedChanges ¶
func (a ApplyResult) HasUnappliedChanges() bool
Determine if the apply has unapplied changes
type ApplyResults ¶
type ApplyResults []*ApplyResult
An array of ApplyResult pointers
func (ApplyResults) ContainsErr ¶
func (a ApplyResults) ContainsErr() bool
Determine if any apply result has an error
func (ApplyResults) ContainsUnappliedChanges ¶
func (a ApplyResults) ContainsUnappliedChanges() bool
Determine if any apply result has unapplied changes
func (ApplyResults) JSON ¶
func (a ApplyResults) JSON() (string, error)
Convert apply results to JSON
type ExportResult ¶
type ExportResult struct {
// TODO: Change Id to name?
Id string `json:"id"`
Type string `json:"type,omitempty"`
Def interface{} `json:"definition"`
}
An export result
type ExportResults ¶
type ExportResults []ExportResult
An array of ExportResult
func (ExportResults) JSON ¶
func (e ExportResults) JSON() (string, error)
Convert export results to JSON
type TopicApplyResultData ¶
type TopicApplyResultData struct {
PartitionReassignments []meta.PartitionReassignment `json:"partitionReassignments"`
}
Misc data for a topic apply result
Click to show internal directories.
Click to hide internal directories.