Documentation ¶
Index ¶
- func CreateTmpConfigPath(rootTemplatePath string, configPath string, username string, apiKey string) (string, error)
- func GenerateCpiJsonPayload(methodName string, rootTemplatePath string, replacementMap map[string]string) (string, error)
- func ReadJsonTestFixtures(workingDir, packageName, fileName string) ([]byte, error)
- func RunCpi(rootCpiPath string, configPath string, jsonPayload string) ([]byte, error)
- func SetTestFixtureForFakeSoftLayerClient(fakeSoftLayerClient *fakesslclient.FakeSoftLayerClient, fileName string)
- func SetTestFixturesForFakeSoftLayerClient(fakeSoftLayerClient *fakesslclient.FakeSoftLayerClient, fileNames []string)
- type ConfigTemplate
- type CpiTemplate
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateTmpConfigPath ¶
func GenerateCpiJsonPayload ¶
func ReadJsonTestFixtures ¶
func SetTestFixtureForFakeSoftLayerClient ¶
func SetTestFixtureForFakeSoftLayerClient(fakeSoftLayerClient *fakesslclient.FakeSoftLayerClient, fileName string)
func SetTestFixturesForFakeSoftLayerClient ¶
func SetTestFixturesForFakeSoftLayerClient(fakeSoftLayerClient *fakesslclient.FakeSoftLayerClient, fileNames []string)
Types ¶
type ConfigTemplate ¶
type CpiTemplate ¶
Click to show internal directories.
Click to hide internal directories.