Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type KubernetesListMeta ¶
type KubernetesListMeta struct {
Items []KubernetesObject `json:"items"`
}
type KubernetesListRaw ¶
type KubernetesListRaw struct {
Items []genericMap `json:"items"`
}
type KubernetesObject ¶
type KubernetesObject struct { Kind string `json:"kind"` Metadata struct { Name string `json:"name"` Namespace string `json:"namespace"` } `json:"metadata"` }
func (KubernetesObject) Empty ¶ added in v0.2.0
func (o KubernetesObject) Empty() bool
func (KubernetesObject) Matches ¶
func (o KubernetesObject) Matches(r Resource) bool
func (KubernetesObject) MatchesAny ¶
func (o KubernetesObject) MatchesAny(sel Selector, text []byte) bool
func (KubernetesObject) String ¶
func (o KubernetesObject) String() string
type LineReader ¶ added in v0.3.0
type LineReader struct {
// contains filtered or unexported fields
}
func (*LineReader) Read ¶ added in v0.3.0
func (r *LineReader) Read() ([]byte, error)
func (*LineReader) StartsList ¶ added in v0.9.0
func (r *LineReader) StartsList() bool
StartsList checks if the next line starts a list
type Opts ¶ added in v0.10.0
type Opts struct { Sel Selector Mode DisplayMode Diff bool DiffType DiffType Decode bool }
type Selector ¶ added in v0.2.0
func (Selector) MatchesAll ¶ added in v0.4.0
type YAMLReader ¶ added in v0.3.0
type YAMLReader struct {
// contains filtered or unexported fields
}
func NewYAMLReader ¶ added in v0.3.0
func NewYAMLReader(r *bufio.Reader) *YAMLReader
func (*YAMLReader) Read ¶ added in v0.3.0
func (r *YAMLReader) Read() ([]byte, error)
Click to show internal directories.
Click to hide internal directories.