remove LabelsForObject and ResolveImage from factory
This commit is contained in:
@@ -91,8 +91,6 @@ type ClientAccessFactory interface {
|
||||
PortsForObject(object runtime.Object) ([]string, error)
|
||||
// ProtocolsForObject returns the <port, protocol> mapping associated with the provided object
|
||||
ProtocolsForObject(object runtime.Object) (map[string]string, error)
|
||||
// LabelsForObject returns the labels associated with the provided object
|
||||
LabelsForObject(object runtime.Object) (map[string]string, error)
|
||||
|
||||
// Command will stringify and return all environment arguments ie. a command run by a client
|
||||
// using the factory.
|
||||
@@ -110,11 +108,6 @@ type ClientAccessFactory interface {
|
||||
// in case the object is already resumed.
|
||||
Resumer(info *resource.Info) ([]byte, error)
|
||||
|
||||
// ResolveImage resolves the image names. For kubernetes this function is just
|
||||
// passthrough but it allows to perform more sophisticated image name resolving for
|
||||
// third-party vendors.
|
||||
ResolveImage(imageName string) (string, error)
|
||||
|
||||
// Returns the default namespace to use in cases where no
|
||||
// other namespace is specified and whether the namespace was
|
||||
// overridden.
|
||||
|
||||
Reference in New Issue
Block a user