Documentation
¶
Index ¶
- type Client
- func (a *Client) CreateRecommendationForWorkspace(params *CreateRecommendationForWorkspaceParams) (*CreateRecommendationForWorkspaceOK, error)
- func (a *Client) GetGeneratedTemplate(params *GetGeneratedTemplateParams) (*GetGeneratedTemplateOK, error)
- func (a *Client) GetServiceAndDependencies(params *GetServiceAndDependenciesParams) (*GetServiceAndDependenciesOK, error)
- func (a *Client) GetServiceList(params *GetServiceListParams) (*GetServiceListOK, error)
- func (a *Client) GetServiceVersionsByBlueprintName(params *GetServiceVersionsByBlueprintNameParams) (*GetServiceVersionsByBlueprintNameOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type CreateRecommendationForWorkspaceOK
- type CreateRecommendationForWorkspaceParams
- func NewCreateRecommendationForWorkspaceParams() *CreateRecommendationForWorkspaceParams
- func NewCreateRecommendationForWorkspaceParamsWithContext(ctx context.Context) *CreateRecommendationForWorkspaceParams
- func NewCreateRecommendationForWorkspaceParamsWithHTTPClient(client *http.Client) *CreateRecommendationForWorkspaceParams
- func NewCreateRecommendationForWorkspaceParamsWithTimeout(timeout time.Duration) *CreateRecommendationForWorkspaceParams
- func (o *CreateRecommendationForWorkspaceParams) SetAvailabilityZone(availabilityZone *string)
- func (o *CreateRecommendationForWorkspaceParams) SetBlueprintName(blueprintName *string)
- func (o *CreateRecommendationForWorkspaceParams) SetContext(ctx context.Context)
- func (o *CreateRecommendationForWorkspaceParams) SetCredentialName(credentialName *string)
- func (o *CreateRecommendationForWorkspaceParams) SetHTTPClient(client *http.Client)
- func (o *CreateRecommendationForWorkspaceParams) SetPlatformVariant(platformVariant *string)
- func (o *CreateRecommendationForWorkspaceParams) SetRegion(region *string)
- func (o *CreateRecommendationForWorkspaceParams) SetResourceType(resourceType *string)
- func (o *CreateRecommendationForWorkspaceParams) SetTimeout(timeout time.Duration)
- func (o *CreateRecommendationForWorkspaceParams) SetWorkspaceID(workspaceID int64)
- func (o *CreateRecommendationForWorkspaceParams) WithAvailabilityZone(availabilityZone *string) *CreateRecommendationForWorkspaceParams
- func (o *CreateRecommendationForWorkspaceParams) WithBlueprintName(blueprintName *string) *CreateRecommendationForWorkspaceParams
- func (o *CreateRecommendationForWorkspaceParams) WithContext(ctx context.Context) *CreateRecommendationForWorkspaceParams
- func (o *CreateRecommendationForWorkspaceParams) WithCredentialName(credentialName *string) *CreateRecommendationForWorkspaceParams
- func (o *CreateRecommendationForWorkspaceParams) WithHTTPClient(client *http.Client) *CreateRecommendationForWorkspaceParams
- func (o *CreateRecommendationForWorkspaceParams) WithPlatformVariant(platformVariant *string) *CreateRecommendationForWorkspaceParams
- func (o *CreateRecommendationForWorkspaceParams) WithRegion(region *string) *CreateRecommendationForWorkspaceParams
- func (o *CreateRecommendationForWorkspaceParams) WithResourceType(resourceType *string) *CreateRecommendationForWorkspaceParams
- func (o *CreateRecommendationForWorkspaceParams) WithTimeout(timeout time.Duration) *CreateRecommendationForWorkspaceParams
- func (o *CreateRecommendationForWorkspaceParams) WithWorkspaceID(workspaceID int64) *CreateRecommendationForWorkspaceParams
- func (o *CreateRecommendationForWorkspaceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateRecommendationForWorkspaceReader
- type GetGeneratedTemplateOK
- type GetGeneratedTemplateParams
- func NewGetGeneratedTemplateParams() *GetGeneratedTemplateParams
- func NewGetGeneratedTemplateParamsWithContext(ctx context.Context) *GetGeneratedTemplateParams
- func NewGetGeneratedTemplateParamsWithHTTPClient(client *http.Client) *GetGeneratedTemplateParams
- func NewGetGeneratedTemplateParamsWithTimeout(timeout time.Duration) *GetGeneratedTemplateParams
- func (o *GetGeneratedTemplateParams) SetContext(ctx context.Context)
- func (o *GetGeneratedTemplateParams) SetHTTPClient(client *http.Client)
- func (o *GetGeneratedTemplateParams) SetPlatform(platform *string)
- func (o *GetGeneratedTemplateParams) SetServices(services []string)
- func (o *GetGeneratedTemplateParams) SetTimeout(timeout time.Duration)
- func (o *GetGeneratedTemplateParams) SetWorkspaceID(workspaceID int64)
- func (o *GetGeneratedTemplateParams) WithContext(ctx context.Context) *GetGeneratedTemplateParams
- func (o *GetGeneratedTemplateParams) WithHTTPClient(client *http.Client) *GetGeneratedTemplateParams
- func (o *GetGeneratedTemplateParams) WithPlatform(platform *string) *GetGeneratedTemplateParams
- func (o *GetGeneratedTemplateParams) WithServices(services []string) *GetGeneratedTemplateParams
- func (o *GetGeneratedTemplateParams) WithTimeout(timeout time.Duration) *GetGeneratedTemplateParams
- func (o *GetGeneratedTemplateParams) WithWorkspaceID(workspaceID int64) *GetGeneratedTemplateParams
- func (o *GetGeneratedTemplateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetGeneratedTemplateReader
- type GetServiceAndDependenciesOK
- type GetServiceAndDependenciesParams
- func NewGetServiceAndDependenciesParams() *GetServiceAndDependenciesParams
- func NewGetServiceAndDependenciesParamsWithContext(ctx context.Context) *GetServiceAndDependenciesParams
- func NewGetServiceAndDependenciesParamsWithHTTPClient(client *http.Client) *GetServiceAndDependenciesParams
- func NewGetServiceAndDependenciesParamsWithTimeout(timeout time.Duration) *GetServiceAndDependenciesParams
- func (o *GetServiceAndDependenciesParams) SetContext(ctx context.Context)
- func (o *GetServiceAndDependenciesParams) SetHTTPClient(client *http.Client)
- func (o *GetServiceAndDependenciesParams) SetPlatform(platform *string)
- func (o *GetServiceAndDependenciesParams) SetServices(services []string)
- func (o *GetServiceAndDependenciesParams) SetTimeout(timeout time.Duration)
- func (o *GetServiceAndDependenciesParams) SetWorkspaceID(workspaceID int64)
- func (o *GetServiceAndDependenciesParams) WithContext(ctx context.Context) *GetServiceAndDependenciesParams
- func (o *GetServiceAndDependenciesParams) WithHTTPClient(client *http.Client) *GetServiceAndDependenciesParams
- func (o *GetServiceAndDependenciesParams) WithPlatform(platform *string) *GetServiceAndDependenciesParams
- func (o *GetServiceAndDependenciesParams) WithServices(services []string) *GetServiceAndDependenciesParams
- func (o *GetServiceAndDependenciesParams) WithTimeout(timeout time.Duration) *GetServiceAndDependenciesParams
- func (o *GetServiceAndDependenciesParams) WithWorkspaceID(workspaceID int64) *GetServiceAndDependenciesParams
- func (o *GetServiceAndDependenciesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetServiceAndDependenciesReader
- type GetServiceListOK
- type GetServiceListParams
- func NewGetServiceListParams() *GetServiceListParams
- func NewGetServiceListParamsWithContext(ctx context.Context) *GetServiceListParams
- func NewGetServiceListParamsWithHTTPClient(client *http.Client) *GetServiceListParams
- func NewGetServiceListParamsWithTimeout(timeout time.Duration) *GetServiceListParams
- func (o *GetServiceListParams) SetContext(ctx context.Context)
- func (o *GetServiceListParams) SetHTTPClient(client *http.Client)
- func (o *GetServiceListParams) SetTimeout(timeout time.Duration)
- func (o *GetServiceListParams) SetWorkspaceID(workspaceID int64)
- func (o *GetServiceListParams) WithContext(ctx context.Context) *GetServiceListParams
- func (o *GetServiceListParams) WithHTTPClient(client *http.Client) *GetServiceListParams
- func (o *GetServiceListParams) WithTimeout(timeout time.Duration) *GetServiceListParams
- func (o *GetServiceListParams) WithWorkspaceID(workspaceID int64) *GetServiceListParams
- func (o *GetServiceListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetServiceListReader
- type GetServiceVersionsByBlueprintNameOK
- type GetServiceVersionsByBlueprintNameParams
- func NewGetServiceVersionsByBlueprintNameParams() *GetServiceVersionsByBlueprintNameParams
- func NewGetServiceVersionsByBlueprintNameParamsWithContext(ctx context.Context) *GetServiceVersionsByBlueprintNameParams
- func NewGetServiceVersionsByBlueprintNameParamsWithHTTPClient(client *http.Client) *GetServiceVersionsByBlueprintNameParams
- func NewGetServiceVersionsByBlueprintNameParamsWithTimeout(timeout time.Duration) *GetServiceVersionsByBlueprintNameParams
- func (o *GetServiceVersionsByBlueprintNameParams) SetBlueprintName(blueprintName *string)
- func (o *GetServiceVersionsByBlueprintNameParams) SetContext(ctx context.Context)
- func (o *GetServiceVersionsByBlueprintNameParams) SetHTTPClient(client *http.Client)
- func (o *GetServiceVersionsByBlueprintNameParams) SetTimeout(timeout time.Duration)
- func (o *GetServiceVersionsByBlueprintNameParams) SetWorkspaceID(workspaceID int64)
- func (o *GetServiceVersionsByBlueprintNameParams) WithBlueprintName(blueprintName *string) *GetServiceVersionsByBlueprintNameParams
- func (o *GetServiceVersionsByBlueprintNameParams) WithContext(ctx context.Context) *GetServiceVersionsByBlueprintNameParams
- func (o *GetServiceVersionsByBlueprintNameParams) WithHTTPClient(client *http.Client) *GetServiceVersionsByBlueprintNameParams
- func (o *GetServiceVersionsByBlueprintNameParams) WithTimeout(timeout time.Duration) *GetServiceVersionsByBlueprintNameParams
- func (o *GetServiceVersionsByBlueprintNameParams) WithWorkspaceID(workspaceID int64) *GetServiceVersionsByBlueprintNameParams
- func (o *GetServiceVersionsByBlueprintNameParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetServiceVersionsByBlueprintNameReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for v4 workspace id blueprints util API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new v4 workspace id blueprints util API client.
func (*Client) CreateRecommendationForWorkspace ¶
func (a *Client) CreateRecommendationForWorkspace(params *CreateRecommendationForWorkspaceParams) (*CreateRecommendationForWorkspaceOK, error)
CreateRecommendationForWorkspace creates a recommendation that advises cloud resources for the given blueprint
Each cloud provider has it's own specific resources like instance types and disk types. These endpoints are collecting them.
func (*Client) GetGeneratedTemplate ¶
func (a *Client) GetGeneratedTemplate(params *GetGeneratedTemplateParams) (*GetGeneratedTemplateOK, error)
GetGeneratedTemplate creates a recommendation that advises cloud resources for the given blueprint
Each cloud provider has it's own specific resources like instance types and disk types. These endpoints are collecting them.
func (*Client) GetServiceAndDependencies ¶
func (a *Client) GetServiceAndDependencies(params *GetServiceAndDependenciesParams) (*GetServiceAndDependenciesOK, error)
GetServiceAndDependencies creates a recommendation that advises cloud resources for the given blueprint
Each cloud provider has it's own specific resources like instance types and disk types. These endpoints are collecting them.
func (*Client) GetServiceList ¶
func (a *Client) GetServiceList(params *GetServiceListParams) (*GetServiceListOK, error)
GetServiceList creates a recommendation that advises cloud resources for the given blueprint
Each cloud provider has it's own specific resources like instance types and disk types. These endpoints are collecting them.
func (*Client) GetServiceVersionsByBlueprintName ¶
func (a *Client) GetServiceVersionsByBlueprintName(params *GetServiceVersionsByBlueprintNameParams) (*GetServiceVersionsByBlueprintNameOK, error)
GetServiceVersionsByBlueprintName retrives services and versions
Each cloud provider has it's own specific resources like instance types and disk types. These endpoints are collecting them.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type CreateRecommendationForWorkspaceOK ¶
type CreateRecommendationForWorkspaceOK struct {
Payload *model.RecommendationV4Response
}
CreateRecommendationForWorkspaceOK handles this case with default header values.
successful operation
func NewCreateRecommendationForWorkspaceOK ¶
func NewCreateRecommendationForWorkspaceOK() *CreateRecommendationForWorkspaceOK
NewCreateRecommendationForWorkspaceOK creates a CreateRecommendationForWorkspaceOK with default headers values
func (*CreateRecommendationForWorkspaceOK) Error ¶
func (o *CreateRecommendationForWorkspaceOK) Error() string
type CreateRecommendationForWorkspaceParams ¶
type CreateRecommendationForWorkspaceParams struct { /*AvailabilityZone*/ AvailabilityZone *string /*BlueprintName*/ BlueprintName *string /*CredentialName*/ CredentialName *string /*PlatformVariant*/ PlatformVariant *string /*Region*/ Region *string /*ResourceType*/ ResourceType *string /*WorkspaceID*/ WorkspaceID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateRecommendationForWorkspaceParams contains all the parameters to send to the API endpoint for the create recommendation for workspace operation typically these are written to a http.Request
func NewCreateRecommendationForWorkspaceParams ¶
func NewCreateRecommendationForWorkspaceParams() *CreateRecommendationForWorkspaceParams
NewCreateRecommendationForWorkspaceParams creates a new CreateRecommendationForWorkspaceParams object with the default values initialized.
func NewCreateRecommendationForWorkspaceParamsWithContext ¶
func NewCreateRecommendationForWorkspaceParamsWithContext(ctx context.Context) *CreateRecommendationForWorkspaceParams
NewCreateRecommendationForWorkspaceParamsWithContext creates a new CreateRecommendationForWorkspaceParams object with the default values initialized, and the ability to set a context for a request
func NewCreateRecommendationForWorkspaceParamsWithHTTPClient ¶
func NewCreateRecommendationForWorkspaceParamsWithHTTPClient(client *http.Client) *CreateRecommendationForWorkspaceParams
NewCreateRecommendationForWorkspaceParamsWithHTTPClient creates a new CreateRecommendationForWorkspaceParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCreateRecommendationForWorkspaceParamsWithTimeout ¶
func NewCreateRecommendationForWorkspaceParamsWithTimeout(timeout time.Duration) *CreateRecommendationForWorkspaceParams
NewCreateRecommendationForWorkspaceParamsWithTimeout creates a new CreateRecommendationForWorkspaceParams object with the default values initialized, and the ability to set a timeout on a request
func (*CreateRecommendationForWorkspaceParams) SetAvailabilityZone ¶
func (o *CreateRecommendationForWorkspaceParams) SetAvailabilityZone(availabilityZone *string)
SetAvailabilityZone adds the availabilityZone to the create recommendation for workspace params
func (*CreateRecommendationForWorkspaceParams) SetBlueprintName ¶
func (o *CreateRecommendationForWorkspaceParams) SetBlueprintName(blueprintName *string)
SetBlueprintName adds the blueprintName to the create recommendation for workspace params
func (*CreateRecommendationForWorkspaceParams) SetContext ¶
func (o *CreateRecommendationForWorkspaceParams) SetContext(ctx context.Context)
SetContext adds the context to the create recommendation for workspace params
func (*CreateRecommendationForWorkspaceParams) SetCredentialName ¶
func (o *CreateRecommendationForWorkspaceParams) SetCredentialName(credentialName *string)
SetCredentialName adds the credentialName to the create recommendation for workspace params
func (*CreateRecommendationForWorkspaceParams) SetHTTPClient ¶
func (o *CreateRecommendationForWorkspaceParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create recommendation for workspace params
func (*CreateRecommendationForWorkspaceParams) SetPlatformVariant ¶
func (o *CreateRecommendationForWorkspaceParams) SetPlatformVariant(platformVariant *string)
SetPlatformVariant adds the platformVariant to the create recommendation for workspace params
func (*CreateRecommendationForWorkspaceParams) SetRegion ¶
func (o *CreateRecommendationForWorkspaceParams) SetRegion(region *string)
SetRegion adds the region to the create recommendation for workspace params
func (*CreateRecommendationForWorkspaceParams) SetResourceType ¶
func (o *CreateRecommendationForWorkspaceParams) SetResourceType(resourceType *string)
SetResourceType adds the resourceType to the create recommendation for workspace params
func (*CreateRecommendationForWorkspaceParams) SetTimeout ¶
func (o *CreateRecommendationForWorkspaceParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create recommendation for workspace params
func (*CreateRecommendationForWorkspaceParams) SetWorkspaceID ¶
func (o *CreateRecommendationForWorkspaceParams) SetWorkspaceID(workspaceID int64)
SetWorkspaceID adds the workspaceId to the create recommendation for workspace params
func (*CreateRecommendationForWorkspaceParams) WithAvailabilityZone ¶
func (o *CreateRecommendationForWorkspaceParams) WithAvailabilityZone(availabilityZone *string) *CreateRecommendationForWorkspaceParams
WithAvailabilityZone adds the availabilityZone to the create recommendation for workspace params
func (*CreateRecommendationForWorkspaceParams) WithBlueprintName ¶
func (o *CreateRecommendationForWorkspaceParams) WithBlueprintName(blueprintName *string) *CreateRecommendationForWorkspaceParams
WithBlueprintName adds the blueprintName to the create recommendation for workspace params
func (*CreateRecommendationForWorkspaceParams) WithContext ¶
func (o *CreateRecommendationForWorkspaceParams) WithContext(ctx context.Context) *CreateRecommendationForWorkspaceParams
WithContext adds the context to the create recommendation for workspace params
func (*CreateRecommendationForWorkspaceParams) WithCredentialName ¶
func (o *CreateRecommendationForWorkspaceParams) WithCredentialName(credentialName *string) *CreateRecommendationForWorkspaceParams
WithCredentialName adds the credentialName to the create recommendation for workspace params
func (*CreateRecommendationForWorkspaceParams) WithHTTPClient ¶
func (o *CreateRecommendationForWorkspaceParams) WithHTTPClient(client *http.Client) *CreateRecommendationForWorkspaceParams
WithHTTPClient adds the HTTPClient to the create recommendation for workspace params
func (*CreateRecommendationForWorkspaceParams) WithPlatformVariant ¶
func (o *CreateRecommendationForWorkspaceParams) WithPlatformVariant(platformVariant *string) *CreateRecommendationForWorkspaceParams
WithPlatformVariant adds the platformVariant to the create recommendation for workspace params
func (*CreateRecommendationForWorkspaceParams) WithRegion ¶
func (o *CreateRecommendationForWorkspaceParams) WithRegion(region *string) *CreateRecommendationForWorkspaceParams
WithRegion adds the region to the create recommendation for workspace params
func (*CreateRecommendationForWorkspaceParams) WithResourceType ¶
func (o *CreateRecommendationForWorkspaceParams) WithResourceType(resourceType *string) *CreateRecommendationForWorkspaceParams
WithResourceType adds the resourceType to the create recommendation for workspace params
func (*CreateRecommendationForWorkspaceParams) WithTimeout ¶
func (o *CreateRecommendationForWorkspaceParams) WithTimeout(timeout time.Duration) *CreateRecommendationForWorkspaceParams
WithTimeout adds the timeout to the create recommendation for workspace params
func (*CreateRecommendationForWorkspaceParams) WithWorkspaceID ¶
func (o *CreateRecommendationForWorkspaceParams) WithWorkspaceID(workspaceID int64) *CreateRecommendationForWorkspaceParams
WithWorkspaceID adds the workspaceID to the create recommendation for workspace params
func (*CreateRecommendationForWorkspaceParams) WriteToRequest ¶
func (o *CreateRecommendationForWorkspaceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateRecommendationForWorkspaceReader ¶
type CreateRecommendationForWorkspaceReader struct {
// contains filtered or unexported fields
}
CreateRecommendationForWorkspaceReader is a Reader for the CreateRecommendationForWorkspace structure.
func (*CreateRecommendationForWorkspaceReader) ReadResponse ¶
func (o *CreateRecommendationForWorkspaceReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetGeneratedTemplateOK ¶
type GetGeneratedTemplateOK struct {
Payload *model.GeneratedCmTemplateV4Response
}
GetGeneratedTemplateOK handles this case with default header values.
successful operation
func NewGetGeneratedTemplateOK ¶
func NewGetGeneratedTemplateOK() *GetGeneratedTemplateOK
NewGetGeneratedTemplateOK creates a GetGeneratedTemplateOK with default headers values
func (*GetGeneratedTemplateOK) Error ¶
func (o *GetGeneratedTemplateOK) Error() string
type GetGeneratedTemplateParams ¶
type GetGeneratedTemplateParams struct { /*Platform*/ Platform *string /*Services*/ Services []string /*WorkspaceID*/ WorkspaceID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetGeneratedTemplateParams contains all the parameters to send to the API endpoint for the get generated template operation typically these are written to a http.Request
func NewGetGeneratedTemplateParams ¶
func NewGetGeneratedTemplateParams() *GetGeneratedTemplateParams
NewGetGeneratedTemplateParams creates a new GetGeneratedTemplateParams object with the default values initialized.
func NewGetGeneratedTemplateParamsWithContext ¶
func NewGetGeneratedTemplateParamsWithContext(ctx context.Context) *GetGeneratedTemplateParams
NewGetGeneratedTemplateParamsWithContext creates a new GetGeneratedTemplateParams object with the default values initialized, and the ability to set a context for a request
func NewGetGeneratedTemplateParamsWithHTTPClient ¶
func NewGetGeneratedTemplateParamsWithHTTPClient(client *http.Client) *GetGeneratedTemplateParams
NewGetGeneratedTemplateParamsWithHTTPClient creates a new GetGeneratedTemplateParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetGeneratedTemplateParamsWithTimeout ¶
func NewGetGeneratedTemplateParamsWithTimeout(timeout time.Duration) *GetGeneratedTemplateParams
NewGetGeneratedTemplateParamsWithTimeout creates a new GetGeneratedTemplateParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetGeneratedTemplateParams) SetContext ¶
func (o *GetGeneratedTemplateParams) SetContext(ctx context.Context)
SetContext adds the context to the get generated template params
func (*GetGeneratedTemplateParams) SetHTTPClient ¶
func (o *GetGeneratedTemplateParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get generated template params
func (*GetGeneratedTemplateParams) SetPlatform ¶
func (o *GetGeneratedTemplateParams) SetPlatform(platform *string)
SetPlatform adds the platform to the get generated template params
func (*GetGeneratedTemplateParams) SetServices ¶
func (o *GetGeneratedTemplateParams) SetServices(services []string)
SetServices adds the services to the get generated template params
func (*GetGeneratedTemplateParams) SetTimeout ¶
func (o *GetGeneratedTemplateParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get generated template params
func (*GetGeneratedTemplateParams) SetWorkspaceID ¶
func (o *GetGeneratedTemplateParams) SetWorkspaceID(workspaceID int64)
SetWorkspaceID adds the workspaceId to the get generated template params
func (*GetGeneratedTemplateParams) WithContext ¶
func (o *GetGeneratedTemplateParams) WithContext(ctx context.Context) *GetGeneratedTemplateParams
WithContext adds the context to the get generated template params
func (*GetGeneratedTemplateParams) WithHTTPClient ¶
func (o *GetGeneratedTemplateParams) WithHTTPClient(client *http.Client) *GetGeneratedTemplateParams
WithHTTPClient adds the HTTPClient to the get generated template params
func (*GetGeneratedTemplateParams) WithPlatform ¶
func (o *GetGeneratedTemplateParams) WithPlatform(platform *string) *GetGeneratedTemplateParams
WithPlatform adds the platform to the get generated template params
func (*GetGeneratedTemplateParams) WithServices ¶
func (o *GetGeneratedTemplateParams) WithServices(services []string) *GetGeneratedTemplateParams
WithServices adds the services to the get generated template params
func (*GetGeneratedTemplateParams) WithTimeout ¶
func (o *GetGeneratedTemplateParams) WithTimeout(timeout time.Duration) *GetGeneratedTemplateParams
WithTimeout adds the timeout to the get generated template params
func (*GetGeneratedTemplateParams) WithWorkspaceID ¶
func (o *GetGeneratedTemplateParams) WithWorkspaceID(workspaceID int64) *GetGeneratedTemplateParams
WithWorkspaceID adds the workspaceID to the get generated template params
func (*GetGeneratedTemplateParams) WriteToRequest ¶
func (o *GetGeneratedTemplateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetGeneratedTemplateReader ¶
type GetGeneratedTemplateReader struct {
// contains filtered or unexported fields
}
GetGeneratedTemplateReader is a Reader for the GetGeneratedTemplate structure.
func (*GetGeneratedTemplateReader) ReadResponse ¶
func (o *GetGeneratedTemplateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetServiceAndDependenciesOK ¶
type GetServiceAndDependenciesOK struct {
Payload *model.ServiceDependencyMatrixV4Response
}
GetServiceAndDependenciesOK handles this case with default header values.
successful operation
func NewGetServiceAndDependenciesOK ¶
func NewGetServiceAndDependenciesOK() *GetServiceAndDependenciesOK
NewGetServiceAndDependenciesOK creates a GetServiceAndDependenciesOK with default headers values
func (*GetServiceAndDependenciesOK) Error ¶
func (o *GetServiceAndDependenciesOK) Error() string
type GetServiceAndDependenciesParams ¶
type GetServiceAndDependenciesParams struct { /*Platform*/ Platform *string /*Services*/ Services []string /*WorkspaceID*/ WorkspaceID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetServiceAndDependenciesParams contains all the parameters to send to the API endpoint for the get service and dependencies operation typically these are written to a http.Request
func NewGetServiceAndDependenciesParams ¶
func NewGetServiceAndDependenciesParams() *GetServiceAndDependenciesParams
NewGetServiceAndDependenciesParams creates a new GetServiceAndDependenciesParams object with the default values initialized.
func NewGetServiceAndDependenciesParamsWithContext ¶
func NewGetServiceAndDependenciesParamsWithContext(ctx context.Context) *GetServiceAndDependenciesParams
NewGetServiceAndDependenciesParamsWithContext creates a new GetServiceAndDependenciesParams object with the default values initialized, and the ability to set a context for a request
func NewGetServiceAndDependenciesParamsWithHTTPClient ¶
func NewGetServiceAndDependenciesParamsWithHTTPClient(client *http.Client) *GetServiceAndDependenciesParams
NewGetServiceAndDependenciesParamsWithHTTPClient creates a new GetServiceAndDependenciesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetServiceAndDependenciesParamsWithTimeout ¶
func NewGetServiceAndDependenciesParamsWithTimeout(timeout time.Duration) *GetServiceAndDependenciesParams
NewGetServiceAndDependenciesParamsWithTimeout creates a new GetServiceAndDependenciesParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetServiceAndDependenciesParams) SetContext ¶
func (o *GetServiceAndDependenciesParams) SetContext(ctx context.Context)
SetContext adds the context to the get service and dependencies params
func (*GetServiceAndDependenciesParams) SetHTTPClient ¶
func (o *GetServiceAndDependenciesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get service and dependencies params
func (*GetServiceAndDependenciesParams) SetPlatform ¶
func (o *GetServiceAndDependenciesParams) SetPlatform(platform *string)
SetPlatform adds the platform to the get service and dependencies params
func (*GetServiceAndDependenciesParams) SetServices ¶
func (o *GetServiceAndDependenciesParams) SetServices(services []string)
SetServices adds the services to the get service and dependencies params
func (*GetServiceAndDependenciesParams) SetTimeout ¶
func (o *GetServiceAndDependenciesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get service and dependencies params
func (*GetServiceAndDependenciesParams) SetWorkspaceID ¶
func (o *GetServiceAndDependenciesParams) SetWorkspaceID(workspaceID int64)
SetWorkspaceID adds the workspaceId to the get service and dependencies params
func (*GetServiceAndDependenciesParams) WithContext ¶
func (o *GetServiceAndDependenciesParams) WithContext(ctx context.Context) *GetServiceAndDependenciesParams
WithContext adds the context to the get service and dependencies params
func (*GetServiceAndDependenciesParams) WithHTTPClient ¶
func (o *GetServiceAndDependenciesParams) WithHTTPClient(client *http.Client) *GetServiceAndDependenciesParams
WithHTTPClient adds the HTTPClient to the get service and dependencies params
func (*GetServiceAndDependenciesParams) WithPlatform ¶
func (o *GetServiceAndDependenciesParams) WithPlatform(platform *string) *GetServiceAndDependenciesParams
WithPlatform adds the platform to the get service and dependencies params
func (*GetServiceAndDependenciesParams) WithServices ¶
func (o *GetServiceAndDependenciesParams) WithServices(services []string) *GetServiceAndDependenciesParams
WithServices adds the services to the get service and dependencies params
func (*GetServiceAndDependenciesParams) WithTimeout ¶
func (o *GetServiceAndDependenciesParams) WithTimeout(timeout time.Duration) *GetServiceAndDependenciesParams
WithTimeout adds the timeout to the get service and dependencies params
func (*GetServiceAndDependenciesParams) WithWorkspaceID ¶
func (o *GetServiceAndDependenciesParams) WithWorkspaceID(workspaceID int64) *GetServiceAndDependenciesParams
WithWorkspaceID adds the workspaceID to the get service and dependencies params
func (*GetServiceAndDependenciesParams) WriteToRequest ¶
func (o *GetServiceAndDependenciesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetServiceAndDependenciesReader ¶
type GetServiceAndDependenciesReader struct {
// contains filtered or unexported fields
}
GetServiceAndDependenciesReader is a Reader for the GetServiceAndDependencies structure.
func (*GetServiceAndDependenciesReader) ReadResponse ¶
func (o *GetServiceAndDependenciesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetServiceListOK ¶
type GetServiceListOK struct {
Payload *model.SupportedVersionsV4Response
}
GetServiceListOK handles this case with default header values.
successful operation
func NewGetServiceListOK ¶
func NewGetServiceListOK() *GetServiceListOK
NewGetServiceListOK creates a GetServiceListOK with default headers values
func (*GetServiceListOK) Error ¶
func (o *GetServiceListOK) Error() string
type GetServiceListParams ¶
type GetServiceListParams struct { /*WorkspaceID*/ WorkspaceID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetServiceListParams contains all the parameters to send to the API endpoint for the get service list operation typically these are written to a http.Request
func NewGetServiceListParams ¶
func NewGetServiceListParams() *GetServiceListParams
NewGetServiceListParams creates a new GetServiceListParams object with the default values initialized.
func NewGetServiceListParamsWithContext ¶
func NewGetServiceListParamsWithContext(ctx context.Context) *GetServiceListParams
NewGetServiceListParamsWithContext creates a new GetServiceListParams object with the default values initialized, and the ability to set a context for a request
func NewGetServiceListParamsWithHTTPClient ¶
func NewGetServiceListParamsWithHTTPClient(client *http.Client) *GetServiceListParams
NewGetServiceListParamsWithHTTPClient creates a new GetServiceListParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetServiceListParamsWithTimeout ¶
func NewGetServiceListParamsWithTimeout(timeout time.Duration) *GetServiceListParams
NewGetServiceListParamsWithTimeout creates a new GetServiceListParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetServiceListParams) SetContext ¶
func (o *GetServiceListParams) SetContext(ctx context.Context)
SetContext adds the context to the get service list params
func (*GetServiceListParams) SetHTTPClient ¶
func (o *GetServiceListParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get service list params
func (*GetServiceListParams) SetTimeout ¶
func (o *GetServiceListParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get service list params
func (*GetServiceListParams) SetWorkspaceID ¶
func (o *GetServiceListParams) SetWorkspaceID(workspaceID int64)
SetWorkspaceID adds the workspaceId to the get service list params
func (*GetServiceListParams) WithContext ¶
func (o *GetServiceListParams) WithContext(ctx context.Context) *GetServiceListParams
WithContext adds the context to the get service list params
func (*GetServiceListParams) WithHTTPClient ¶
func (o *GetServiceListParams) WithHTTPClient(client *http.Client) *GetServiceListParams
WithHTTPClient adds the HTTPClient to the get service list params
func (*GetServiceListParams) WithTimeout ¶
func (o *GetServiceListParams) WithTimeout(timeout time.Duration) *GetServiceListParams
WithTimeout adds the timeout to the get service list params
func (*GetServiceListParams) WithWorkspaceID ¶
func (o *GetServiceListParams) WithWorkspaceID(workspaceID int64) *GetServiceListParams
WithWorkspaceID adds the workspaceID to the get service list params
func (*GetServiceListParams) WriteToRequest ¶
func (o *GetServiceListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetServiceListReader ¶
type GetServiceListReader struct {
// contains filtered or unexported fields
}
GetServiceListReader is a Reader for the GetServiceList structure.
func (*GetServiceListReader) ReadResponse ¶
func (o *GetServiceListReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetServiceVersionsByBlueprintNameOK ¶
type GetServiceVersionsByBlueprintNameOK struct {
Payload *model.BlueprintServicesV4Response
}
GetServiceVersionsByBlueprintNameOK handles this case with default header values.
successful operation
func NewGetServiceVersionsByBlueprintNameOK ¶
func NewGetServiceVersionsByBlueprintNameOK() *GetServiceVersionsByBlueprintNameOK
NewGetServiceVersionsByBlueprintNameOK creates a GetServiceVersionsByBlueprintNameOK with default headers values
func (*GetServiceVersionsByBlueprintNameOK) Error ¶
func (o *GetServiceVersionsByBlueprintNameOK) Error() string
type GetServiceVersionsByBlueprintNameParams ¶
type GetServiceVersionsByBlueprintNameParams struct { /*BlueprintName*/ BlueprintName *string /*WorkspaceID*/ WorkspaceID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetServiceVersionsByBlueprintNameParams contains all the parameters to send to the API endpoint for the get service versions by blueprint name operation typically these are written to a http.Request
func NewGetServiceVersionsByBlueprintNameParams ¶
func NewGetServiceVersionsByBlueprintNameParams() *GetServiceVersionsByBlueprintNameParams
NewGetServiceVersionsByBlueprintNameParams creates a new GetServiceVersionsByBlueprintNameParams object with the default values initialized.
func NewGetServiceVersionsByBlueprintNameParamsWithContext ¶
func NewGetServiceVersionsByBlueprintNameParamsWithContext(ctx context.Context) *GetServiceVersionsByBlueprintNameParams
NewGetServiceVersionsByBlueprintNameParamsWithContext creates a new GetServiceVersionsByBlueprintNameParams object with the default values initialized, and the ability to set a context for a request
func NewGetServiceVersionsByBlueprintNameParamsWithHTTPClient ¶
func NewGetServiceVersionsByBlueprintNameParamsWithHTTPClient(client *http.Client) *GetServiceVersionsByBlueprintNameParams
NewGetServiceVersionsByBlueprintNameParamsWithHTTPClient creates a new GetServiceVersionsByBlueprintNameParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetServiceVersionsByBlueprintNameParamsWithTimeout ¶
func NewGetServiceVersionsByBlueprintNameParamsWithTimeout(timeout time.Duration) *GetServiceVersionsByBlueprintNameParams
NewGetServiceVersionsByBlueprintNameParamsWithTimeout creates a new GetServiceVersionsByBlueprintNameParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetServiceVersionsByBlueprintNameParams) SetBlueprintName ¶
func (o *GetServiceVersionsByBlueprintNameParams) SetBlueprintName(blueprintName *string)
SetBlueprintName adds the blueprintName to the get service versions by blueprint name params
func (*GetServiceVersionsByBlueprintNameParams) SetContext ¶
func (o *GetServiceVersionsByBlueprintNameParams) SetContext(ctx context.Context)
SetContext adds the context to the get service versions by blueprint name params
func (*GetServiceVersionsByBlueprintNameParams) SetHTTPClient ¶
func (o *GetServiceVersionsByBlueprintNameParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get service versions by blueprint name params
func (*GetServiceVersionsByBlueprintNameParams) SetTimeout ¶
func (o *GetServiceVersionsByBlueprintNameParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get service versions by blueprint name params
func (*GetServiceVersionsByBlueprintNameParams) SetWorkspaceID ¶
func (o *GetServiceVersionsByBlueprintNameParams) SetWorkspaceID(workspaceID int64)
SetWorkspaceID adds the workspaceId to the get service versions by blueprint name params
func (*GetServiceVersionsByBlueprintNameParams) WithBlueprintName ¶
func (o *GetServiceVersionsByBlueprintNameParams) WithBlueprintName(blueprintName *string) *GetServiceVersionsByBlueprintNameParams
WithBlueprintName adds the blueprintName to the get service versions by blueprint name params
func (*GetServiceVersionsByBlueprintNameParams) WithContext ¶
func (o *GetServiceVersionsByBlueprintNameParams) WithContext(ctx context.Context) *GetServiceVersionsByBlueprintNameParams
WithContext adds the context to the get service versions by blueprint name params
func (*GetServiceVersionsByBlueprintNameParams) WithHTTPClient ¶
func (o *GetServiceVersionsByBlueprintNameParams) WithHTTPClient(client *http.Client) *GetServiceVersionsByBlueprintNameParams
WithHTTPClient adds the HTTPClient to the get service versions by blueprint name params
func (*GetServiceVersionsByBlueprintNameParams) WithTimeout ¶
func (o *GetServiceVersionsByBlueprintNameParams) WithTimeout(timeout time.Duration) *GetServiceVersionsByBlueprintNameParams
WithTimeout adds the timeout to the get service versions by blueprint name params
func (*GetServiceVersionsByBlueprintNameParams) WithWorkspaceID ¶
func (o *GetServiceVersionsByBlueprintNameParams) WithWorkspaceID(workspaceID int64) *GetServiceVersionsByBlueprintNameParams
WithWorkspaceID adds the workspaceID to the get service versions by blueprint name params
func (*GetServiceVersionsByBlueprintNameParams) WriteToRequest ¶
func (o *GetServiceVersionsByBlueprintNameParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetServiceVersionsByBlueprintNameReader ¶
type GetServiceVersionsByBlueprintNameReader struct {
// contains filtered or unexported fields
}
GetServiceVersionsByBlueprintNameReader is a Reader for the GetServiceVersionsByBlueprintName structure.
func (*GetServiceVersionsByBlueprintNameReader) ReadResponse ¶
func (o *GetServiceVersionsByBlueprintNameReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files
¶
- create_recommendation_for_workspace_parameters.go
- create_recommendation_for_workspace_responses.go
- get_generated_template_parameters.go
- get_generated_template_responses.go
- get_service_and_dependencies_parameters.go
- get_service_and_dependencies_responses.go
- get_service_list_parameters.go
- get_service_list_responses.go
- get_service_versions_by_blueprint_name_parameters.go
- get_service_versions_by_blueprint_name_responses.go
- v4_workspace_id_blueprints_util_client.go