Documentation ¶
Index ¶
- func Generate(ctx context.Context, subscriptionID, resourceGroup string, ...) (map[string]interface{}, error)
- func GenerateClusterSide(ctx context.Context, cs *api.OpenShiftManagedCluster) (map[string]interface{}, error)
- func GenerateRPSide(ctx context.Context, cs *api.OpenShiftManagedCluster, conf *client.Config) (map[string]interface{}, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Generate ¶
func Generate(ctx context.Context, subscriptionID, resourceGroup string, resource []interface{}) (map[string]interface{}, error)
Generate generates ARM template, based on resource interface provided This version of Generate will not do any version fixup as it is used in fakeRP implementation
func GenerateClusterSide ¶
func GenerateClusterSide(ctx context.Context, cs *api.OpenShiftManagedCluster) (map[string]interface{}, error)
GenerateClusterSide generates fakeRP callback function objects for cluster side objects. This function mocks realRP impementation for required objects
func GenerateRPSide ¶
func GenerateRPSide(ctx context.Context, cs *api.OpenShiftManagedCluster, conf *client.Config) (map[string]interface{}, error)
GenerateRPSide generates fakeRP callback function for RP side objects. This function mocks realRP impementation for required objects
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.