Documentation
¶
Overview ¶
This package defines the types for Flux API version 9.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrUnknownChange = errors.New("unknown kind of change")
Functions ¶
This section is empty.
Types ¶
type Change ¶
type Change struct {
Kind ChangeKind // essentially a type tag
Source interface{} // what changed
}
func (*Change) UnmarshalJSON ¶
type ChangeKind ¶
type ChangeKind string
const ( GitChange ChangeKind = "git" ImageChange ChangeKind = "image" )
func (ChangeKind) MarshalJSON ¶
func (k ChangeKind) MarshalJSON() ([]byte, error)
type ImageUpdate ¶
Click to show internal directories.
Click to hide internal directories.