public interface ITypeFactory
| Modifier and Type | Method and Description |
|---|---|
Object |
createInstanceFrom(String response)
Create a resource from a response string
|
Object |
stubKind(String kind,
Optional<String> name,
Optional<String> namespace)
Stub out the given resource kind using a version determined by the factory
|
Object createInstanceFrom(String response)
ResourceFactoryException - if it is unable to create resourcesObject stubKind(String kind, Optional<String> name, Optional<String> namespace)
kind - - Required. For arg types it may be in the form of
apigroup/version.kindname - - The name of the kind which may only be significant for instances
that can be persisted by the server (e.g. Service)namespace - - The namespace of the kind which may only be significant for
instance that can be persistedCopyright © 2019 Red Hat, Inc. All Rights Reserved.