Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Resource ¶
type Resource struct { Group string `json:"group"` Version string `json:"version"` Kind string `json:"kind"` Name string `json:"name"` Namespace string `json:"namespace"` Labels map[string]string `json:"-"` Images []string `json:"-"` }
Object a basic object for a Kubernetes object.
func ParseFromGit ¶
ParseFromGit takes a go-git CloneOptions struct and a filepath, and extracts the service configuration from there.
type ResourceParser ¶
ResourceParser implementations should fetch the source using the CloneOptions and parse the resources in the path into a set of resource.Resource values.
Click to show internal directories.
Click to hide internal directories.