security_group_staging_defaults

package
v0.0.0-...-7977c27 Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2021 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const RemovingSecurityGroupAsDefaultForStagingNoContentCode int = 204

RemovingSecurityGroupAsDefaultForStagingNoContentCode is the HTTP code returned for type RemovingSecurityGroupAsDefaultForStagingNoContent

View Source
const ReturnSecurityGroupsUsedForStagingOKCode int = 200

ReturnSecurityGroupsUsedForStagingOKCode is the HTTP code returned for type ReturnSecurityGroupsUsedForStagingOK

View Source
const SetSecurityGroupAsDefaultForStagingOKCode int = 200

SetSecurityGroupAsDefaultForStagingOKCode is the HTTP code returned for type SetSecurityGroupAsDefaultForStagingOK

Variables

This section is empty.

Functions

This section is empty.

Types

type RemovingSecurityGroupAsDefaultForStaging

type RemovingSecurityGroupAsDefaultForStaging struct {
	Context *middleware.Context
	Handler RemovingSecurityGroupAsDefaultForStagingHandler
}

RemovingSecurityGroupAsDefaultForStaging swagger:route DELETE /config/staging_security_groups/{guid} securityGroupStagingDefaults removingSecurityGroupAsDefaultForStaging

Removing a Security Group as a default for staging

curl --insecure -i %s/v2/config/staging_security_groups/{guid} -X DELETE -H 'Authorization: %s'

func NewRemovingSecurityGroupAsDefaultForStaging

func NewRemovingSecurityGroupAsDefaultForStaging(ctx *middleware.Context, handler RemovingSecurityGroupAsDefaultForStagingHandler) *RemovingSecurityGroupAsDefaultForStaging

NewRemovingSecurityGroupAsDefaultForStaging creates a new http.Handler for the removing security group as default for staging operation

func (*RemovingSecurityGroupAsDefaultForStaging) ServeHTTP

type RemovingSecurityGroupAsDefaultForStagingHandler

type RemovingSecurityGroupAsDefaultForStagingHandler interface {
	Handle(RemovingSecurityGroupAsDefaultForStagingParams) middleware.Responder
}

RemovingSecurityGroupAsDefaultForStagingHandler interface for that can handle valid removing security group as default for staging params

type RemovingSecurityGroupAsDefaultForStagingHandlerFunc

type RemovingSecurityGroupAsDefaultForStagingHandlerFunc func(RemovingSecurityGroupAsDefaultForStagingParams) middleware.Responder

RemovingSecurityGroupAsDefaultForStagingHandlerFunc turns a function with the right signature into a removing security group as default for staging handler

func (RemovingSecurityGroupAsDefaultForStagingHandlerFunc) Handle

Handle executing the request and returning a response

type RemovingSecurityGroupAsDefaultForStagingNoContent

type RemovingSecurityGroupAsDefaultForStagingNoContent struct {
}

RemovingSecurityGroupAsDefaultForStagingNoContent successful response

swagger:response removingSecurityGroupAsDefaultForStagingNoContent

func NewRemovingSecurityGroupAsDefaultForStagingNoContent

func NewRemovingSecurityGroupAsDefaultForStagingNoContent() *RemovingSecurityGroupAsDefaultForStagingNoContent

NewRemovingSecurityGroupAsDefaultForStagingNoContent creates RemovingSecurityGroupAsDefaultForStagingNoContent with default headers values

func (*RemovingSecurityGroupAsDefaultForStagingNoContent) WriteResponse

WriteResponse to the client

type RemovingSecurityGroupAsDefaultForStagingParams

type RemovingSecurityGroupAsDefaultForStagingParams struct {

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

	/*The guid parameter is used as a part of the request URL: '/v2/config/staging_security_groups/:guid'
	  Required: true
	  In: path
	*/
	GUID string
}

RemovingSecurityGroupAsDefaultForStagingParams contains all the bound params for the removing security group as default for staging operation typically these are obtained from a http.Request

swagger:parameters removingSecurityGroupAsDefaultForStaging

func NewRemovingSecurityGroupAsDefaultForStagingParams

func NewRemovingSecurityGroupAsDefaultForStagingParams() RemovingSecurityGroupAsDefaultForStagingParams

NewRemovingSecurityGroupAsDefaultForStagingParams creates a new RemovingSecurityGroupAsDefaultForStagingParams object no default values defined in spec.

func (*RemovingSecurityGroupAsDefaultForStagingParams) 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 NewRemovingSecurityGroupAsDefaultForStagingParams() beforehand.

type RemovingSecurityGroupAsDefaultForStagingURL

type RemovingSecurityGroupAsDefaultForStagingURL struct {
	GUID string
	// contains filtered or unexported fields
}

RemovingSecurityGroupAsDefaultForStagingURL generates an URL for the removing security group as default for staging operation

func (*RemovingSecurityGroupAsDefaultForStagingURL) Build

Build a url path and query string

func (*RemovingSecurityGroupAsDefaultForStagingURL) BuildFull

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

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

func (*RemovingSecurityGroupAsDefaultForStagingURL) Must

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

func (*RemovingSecurityGroupAsDefaultForStagingURL) SetBasePath

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 (*RemovingSecurityGroupAsDefaultForStagingURL) String

String returns the string representation of the path with query string

func (*RemovingSecurityGroupAsDefaultForStagingURL) StringFull

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

StringFull returns the string representation of a complete url

func (*RemovingSecurityGroupAsDefaultForStagingURL) 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 ReturnSecurityGroupsUsedForStaging

type ReturnSecurityGroupsUsedForStaging struct {
	Context *middleware.Context
	Handler ReturnSecurityGroupsUsedForStagingHandler
}

ReturnSecurityGroupsUsedForStaging swagger:route GET /config/staging_security_groups securityGroupStagingDefaults returnSecurityGroupsUsedForStaging

Return the Security Groups used for staging

curl --insecure -i %s/v2/config/staging_security_groups -X GET -H 'Authorization: %s'

func NewReturnSecurityGroupsUsedForStaging

func NewReturnSecurityGroupsUsedForStaging(ctx *middleware.Context, handler ReturnSecurityGroupsUsedForStagingHandler) *ReturnSecurityGroupsUsedForStaging

NewReturnSecurityGroupsUsedForStaging creates a new http.Handler for the return security groups used for staging operation

func (*ReturnSecurityGroupsUsedForStaging) ServeHTTP

type ReturnSecurityGroupsUsedForStagingHandler

type ReturnSecurityGroupsUsedForStagingHandler interface {
	Handle(ReturnSecurityGroupsUsedForStagingParams) middleware.Responder
}

ReturnSecurityGroupsUsedForStagingHandler interface for that can handle valid return security groups used for staging params

type ReturnSecurityGroupsUsedForStagingHandlerFunc

type ReturnSecurityGroupsUsedForStagingHandlerFunc func(ReturnSecurityGroupsUsedForStagingParams) middleware.Responder

ReturnSecurityGroupsUsedForStagingHandlerFunc turns a function with the right signature into a return security groups used for staging handler

func (ReturnSecurityGroupsUsedForStagingHandlerFunc) Handle

Handle executing the request and returning a response

type ReturnSecurityGroupsUsedForStagingOK

type ReturnSecurityGroupsUsedForStagingOK struct {

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

ReturnSecurityGroupsUsedForStagingOK successful response

swagger:response returnSecurityGroupsUsedForStagingOK

func NewReturnSecurityGroupsUsedForStagingOK

func NewReturnSecurityGroupsUsedForStagingOK() *ReturnSecurityGroupsUsedForStagingOK

NewReturnSecurityGroupsUsedForStagingOK creates ReturnSecurityGroupsUsedForStagingOK with default headers values

func (*ReturnSecurityGroupsUsedForStagingOK) SetPayload

SetPayload sets the payload to the return security groups used for staging o k response

func (*ReturnSecurityGroupsUsedForStagingOK) WithPayload

WithPayload adds the payload to the return security groups used for staging o k response

func (*ReturnSecurityGroupsUsedForStagingOK) WriteResponse

WriteResponse to the client

type ReturnSecurityGroupsUsedForStagingParams

type ReturnSecurityGroupsUsedForStagingParams struct {

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

ReturnSecurityGroupsUsedForStagingParams contains all the bound params for the return security groups used for staging operation typically these are obtained from a http.Request

swagger:parameters returnSecurityGroupsUsedForStaging

func NewReturnSecurityGroupsUsedForStagingParams

func NewReturnSecurityGroupsUsedForStagingParams() ReturnSecurityGroupsUsedForStagingParams

NewReturnSecurityGroupsUsedForStagingParams creates a new ReturnSecurityGroupsUsedForStagingParams object no default values defined in spec.

func (*ReturnSecurityGroupsUsedForStagingParams) 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 NewReturnSecurityGroupsUsedForStagingParams() beforehand.

type ReturnSecurityGroupsUsedForStagingURL

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

ReturnSecurityGroupsUsedForStagingURL generates an URL for the return security groups used for staging operation

func (*ReturnSecurityGroupsUsedForStagingURL) Build

Build a url path and query string

func (*ReturnSecurityGroupsUsedForStagingURL) BuildFull

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

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

func (*ReturnSecurityGroupsUsedForStagingURL) Must

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

func (*ReturnSecurityGroupsUsedForStagingURL) SetBasePath

func (o *ReturnSecurityGroupsUsedForStagingURL) 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 (*ReturnSecurityGroupsUsedForStagingURL) String

String returns the string representation of the path with query string

func (*ReturnSecurityGroupsUsedForStagingURL) StringFull

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

StringFull returns the string representation of a complete url

func (*ReturnSecurityGroupsUsedForStagingURL) 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 SetSecurityGroupAsDefaultForStaging

type SetSecurityGroupAsDefaultForStaging struct {
	Context *middleware.Context
	Handler SetSecurityGroupAsDefaultForStagingHandler
}

SetSecurityGroupAsDefaultForStaging swagger:route PUT /config/staging_security_groups/{guid} securityGroupStagingDefaults setSecurityGroupAsDefaultForStaging

Set a Security Group as a default for staging

curl --insecure -i %s/v2/config/staging_security_groups/{guid} -X PUT -H 'Authorization: %s'

func NewSetSecurityGroupAsDefaultForStaging

func NewSetSecurityGroupAsDefaultForStaging(ctx *middleware.Context, handler SetSecurityGroupAsDefaultForStagingHandler) *SetSecurityGroupAsDefaultForStaging

NewSetSecurityGroupAsDefaultForStaging creates a new http.Handler for the set security group as default for staging operation

func (*SetSecurityGroupAsDefaultForStaging) ServeHTTP

type SetSecurityGroupAsDefaultForStagingHandler

type SetSecurityGroupAsDefaultForStagingHandler interface {
	Handle(SetSecurityGroupAsDefaultForStagingParams) middleware.Responder
}

SetSecurityGroupAsDefaultForStagingHandler interface for that can handle valid set security group as default for staging params

type SetSecurityGroupAsDefaultForStagingHandlerFunc

type SetSecurityGroupAsDefaultForStagingHandlerFunc func(SetSecurityGroupAsDefaultForStagingParams) middleware.Responder

SetSecurityGroupAsDefaultForStagingHandlerFunc turns a function with the right signature into a set security group as default for staging handler

func (SetSecurityGroupAsDefaultForStagingHandlerFunc) Handle

Handle executing the request and returning a response

type SetSecurityGroupAsDefaultForStagingOK

type SetSecurityGroupAsDefaultForStagingOK struct {

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

SetSecurityGroupAsDefaultForStagingOK successful response

swagger:response setSecurityGroupAsDefaultForStagingOK

func NewSetSecurityGroupAsDefaultForStagingOK

func NewSetSecurityGroupAsDefaultForStagingOK() *SetSecurityGroupAsDefaultForStagingOK

NewSetSecurityGroupAsDefaultForStagingOK creates SetSecurityGroupAsDefaultForStagingOK with default headers values

func (*SetSecurityGroupAsDefaultForStagingOK) SetPayload

SetPayload sets the payload to the set security group as default for staging o k response

func (*SetSecurityGroupAsDefaultForStagingOK) WithPayload

WithPayload adds the payload to the set security group as default for staging o k response

func (*SetSecurityGroupAsDefaultForStagingOK) WriteResponse

WriteResponse to the client

type SetSecurityGroupAsDefaultForStagingParams

type SetSecurityGroupAsDefaultForStagingParams struct {

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

	/*The guid parameter is used as a part of the request URL: '/v2/config/staging_security_groups/:guid'
	  Required: true
	  In: path
	*/
	GUID string
}

SetSecurityGroupAsDefaultForStagingParams contains all the bound params for the set security group as default for staging operation typically these are obtained from a http.Request

swagger:parameters setSecurityGroupAsDefaultForStaging

func NewSetSecurityGroupAsDefaultForStagingParams

func NewSetSecurityGroupAsDefaultForStagingParams() SetSecurityGroupAsDefaultForStagingParams

NewSetSecurityGroupAsDefaultForStagingParams creates a new SetSecurityGroupAsDefaultForStagingParams object no default values defined in spec.

func (*SetSecurityGroupAsDefaultForStagingParams) 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 NewSetSecurityGroupAsDefaultForStagingParams() beforehand.

type SetSecurityGroupAsDefaultForStagingURL

type SetSecurityGroupAsDefaultForStagingURL struct {
	GUID string
	// contains filtered or unexported fields
}

SetSecurityGroupAsDefaultForStagingURL generates an URL for the set security group as default for staging operation

func (*SetSecurityGroupAsDefaultForStagingURL) Build

Build a url path and query string

func (*SetSecurityGroupAsDefaultForStagingURL) BuildFull

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

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

func (*SetSecurityGroupAsDefaultForStagingURL) Must

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

func (*SetSecurityGroupAsDefaultForStagingURL) SetBasePath

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 (*SetSecurityGroupAsDefaultForStagingURL) String

String returns the string representation of the path with query string

func (*SetSecurityGroupAsDefaultForStagingURL) StringFull

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

StringFull returns the string representation of a complete url

func (*SetSecurityGroupAsDefaultForStagingURL) 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

Jump to

Keyboard shortcuts

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