azure

package
v0.0.0-...-b25b198 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 28, 2023 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const ApplyTKGConfigForAzureBadRequestCode int = 400

ApplyTKGConfigForAzureBadRequestCode is the HTTP code returned for type ApplyTKGConfigForAzureBadRequest

View Source
const ApplyTKGConfigForAzureInternalServerErrorCode int = 500

ApplyTKGConfigForAzureInternalServerErrorCode is the HTTP code returned for type ApplyTKGConfigForAzureInternalServerError

View Source
const ApplyTKGConfigForAzureOKCode int = 200

ApplyTKGConfigForAzureOKCode is the HTTP code returned for type ApplyTKGConfigForAzureOK

View Source
const ApplyTKGConfigForAzureUnauthorizedCode int = 401

ApplyTKGConfigForAzureUnauthorizedCode is the HTTP code returned for type ApplyTKGConfigForAzureUnauthorized

View Source
const CreateAzureRegionalClusterBadRequestCode int = 400

CreateAzureRegionalClusterBadRequestCode is the HTTP code returned for type CreateAzureRegionalClusterBadRequest

View Source
const CreateAzureRegionalClusterInternalServerErrorCode int = 500

CreateAzureRegionalClusterInternalServerErrorCode is the HTTP code returned for type CreateAzureRegionalClusterInternalServerError

View Source
const CreateAzureRegionalClusterOKCode int = 200

CreateAzureRegionalClusterOKCode is the HTTP code returned for type CreateAzureRegionalClusterOK

View Source
const CreateAzureRegionalClusterUnauthorizedCode int = 401

CreateAzureRegionalClusterUnauthorizedCode is the HTTP code returned for type CreateAzureRegionalClusterUnauthorized

View Source
const CreateAzureResourceGroupBadRequestCode int = 400

CreateAzureResourceGroupBadRequestCode is the HTTP code returned for type CreateAzureResourceGroupBadRequest

View Source
const CreateAzureResourceGroupCreatedCode int = 201

CreateAzureResourceGroupCreatedCode is the HTTP code returned for type CreateAzureResourceGroupCreated

View Source
const CreateAzureResourceGroupInternalServerErrorCode int = 500

CreateAzureResourceGroupInternalServerErrorCode is the HTTP code returned for type CreateAzureResourceGroupInternalServerError

View Source
const CreateAzureResourceGroupUnauthorizedCode int = 401

CreateAzureResourceGroupUnauthorizedCode is the HTTP code returned for type CreateAzureResourceGroupUnauthorized

View Source
const CreateAzureVirtualNetworkBadRequestCode int = 400

CreateAzureVirtualNetworkBadRequestCode is the HTTP code returned for type CreateAzureVirtualNetworkBadRequest

View Source
const CreateAzureVirtualNetworkCreatedCode int = 201

CreateAzureVirtualNetworkCreatedCode is the HTTP code returned for type CreateAzureVirtualNetworkCreated

View Source
const CreateAzureVirtualNetworkInternalServerErrorCode int = 500

CreateAzureVirtualNetworkInternalServerErrorCode is the HTTP code returned for type CreateAzureVirtualNetworkInternalServerError

View Source
const CreateAzureVirtualNetworkUnauthorizedCode int = 401

CreateAzureVirtualNetworkUnauthorizedCode is the HTTP code returned for type CreateAzureVirtualNetworkUnauthorized

View Source
const ExportTKGConfigForAzureBadRequestCode int = 400

ExportTKGConfigForAzureBadRequestCode is the HTTP code returned for type ExportTKGConfigForAzureBadRequest

View Source
const ExportTKGConfigForAzureInternalServerErrorCode int = 500

ExportTKGConfigForAzureInternalServerErrorCode is the HTTP code returned for type ExportTKGConfigForAzureInternalServerError

View Source
const ExportTKGConfigForAzureOKCode int = 200

ExportTKGConfigForAzureOKCode is the HTTP code returned for type ExportTKGConfigForAzureOK

View Source
const ExportTKGConfigForAzureUnauthorizedCode int = 401

ExportTKGConfigForAzureUnauthorizedCode is the HTTP code returned for type ExportTKGConfigForAzureUnauthorized

View Source
const GetAzureEndpointBadRequestCode int = 400

GetAzureEndpointBadRequestCode is the HTTP code returned for type GetAzureEndpointBadRequest

View Source
const GetAzureEndpointInternalServerErrorCode int = 500

GetAzureEndpointInternalServerErrorCode is the HTTP code returned for type GetAzureEndpointInternalServerError

View Source
const GetAzureEndpointOKCode int = 200

GetAzureEndpointOKCode is the HTTP code returned for type GetAzureEndpointOK

View Source
const GetAzureEndpointUnauthorizedCode int = 401

GetAzureEndpointUnauthorizedCode is the HTTP code returned for type GetAzureEndpointUnauthorized

View Source
const GetAzureInstanceTypesBadRequestCode int = 400

GetAzureInstanceTypesBadRequestCode is the HTTP code returned for type GetAzureInstanceTypesBadRequest

View Source
const GetAzureInstanceTypesInternalServerErrorCode int = 500

GetAzureInstanceTypesInternalServerErrorCode is the HTTP code returned for type GetAzureInstanceTypesInternalServerError

View Source
const GetAzureInstanceTypesOKCode int = 200

GetAzureInstanceTypesOKCode is the HTTP code returned for type GetAzureInstanceTypesOK

View Source
const GetAzureInstanceTypesUnauthorizedCode int = 401

GetAzureInstanceTypesUnauthorizedCode is the HTTP code returned for type GetAzureInstanceTypesUnauthorized

View Source
const GetAzureOSImagesBadRequestCode int = 400

GetAzureOSImagesBadRequestCode is the HTTP code returned for type GetAzureOSImagesBadRequest

View Source
const GetAzureOSImagesInternalServerErrorCode int = 500

GetAzureOSImagesInternalServerErrorCode is the HTTP code returned for type GetAzureOSImagesInternalServerError

View Source
const GetAzureOSImagesOKCode int = 200

GetAzureOSImagesOKCode is the HTTP code returned for type GetAzureOSImagesOK

View Source
const GetAzureOSImagesUnauthorizedCode int = 401

GetAzureOSImagesUnauthorizedCode is the HTTP code returned for type GetAzureOSImagesUnauthorized

View Source
const GetAzureRegionsBadRequestCode int = 400

GetAzureRegionsBadRequestCode is the HTTP code returned for type GetAzureRegionsBadRequest

View Source
const GetAzureRegionsInternalServerErrorCode int = 500

GetAzureRegionsInternalServerErrorCode is the HTTP code returned for type GetAzureRegionsInternalServerError

View Source
const GetAzureRegionsOKCode int = 200

GetAzureRegionsOKCode is the HTTP code returned for type GetAzureRegionsOK

View Source
const GetAzureRegionsUnauthorizedCode int = 401

GetAzureRegionsUnauthorizedCode is the HTTP code returned for type GetAzureRegionsUnauthorized

View Source
const GetAzureResourceGroupsBadRequestCode int = 400

GetAzureResourceGroupsBadRequestCode is the HTTP code returned for type GetAzureResourceGroupsBadRequest

View Source
const GetAzureResourceGroupsInternalServerErrorCode int = 500

GetAzureResourceGroupsInternalServerErrorCode is the HTTP code returned for type GetAzureResourceGroupsInternalServerError

View Source
const GetAzureResourceGroupsOKCode int = 200

GetAzureResourceGroupsOKCode is the HTTP code returned for type GetAzureResourceGroupsOK

View Source
const GetAzureResourceGroupsUnauthorizedCode int = 401

GetAzureResourceGroupsUnauthorizedCode is the HTTP code returned for type GetAzureResourceGroupsUnauthorized

View Source
const GetAzureVnetsBadRequestCode int = 400

GetAzureVnetsBadRequestCode is the HTTP code returned for type GetAzureVnetsBadRequest

View Source
const GetAzureVnetsInternalServerErrorCode int = 500

GetAzureVnetsInternalServerErrorCode is the HTTP code returned for type GetAzureVnetsInternalServerError

View Source
const GetAzureVnetsOKCode int = 200

GetAzureVnetsOKCode is the HTTP code returned for type GetAzureVnetsOK

View Source
const GetAzureVnetsUnauthorizedCode int = 401

GetAzureVnetsUnauthorizedCode is the HTTP code returned for type GetAzureVnetsUnauthorized

View Source
const ImportTKGConfigForAzureBadRequestCode int = 400

ImportTKGConfigForAzureBadRequestCode is the HTTP code returned for type ImportTKGConfigForAzureBadRequest

View Source
const ImportTKGConfigForAzureInternalServerErrorCode int = 500

ImportTKGConfigForAzureInternalServerErrorCode is the HTTP code returned for type ImportTKGConfigForAzureInternalServerError

View Source
const ImportTKGConfigForAzureOKCode int = 200

ImportTKGConfigForAzureOKCode is the HTTP code returned for type ImportTKGConfigForAzureOK

View Source
const ImportTKGConfigForAzureUnauthorizedCode int = 401

ImportTKGConfigForAzureUnauthorizedCode is the HTTP code returned for type ImportTKGConfigForAzureUnauthorized

View Source
const SetAzureEndpointBadRequestCode int = 400

SetAzureEndpointBadRequestCode is the HTTP code returned for type SetAzureEndpointBadRequest

View Source
const SetAzureEndpointCreatedCode int = 201

SetAzureEndpointCreatedCode is the HTTP code returned for type SetAzureEndpointCreated

View Source
const SetAzureEndpointInternalServerErrorCode int = 500

SetAzureEndpointInternalServerErrorCode is the HTTP code returned for type SetAzureEndpointInternalServerError

View Source
const SetAzureEndpointUnauthorizedCode int = 401

SetAzureEndpointUnauthorizedCode is the HTTP code returned for type SetAzureEndpointUnauthorized

Variables

This section is empty.

Functions

This section is empty.

Types

type ApplyTKGConfigForAzure

type ApplyTKGConfigForAzure struct {
	Context *middleware.Context
	Handler ApplyTKGConfigForAzureHandler
}

ApplyTKGConfigForAzure swagger:route POST /api/providers/azure/tkgconfig azure applyTKGConfigForAzure

Apply the changes to TKG configuration file for Azure"

func NewApplyTKGConfigForAzure

func NewApplyTKGConfigForAzure(ctx *middleware.Context, handler ApplyTKGConfigForAzureHandler) *ApplyTKGConfigForAzure

NewApplyTKGConfigForAzure creates a new http.Handler for the apply t k g config for azure operation

func (*ApplyTKGConfigForAzure) ServeHTTP

func (o *ApplyTKGConfigForAzure) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type ApplyTKGConfigForAzureBadRequest

type ApplyTKGConfigForAzureBadRequest struct {

	/*
	  In: Body
	*/
	Payload *models.Error `json:"body,omitempty"`
}

ApplyTKGConfigForAzureBadRequest Bad request

swagger:response applyTKGConfigForAzureBadRequest

func NewApplyTKGConfigForAzureBadRequest

func NewApplyTKGConfigForAzureBadRequest() *ApplyTKGConfigForAzureBadRequest

NewApplyTKGConfigForAzureBadRequest creates ApplyTKGConfigForAzureBadRequest with default headers values

func (*ApplyTKGConfigForAzureBadRequest) SetPayload

func (o *ApplyTKGConfigForAzureBadRequest) SetPayload(payload *models.Error)

SetPayload sets the payload to the apply t k g config for azure bad request response

func (*ApplyTKGConfigForAzureBadRequest) WithPayload

WithPayload adds the payload to the apply t k g config for azure bad request response

func (*ApplyTKGConfigForAzureBadRequest) WriteResponse

func (o *ApplyTKGConfigForAzureBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type ApplyTKGConfigForAzureHandler

type ApplyTKGConfigForAzureHandler interface {
	Handle(ApplyTKGConfigForAzureParams) middleware.Responder
}

ApplyTKGConfigForAzureHandler interface for that can handle valid apply t k g config for azure params

type ApplyTKGConfigForAzureHandlerFunc

type ApplyTKGConfigForAzureHandlerFunc func(ApplyTKGConfigForAzureParams) middleware.Responder

ApplyTKGConfigForAzureHandlerFunc turns a function with the right signature into a apply t k g config for azure handler

func (ApplyTKGConfigForAzureHandlerFunc) Handle

Handle executing the request and returning a response

type ApplyTKGConfigForAzureInternalServerError

type ApplyTKGConfigForAzureInternalServerError struct {

	/*
	  In: Body
	*/
	Payload *models.Error `json:"body,omitempty"`
}

ApplyTKGConfigForAzureInternalServerError Internal server error

swagger:response applyTKGConfigForAzureInternalServerError

func NewApplyTKGConfigForAzureInternalServerError

func NewApplyTKGConfigForAzureInternalServerError() *ApplyTKGConfigForAzureInternalServerError

NewApplyTKGConfigForAzureInternalServerError creates ApplyTKGConfigForAzureInternalServerError with default headers values

func (*ApplyTKGConfigForAzureInternalServerError) SetPayload

func (o *ApplyTKGConfigForAzureInternalServerError) SetPayload(payload *models.Error)

SetPayload sets the payload to the apply t k g config for azure internal server error response

func (*ApplyTKGConfigForAzureInternalServerError) WithPayload

WithPayload adds the payload to the apply t k g config for azure internal server error response

func (*ApplyTKGConfigForAzureInternalServerError) WriteResponse

WriteResponse to the client

type ApplyTKGConfigForAzureOK

type ApplyTKGConfigForAzureOK struct {

	/*
	  In: Body
	*/
	Payload *models.ConfigFileInfo `json:"body,omitempty"`
}

ApplyTKGConfigForAzureOK Apply change to TKG configuration successfully

swagger:response applyTKGConfigForAzureOK

func NewApplyTKGConfigForAzureOK

func NewApplyTKGConfigForAzureOK() *ApplyTKGConfigForAzureOK

NewApplyTKGConfigForAzureOK creates ApplyTKGConfigForAzureOK with default headers values

func (*ApplyTKGConfigForAzureOK) SetPayload

func (o *ApplyTKGConfigForAzureOK) SetPayload(payload *models.ConfigFileInfo)

SetPayload sets the payload to the apply t k g config for azure o k response

func (*ApplyTKGConfigForAzureOK) WithPayload

WithPayload adds the payload to the apply t k g config for azure o k response

func (*ApplyTKGConfigForAzureOK) WriteResponse

func (o *ApplyTKGConfigForAzureOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type ApplyTKGConfigForAzureParams

type ApplyTKGConfigForAzureParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*parameters to apply changes to TKG configuration file for Azure
	  Required: true
	  In: body
	*/
	Params *models.AzureRegionalClusterParams
}

ApplyTKGConfigForAzureParams contains all the bound params for the apply t k g config for azure operation typically these are obtained from a http.Request

swagger:parameters applyTKGConfigForAzure

func NewApplyTKGConfigForAzureParams

func NewApplyTKGConfigForAzureParams() ApplyTKGConfigForAzureParams

NewApplyTKGConfigForAzureParams creates a new ApplyTKGConfigForAzureParams object no default values defined in spec.

func (*ApplyTKGConfigForAzureParams) BindRequest

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewApplyTKGConfigForAzureParams() beforehand.

type ApplyTKGConfigForAzureURL

type ApplyTKGConfigForAzureURL struct {
	// contains filtered or unexported fields
}

ApplyTKGConfigForAzureURL generates an URL for the apply t k g config for azure operation

func (*ApplyTKGConfigForAzureURL) Build

func (o *ApplyTKGConfigForAzureURL) Build() (*url.URL, error)

Build a url path and query string

func (*ApplyTKGConfigForAzureURL) BuildFull

func (o *ApplyTKGConfigForAzureURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*ApplyTKGConfigForAzureURL) Must

func (o *ApplyTKGConfigForAzureURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*ApplyTKGConfigForAzureURL) SetBasePath

func (o *ApplyTKGConfigForAzureURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*ApplyTKGConfigForAzureURL) String

func (o *ApplyTKGConfigForAzureURL) String() string

String returns the string representation of the path with query string

func (*ApplyTKGConfigForAzureURL) StringFull

func (o *ApplyTKGConfigForAzureURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*ApplyTKGConfigForAzureURL) WithBasePath

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type ApplyTKGConfigForAzureUnauthorized

type ApplyTKGConfigForAzureUnauthorized struct {

	/*
	  In: Body
	*/
	Payload *models.Error `json:"body,omitempty"`
}

ApplyTKGConfigForAzureUnauthorized Incorrect credentials

swagger:response applyTKGConfigForAzureUnauthorized

func NewApplyTKGConfigForAzureUnauthorized

func NewApplyTKGConfigForAzureUnauthorized() *ApplyTKGConfigForAzureUnauthorized

NewApplyTKGConfigForAzureUnauthorized creates ApplyTKGConfigForAzureUnauthorized with default headers values

func (*ApplyTKGConfigForAzureUnauthorized) SetPayload

func (o *ApplyTKGConfigForAzureUnauthorized) SetPayload(payload *models.Error)

SetPayload sets the payload to the apply t k g config for azure unauthorized response

func (*ApplyTKGConfigForAzureUnauthorized) WithPayload

WithPayload adds the payload to the apply t k g config for azure unauthorized response

func (*ApplyTKGConfigForAzureUnauthorized) WriteResponse

WriteResponse to the client

type CreateAzureRegionalCluster

type CreateAzureRegionalCluster struct {
	Context *middleware.Context
	Handler CreateAzureRegionalClusterHandler
}

CreateAzureRegionalCluster swagger:route POST /api/providers/azure/create azure createAzureRegionalCluster

Create Azure regional cluster

func NewCreateAzureRegionalCluster

func NewCreateAzureRegionalCluster(ctx *middleware.Context, handler CreateAzureRegionalClusterHandler) *CreateAzureRegionalCluster

NewCreateAzureRegionalCluster creates a new http.Handler for the create azure regional cluster operation

func (*CreateAzureRegionalCluster) ServeHTTP

type CreateAzureRegionalClusterBadRequest

type CreateAzureRegionalClusterBadRequest struct {

	/*
	  In: Body
	*/
	Payload *models.Error `json:"body,omitempty"`
}

CreateAzureRegionalClusterBadRequest Bad request

swagger:response createAzureRegionalClusterBadRequest

func NewCreateAzureRegionalClusterBadRequest

func NewCreateAzureRegionalClusterBadRequest() *CreateAzureRegionalClusterBadRequest

NewCreateAzureRegionalClusterBadRequest creates CreateAzureRegionalClusterBadRequest with default headers values

func (*CreateAzureRegionalClusterBadRequest) SetPayload

func (o *CreateAzureRegionalClusterBadRequest) SetPayload(payload *models.Error)

SetPayload sets the payload to the create azure regional cluster bad request response

func (*CreateAzureRegionalClusterBadRequest) WithPayload

WithPayload adds the payload to the create azure regional cluster bad request response

func (*CreateAzureRegionalClusterBadRequest) WriteResponse

WriteResponse to the client

type CreateAzureRegionalClusterHandler

type CreateAzureRegionalClusterHandler interface {
	Handle(CreateAzureRegionalClusterParams) middleware.Responder
}

CreateAzureRegionalClusterHandler interface for that can handle valid create azure regional cluster params

type CreateAzureRegionalClusterHandlerFunc

type CreateAzureRegionalClusterHandlerFunc func(CreateAzureRegionalClusterParams) middleware.Responder

CreateAzureRegionalClusterHandlerFunc turns a function with the right signature into a create azure regional cluster handler

func (CreateAzureRegionalClusterHandlerFunc) Handle

Handle executing the request and returning a response

type CreateAzureRegionalClusterInternalServerError

type CreateAzureRegionalClusterInternalServerError struct {

	/*
	  In: Body
	*/
	Payload *models.Error `json:"body,omitempty"`
}

CreateAzureRegionalClusterInternalServerError Internal server error

swagger:response createAzureRegionalClusterInternalServerError

func NewCreateAzureRegionalClusterInternalServerError

func NewCreateAzureRegionalClusterInternalServerError() *CreateAzureRegionalClusterInternalServerError

NewCreateAzureRegionalClusterInternalServerError creates CreateAzureRegionalClusterInternalServerError with default headers values

func (*CreateAzureRegionalClusterInternalServerError) SetPayload

SetPayload sets the payload to the create azure regional cluster internal server error response

func (*CreateAzureRegionalClusterInternalServerError) WithPayload

WithPayload adds the payload to the create azure regional cluster internal server error response

func (*CreateAzureRegionalClusterInternalServerError) WriteResponse

WriteResponse to the client

type CreateAzureRegionalClusterOK

type CreateAzureRegionalClusterOK struct {

	/*
	  In: Body
	*/
	Payload string `json:"body,omitempty"`
}

CreateAzureRegionalClusterOK Creating regional cluster started successfully

swagger:response createAzureRegionalClusterOK

func NewCreateAzureRegionalClusterOK

func NewCreateAzureRegionalClusterOK() *CreateAzureRegionalClusterOK

NewCreateAzureRegionalClusterOK creates CreateAzureRegionalClusterOK with default headers values

func (*CreateAzureRegionalClusterOK) SetPayload

func (o *CreateAzureRegionalClusterOK) SetPayload(payload string)

SetPayload sets the payload to the create azure regional cluster o k response

func (*CreateAzureRegionalClusterOK) WithPayload

WithPayload adds the payload to the create azure regional cluster o k response

func (*CreateAzureRegionalClusterOK) WriteResponse

func (o *CreateAzureRegionalClusterOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type CreateAzureRegionalClusterParams

type CreateAzureRegionalClusterParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*parameters to create a regional cluster
	  Required: true
	  In: body
	*/
	Params *models.AzureRegionalClusterParams
}

CreateAzureRegionalClusterParams contains all the bound params for the create azure regional cluster operation typically these are obtained from a http.Request

swagger:parameters createAzureRegionalCluster

func NewCreateAzureRegionalClusterParams

func NewCreateAzureRegionalClusterParams() CreateAzureRegionalClusterParams

NewCreateAzureRegionalClusterParams creates a new CreateAzureRegionalClusterParams object no default values defined in spec.

func (*CreateAzureRegionalClusterParams) BindRequest

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewCreateAzureRegionalClusterParams() beforehand.

type CreateAzureRegionalClusterURL

type CreateAzureRegionalClusterURL struct {
	// contains filtered or unexported fields
}

CreateAzureRegionalClusterURL generates an URL for the create azure regional cluster operation

func (*CreateAzureRegionalClusterURL) Build

func (o *CreateAzureRegionalClusterURL) Build() (*url.URL, error)

Build a url path and query string

func (*CreateAzureRegionalClusterURL) BuildFull

func (o *CreateAzureRegionalClusterURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*CreateAzureRegionalClusterURL) Must

func (o *CreateAzureRegionalClusterURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*CreateAzureRegionalClusterURL) SetBasePath

func (o *CreateAzureRegionalClusterURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*CreateAzureRegionalClusterURL) String

String returns the string representation of the path with query string

func (*CreateAzureRegionalClusterURL) StringFull

func (o *CreateAzureRegionalClusterURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*CreateAzureRegionalClusterURL) WithBasePath

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type CreateAzureRegionalClusterUnauthorized

type CreateAzureRegionalClusterUnauthorized struct {

	/*
	  In: Body
	*/
	Payload *models.Error `json:"body,omitempty"`
}

CreateAzureRegionalClusterUnauthorized Incorrect credentials

swagger:response createAzureRegionalClusterUnauthorized

func NewCreateAzureRegionalClusterUnauthorized

func NewCreateAzureRegionalClusterUnauthorized() *CreateAzureRegionalClusterUnauthorized

NewCreateAzureRegionalClusterUnauthorized creates CreateAzureRegionalClusterUnauthorized with default headers values

func (*CreateAzureRegionalClusterUnauthorized) SetPayload

func (o *CreateAzureRegionalClusterUnauthorized) SetPayload(payload *models.Error)

SetPayload sets the payload to the create azure regional cluster unauthorized response

func (*CreateAzureRegionalClusterUnauthorized) WithPayload

WithPayload adds the payload to the create azure regional cluster unauthorized response

func (*CreateAzureRegionalClusterUnauthorized) WriteResponse

WriteResponse to the client

type CreateAzureResourceGroup

type CreateAzureResourceGroup struct {
	Context *middleware.Context
	Handler CreateAzureResourceGroupHandler
}

CreateAzureResourceGroup swagger:route POST /api/providers/azure/resourcegroups azure createAzureResourceGroup

Create a new Azure resource group

func NewCreateAzureResourceGroup

func NewCreateAzureResourceGroup(ctx *middleware.Context, handler CreateAzureResourceGroupHandler) *CreateAzureResourceGroup

NewCreateAzureResourceGroup creates a new http.Handler for the create azure resource group operation

func (*CreateAzureResourceGroup) ServeHTTP

type CreateAzureResourceGroupBadRequest

type CreateAzureResourceGroupBadRequest struct {

	/*
	  In: Body
	*/
	Payload *models.Error `json:"body,omitempty"`
}

CreateAzureResourceGroupBadRequest Bad request

swagger:response createAzureResourceGroupBadRequest

func NewCreateAzureResourceGroupBadRequest

func NewCreateAzureResourceGroupBadRequest() *CreateAzureResourceGroupBadRequest

NewCreateAzureResourceGroupBadRequest creates CreateAzureResourceGroupBadRequest with default headers values

func (*CreateAzureResourceGroupBadRequest) SetPayload

func (o *CreateAzureResourceGroupBadRequest) SetPayload(payload *models.Error)

SetPayload sets the payload to the create azure resource group bad request response

func (*CreateAzureResourceGroupBadRequest) WithPayload

WithPayload adds the payload to the create azure resource group bad request response

func (*CreateAzureResourceGroupBadRequest) WriteResponse

WriteResponse to the client

type CreateAzureResourceGroupCreated

type CreateAzureResourceGroupCreated struct {

	/*
	  In: Body
	*/
	Payload string `json:"body,omitempty"`
}

CreateAzureResourceGroupCreated Successfully created Azure resource group

swagger:response createAzureResourceGroupCreated

func NewCreateAzureResourceGroupCreated

func NewCreateAzureResourceGroupCreated() *CreateAzureResourceGroupCreated

NewCreateAzureResourceGroupCreated creates CreateAzureResourceGroupCreated with default headers values

func (*CreateAzureResourceGroupCreated) SetPayload

func (o *CreateAzureResourceGroupCreated) SetPayload(payload string)

SetPayload sets the payload to the create azure resource group created response

func (*CreateAzureResourceGroupCreated) WithPayload

WithPayload adds the payload to the create azure resource group created response

func (*CreateAzureResourceGroupCreated) WriteResponse

func (o *CreateAzureResourceGroupCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type CreateAzureResourceGroupHandler

type CreateAzureResourceGroupHandler interface {
	Handle(CreateAzureResourceGroupParams) middleware.Responder
}

CreateAzureResourceGroupHandler interface for that can handle valid create azure resource group params

type CreateAzureResourceGroupHandlerFunc

type CreateAzureResourceGroupHandlerFunc func(CreateAzureResourceGroupParams) middleware.Responder

CreateAzureResourceGroupHandlerFunc turns a function with the right signature into a create azure resource group handler

func (CreateAzureResourceGroupHandlerFunc) Handle

Handle executing the request and returning a response

type CreateAzureResourceGroupInternalServerError

type CreateAzureResourceGroupInternalServerError struct {

	/*
	  In: Body
	*/
	Payload *models.Error `json:"body,omitempty"`
}

CreateAzureResourceGroupInternalServerError Internal server error

swagger:response createAzureResourceGroupInternalServerError

func NewCreateAzureResourceGroupInternalServerError

func NewCreateAzureResourceGroupInternalServerError() *CreateAzureResourceGroupInternalServerError

NewCreateAzureResourceGroupInternalServerError creates CreateAzureResourceGroupInternalServerError with default headers values

func (*CreateAzureResourceGroupInternalServerError) SetPayload

SetPayload sets the payload to the create azure resource group internal server error response

func (*CreateAzureResourceGroupInternalServerError) WithPayload

WithPayload adds the payload to the create azure resource group internal server error response

func (*CreateAzureResourceGroupInternalServerError) WriteResponse

WriteResponse to the client

type CreateAzureResourceGroupParams

type CreateAzureResourceGroupParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*parameters to create a new Azure resource group
	  Required: true
	  In: body
	*/
	Params *models.AzureResourceGroup
}

CreateAzureResourceGroupParams contains all the bound params for the create azure resource group operation typically these are obtained from a http.Request

swagger:parameters createAzureResourceGroup

func NewCreateAzureResourceGroupParams

func NewCreateAzureResourceGroupParams() CreateAzureResourceGroupParams

NewCreateAzureResourceGroupParams creates a new CreateAzureResourceGroupParams object no default values defined in spec.

func (*CreateAzureResourceGroupParams) BindRequest

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewCreateAzureResourceGroupParams() beforehand.

type CreateAzureResourceGroupURL

type CreateAzureResourceGroupURL struct {
	// contains filtered or unexported fields
}

CreateAzureResourceGroupURL generates an URL for the create azure resource group operation

func (*CreateAzureResourceGroupURL) Build

func (o *CreateAzureResourceGroupURL) Build() (*url.URL, error)

Build a url path and query string

func (*CreateAzureResourceGroupURL) BuildFull

func (o *CreateAzureResourceGroupURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*CreateAzureResourceGroupURL) Must

func (o *CreateAzureResourceGroupURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*CreateAzureResourceGroupURL) SetBasePath

func (o *CreateAzureResourceGroupURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*CreateAzureResourceGroupURL) String

func (o *CreateAzureResourceGroupURL) String() string

String returns the string representation of the path with query string

func (*CreateAzureResourceGroupURL) StringFull

func (o *CreateAzureResourceGroupURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*CreateAzureResourceGroupURL) WithBasePath

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type CreateAzureResourceGroupUnauthorized

type CreateAzureResourceGroupUnauthorized struct {

	/*
	  In: Body
	*/
	Payload *models.Error `json:"body,omitempty"`
}

CreateAzureResourceGroupUnauthorized Incorrect credentials

swagger:response createAzureResourceGroupUnauthorized

func NewCreateAzureResourceGroupUnauthorized

func NewCreateAzureResourceGroupUnauthorized() *CreateAzureResourceGroupUnauthorized

NewCreateAzureResourceGroupUnauthorized creates CreateAzureResourceGroupUnauthorized with default headers values

func (*CreateAzureResourceGroupUnauthorized) SetPayload

func (o *CreateAzureResourceGroupUnauthorized) SetPayload(payload *models.Error)

SetPayload sets the payload to the create azure resource group unauthorized response

func (*CreateAzureResourceGroupUnauthorized) WithPayload

WithPayload adds the payload to the create azure resource group unauthorized response

func (*CreateAzureResourceGroupUnauthorized) WriteResponse

WriteResponse to the client

type CreateAzureVirtualNetwork

type CreateAzureVirtualNetwork struct {
	Context *middleware.Context
	Handler CreateAzureVirtualNetworkHandler
}

CreateAzureVirtualNetwork swagger:route POST /api/providers/azure/resourcegroups/{resourceGroupName}/vnets azure createAzureVirtualNetwork

Create a new Azure Virtual Network

func NewCreateAzureVirtualNetwork

func NewCreateAzureVirtualNetwork(ctx *middleware.Context, handler CreateAzureVirtualNetworkHandler) *CreateAzureVirtualNetwork

NewCreateAzureVirtualNetwork creates a new http.Handler for the create azure virtual network operation

func (*CreateAzureVirtualNetwork) ServeHTTP

type CreateAzureVirtualNetworkBadRequest

type CreateAzureVirtualNetworkBadRequest struct {

	/*
	  In: Body
	*/
	Payload *models.Error `json:"body,omitempty"`
}

CreateAzureVirtualNetworkBadRequest Bad request

swagger:response createAzureVirtualNetworkBadRequest

func NewCreateAzureVirtualNetworkBadRequest

func NewCreateAzureVirtualNetworkBadRequest() *CreateAzureVirtualNetworkBadRequest

NewCreateAzureVirtualNetworkBadRequest creates CreateAzureVirtualNetworkBadRequest with default headers values

func (*CreateAzureVirtualNetworkBadRequest) SetPayload

func (o *CreateAzureVirtualNetworkBadRequest) SetPayload(payload *models.Error)

SetPayload sets the payload to the create azure virtual network bad request response

func (*CreateAzureVirtualNetworkBadRequest) WithPayload

WithPayload adds the payload to the create azure virtual network bad request response

func (*CreateAzureVirtualNetworkBadRequest) WriteResponse

WriteResponse to the client

type CreateAzureVirtualNetworkCreated

type CreateAzureVirtualNetworkCreated struct {

	/*
	  In: Body
	*/
	Payload string `json:"body,omitempty"`
}

CreateAzureVirtualNetworkCreated Successfully created Azure Virtual network

swagger:response createAzureVirtualNetworkCreated

func NewCreateAzureVirtualNetworkCreated

func NewCreateAzureVirtualNetworkCreated() *CreateAzureVirtualNetworkCreated

NewCreateAzureVirtualNetworkCreated creates CreateAzureVirtualNetworkCreated with default headers values

func (*CreateAzureVirtualNetworkCreated) SetPayload

func (o *CreateAzureVirtualNetworkCreated) SetPayload(payload string)

SetPayload sets the payload to the create azure virtual network created response

func (*CreateAzureVirtualNetworkCreated) WithPayload

WithPayload adds the payload to the create azure virtual network created response

func (*CreateAzureVirtualNetworkCreated) WriteResponse

func (o *CreateAzureVirtualNetworkCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type CreateAzureVirtualNetworkHandler

type CreateAzureVirtualNetworkHandler interface {
	Handle(CreateAzureVirtualNetworkParams) middleware.Responder
}

CreateAzureVirtualNetworkHandler interface for that can handle valid create azure virtual network params

type CreateAzureVirtualNetworkHandlerFunc

type CreateAzureVirtualNetworkHandlerFunc func(CreateAzureVirtualNetworkParams) middleware.Responder

CreateAzureVirtualNetworkHandlerFunc turns a function with the right signature into a create azure virtual network handler

func (CreateAzureVirtualNetworkHandlerFunc) Handle

Handle executing the request and returning a response

type CreateAzureVirtualNetworkInternalServerError

type CreateAzureVirtualNetworkInternalServerError struct {

	/*
	  In: Body
	*/
	Payload *models.Error `json:"body,omitempty"`
}

CreateAzureVirtualNetworkInternalServerError Internal server error

swagger:response createAzureVirtualNetworkInternalServerError

func NewCreateAzureVirtualNetworkInternalServerError

func NewCreateAzureVirtualNetworkInternalServerError() *CreateAzureVirtualNetworkInternalServerError

NewCreateAzureVirtualNetworkInternalServerError creates CreateAzureVirtualNetworkInternalServerError with default headers values

func (*CreateAzureVirtualNetworkInternalServerError) SetPayload

SetPayload sets the payload to the create azure virtual network internal server error response

func (*CreateAzureVirtualNetworkInternalServerError) WithPayload

WithPayload adds the payload to the create azure virtual network internal server error response

func (*CreateAzureVirtualNetworkInternalServerError) WriteResponse

WriteResponse to the client

type CreateAzureVirtualNetworkParams

type CreateAzureVirtualNetworkParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*parameters to create a new Azure Virtual network
	  Required: true
	  In: body
	*/
	Params *models.AzureVirtualNetwork
	/*Name of the Azure resource group
	  Required: true
	  In: path
	*/
	ResourceGroupName string
}

CreateAzureVirtualNetworkParams contains all the bound params for the create azure virtual network operation typically these are obtained from a http.Request

swagger:parameters createAzureVirtualNetwork

func NewCreateAzureVirtualNetworkParams

func NewCreateAzureVirtualNetworkParams() CreateAzureVirtualNetworkParams

NewCreateAzureVirtualNetworkParams creates a new CreateAzureVirtualNetworkParams object no default values defined in spec.

func (*CreateAzureVirtualNetworkParams) BindRequest

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewCreateAzureVirtualNetworkParams() beforehand.

type CreateAzureVirtualNetworkURL

type CreateAzureVirtualNetworkURL struct {
	ResourceGroupName string
	// contains filtered or unexported fields
}

CreateAzureVirtualNetworkURL generates an URL for the create azure virtual network operation

func (*CreateAzureVirtualNetworkURL) Build

func (o *CreateAzureVirtualNetworkURL) Build() (*url.URL, error)

Build a url path and query string

func (*CreateAzureVirtualNetworkURL) BuildFull

func (o *CreateAzureVirtualNetworkURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*CreateAzureVirtualNetworkURL) Must

func (o *CreateAzureVirtualNetworkURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*CreateAzureVirtualNetworkURL) SetBasePath

func (o *CreateAzureVirtualNetworkURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*CreateAzureVirtualNetworkURL) String

String returns the string representation of the path with query string

func (*CreateAzureVirtualNetworkURL) StringFull

func (o *CreateAzureVirtualNetworkURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*CreateAzureVirtualNetworkURL) WithBasePath

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type CreateAzureVirtualNetworkUnauthorized

type CreateAzureVirtualNetworkUnauthorized struct {

	/*
	  In: Body
	*/
	Payload *models.Error `json:"body,omitempty"`
}

CreateAzureVirtualNetworkUnauthorized Incorrect credentials

swagger:response createAzureVirtualNetworkUnauthorized

func NewCreateAzureVirtualNetworkUnauthorized

func NewCreateAzureVirtualNetworkUnauthorized() *CreateAzureVirtualNetworkUnauthorized

NewCreateAzureVirtualNetworkUnauthorized creates CreateAzureVirtualNetworkUnauthorized with default headers values

func (*CreateAzureVirtualNetworkUnauthorized) SetPayload

func (o *CreateAzureVirtualNetworkUnauthorized) SetPayload(payload *models.Error)

SetPayload sets the payload to the create azure virtual network unauthorized response

func (*CreateAzureVirtualNetworkUnauthorized) WithPayload

WithPayload adds the payload to the create azure virtual network unauthorized response

func (*CreateAzureVirtualNetworkUnauthorized) WriteResponse

WriteResponse to the client

type ExportTKGConfigForAzure

type ExportTKGConfigForAzure struct {
	Context *middleware.Context
	Handler ExportTKGConfigForAzureHandler
}

ExportTKGConfigForAzure swagger:route POST /api/providers/azure/config/export azure exportTKGConfigForAzure

Generate TKG configuration file for Azure"

func NewExportTKGConfigForAzure

func NewExportTKGConfigForAzure(ctx *middleware.Context, handler ExportTKGConfigForAzureHandler) *ExportTKGConfigForAzure

NewExportTKGConfigForAzure creates a new http.Handler for the export t k g config for azure operation

func (*ExportTKGConfigForAzure) ServeHTTP

type ExportTKGConfigForAzureBadRequest

type ExportTKGConfigForAzureBadRequest struct {

	/*
	  In: Body
	*/
	Payload *models.Error `json:"body,omitempty"`
}

ExportTKGConfigForAzureBadRequest Bad request

swagger:response exportTKGConfigForAzureBadRequest

func NewExportTKGConfigForAzureBadRequest

func NewExportTKGConfigForAzureBadRequest() *ExportTKGConfigForAzureBadRequest

NewExportTKGConfigForAzureBadRequest creates ExportTKGConfigForAzureBadRequest with default headers values

func (*ExportTKGConfigForAzureBadRequest) SetPayload

func (o *ExportTKGConfigForAzureBadRequest) SetPayload(payload *models.Error)

SetPayload sets the payload to the export t k g config for azure bad request response

func (*ExportTKGConfigForAzureBadRequest) WithPayload

WithPayload adds the payload to the export t k g config for azure bad request response

func (*ExportTKGConfigForAzureBadRequest) WriteResponse

func (o *ExportTKGConfigForAzureBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type ExportTKGConfigForAzureHandler

type ExportTKGConfigForAzureHandler interface {
	Handle(ExportTKGConfigForAzureParams) middleware.Responder
}

ExportTKGConfigForAzureHandler interface for that can handle valid export t k g config for azure params

type ExportTKGConfigForAzureHandlerFunc

type ExportTKGConfigForAzureHandlerFunc func(ExportTKGConfigForAzureParams) middleware.Responder

ExportTKGConfigForAzureHandlerFunc turns a function with the right signature into a export t k g config for azure handler

func (ExportTKGConfigForAzureHandlerFunc) Handle

Handle executing the request and returning a response

type ExportTKGConfigForAzureInternalServerError

type ExportTKGConfigForAzureInternalServerError struct {

	/*
	  In: Body
	*/
	Payload *models.Error `json:"body,omitempty"`
}

ExportTKGConfigForAzureInternalServerError Internal server error

swagger:response exportTKGConfigForAzureInternalServerError

func NewExportTKGConfigForAzureInternalServerError

func NewExportTKGConfigForAzureInternalServerError() *ExportTKGConfigForAzureInternalServerError

NewExportTKGConfigForAzureInternalServerError creates ExportTKGConfigForAzureInternalServerError with default headers values

func (*ExportTKGConfigForAzureInternalServerError) SetPayload

SetPayload sets the payload to the export t k g config for azure internal server error response

func (*ExportTKGConfigForAzureInternalServerError) WithPayload

WithPayload adds the payload to the export t k g config for azure internal server error response

func (*ExportTKGConfigForAzureInternalServerError) WriteResponse

WriteResponse to the client

type ExportTKGConfigForAzureOK

type ExportTKGConfigForAzureOK struct {

	/*
	  In: Body
	*/
	Payload string `json:"body,omitempty"`
}

ExportTKGConfigForAzureOK Generated TKG configuration successfully

swagger:response exportTKGConfigForAzureOK

func NewExportTKGConfigForAzureOK

func NewExportTKGConfigForAzureOK() *ExportTKGConfigForAzureOK

NewExportTKGConfigForAzureOK creates ExportTKGConfigForAzureOK with default headers values

func (*ExportTKGConfigForAzureOK) SetPayload

func (o *ExportTKGConfigForAzureOK) SetPayload(payload string)

SetPayload sets the payload to the export t k g config for azure o k response

func (*ExportTKGConfigForAzureOK) WithPayload

WithPayload adds the payload to the export t k g config for azure o k response

func (*ExportTKGConfigForAzureOK) WriteResponse

func (o *ExportTKGConfigForAzureOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type ExportTKGConfigForAzureParams

type ExportTKGConfigForAzureParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*parameters to generate TKG configuration file for Azure
	  Required: true
	  In: body
	*/
	Params *models.AzureRegionalClusterParams
}

ExportTKGConfigForAzureParams contains all the bound params for the export t k g config for azure operation typically these are obtained from a http.Request

swagger:parameters exportTKGConfigForAzure

func NewExportTKGConfigForAzureParams

func NewExportTKGConfigForAzureParams() ExportTKGConfigForAzureParams

NewExportTKGConfigForAzureParams creates a new ExportTKGConfigForAzureParams object no default values defined in spec.

func (*ExportTKGConfigForAzureParams) BindRequest

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewExportTKGConfigForAzureParams() beforehand.

type ExportTKGConfigForAzureURL

type ExportTKGConfigForAzureURL struct {
	// contains filtered or unexported fields
}

ExportTKGConfigForAzureURL generates an URL for the export t k g config for azure operation

func (*ExportTKGConfigForAzureURL) Build

func (o *ExportTKGConfigForAzureURL) Build() (*url.URL, error)

Build a url path and query string

func (*ExportTKGConfigForAzureURL) BuildFull

func (o *ExportTKGConfigForAzureURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*ExportTKGConfigForAzureURL) Must

func (o *ExportTKGConfigForAzureURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*ExportTKGConfigForAzureURL) SetBasePath

func (o *ExportTKGConfigForAzureURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*ExportTKGConfigForAzureURL) String

func (o *ExportTKGConfigForAzureURL) String() string

String returns the string representation of the path with query string

func (*ExportTKGConfigForAzureURL) StringFull

func (o *ExportTKGConfigForAzureURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*ExportTKGConfigForAzureURL) WithBasePath

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type ExportTKGConfigForAzureUnauthorized

type ExportTKGConfigForAzureUnauthorized struct {

	/*
	  In: Body
	*/
	Payload *models.Error `json:"body,omitempty"`
}

ExportTKGConfigForAzureUnauthorized Incorrect credentials

swagger:response exportTKGConfigForAzureUnauthorized

func NewExportTKGConfigForAzureUnauthorized

func NewExportTKGConfigForAzureUnauthorized() *ExportTKGConfigForAzureUnauthorized

NewExportTKGConfigForAzureUnauthorized creates ExportTKGConfigForAzureUnauthorized with default headers values

func (*ExportTKGConfigForAzureUnauthorized) SetPayload

func (o *ExportTKGConfigForAzureUnauthorized) SetPayload(payload *models.Error)

SetPayload sets the payload to the export t k g config for azure unauthorized response

func (*ExportTKGConfigForAzureUnauthorized) WithPayload

WithPayload adds the payload to the export t k g config for azure unauthorized response

func (*ExportTKGConfigForAzureUnauthorized) WriteResponse

WriteResponse to the client

type GetAzureEndpoint

type GetAzureEndpoint struct {
	Context *middleware.Context
	Handler GetAzureEndpointHandler
}

GetAzureEndpoint swagger:route GET /api/providers/azure azure getAzureEndpoint

Retrieve azure account params from environment variables

func NewGetAzureEndpoint

func NewGetAzureEndpoint(ctx *middleware.Context, handler GetAzureEndpointHandler) *GetAzureEndpoint

NewGetAzureEndpoint creates a new http.Handler for the get azure endpoint operation

func (*GetAzureEndpoint) ServeHTTP

func (o *GetAzureEndpoint) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type GetAzureEndpointBadRequest

type GetAzureEndpointBadRequest struct {

	/*
	  In: Body
	*/
	Payload *models.Error `json:"body,omitempty"`
}

GetAzureEndpointBadRequest Bad Request

swagger:response getAzureEndpointBadRequest

func NewGetAzureEndpointBadRequest

func NewGetAzureEndpointBadRequest() *GetAzureEndpointBadRequest

NewGetAzureEndpointBadRequest creates GetAzureEndpointBadRequest with default headers values

func (*GetAzureEndpointBadRequest) SetPayload

func (o *GetAzureEndpointBadRequest) SetPayload(payload *models.Error)

SetPayload sets the payload to the get azure endpoint bad request response

func (*GetAzureEndpointBadRequest) WithPayload

WithPayload adds the payload to the get azure endpoint bad request response

func (*GetAzureEndpointBadRequest) WriteResponse

func (o *GetAzureEndpointBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetAzureEndpointHandler

type GetAzureEndpointHandler interface {
	Handle(GetAzureEndpointParams) middleware.Responder
}

GetAzureEndpointHandler interface for that can handle valid get azure endpoint params

type GetAzureEndpointHandlerFunc

type GetAzureEndpointHandlerFunc func(GetAzureEndpointParams) middleware.Responder

GetAzureEndpointHandlerFunc turns a function with the right signature into a get azure endpoint handler

func (GetAzureEndpointHandlerFunc) Handle

Handle executing the request and returning a response

type GetAzureEndpointInternalServerError

type GetAzureEndpointInternalServerError struct {

	/*
	  In: Body
	*/
	Payload *models.Error `json:"body,omitempty"`
}

GetAzureEndpointInternalServerError Internal server error

swagger:response getAzureEndpointInternalServerError

func NewGetAzureEndpointInternalServerError

func NewGetAzureEndpointInternalServerError() *GetAzureEndpointInternalServerError

NewGetAzureEndpointInternalServerError creates GetAzureEndpointInternalServerError with default headers values

func (*GetAzureEndpointInternalServerError) SetPayload

func (o *GetAzureEndpointInternalServerError) SetPayload(payload *models.Error)

SetPayload sets the payload to the get azure endpoint internal server error response

func (*GetAzureEndpointInternalServerError) WithPayload

WithPayload adds the payload to the get azure endpoint internal server error response

func (*GetAzureEndpointInternalServerError) WriteResponse

WriteResponse to the client

type GetAzureEndpointOK

type GetAzureEndpointOK struct {

	/*
	  In: Body
	*/
	Payload *models.AzureAccountParams `json:"body,omitempty"`
}

GetAzureEndpointOK Successful retrieval of Azure account parameters

swagger:response getAzureEndpointOK

func NewGetAzureEndpointOK

func NewGetAzureEndpointOK() *GetAzureEndpointOK

NewGetAzureEndpointOK creates GetAzureEndpointOK with default headers values

func (*GetAzureEndpointOK) SetPayload

func (o *GetAzureEndpointOK) SetPayload(payload *models.AzureAccountParams)

SetPayload sets the payload to the get azure endpoint o k response

func (*GetAzureEndpointOK) WithPayload

WithPayload adds the payload to the get azure endpoint o k response

func (*GetAzureEndpointOK) WriteResponse

func (o *GetAzureEndpointOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetAzureEndpointParams

type GetAzureEndpointParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`
}

GetAzureEndpointParams contains all the bound params for the get azure endpoint operation typically these are obtained from a http.Request

swagger:parameters getAzureEndpoint

func NewGetAzureEndpointParams

func NewGetAzureEndpointParams() GetAzureEndpointParams

NewGetAzureEndpointParams creates a new GetAzureEndpointParams object no default values defined in spec.

func (*GetAzureEndpointParams) BindRequest

func (o *GetAzureEndpointParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewGetAzureEndpointParams() beforehand.

type GetAzureEndpointURL

type GetAzureEndpointURL struct {
	// contains filtered or unexported fields
}

GetAzureEndpointURL generates an URL for the get azure endpoint operation

func (*GetAzureEndpointURL) Build

func (o *GetAzureEndpointURL) Build() (*url.URL, error)

Build a url path and query string

func (*GetAzureEndpointURL) BuildFull

func (o *GetAzureEndpointURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*GetAzureEndpointURL) Must

func (o *GetAzureEndpointURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*GetAzureEndpointURL) SetBasePath

func (o *GetAzureEndpointURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*GetAzureEndpointURL) String

func (o *GetAzureEndpointURL) String() string

String returns the string representation of the path with query string

func (*GetAzureEndpointURL) StringFull

func (o *GetAzureEndpointURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*GetAzureEndpointURL) WithBasePath

func (o *GetAzureEndpointURL) WithBasePath(bp string) *GetAzureEndpointURL

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type GetAzureEndpointUnauthorized

type GetAzureEndpointUnauthorized struct {

	/*
	  In: Body
	*/
	Payload *models.Error `json:"body,omitempty"`
}

GetAzureEndpointUnauthorized Incorrect credentials

swagger:response getAzureEndpointUnauthorized

func NewGetAzureEndpointUnauthorized

func NewGetAzureEndpointUnauthorized() *GetAzureEndpointUnauthorized

NewGetAzureEndpointUnauthorized creates GetAzureEndpointUnauthorized with default headers values

func (*GetAzureEndpointUnauthorized) SetPayload

func (o *GetAzureEndpointUnauthorized) SetPayload(payload *models.Error)

SetPayload sets the payload to the get azure endpoint unauthorized response

func (*GetAzureEndpointUnauthorized) WithPayload

WithPayload adds the payload to the get azure endpoint unauthorized response

func (*GetAzureEndpointUnauthorized) WriteResponse

func (o *GetAzureEndpointUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetAzureInstanceTypes

type GetAzureInstanceTypes struct {
	Context *middleware.Context
	Handler GetAzureInstanceTypesHandler
}

GetAzureInstanceTypes swagger:route GET /api/providers/azure/regions/{location}/instanceTypes azure getAzureInstanceTypes

Retrieve list of supported Azure instance types for a region

func NewGetAzureInstanceTypes

func NewGetAzureInstanceTypes(ctx *middleware.Context, handler GetAzureInstanceTypesHandler) *GetAzureInstanceTypes

NewGetAzureInstanceTypes creates a new http.Handler for the get azure instance types operation

func (*GetAzureInstanceTypes) ServeHTTP

func (o *GetAzureInstanceTypes) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type GetAzureInstanceTypesBadRequest

type GetAzureInstanceTypesBadRequest struct {

	/*
	  In: Body
	*/
	Payload *models.Error `json:"body,omitempty"`
}

GetAzureInstanceTypesBadRequest Bad Request

swagger:response getAzureInstanceTypesBadRequest

func NewGetAzureInstanceTypesBadRequest

func NewGetAzureInstanceTypesBadRequest() *GetAzureInstanceTypesBadRequest

NewGetAzureInstanceTypesBadRequest creates GetAzureInstanceTypesBadRequest with default headers values

func (*GetAzureInstanceTypesBadRequest) SetPayload

func (o *GetAzureInstanceTypesBadRequest) SetPayload(payload *models.Error)

SetPayload sets the payload to the get azure instance types bad request response

func (*GetAzureInstanceTypesBadRequest) WithPayload

WithPayload adds the payload to the get azure instance types bad request response

func (*GetAzureInstanceTypesBadRequest) WriteResponse

func (o *GetAzureInstanceTypesBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetAzureInstanceTypesHandler

type GetAzureInstanceTypesHandler interface {
	Handle(GetAzureInstanceTypesParams) middleware.Responder
}

GetAzureInstanceTypesHandler interface for that can handle valid get azure instance types params

type GetAzureInstanceTypesHandlerFunc

type GetAzureInstanceTypesHandlerFunc func(GetAzureInstanceTypesParams) middleware.Responder

GetAzureInstanceTypesHandlerFunc turns a function with the right signature into a get azure instance types handler

func (GetAzureInstanceTypesHandlerFunc) Handle

Handle executing the request and returning a response

type GetAzureInstanceTypesInternalServerError

type GetAzureInstanceTypesInternalServerError struct {

	/*
	  In: Body
	*/
	Payload *models.Error `json:"body,omitempty"`
}

GetAzureInstanceTypesInternalServerError Internal server error

swagger:response getAzureInstanceTypesInternalServerError

func NewGetAzureInstanceTypesInternalServerError

func NewGetAzureInstanceTypesInternalServerError() *GetAzureInstanceTypesInternalServerError

NewGetAzureInstanceTypesInternalServerError creates GetAzureInstanceTypesInternalServerError with default headers values

func (*GetAzureInstanceTypesInternalServerError) SetPayload

func (o *GetAzureInstanceTypesInternalServerError) SetPayload(payload *models.Error)

SetPayload sets the payload to the get azure instance types internal server error response

func (*GetAzureInstanceTypesInternalServerError) WithPayload

WithPayload adds the payload to the get azure instance types internal server error response

func (*GetAzureInstanceTypesInternalServerError) WriteResponse

WriteResponse to the client

type GetAzureInstanceTypesOK

type GetAzureInstanceTypesOK struct {

	/*
	  In: Body
	*/
	Payload []*models.AzureInstanceType `json:"body,omitempty"`
}

GetAzureInstanceTypesOK Successful retrieval of Azure instance Types

swagger:response getAzureInstanceTypesOK

func NewGetAzureInstanceTypesOK

func NewGetAzureInstanceTypesOK() *GetAzureInstanceTypesOK

NewGetAzureInstanceTypesOK creates GetAzureInstanceTypesOK with default headers values

func (*GetAzureInstanceTypesOK) SetPayload

func (o *GetAzureInstanceTypesOK) SetPayload(payload []*models.AzureInstanceType)

SetPayload sets the payload to the get azure instance types o k response

func (*GetAzureInstanceTypesOK) WithPayload

WithPayload adds the payload to the get azure instance types o k response

func (*GetAzureInstanceTypesOK) WriteResponse

func (o *GetAzureInstanceTypesOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetAzureInstanceTypesParams

type GetAzureInstanceTypesParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*Azure region name
	  Required: true
	  In: path
	*/
	Location string
}

GetAzureInstanceTypesParams contains all the bound params for the get azure instance types operation typically these are obtained from a http.Request

swagger:parameters getAzureInstanceTypes

func NewGetAzureInstanceTypesParams

func NewGetAzureInstanceTypesParams() GetAzureInstanceTypesParams

NewGetAzureInstanceTypesParams creates a new GetAzureInstanceTypesParams object no default values defined in spec.

func (*GetAzureInstanceTypesParams) BindRequest

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewGetAzureInstanceTypesParams() beforehand.

type GetAzureInstanceTypesURL

type GetAzureInstanceTypesURL struct {
	Location string
	// contains filtered or unexported fields
}

GetAzureInstanceTypesURL generates an URL for the get azure instance types operation

func (*GetAzureInstanceTypesURL) Build

func (o *GetAzureInstanceTypesURL) Build() (*url.URL, error)

Build a url path and query string

func (*GetAzureInstanceTypesURL) BuildFull

func (o *GetAzureInstanceTypesURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*GetAzureInstanceTypesURL) Must

func (o *GetAzureInstanceTypesURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*GetAzureInstanceTypesURL) SetBasePath

func (o *GetAzureInstanceTypesURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*GetAzureInstanceTypesURL) String

func (o *GetAzureInstanceTypesURL) String() string

String returns the string representation of the path with query string

func (*GetAzureInstanceTypesURL) StringFull

func (o *GetAzureInstanceTypesURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*GetAzureInstanceTypesURL) WithBasePath

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type GetAzureInstanceTypesUnauthorized

type GetAzureInstanceTypesUnauthorized struct {

	/*
	  In: Body
	*/
	Payload *models.Error `json:"body,omitempty"`
}

GetAzureInstanceTypesUnauthorized Incorrect credentials

swagger:response getAzureInstanceTypesUnauthorized

func NewGetAzureInstanceTypesUnauthorized

func NewGetAzureInstanceTypesUnauthorized() *GetAzureInstanceTypesUnauthorized

NewGetAzureInstanceTypesUnauthorized creates GetAzureInstanceTypesUnauthorized with default headers values

func (*GetAzureInstanceTypesUnauthorized) SetPayload

func (o *GetAzureInstanceTypesUnauthorized) SetPayload(payload *models.Error)

SetPayload sets the payload to the get azure instance types unauthorized response

func (*GetAzureInstanceTypesUnauthorized) WithPayload

WithPayload adds the payload to the get azure instance types unauthorized response

func (*GetAzureInstanceTypesUnauthorized) WriteResponse

func (o *GetAzureInstanceTypesUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetAzureOSImages

type GetAzureOSImages struct {
	Context *middleware.Context
	Handler GetAzureOSImagesHandler
}

GetAzureOSImages swagger:route GET /api/providers/azure/osimages azure getAzureOSImages

Retrieve Azure supported os images

func NewGetAzureOSImages

func NewGetAzureOSImages(ctx *middleware.Context, handler GetAzureOSImagesHandler) *GetAzureOSImages

NewGetAzureOSImages creates a new http.Handler for the get azure o s images operation

func (*GetAzureOSImages) ServeHTTP

func (o *GetAzureOSImages) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type GetAzureOSImagesBadRequest

type GetAzureOSImagesBadRequest struct {

	/*
	  In: Body
	*/
	Payload *models.Error `json:"body,omitempty"`
}

GetAzureOSImagesBadRequest Bad request

swagger:response getAzureOSImagesBadRequest

func NewGetAzureOSImagesBadRequest

func NewGetAzureOSImagesBadRequest() *GetAzureOSImagesBadRequest

NewGetAzureOSImagesBadRequest creates GetAzureOSImagesBadRequest with default headers values

func (*GetAzureOSImagesBadRequest) SetPayload

func (o *GetAzureOSImagesBadRequest) SetPayload(payload *models.Error)

SetPayload sets the payload to the get azure o s images bad request response

func (*GetAzureOSImagesBadRequest) WithPayload

WithPayload adds the payload to the get azure o s images bad request response

func (*GetAzureOSImagesBadRequest) WriteResponse

func (o *GetAzureOSImagesBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetAzureOSImagesHandler

type GetAzureOSImagesHandler interface {
	Handle(GetAzureOSImagesParams) middleware.Responder
}

GetAzureOSImagesHandler interface for that can handle valid get azure o s images params

type GetAzureOSImagesHandlerFunc

type GetAzureOSImagesHandlerFunc func(GetAzureOSImagesParams) middleware.Responder

GetAzureOSImagesHandlerFunc turns a function with the right signature into a get azure o s images handler

func (GetAzureOSImagesHandlerFunc) Handle

Handle executing the request and returning a response

type GetAzureOSImagesInternalServerError

type GetAzureOSImagesInternalServerError struct {

	/*
	  In: Body
	*/
	Payload *models.Error `json:"body,omitempty"`
}

GetAzureOSImagesInternalServerError Internal server error

swagger:response getAzureOSImagesInternalServerError

func NewGetAzureOSImagesInternalServerError

func NewGetAzureOSImagesInternalServerError() *GetAzureOSImagesInternalServerError

NewGetAzureOSImagesInternalServerError creates GetAzureOSImagesInternalServerError with default headers values

func (*GetAzureOSImagesInternalServerError) SetPayload

func (o *GetAzureOSImagesInternalServerError) SetPayload(payload *models.Error)

SetPayload sets the payload to the get azure o s images internal server error response

func (*GetAzureOSImagesInternalServerError) WithPayload

WithPayload adds the payload to the get azure o s images internal server error response

func (*GetAzureOSImagesInternalServerError) WriteResponse

WriteResponse to the client

type GetAzureOSImagesOK

type GetAzureOSImagesOK struct {

	/*
	  In: Body
	*/
	Payload []*models.AzureVirtualMachine `json:"body,omitempty"`
}

GetAzureOSImagesOK Successful retrieval of Azure supported os images

swagger:response getAzureOSImagesOK

func NewGetAzureOSImagesOK

func NewGetAzureOSImagesOK() *GetAzureOSImagesOK

NewGetAzureOSImagesOK creates GetAzureOSImagesOK with default headers values

func (*GetAzureOSImagesOK) SetPayload

func (o *GetAzureOSImagesOK) SetPayload(payload []*models.AzureVirtualMachine)

SetPayload sets the payload to the get azure o s images o k response

func (*GetAzureOSImagesOK) WithPayload

WithPayload adds the payload to the get azure o s images o k response

func (*GetAzureOSImagesOK) WriteResponse

func (o *GetAzureOSImagesOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetAzureOSImagesParams

type GetAzureOSImagesParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`
}

GetAzureOSImagesParams contains all the bound params for the get azure o s images operation typically these are obtained from a http.Request

swagger:parameters getAzureOSImages

func NewGetAzureOSImagesParams

func NewGetAzureOSImagesParams() GetAzureOSImagesParams

NewGetAzureOSImagesParams creates a new GetAzureOSImagesParams object no default values defined in spec.

func (*GetAzureOSImagesParams) BindRequest

func (o *GetAzureOSImagesParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewGetAzureOSImagesParams() beforehand.

type GetAzureOSImagesURL

type GetAzureOSImagesURL struct {
	// contains filtered or unexported fields
}

GetAzureOSImagesURL generates an URL for the get azure o s images operation

func (*GetAzureOSImagesURL) Build

func (o *GetAzureOSImagesURL) Build() (*url.URL, error)

Build a url path and query string

func (*GetAzureOSImagesURL) BuildFull

func (o *GetAzureOSImagesURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*GetAzureOSImagesURL) Must

func (o *GetAzureOSImagesURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*GetAzureOSImagesURL) SetBasePath

func (o *GetAzureOSImagesURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*GetAzureOSImagesURL) String

func (o *GetAzureOSImagesURL) String() string

String returns the string representation of the path with query string

func (*GetAzureOSImagesURL) StringFull

func (o *GetAzureOSImagesURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*GetAzureOSImagesURL) WithBasePath

func (o *GetAzureOSImagesURL) WithBasePath(bp string) *GetAzureOSImagesURL

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type GetAzureOSImagesUnauthorized

type GetAzureOSImagesUnauthorized struct {

	/*
	  In: Body
	*/
	Payload *models.Error `json:"body,omitempty"`
}

GetAzureOSImagesUnauthorized Incorrect credentials

swagger:response getAzureOSImagesUnauthorized

func NewGetAzureOSImagesUnauthorized

func NewGetAzureOSImagesUnauthorized() *GetAzureOSImagesUnauthorized

NewGetAzureOSImagesUnauthorized creates GetAzureOSImagesUnauthorized with default headers values

func (*GetAzureOSImagesUnauthorized) SetPayload

func (o *GetAzureOSImagesUnauthorized) SetPayload(payload *models.Error)

SetPayload sets the payload to the get azure o s images unauthorized response

func (*GetAzureOSImagesUnauthorized) WithPayload

WithPayload adds the payload to the get azure o s images unauthorized response

func (*GetAzureOSImagesUnauthorized) WriteResponse

func (o *GetAzureOSImagesUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetAzureRegions

type GetAzureRegions struct {
	Context *middleware.Context
	Handler GetAzureRegionsHandler
}

GetAzureRegions swagger:route GET /api/providers/azure/regions azure getAzureRegions

Retrieve list of supported Azure regions

func NewGetAzureRegions

func NewGetAzureRegions(ctx *middleware.Context, handler GetAzureRegionsHandler) *GetAzureRegions

NewGetAzureRegions creates a new http.Handler for the get azure regions operation

func (*GetAzureRegions) ServeHTTP

func (o *GetAzureRegions) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type GetAzureRegionsBadRequest

type GetAzureRegionsBadRequest struct {

	/*
	  In: Body
	*/
	Payload *models.Error `json:"body,omitempty"`
}

GetAzureRegionsBadRequest Bad Request

swagger:response getAzureRegionsBadRequest

func NewGetAzureRegionsBadRequest

func NewGetAzureRegionsBadRequest() *GetAzureRegionsBadRequest

NewGetAzureRegionsBadRequest creates GetAzureRegionsBadRequest with default headers values

func (*GetAzureRegionsBadRequest) SetPayload

func (o *GetAzureRegionsBadRequest) SetPayload(payload *models.Error)

SetPayload sets the payload to the get azure regions bad request response

func (*GetAzureRegionsBadRequest) WithPayload

WithPayload adds the payload to the get azure regions bad request response

func (*GetAzureRegionsBadRequest) WriteResponse

func (o *GetAzureRegionsBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetAzureRegionsHandler

type GetAzureRegionsHandler interface {
	Handle(GetAzureRegionsParams) middleware.Responder
}

GetAzureRegionsHandler interface for that can handle valid get azure regions params

type GetAzureRegionsHandlerFunc

type GetAzureRegionsHandlerFunc func(GetAzureRegionsParams) middleware.Responder

GetAzureRegionsHandlerFunc turns a function with the right signature into a get azure regions handler

func (GetAzureRegionsHandlerFunc) Handle

Handle executing the request and returning a response

type GetAzureRegionsInternalServerError

type GetAzureRegionsInternalServerError struct {

	/*
	  In: Body
	*/
	Payload *models.Error `json:"body,omitempty"`
}

GetAzureRegionsInternalServerError Internal server error

swagger:response getAzureRegionsInternalServerError

func NewGetAzureRegionsInternalServerError

func NewGetAzureRegionsInternalServerError() *GetAzureRegionsInternalServerError

NewGetAzureRegionsInternalServerError creates GetAzureRegionsInternalServerError with default headers values

func (*GetAzureRegionsInternalServerError) SetPayload

func (o *GetAzureRegionsInternalServerError) SetPayload(payload *models.Error)

SetPayload sets the payload to the get azure regions internal server error response

func (*GetAzureRegionsInternalServerError) WithPayload

WithPayload adds the payload to the get azure regions internal server error response

func (*GetAzureRegionsInternalServerError) WriteResponse

WriteResponse to the client

type GetAzureRegionsOK

type GetAzureRegionsOK struct {

	/*
	  In: Body
	*/
	Payload []*models.AzureLocation `json:"body,omitempty"`
}

GetAzureRegionsOK Successful retrieval of Azure regions

swagger:response getAzureRegionsOK

func NewGetAzureRegionsOK

func NewGetAzureRegionsOK() *GetAzureRegionsOK

NewGetAzureRegionsOK creates GetAzureRegionsOK with default headers values

func (*GetAzureRegionsOK) SetPayload

func (o *GetAzureRegionsOK) SetPayload(payload []*models.AzureLocation)

SetPayload sets the payload to the get azure regions o k response

func (*GetAzureRegionsOK) WithPayload

func (o *GetAzureRegionsOK) WithPayload(payload []*models.AzureLocation) *GetAzureRegionsOK

WithPayload adds the payload to the get azure regions o k response

func (*GetAzureRegionsOK) WriteResponse

func (o *GetAzureRegionsOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetAzureRegionsParams

type GetAzureRegionsParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`
}

GetAzureRegionsParams contains all the bound params for the get azure regions operation typically these are obtained from a http.Request

swagger:parameters getAzureRegions

func NewGetAzureRegionsParams

func NewGetAzureRegionsParams() GetAzureRegionsParams

NewGetAzureRegionsParams creates a new GetAzureRegionsParams object no default values defined in spec.

func (*GetAzureRegionsParams) BindRequest

func (o *GetAzureRegionsParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewGetAzureRegionsParams() beforehand.

type GetAzureRegionsURL

type GetAzureRegionsURL struct {
	// contains filtered or unexported fields
}

GetAzureRegionsURL generates an URL for the get azure regions operation

func (*GetAzureRegionsURL) Build

func (o *GetAzureRegionsURL) Build() (*url.URL, error)

Build a url path and query string

func (*GetAzureRegionsURL) BuildFull

func (o *GetAzureRegionsURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*GetAzureRegionsURL) Must

func (o *GetAzureRegionsURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*GetAzureRegionsURL) SetBasePath

func (o *GetAzureRegionsURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*GetAzureRegionsURL) String

func (o *GetAzureRegionsURL) String() string

String returns the string representation of the path with query string

func (*GetAzureRegionsURL) StringFull

func (o *GetAzureRegionsURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*GetAzureRegionsURL) WithBasePath

func (o *GetAzureRegionsURL) WithBasePath(bp string) *GetAzureRegionsURL

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type GetAzureRegionsUnauthorized

type GetAzureRegionsUnauthorized struct {

	/*
	  In: Body
	*/
	Payload *models.Error `json:"body,omitempty"`
}

GetAzureRegionsUnauthorized Incorrect credentials

swagger:response getAzureRegionsUnauthorized

func NewGetAzureRegionsUnauthorized

func NewGetAzureRegionsUnauthorized() *GetAzureRegionsUnauthorized

NewGetAzureRegionsUnauthorized creates GetAzureRegionsUnauthorized with default headers values

func (*GetAzureRegionsUnauthorized) SetPayload

func (o *GetAzureRegionsUnauthorized) SetPayload(payload *models.Error)

SetPayload sets the payload to the get azure regions unauthorized response

func (*GetAzureRegionsUnauthorized) WithPayload

WithPayload adds the payload to the get azure regions unauthorized response

func (*GetAzureRegionsUnauthorized) WriteResponse

func (o *GetAzureRegionsUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetAzureResourceGroups

type GetAzureResourceGroups struct {
	Context *middleware.Context
	Handler GetAzureResourceGroupsHandler
}

GetAzureResourceGroups swagger:route GET /api/providers/azure/resourcegroups azure getAzureResourceGroups

Retrieve list of Azure resource groups for a subscription

func NewGetAzureResourceGroups

func NewGetAzureResourceGroups(ctx *middleware.Context, handler GetAzureResourceGroupsHandler) *GetAzureResourceGroups

NewGetAzureResourceGroups creates a new http.Handler for the get azure resource groups operation

func (*GetAzureResourceGroups) ServeHTTP

func (o *GetAzureResourceGroups) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type GetAzureResourceGroupsBadRequest

type GetAzureResourceGroupsBadRequest struct {

	/*
	  In: Body
	*/
	Payload *models.Error `json:"body,omitempty"`
}

GetAzureResourceGroupsBadRequest Bad Request

swagger:response getAzureResourceGroupsBadRequest

func NewGetAzureResourceGroupsBadRequest

func NewGetAzureResourceGroupsBadRequest() *GetAzureResourceGroupsBadRequest

NewGetAzureResourceGroupsBadRequest creates GetAzureResourceGroupsBadRequest with default headers values

func (*GetAzureResourceGroupsBadRequest) SetPayload

func (o *GetAzureResourceGroupsBadRequest) SetPayload(payload *models.Error)

SetPayload sets the payload to the get azure resource groups bad request response

func (*GetAzureResourceGroupsBadRequest) WithPayload

WithPayload adds the payload to the get azure resource groups bad request response

func (*GetAzureResourceGroupsBadRequest) WriteResponse

func (o *GetAzureResourceGroupsBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetAzureResourceGroupsHandler

type GetAzureResourceGroupsHandler interface {
	Handle(GetAzureResourceGroupsParams) middleware.Responder
}

GetAzureResourceGroupsHandler interface for that can handle valid get azure resource groups params

type GetAzureResourceGroupsHandlerFunc

type GetAzureResourceGroupsHandlerFunc func(GetAzureResourceGroupsParams) middleware.Responder

GetAzureResourceGroupsHandlerFunc turns a function with the right signature into a get azure resource groups handler

func (GetAzureResourceGroupsHandlerFunc) Handle

Handle executing the request and returning a response

type GetAzureResourceGroupsInternalServerError

type GetAzureResourceGroupsInternalServerError struct {

	/*
	  In: Body
	*/
	Payload *models.Error `json:"body,omitempty"`
}

GetAzureResourceGroupsInternalServerError Internal server error

swagger:response getAzureResourceGroupsInternalServerError

func NewGetAzureResourceGroupsInternalServerError

func NewGetAzureResourceGroupsInternalServerError() *GetAzureResourceGroupsInternalServerError

NewGetAzureResourceGroupsInternalServerError creates GetAzureResourceGroupsInternalServerError with default headers values

func (*GetAzureResourceGroupsInternalServerError) SetPayload

func (o *GetAzureResourceGroupsInternalServerError) SetPayload(payload *models.Error)

SetPayload sets the payload to the get azure resource groups internal server error response

func (*GetAzureResourceGroupsInternalServerError) WithPayload

WithPayload adds the payload to the get azure resource groups internal server error response

func (*GetAzureResourceGroupsInternalServerError) WriteResponse

WriteResponse to the client

type GetAzureResourceGroupsOK

type GetAzureResourceGroupsOK struct {

	/*
	  In: Body
	*/
	Payload []*models.AzureResourceGroup `json:"body,omitempty"`
}

GetAzureResourceGroupsOK Successful retrieval of Azure resource groups

swagger:response getAzureResourceGroupsOK

func NewGetAzureResourceGroupsOK

func NewGetAzureResourceGroupsOK() *GetAzureResourceGroupsOK

NewGetAzureResourceGroupsOK creates GetAzureResourceGroupsOK with default headers values

func (*GetAzureResourceGroupsOK) SetPayload

func (o *GetAzureResourceGroupsOK) SetPayload(payload []*models.AzureResourceGroup)

SetPayload sets the payload to the get azure resource groups o k response

func (*GetAzureResourceGroupsOK) WithPayload

WithPayload adds the payload to the get azure resource groups o k response

func (*GetAzureResourceGroupsOK) WriteResponse

func (o *GetAzureResourceGroupsOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetAzureResourceGroupsParams

type GetAzureResourceGroupsParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*Azure region
	  Required: true
	  In: query
	*/
	Location string
}

GetAzureResourceGroupsParams contains all the bound params for the get azure resource groups operation typically these are obtained from a http.Request

swagger:parameters getAzureResourceGroups

func NewGetAzureResourceGroupsParams

func NewGetAzureResourceGroupsParams() GetAzureResourceGroupsParams

NewGetAzureResourceGroupsParams creates a new GetAzureResourceGroupsParams object no default values defined in spec.

func (*GetAzureResourceGroupsParams) BindRequest

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewGetAzureResourceGroupsParams() beforehand.

type GetAzureResourceGroupsURL

type GetAzureResourceGroupsURL struct {
	Location string
	// contains filtered or unexported fields
}

GetAzureResourceGroupsURL generates an URL for the get azure resource groups operation

func (*GetAzureResourceGroupsURL) Build

func (o *GetAzureResourceGroupsURL) Build() (*url.URL, error)

Build a url path and query string

func (*GetAzureResourceGroupsURL) BuildFull

func (o *GetAzureResourceGroupsURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*GetAzureResourceGroupsURL) Must

func (o *GetAzureResourceGroupsURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*GetAzureResourceGroupsURL) SetBasePath

func (o *GetAzureResourceGroupsURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*GetAzureResourceGroupsURL) String

func (o *GetAzureResourceGroupsURL) String() string

String returns the string representation of the path with query string

func (*GetAzureResourceGroupsURL) StringFull

func (o *GetAzureResourceGroupsURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*GetAzureResourceGroupsURL) WithBasePath

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type GetAzureResourceGroupsUnauthorized

type GetAzureResourceGroupsUnauthorized struct {

	/*
	  In: Body
	*/
	Payload *models.Error `json:"body,omitempty"`
}

GetAzureResourceGroupsUnauthorized Incorrect credentials

swagger:response getAzureResourceGroupsUnauthorized

func NewGetAzureResourceGroupsUnauthorized

func NewGetAzureResourceGroupsUnauthorized() *GetAzureResourceGroupsUnauthorized

NewGetAzureResourceGroupsUnauthorized creates GetAzureResourceGroupsUnauthorized with default headers values

func (*GetAzureResourceGroupsUnauthorized) SetPayload

func (o *GetAzureResourceGroupsUnauthorized) SetPayload(payload *models.Error)

SetPayload sets the payload to the get azure resource groups unauthorized response

func (*GetAzureResourceGroupsUnauthorized) WithPayload

WithPayload adds the payload to the get azure resource groups unauthorized response

func (*GetAzureResourceGroupsUnauthorized) WriteResponse

WriteResponse to the client

type GetAzureVnets

type GetAzureVnets struct {
	Context *middleware.Context
	Handler GetAzureVnetsHandler
}

GetAzureVnets swagger:route GET /api/providers/azure/resourcegroups/{resourceGroupName}/vnets azure getAzureVnets

Retrieve list of Azure virtual networks in a resource group

func NewGetAzureVnets

func NewGetAzureVnets(ctx *middleware.Context, handler GetAzureVnetsHandler) *GetAzureVnets

NewGetAzureVnets creates a new http.Handler for the get azure vnets operation

func (*GetAzureVnets) ServeHTTP

func (o *GetAzureVnets) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type GetAzureVnetsBadRequest

type GetAzureVnetsBadRequest struct {

	/*
	  In: Body
	*/
	Payload *models.Error `json:"body,omitempty"`
}

GetAzureVnetsBadRequest Bad Request

swagger:response getAzureVnetsBadRequest

func NewGetAzureVnetsBadRequest

func NewGetAzureVnetsBadRequest() *GetAzureVnetsBadRequest

NewGetAzureVnetsBadRequest creates GetAzureVnetsBadRequest with default headers values

func (*GetAzureVnetsBadRequest) SetPayload

func (o *GetAzureVnetsBadRequest) SetPayload(payload *models.Error)

SetPayload sets the payload to the get azure vnets bad request response

func (*GetAzureVnetsBadRequest) WithPayload

func (o *GetAzureVnetsBadRequest) WithPayload(payload *models.Error) *GetAzureVnetsBadRequest

WithPayload adds the payload to the get azure vnets bad request response

func (*GetAzureVnetsBadRequest) WriteResponse

func (o *GetAzureVnetsBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetAzureVnetsHandler

type GetAzureVnetsHandler interface {
	Handle(GetAzureVnetsParams) middleware.Responder
}

GetAzureVnetsHandler interface for that can handle valid get azure vnets params

type GetAzureVnetsHandlerFunc

type GetAzureVnetsHandlerFunc func(GetAzureVnetsParams) middleware.Responder

GetAzureVnetsHandlerFunc turns a function with the right signature into a get azure vnets handler

func (GetAzureVnetsHandlerFunc) Handle

Handle executing the request and returning a response

type GetAzureVnetsInternalServerError

type GetAzureVnetsInternalServerError struct {

	/*
	  In: Body
	*/
	Payload *models.Error `json:"body,omitempty"`
}

GetAzureVnetsInternalServerError Internal server error

swagger:response getAzureVnetsInternalServerError

func NewGetAzureVnetsInternalServerError

func NewGetAzureVnetsInternalServerError() *GetAzureVnetsInternalServerError

NewGetAzureVnetsInternalServerError creates GetAzureVnetsInternalServerError with default headers values

func (*GetAzureVnetsInternalServerError) SetPayload

func (o *GetAzureVnetsInternalServerError) SetPayload(payload *models.Error)

SetPayload sets the payload to the get azure vnets internal server error response

func (*GetAzureVnetsInternalServerError) WithPayload

WithPayload adds the payload to the get azure vnets internal server error response

func (*GetAzureVnetsInternalServerError) WriteResponse

func (o *GetAzureVnetsInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetAzureVnetsOK

type GetAzureVnetsOK struct {

	/*
	  In: Body
	*/
	Payload []*models.AzureVirtualNetwork `json:"body,omitempty"`
}

GetAzureVnetsOK Successful retrieval of Azure virtual networks

swagger:response getAzureVnetsOK

func NewGetAzureVnetsOK

func NewGetAzureVnetsOK() *GetAzureVnetsOK

NewGetAzureVnetsOK creates GetAzureVnetsOK with default headers values

func (*GetAzureVnetsOK) SetPayload

func (o *GetAzureVnetsOK) SetPayload(payload []*models.AzureVirtualNetwork)

SetPayload sets the payload to the get azure vnets o k response

func (*GetAzureVnetsOK) WithPayload

func (o *GetAzureVnetsOK) WithPayload(payload []*models.AzureVirtualNetwork) *GetAzureVnetsOK

WithPayload adds the payload to the get azure vnets o k response

func (*GetAzureVnetsOK) WriteResponse

func (o *GetAzureVnetsOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetAzureVnetsParams

type GetAzureVnetsParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*Azure region
	  Required: true
	  In: query
	*/
	Location string
	/*Name of the Azure resource group
	  Required: true
	  In: path
	*/
	ResourceGroupName string
}

GetAzureVnetsParams contains all the bound params for the get azure vnets operation typically these are obtained from a http.Request

swagger:parameters getAzureVnets

func NewGetAzureVnetsParams

func NewGetAzureVnetsParams() GetAzureVnetsParams

NewGetAzureVnetsParams creates a new GetAzureVnetsParams object no default values defined in spec.

func (*GetAzureVnetsParams) BindRequest

func (o *GetAzureVnetsParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewGetAzureVnetsParams() beforehand.

type GetAzureVnetsURL

type GetAzureVnetsURL struct {
	ResourceGroupName string

	Location string
	// contains filtered or unexported fields
}

GetAzureVnetsURL generates an URL for the get azure vnets operation

func (*GetAzureVnetsURL) Build

func (o *GetAzureVnetsURL) Build() (*url.URL, error)

Build a url path and query string

func (*GetAzureVnetsURL) BuildFull

func (o *GetAzureVnetsURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*GetAzureVnetsURL) Must

func (o *GetAzureVnetsURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*GetAzureVnetsURL) SetBasePath

func (o *GetAzureVnetsURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*GetAzureVnetsURL) String

func (o *GetAzureVnetsURL) String() string

String returns the string representation of the path with query string

func (*GetAzureVnetsURL) StringFull

func (o *GetAzureVnetsURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*GetAzureVnetsURL) WithBasePath

func (o *GetAzureVnetsURL) WithBasePath(bp string) *GetAzureVnetsURL

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type GetAzureVnetsUnauthorized

type GetAzureVnetsUnauthorized struct {

	/*
	  In: Body
	*/
	Payload *models.Error `json:"body,omitempty"`
}

GetAzureVnetsUnauthorized Incorrect credentials

swagger:response getAzureVnetsUnauthorized

func NewGetAzureVnetsUnauthorized

func NewGetAzureVnetsUnauthorized() *GetAzureVnetsUnauthorized

NewGetAzureVnetsUnauthorized creates GetAzureVnetsUnauthorized with default headers values

func (*GetAzureVnetsUnauthorized) SetPayload

func (o *GetAzureVnetsUnauthorized) SetPayload(payload *models.Error)

SetPayload sets the payload to the get azure vnets unauthorized response

func (*GetAzureVnetsUnauthorized) WithPayload

WithPayload adds the payload to the get azure vnets unauthorized response

func (*GetAzureVnetsUnauthorized) WriteResponse

func (o *GetAzureVnetsUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type ImportTKGConfigForAzure

type ImportTKGConfigForAzure struct {
	Context *middleware.Context
	Handler ImportTKGConfigForAzureHandler
}

ImportTKGConfigForAzure swagger:route POST /api/providers/azure/config/import azure importTKGConfigForAzure

Generate TKG configuration object for azure

func NewImportTKGConfigForAzure

func NewImportTKGConfigForAzure(ctx *middleware.Context, handler ImportTKGConfigForAzureHandler) *ImportTKGConfigForAzure

NewImportTKGConfigForAzure creates a new http.Handler for the import t k g config for azure operation

func (*ImportTKGConfigForAzure) ServeHTTP

type ImportTKGConfigForAzureBadRequest

type ImportTKGConfigForAzureBadRequest struct {

	/*
	  In: Body
	*/
	Payload *models.Error `json:"body,omitempty"`
}

ImportTKGConfigForAzureBadRequest Bad request

swagger:response importTKGConfigForAzureBadRequest

func NewImportTKGConfigForAzureBadRequest

func NewImportTKGConfigForAzureBadRequest() *ImportTKGConfigForAzureBadRequest

NewImportTKGConfigForAzureBadRequest creates ImportTKGConfigForAzureBadRequest with default headers values

func (*ImportTKGConfigForAzureBadRequest) SetPayload

func (o *ImportTKGConfigForAzureBadRequest) SetPayload(payload *models.Error)

SetPayload sets the payload to the import t k g config for azure bad request response

func (*ImportTKGConfigForAzureBadRequest) WithPayload

WithPayload adds the payload to the import t k g config for azure bad request response

func (*ImportTKGConfigForAzureBadRequest) WriteResponse

func (o *ImportTKGConfigForAzureBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type ImportTKGConfigForAzureHandler

type ImportTKGConfigForAzureHandler interface {
	Handle(ImportTKGConfigForAzureParams) middleware.Responder
}

ImportTKGConfigForAzureHandler interface for that can handle valid import t k g config for azure params

type ImportTKGConfigForAzureHandlerFunc

type ImportTKGConfigForAzureHandlerFunc func(ImportTKGConfigForAzureParams) middleware.Responder

ImportTKGConfigForAzureHandlerFunc turns a function with the right signature into a import t k g config for azure handler

func (ImportTKGConfigForAzureHandlerFunc) Handle

Handle executing the request and returning a response

type ImportTKGConfigForAzureInternalServerError

type ImportTKGConfigForAzureInternalServerError struct {

	/*
	  In: Body
	*/
	Payload *models.Error `json:"body,omitempty"`
}

ImportTKGConfigForAzureInternalServerError Internal server error

swagger:response importTKGConfigForAzureInternalServerError

func NewImportTKGConfigForAzureInternalServerError

func NewImportTKGConfigForAzureInternalServerError() *ImportTKGConfigForAzureInternalServerError

NewImportTKGConfigForAzureInternalServerError creates ImportTKGConfigForAzureInternalServerError with default headers values

func (*ImportTKGConfigForAzureInternalServerError) SetPayload

SetPayload sets the payload to the import t k g config for azure internal server error response

func (*ImportTKGConfigForAzureInternalServerError) WithPayload

WithPayload adds the payload to the import t k g config for azure internal server error response

func (*ImportTKGConfigForAzureInternalServerError) WriteResponse

WriteResponse to the client

type ImportTKGConfigForAzureOK

type ImportTKGConfigForAzureOK struct {

	/*
	  In: Body
	*/
	Payload *models.AzureRegionalClusterParams `json:"body,omitempty"`
}

ImportTKGConfigForAzureOK Generated TKG configuration successfully

swagger:response importTKGConfigForAzureOK

func NewImportTKGConfigForAzureOK

func NewImportTKGConfigForAzureOK() *ImportTKGConfigForAzureOK

NewImportTKGConfigForAzureOK creates ImportTKGConfigForAzureOK with default headers values

func (*ImportTKGConfigForAzureOK) SetPayload

SetPayload sets the payload to the import t k g config for azure o k response

func (*ImportTKGConfigForAzureOK) WithPayload

WithPayload adds the payload to the import t k g config for azure o k response

func (*ImportTKGConfigForAzureOK) WriteResponse

func (o *ImportTKGConfigForAzureOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type ImportTKGConfigForAzureParams

type ImportTKGConfigForAzureParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*config file from which to generate tkg configuration for azure
	  Required: true
	  In: body
	*/
	Params *models.ConfigFile
}

ImportTKGConfigForAzureParams contains all the bound params for the import t k g config for azure operation typically these are obtained from a http.Request

swagger:parameters importTKGConfigForAzure

func NewImportTKGConfigForAzureParams

func NewImportTKGConfigForAzureParams() ImportTKGConfigForAzureParams

NewImportTKGConfigForAzureParams creates a new ImportTKGConfigForAzureParams object no default values defined in spec.

func (*ImportTKGConfigForAzureParams) BindRequest

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewImportTKGConfigForAzureParams() beforehand.

type ImportTKGConfigForAzureURL

type ImportTKGConfigForAzureURL struct {
	// contains filtered or unexported fields
}

ImportTKGConfigForAzureURL generates an URL for the import t k g config for azure operation

func (*ImportTKGConfigForAzureURL) Build

func (o *ImportTKGConfigForAzureURL) Build() (*url.URL, error)

Build a url path and query string

func (*ImportTKGConfigForAzureURL) BuildFull

func (o *ImportTKGConfigForAzureURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*ImportTKGConfigForAzureURL) Must

func (o *ImportTKGConfigForAzureURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*ImportTKGConfigForAzureURL) SetBasePath

func (o *ImportTKGConfigForAzureURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*ImportTKGConfigForAzureURL) String

func (o *ImportTKGConfigForAzureURL) String() string

String returns the string representation of the path with query string

func (*ImportTKGConfigForAzureURL) StringFull

func (o *ImportTKGConfigForAzureURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*ImportTKGConfigForAzureURL) WithBasePath

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type ImportTKGConfigForAzureUnauthorized

type ImportTKGConfigForAzureUnauthorized struct {

	/*
	  In: Body
	*/
	Payload *models.Error `json:"body,omitempty"`
}

ImportTKGConfigForAzureUnauthorized Incorrect credentials

swagger:response importTKGConfigForAzureUnauthorized

func NewImportTKGConfigForAzureUnauthorized

func NewImportTKGConfigForAzureUnauthorized() *ImportTKGConfigForAzureUnauthorized

NewImportTKGConfigForAzureUnauthorized creates ImportTKGConfigForAzureUnauthorized with default headers values

func (*ImportTKGConfigForAzureUnauthorized) SetPayload

func (o *ImportTKGConfigForAzureUnauthorized) SetPayload(payload *models.Error)

SetPayload sets the payload to the import t k g config for azure unauthorized response

func (*ImportTKGConfigForAzureUnauthorized) WithPayload

WithPayload adds the payload to the import t k g config for azure unauthorized response

func (*ImportTKGConfigForAzureUnauthorized) WriteResponse

WriteResponse to the client

type SetAzureEndpoint

type SetAzureEndpoint struct {
	Context *middleware.Context
	Handler SetAzureEndpointHandler
}

SetAzureEndpoint swagger:route POST /api/providers/azure azure setAzureEndpoint

Validate and set azure credentials

func NewSetAzureEndpoint

func NewSetAzureEndpoint(ctx *middleware.Context, handler SetAzureEndpointHandler) *SetAzureEndpoint

NewSetAzureEndpoint creates a new http.Handler for the set azure endpoint operation

func (*SetAzureEndpoint) ServeHTTP

func (o *SetAzureEndpoint) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type SetAzureEndpointBadRequest

type SetAzureEndpointBadRequest struct {

	/*
	  In: Body
	*/
	Payload *models.Error `json:"body,omitempty"`
}

SetAzureEndpointBadRequest Bad request

swagger:response setAzureEndpointBadRequest

func NewSetAzureEndpointBadRequest

func NewSetAzureEndpointBadRequest() *SetAzureEndpointBadRequest

NewSetAzureEndpointBadRequest creates SetAzureEndpointBadRequest with default headers values

func (*SetAzureEndpointBadRequest) SetPayload

func (o *SetAzureEndpointBadRequest) SetPayload(payload *models.Error)

SetPayload sets the payload to the set azure endpoint bad request response

func (*SetAzureEndpointBadRequest) WithPayload

WithPayload adds the payload to the set azure endpoint bad request response

func (*SetAzureEndpointBadRequest) WriteResponse

func (o *SetAzureEndpointBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type SetAzureEndpointCreated

type SetAzureEndpointCreated struct {
}

SetAzureEndpointCreated Connection successful

swagger:response setAzureEndpointCreated

func NewSetAzureEndpointCreated

func NewSetAzureEndpointCreated() *SetAzureEndpointCreated

NewSetAzureEndpointCreated creates SetAzureEndpointCreated with default headers values

func (*SetAzureEndpointCreated) WriteResponse

func (o *SetAzureEndpointCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type SetAzureEndpointHandler

type SetAzureEndpointHandler interface {
	Handle(SetAzureEndpointParams) middleware.Responder
}

SetAzureEndpointHandler interface for that can handle valid set azure endpoint params

type SetAzureEndpointHandlerFunc

type SetAzureEndpointHandlerFunc func(SetAzureEndpointParams) middleware.Responder

SetAzureEndpointHandlerFunc turns a function with the right signature into a set azure endpoint handler

func (SetAzureEndpointHandlerFunc) Handle

Handle executing the request and returning a response

type SetAzureEndpointInternalServerError

type SetAzureEndpointInternalServerError struct {

	/*
	  In: Body
	*/
	Payload *models.Error `json:"body,omitempty"`
}

SetAzureEndpointInternalServerError Internal server error

swagger:response setAzureEndpointInternalServerError

func NewSetAzureEndpointInternalServerError

func NewSetAzureEndpointInternalServerError() *SetAzureEndpointInternalServerError

NewSetAzureEndpointInternalServerError creates SetAzureEndpointInternalServerError with default headers values

func (*SetAzureEndpointInternalServerError) SetPayload

func (o *SetAzureEndpointInternalServerError) SetPayload(payload *models.Error)

SetPayload sets the payload to the set azure endpoint internal server error response

func (*SetAzureEndpointInternalServerError) WithPayload

WithPayload adds the payload to the set azure endpoint internal server error response

func (*SetAzureEndpointInternalServerError) WriteResponse

WriteResponse to the client

type SetAzureEndpointParams

type SetAzureEndpointParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*Azure account parameters
	  In: body
	*/
	AccountParams *models.AzureAccountParams
}

SetAzureEndpointParams contains all the bound params for the set azure endpoint operation typically these are obtained from a http.Request

swagger:parameters setAzureEndpoint

func NewSetAzureEndpointParams

func NewSetAzureEndpointParams() SetAzureEndpointParams

NewSetAzureEndpointParams creates a new SetAzureEndpointParams object no default values defined in spec.

func (*SetAzureEndpointParams) BindRequest

func (o *SetAzureEndpointParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewSetAzureEndpointParams() beforehand.

type SetAzureEndpointURL

type SetAzureEndpointURL struct {
	// contains filtered or unexported fields
}

SetAzureEndpointURL generates an URL for the set azure endpoint operation

func (*SetAzureEndpointURL) Build

func (o *SetAzureEndpointURL) Build() (*url.URL, error)

Build a url path and query string

func (*SetAzureEndpointURL) BuildFull

func (o *SetAzureEndpointURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*SetAzureEndpointURL) Must

func (o *SetAzureEndpointURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*SetAzureEndpointURL) SetBasePath

func (o *SetAzureEndpointURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*SetAzureEndpointURL) String

func (o *SetAzureEndpointURL) String() string

String returns the string representation of the path with query string

func (*SetAzureEndpointURL) StringFull

func (o *SetAzureEndpointURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*SetAzureEndpointURL) WithBasePath

func (o *SetAzureEndpointURL) WithBasePath(bp string) *SetAzureEndpointURL

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type SetAzureEndpointUnauthorized

type SetAzureEndpointUnauthorized struct {

	/*
	  In: Body
	*/
	Payload *models.Error `json:"body,omitempty"`
}

SetAzureEndpointUnauthorized Incorrect credentials

swagger:response setAzureEndpointUnauthorized

func NewSetAzureEndpointUnauthorized

func NewSetAzureEndpointUnauthorized() *SetAzureEndpointUnauthorized

NewSetAzureEndpointUnauthorized creates SetAzureEndpointUnauthorized with default headers values

func (*SetAzureEndpointUnauthorized) SetPayload

func (o *SetAzureEndpointUnauthorized) SetPayload(payload *models.Error)

SetPayload sets the payload to the set azure endpoint unauthorized response

func (*SetAzureEndpointUnauthorized) WithPayload

WithPayload adds the payload to the set azure endpoint unauthorized response

func (*SetAzureEndpointUnauthorized) WriteResponse

func (o *SetAzureEndpointUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL