Documentation ¶
Index ¶
- Variables
- func FilterCrdResources(resources interface{}) interface{}
- func FilterNonCrdResources(resources interface{}) interface{}
- func SortResourcesByKind(infos interface{}, ordering KindSortOrder)
- func StreamDecode(negotiator client_negotiator.ExtendedClientNegotiator, ...) ([]*resource.Resource, error)
- func StreamEncode(negotiator client_negotiator.ExtendedClientNegotiator, ...) error
- type KindSortOrder
- type ResourceDiff
Constants ¶
This section is empty.
Variables ¶
View Source
var InstallPriorities = generateInstallPriorities()
Functions ¶
func FilterCrdResources ¶
func FilterCrdResources(resources interface{}) interface{}
Filter resources that are Custom Resource Definitions.
func FilterNonCrdResources ¶
func FilterNonCrdResources(resources interface{}) interface{}
Filter resources that are Custom Resource Definitions.
func SortResourcesByKind ¶
func SortResourcesByKind(infos interface{}, ordering KindSortOrder)
func StreamDecode ¶
func StreamDecode(negotiator client_negotiator.ExtendedClientNegotiator, bigManifest io.ReadCloser, infoCreator *resource.ResourceCreator) ([]*resource.Resource, error)
func StreamEncode ¶
func StreamEncode(negotiator client_negotiator.ExtendedClientNegotiator, infos []*resource.Resource, w io.Writer) error
Types ¶
type KindSortOrder ¶
type KindSortOrder int
KindSortOrder is an ordering of Kinds.
const ( InstallOrder KindSortOrder = iota UninstallOrder )
type ResourceDiff ¶
func CompareResourceSet ¶
func CompareResourceSet(from []*resource.Resource, to []*resource.Resource) []*ResourceDiff
Click to show internal directories.
Click to hide internal directories.