artifacts

package
v0.68.0 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2024 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ArtifactDeleteAccepted

type ArtifactDeleteAccepted struct {
}

ArtifactDeleteAccepted handles this case with default header values.

delete received

func NewArtifactDeleteAccepted

func NewArtifactDeleteAccepted() *ArtifactDeleteAccepted

NewArtifactDeleteAccepted creates a ArtifactDeleteAccepted with default headers values

func (*ArtifactDeleteAccepted) Error

func (o *ArtifactDeleteAccepted) Error() string

type ArtifactDeleteBadRequest

type ArtifactDeleteBadRequest struct {
	Payload *amsclientmodels.ResponseErrorResponse
}

ArtifactDeleteBadRequest handles this case with default header values.

bad request

func NewArtifactDeleteBadRequest

func NewArtifactDeleteBadRequest() *ArtifactDeleteBadRequest

NewArtifactDeleteBadRequest creates a ArtifactDeleteBadRequest with default headers values

func (*ArtifactDeleteBadRequest) Error

func (o *ArtifactDeleteBadRequest) Error() string

func (*ArtifactDeleteBadRequest) GetPayload

func (*ArtifactDeleteBadRequest) ToJSONString

func (o *ArtifactDeleteBadRequest) ToJSONString() string

type ArtifactDeleteForbidden

type ArtifactDeleteForbidden struct {
	Payload *amsclientmodels.ResponseErrorResponse
}

ArtifactDeleteForbidden handles this case with default header values.

insufficient permissions

func NewArtifactDeleteForbidden

func NewArtifactDeleteForbidden() *ArtifactDeleteForbidden

NewArtifactDeleteForbidden creates a ArtifactDeleteForbidden with default headers values

func (*ArtifactDeleteForbidden) Error

func (o *ArtifactDeleteForbidden) Error() string

func (*ArtifactDeleteForbidden) GetPayload

func (*ArtifactDeleteForbidden) ToJSONString

func (o *ArtifactDeleteForbidden) ToJSONString() string

type ArtifactDeleteInternalServerError

type ArtifactDeleteInternalServerError struct {
	Payload *amsclientmodels.ResponseErrorResponse
}

ArtifactDeleteInternalServerError handles this case with default header values.

internal server error

func NewArtifactDeleteInternalServerError

func NewArtifactDeleteInternalServerError() *ArtifactDeleteInternalServerError

NewArtifactDeleteInternalServerError creates a ArtifactDeleteInternalServerError with default headers values

func (*ArtifactDeleteInternalServerError) Error

func (*ArtifactDeleteInternalServerError) GetPayload

func (*ArtifactDeleteInternalServerError) ToJSONString

func (o *ArtifactDeleteInternalServerError) ToJSONString() string

type ArtifactDeleteNotFound added in v0.62.0

type ArtifactDeleteNotFound struct {
	Payload *amsclientmodels.ResponseErrorResponse
}

ArtifactDeleteNotFound handles this case with default header values.

no artifact with specifed artifactID

func NewArtifactDeleteNotFound added in v0.62.0

func NewArtifactDeleteNotFound() *ArtifactDeleteNotFound

NewArtifactDeleteNotFound creates a ArtifactDeleteNotFound with default headers values

func (*ArtifactDeleteNotFound) Error added in v0.62.0

func (o *ArtifactDeleteNotFound) Error() string

func (*ArtifactDeleteNotFound) GetPayload added in v0.62.0

func (*ArtifactDeleteNotFound) ToJSONString added in v0.62.0

func (o *ArtifactDeleteNotFound) ToJSONString() string

type ArtifactDeleteParams

type ArtifactDeleteParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*ArtifactID
	  the id of the artifact

	*/
	ArtifactID string
	/*Namespace
	  namespace of the game

	*/
	Namespace string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

ArtifactDeleteParams contains all the parameters to send to the API endpoint for the artifact delete operation typically these are written to a http.Request

func NewArtifactDeleteParams

func NewArtifactDeleteParams() *ArtifactDeleteParams

NewArtifactDeleteParams creates a new ArtifactDeleteParams object with the default values initialized.

func NewArtifactDeleteParamsWithContext

func NewArtifactDeleteParamsWithContext(ctx context.Context) *ArtifactDeleteParams

NewArtifactDeleteParamsWithContext creates a new ArtifactDeleteParams object with the default values initialized, and the ability to set a context for a request

func NewArtifactDeleteParamsWithHTTPClient

func NewArtifactDeleteParamsWithHTTPClient(client *http.Client) *ArtifactDeleteParams

NewArtifactDeleteParamsWithHTTPClient creates a new ArtifactDeleteParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewArtifactDeleteParamsWithTimeout

func NewArtifactDeleteParamsWithTimeout(timeout time.Duration) *ArtifactDeleteParams

NewArtifactDeleteParamsWithTimeout creates a new ArtifactDeleteParams object with the default values initialized, and the ability to set a timeout on a request

func (*ArtifactDeleteParams) SetArtifactID

func (o *ArtifactDeleteParams) SetArtifactID(artifactID string)

SetArtifactID adds the artifactId to the artifact delete params

func (*ArtifactDeleteParams) SetAuthInfoWriter

func (o *ArtifactDeleteParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the artifact delete params

func (*ArtifactDeleteParams) SetContext

func (o *ArtifactDeleteParams) SetContext(ctx context.Context)

SetContext adds the context to the artifact delete params

func (*ArtifactDeleteParams) SetFlightId added in v0.63.0

func (o *ArtifactDeleteParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*ArtifactDeleteParams) SetHTTPClient

func (o *ArtifactDeleteParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the artifact delete params

func (*ArtifactDeleteParams) SetHTTPClientTransport

func (o *ArtifactDeleteParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the artifact delete params

func (*ArtifactDeleteParams) SetNamespace

func (o *ArtifactDeleteParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the artifact delete params

func (*ArtifactDeleteParams) SetTimeout

func (o *ArtifactDeleteParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the artifact delete params

func (*ArtifactDeleteParams) WithArtifactID

func (o *ArtifactDeleteParams) WithArtifactID(artifactID string) *ArtifactDeleteParams

WithArtifactID adds the artifactID to the artifact delete params

func (*ArtifactDeleteParams) WithContext

WithContext adds the context to the artifact delete params

func (*ArtifactDeleteParams) WithHTTPClient

func (o *ArtifactDeleteParams) WithHTTPClient(client *http.Client) *ArtifactDeleteParams

WithHTTPClient adds the HTTPClient to the artifact delete params

func (*ArtifactDeleteParams) WithNamespace

func (o *ArtifactDeleteParams) WithNamespace(namespace string) *ArtifactDeleteParams

WithNamespace adds the namespace to the artifact delete params

func (*ArtifactDeleteParams) WithTimeout

func (o *ArtifactDeleteParams) WithTimeout(timeout time.Duration) *ArtifactDeleteParams

WithTimeout adds the timeout to the artifact delete params

func (*ArtifactDeleteParams) WriteToRequest

func (o *ArtifactDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type ArtifactDeleteReader

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

ArtifactDeleteReader is a Reader for the ArtifactDelete structure.

func (*ArtifactDeleteReader) ReadResponse

func (o *ArtifactDeleteReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ArtifactDeleteUnauthorized

type ArtifactDeleteUnauthorized struct {
	Payload *amsclientmodels.ResponseErrorResponse
}

ArtifactDeleteUnauthorized handles this case with default header values.

no authorization provided

func NewArtifactDeleteUnauthorized

func NewArtifactDeleteUnauthorized() *ArtifactDeleteUnauthorized

NewArtifactDeleteUnauthorized creates a ArtifactDeleteUnauthorized with default headers values

func (*ArtifactDeleteUnauthorized) Error

func (*ArtifactDeleteUnauthorized) GetPayload

func (*ArtifactDeleteUnauthorized) ToJSONString

func (o *ArtifactDeleteUnauthorized) ToJSONString() string

type ArtifactGetBadRequest

type ArtifactGetBadRequest struct {
	Payload *amsclientmodels.ResponseErrorResponse
}

ArtifactGetBadRequest handles this case with default header values.

invalid data in request

func NewArtifactGetBadRequest

func NewArtifactGetBadRequest() *ArtifactGetBadRequest

NewArtifactGetBadRequest creates a ArtifactGetBadRequest with default headers values

func (*ArtifactGetBadRequest) Error

func (o *ArtifactGetBadRequest) Error() string

func (*ArtifactGetBadRequest) GetPayload

func (*ArtifactGetBadRequest) ToJSONString

func (o *ArtifactGetBadRequest) ToJSONString() string

type ArtifactGetForbidden

type ArtifactGetForbidden struct {
	Payload *amsclientmodels.ResponseErrorResponse
}

ArtifactGetForbidden handles this case with default header values.

insufficient permissions

func NewArtifactGetForbidden

func NewArtifactGetForbidden() *ArtifactGetForbidden

NewArtifactGetForbidden creates a ArtifactGetForbidden with default headers values

func (*ArtifactGetForbidden) Error

func (o *ArtifactGetForbidden) Error() string

func (*ArtifactGetForbidden) GetPayload

func (*ArtifactGetForbidden) ToJSONString

func (o *ArtifactGetForbidden) ToJSONString() string

type ArtifactGetInternalServerError

type ArtifactGetInternalServerError struct {
	Payload *amsclientmodels.ResponseErrorResponse
}

ArtifactGetInternalServerError handles this case with default header values.

internal server error

func NewArtifactGetInternalServerError

func NewArtifactGetInternalServerError() *ArtifactGetInternalServerError

NewArtifactGetInternalServerError creates a ArtifactGetInternalServerError with default headers values

func (*ArtifactGetInternalServerError) Error

func (*ArtifactGetInternalServerError) GetPayload

func (*ArtifactGetInternalServerError) ToJSONString

func (o *ArtifactGetInternalServerError) ToJSONString() string

type ArtifactGetOK

type ArtifactGetOK struct {
	Payload *amsclientmodels.APIArtifactListResponse
}

ArtifactGetOK handles this case with default header values.

success

func NewArtifactGetOK

func NewArtifactGetOK() *ArtifactGetOK

NewArtifactGetOK creates a ArtifactGetOK with default headers values

func (*ArtifactGetOK) Error

func (o *ArtifactGetOK) Error() string

func (*ArtifactGetOK) GetPayload

func (*ArtifactGetOK) ToJSONString

func (o *ArtifactGetOK) ToJSONString() string

type ArtifactGetParams

type ArtifactGetParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Namespace
	  namespace of the game

	*/
	Namespace string
	/*ArtifactType
	  one of: log, coredump

	*/
	ArtifactType *string
	/*Count
	  defines the maximum number of records returned in one page.

	*/
	Count *int64
	/*EndDate
	  omit artifacts with collection dates newer than

	*/
	EndDate *string
	/*FleetID
	  id of the fleet where the artifact was collected

	*/
	FleetID *string
	/*ImageID
	  id of the image being used on the server when artifact was collected

	*/
	ImageID *string
	/*MaxSize
	  maximum artifact size in bytes

	*/
	MaxSize *int64
	/*MinSize
	  minimum artifact size in bytes

	*/
	MinSize *int64
	/*Offset
	  specifies the start index for the records returned. Useful for implementing pagination.

	*/
	Offset *int64
	/*Region
	  region of the server where the artifact was collected

	*/
	Region *string
	/*ServerID
	  id of the server (ds) where the artifact was collected

	*/
	ServerID *string
	/*StartDate
	  omit artifacts with collection dates older than

	*/
	StartDate *string
	/*Status
	  one of: success, skipped_sample, skipped_usage, failed

	*/
	Status *string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

ArtifactGetParams contains all the parameters to send to the API endpoint for the artifact get operation typically these are written to a http.Request

func NewArtifactGetParams

func NewArtifactGetParams() *ArtifactGetParams

NewArtifactGetParams creates a new ArtifactGetParams object with the default values initialized.

func NewArtifactGetParamsWithContext

func NewArtifactGetParamsWithContext(ctx context.Context) *ArtifactGetParams

NewArtifactGetParamsWithContext creates a new ArtifactGetParams object with the default values initialized, and the ability to set a context for a request

func NewArtifactGetParamsWithHTTPClient

func NewArtifactGetParamsWithHTTPClient(client *http.Client) *ArtifactGetParams

NewArtifactGetParamsWithHTTPClient creates a new ArtifactGetParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewArtifactGetParamsWithTimeout

func NewArtifactGetParamsWithTimeout(timeout time.Duration) *ArtifactGetParams

NewArtifactGetParamsWithTimeout creates a new ArtifactGetParams object with the default values initialized, and the ability to set a timeout on a request

func (*ArtifactGetParams) SetArtifactType

func (o *ArtifactGetParams) SetArtifactType(artifactType *string)

SetArtifactType adds the artifactType to the artifact get params

func (*ArtifactGetParams) SetAuthInfoWriter

func (o *ArtifactGetParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the artifact get params

func (*ArtifactGetParams) SetContext

func (o *ArtifactGetParams) SetContext(ctx context.Context)

SetContext adds the context to the artifact get params

func (*ArtifactGetParams) SetCount added in v0.62.0

func (o *ArtifactGetParams) SetCount(count *int64)

SetCount adds the count to the artifact get params

func (*ArtifactGetParams) SetEndDate

func (o *ArtifactGetParams) SetEndDate(endDate *string)

SetEndDate adds the endDate to the artifact get params

func (*ArtifactGetParams) SetFleetID

func (o *ArtifactGetParams) SetFleetID(fleetID *string)

SetFleetID adds the fleetId to the artifact get params

func (*ArtifactGetParams) SetFlightId added in v0.63.0

func (o *ArtifactGetParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*ArtifactGetParams) SetHTTPClient

func (o *ArtifactGetParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the artifact get params

func (*ArtifactGetParams) SetHTTPClientTransport

func (o *ArtifactGetParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the artifact get params

func (*ArtifactGetParams) SetImageID

func (o *ArtifactGetParams) SetImageID(imageID *string)

SetImageID adds the imageId to the artifact get params

func (*ArtifactGetParams) SetMaxSize

func (o *ArtifactGetParams) SetMaxSize(maxSize *int64)

SetMaxSize adds the maxSize to the artifact get params

func (*ArtifactGetParams) SetMinSize

func (o *ArtifactGetParams) SetMinSize(minSize *int64)

SetMinSize adds the minSize to the artifact get params

func (*ArtifactGetParams) SetNamespace

func (o *ArtifactGetParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the artifact get params

func (*ArtifactGetParams) SetOffset added in v0.62.0

func (o *ArtifactGetParams) SetOffset(offset *int64)

SetOffset adds the offset to the artifact get params

func (*ArtifactGetParams) SetRegion

func (o *ArtifactGetParams) SetRegion(region *string)

SetRegion adds the region to the artifact get params

func (*ArtifactGetParams) SetServerID added in v0.62.0

func (o *ArtifactGetParams) SetServerID(serverID *string)

SetServerID adds the serverId to the artifact get params

func (*ArtifactGetParams) SetStartDate

func (o *ArtifactGetParams) SetStartDate(startDate *string)

SetStartDate adds the startDate to the artifact get params

func (*ArtifactGetParams) SetStatus

func (o *ArtifactGetParams) SetStatus(status *string)

SetStatus adds the status to the artifact get params

func (*ArtifactGetParams) SetTimeout

func (o *ArtifactGetParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the artifact get params

func (*ArtifactGetParams) WithArtifactType

func (o *ArtifactGetParams) WithArtifactType(artifactType *string) *ArtifactGetParams

WithArtifactType adds the artifactType to the artifact get params

func (*ArtifactGetParams) WithContext

func (o *ArtifactGetParams) WithContext(ctx context.Context) *ArtifactGetParams

WithContext adds the context to the artifact get params

func (*ArtifactGetParams) WithCount added in v0.62.0

func (o *ArtifactGetParams) WithCount(count *int64) *ArtifactGetParams

WithCount adds the count to the artifact get params

func (*ArtifactGetParams) WithEndDate

func (o *ArtifactGetParams) WithEndDate(endDate *string) *ArtifactGetParams

WithEndDate adds the endDate to the artifact get params

func (*ArtifactGetParams) WithFleetID

func (o *ArtifactGetParams) WithFleetID(fleetID *string) *ArtifactGetParams

WithFleetID adds the fleetID to the artifact get params

func (*ArtifactGetParams) WithHTTPClient

func (o *ArtifactGetParams) WithHTTPClient(client *http.Client) *ArtifactGetParams

WithHTTPClient adds the HTTPClient to the artifact get params

func (*ArtifactGetParams) WithImageID

func (o *ArtifactGetParams) WithImageID(imageID *string) *ArtifactGetParams

WithImageID adds the imageID to the artifact get params

func (*ArtifactGetParams) WithMaxSize

func (o *ArtifactGetParams) WithMaxSize(maxSize *int64) *ArtifactGetParams

WithMaxSize adds the maxSize to the artifact get params

func (*ArtifactGetParams) WithMinSize

func (o *ArtifactGetParams) WithMinSize(minSize *int64) *ArtifactGetParams

WithMinSize adds the minSize to the artifact get params

func (*ArtifactGetParams) WithNamespace

func (o *ArtifactGetParams) WithNamespace(namespace string) *ArtifactGetParams

WithNamespace adds the namespace to the artifact get params

func (*ArtifactGetParams) WithOffset added in v0.62.0

func (o *ArtifactGetParams) WithOffset(offset *int64) *ArtifactGetParams

WithOffset adds the offset to the artifact get params

func (*ArtifactGetParams) WithRegion

func (o *ArtifactGetParams) WithRegion(region *string) *ArtifactGetParams

WithRegion adds the region to the artifact get params

func (*ArtifactGetParams) WithServerID added in v0.62.0

func (o *ArtifactGetParams) WithServerID(serverID *string) *ArtifactGetParams

WithServerID adds the serverID to the artifact get params

func (*ArtifactGetParams) WithStartDate

func (o *ArtifactGetParams) WithStartDate(startDate *string) *ArtifactGetParams

WithStartDate adds the startDate to the artifact get params

func (*ArtifactGetParams) WithStatus

func (o *ArtifactGetParams) WithStatus(status *string) *ArtifactGetParams

WithStatus adds the status to the artifact get params

func (*ArtifactGetParams) WithTimeout

func (o *ArtifactGetParams) WithTimeout(timeout time.Duration) *ArtifactGetParams

WithTimeout adds the timeout to the artifact get params

func (*ArtifactGetParams) WriteToRequest

func (o *ArtifactGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type ArtifactGetReader

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

ArtifactGetReader is a Reader for the ArtifactGet structure.

func (*ArtifactGetReader) ReadResponse

func (o *ArtifactGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ArtifactGetURLBadRequest

type ArtifactGetURLBadRequest struct {
	Payload *amsclientmodels.ResponseErrorResponse
}

ArtifactGetURLBadRequest handles this case with default header values.

invalid data in request

func NewArtifactGetURLBadRequest

func NewArtifactGetURLBadRequest() *ArtifactGetURLBadRequest

NewArtifactGetURLBadRequest creates a ArtifactGetURLBadRequest with default headers values

func (*ArtifactGetURLBadRequest) Error

func (o *ArtifactGetURLBadRequest) Error() string

func (*ArtifactGetURLBadRequest) GetPayload

func (*ArtifactGetURLBadRequest) ToJSONString

func (o *ArtifactGetURLBadRequest) ToJSONString() string

type ArtifactGetURLForbidden

type ArtifactGetURLForbidden struct {
	Payload *amsclientmodels.ResponseErrorResponse
}

ArtifactGetURLForbidden handles this case with default header values.

insufficient permissions

func NewArtifactGetURLForbidden

func NewArtifactGetURLForbidden() *ArtifactGetURLForbidden

NewArtifactGetURLForbidden creates a ArtifactGetURLForbidden with default headers values

func (*ArtifactGetURLForbidden) Error

func (o *ArtifactGetURLForbidden) Error() string

func (*ArtifactGetURLForbidden) GetPayload

func (*ArtifactGetURLForbidden) ToJSONString

func (o *ArtifactGetURLForbidden) ToJSONString() string

type ArtifactGetURLInternalServerError

type ArtifactGetURLInternalServerError struct {
	Payload *amsclientmodels.ResponseErrorResponse
}

ArtifactGetURLInternalServerError handles this case with default header values.

internal server error

func NewArtifactGetURLInternalServerError

func NewArtifactGetURLInternalServerError() *ArtifactGetURLInternalServerError

NewArtifactGetURLInternalServerError creates a ArtifactGetURLInternalServerError with default headers values

func (*ArtifactGetURLInternalServerError) Error

func (*ArtifactGetURLInternalServerError) GetPayload

func (*ArtifactGetURLInternalServerError) ToJSONString

func (o *ArtifactGetURLInternalServerError) ToJSONString() string

type ArtifactGetURLNotFound added in v0.62.0

type ArtifactGetURLNotFound struct {
	Payload *amsclientmodels.ResponseErrorResponse
}

ArtifactGetURLNotFound handles this case with default header values.

no artifact with specifed artifactID

func NewArtifactGetURLNotFound added in v0.62.0

func NewArtifactGetURLNotFound() *ArtifactGetURLNotFound

NewArtifactGetURLNotFound creates a ArtifactGetURLNotFound with default headers values

func (*ArtifactGetURLNotFound) Error added in v0.62.0

func (o *ArtifactGetURLNotFound) Error() string

func (*ArtifactGetURLNotFound) GetPayload added in v0.62.0

func (*ArtifactGetURLNotFound) ToJSONString added in v0.62.0

func (o *ArtifactGetURLNotFound) ToJSONString() string

type ArtifactGetURLOK

type ArtifactGetURLOK struct {
	Payload *amsclientmodels.APIArtifactURLResponse
}

ArtifactGetURLOK handles this case with default header values.

success

func NewArtifactGetURLOK

func NewArtifactGetURLOK() *ArtifactGetURLOK

NewArtifactGetURLOK creates a ArtifactGetURLOK with default headers values

func (*ArtifactGetURLOK) Error

func (o *ArtifactGetURLOK) Error() string

func (*ArtifactGetURLOK) GetPayload

func (*ArtifactGetURLOK) ToJSONString

func (o *ArtifactGetURLOK) ToJSONString() string

type ArtifactGetURLParams

type ArtifactGetURLParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*ArtifactID
	  the id of the artifact

	*/
	ArtifactID string
	/*Namespace
	  namespace of the game

	*/
	Namespace string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

ArtifactGetURLParams contains all the parameters to send to the API endpoint for the artifact get url operation typically these are written to a http.Request

func NewArtifactGetURLParams

func NewArtifactGetURLParams() *ArtifactGetURLParams

NewArtifactGetURLParams creates a new ArtifactGetURLParams object with the default values initialized.

func NewArtifactGetURLParamsWithContext

func NewArtifactGetURLParamsWithContext(ctx context.Context) *ArtifactGetURLParams

NewArtifactGetURLParamsWithContext creates a new ArtifactGetURLParams object with the default values initialized, and the ability to set a context for a request

func NewArtifactGetURLParamsWithHTTPClient

func NewArtifactGetURLParamsWithHTTPClient(client *http.Client) *ArtifactGetURLParams

NewArtifactGetURLParamsWithHTTPClient creates a new ArtifactGetURLParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewArtifactGetURLParamsWithTimeout

func NewArtifactGetURLParamsWithTimeout(timeout time.Duration) *ArtifactGetURLParams

NewArtifactGetURLParamsWithTimeout creates a new ArtifactGetURLParams object with the default values initialized, and the ability to set a timeout on a request

func (*ArtifactGetURLParams) SetArtifactID

func (o *ArtifactGetURLParams) SetArtifactID(artifactID string)

SetArtifactID adds the artifactId to the artifact get url params

func (*ArtifactGetURLParams) SetAuthInfoWriter

func (o *ArtifactGetURLParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the artifact get url params

func (*ArtifactGetURLParams) SetContext

func (o *ArtifactGetURLParams) SetContext(ctx context.Context)

SetContext adds the context to the artifact get url params

func (*ArtifactGetURLParams) SetFlightId added in v0.63.0

func (o *ArtifactGetURLParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*ArtifactGetURLParams) SetHTTPClient

func (o *ArtifactGetURLParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the artifact get url params

func (*ArtifactGetURLParams) SetHTTPClientTransport

func (o *ArtifactGetURLParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the artifact get url params

func (*ArtifactGetURLParams) SetNamespace

func (o *ArtifactGetURLParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the artifact get url params

func (*ArtifactGetURLParams) SetTimeout

func (o *ArtifactGetURLParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the artifact get url params

func (*ArtifactGetURLParams) WithArtifactID

func (o *ArtifactGetURLParams) WithArtifactID(artifactID string) *ArtifactGetURLParams

WithArtifactID adds the artifactID to the artifact get url params

func (*ArtifactGetURLParams) WithContext

WithContext adds the context to the artifact get url params

func (*ArtifactGetURLParams) WithHTTPClient

func (o *ArtifactGetURLParams) WithHTTPClient(client *http.Client) *ArtifactGetURLParams

WithHTTPClient adds the HTTPClient to the artifact get url params

func (*ArtifactGetURLParams) WithNamespace

func (o *ArtifactGetURLParams) WithNamespace(namespace string) *ArtifactGetURLParams

WithNamespace adds the namespace to the artifact get url params

func (*ArtifactGetURLParams) WithTimeout

func (o *ArtifactGetURLParams) WithTimeout(timeout time.Duration) *ArtifactGetURLParams

WithTimeout adds the timeout to the artifact get url params

func (*ArtifactGetURLParams) WriteToRequest

func (o *ArtifactGetURLParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type ArtifactGetURLReader

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

ArtifactGetURLReader is a Reader for the ArtifactGetURL structure.

func (*ArtifactGetURLReader) ReadResponse

func (o *ArtifactGetURLReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ArtifactGetURLUnauthorized

type ArtifactGetURLUnauthorized struct {
	Payload *amsclientmodels.ResponseErrorResponse
}

ArtifactGetURLUnauthorized handles this case with default header values.

no authorization provided

func NewArtifactGetURLUnauthorized

func NewArtifactGetURLUnauthorized() *ArtifactGetURLUnauthorized

NewArtifactGetURLUnauthorized creates a ArtifactGetURLUnauthorized with default headers values

func (*ArtifactGetURLUnauthorized) Error

func (*ArtifactGetURLUnauthorized) GetPayload

func (*ArtifactGetURLUnauthorized) ToJSONString

func (o *ArtifactGetURLUnauthorized) ToJSONString() string

type ArtifactGetUnauthorized

type ArtifactGetUnauthorized struct {
	Payload *amsclientmodels.ResponseErrorResponse
}

ArtifactGetUnauthorized handles this case with default header values.

no authorization provided

func NewArtifactGetUnauthorized

func NewArtifactGetUnauthorized() *ArtifactGetUnauthorized

NewArtifactGetUnauthorized creates a ArtifactGetUnauthorized with default headers values

func (*ArtifactGetUnauthorized) Error

func (o *ArtifactGetUnauthorized) Error() string

func (*ArtifactGetUnauthorized) GetPayload

func (*ArtifactGetUnauthorized) ToJSONString

func (o *ArtifactGetUnauthorized) ToJSONString() string

type ArtifactUsageGetForbidden

type ArtifactUsageGetForbidden struct {
	Payload *amsclientmodels.ResponseErrorResponse
}

ArtifactUsageGetForbidden handles this case with default header values.

insufficient permissions

func NewArtifactUsageGetForbidden

func NewArtifactUsageGetForbidden() *ArtifactUsageGetForbidden

NewArtifactUsageGetForbidden creates a ArtifactUsageGetForbidden with default headers values

func (*ArtifactUsageGetForbidden) Error

func (o *ArtifactUsageGetForbidden) Error() string

func (*ArtifactUsageGetForbidden) GetPayload

func (*ArtifactUsageGetForbidden) ToJSONString

func (o *ArtifactUsageGetForbidden) ToJSONString() string

type ArtifactUsageGetInternalServerError

type ArtifactUsageGetInternalServerError struct {
	Payload *amsclientmodels.ResponseErrorResponse
}

ArtifactUsageGetInternalServerError handles this case with default header values.

internal server error

func NewArtifactUsageGetInternalServerError

func NewArtifactUsageGetInternalServerError() *ArtifactUsageGetInternalServerError

NewArtifactUsageGetInternalServerError creates a ArtifactUsageGetInternalServerError with default headers values

func (*ArtifactUsageGetInternalServerError) Error

func (*ArtifactUsageGetInternalServerError) GetPayload

func (*ArtifactUsageGetInternalServerError) ToJSONString

func (o *ArtifactUsageGetInternalServerError) ToJSONString() string

type ArtifactUsageGetOK

type ArtifactUsageGetOK struct {
	Payload *amsclientmodels.APIArtifactUsageResponse
}

ArtifactUsageGetOK handles this case with default header values.

success

func NewArtifactUsageGetOK

func NewArtifactUsageGetOK() *ArtifactUsageGetOK

NewArtifactUsageGetOK creates a ArtifactUsageGetOK with default headers values

func (*ArtifactUsageGetOK) Error

func (o *ArtifactUsageGetOK) Error() string

func (*ArtifactUsageGetOK) GetPayload

func (*ArtifactUsageGetOK) ToJSONString

func (o *ArtifactUsageGetOK) ToJSONString() string

type ArtifactUsageGetParams

type ArtifactUsageGetParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Namespace
	  namespace of the game

	*/
	Namespace string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

ArtifactUsageGetParams contains all the parameters to send to the API endpoint for the artifact usage get operation typically these are written to a http.Request

func NewArtifactUsageGetParams

func NewArtifactUsageGetParams() *ArtifactUsageGetParams

NewArtifactUsageGetParams creates a new ArtifactUsageGetParams object with the default values initialized.

func NewArtifactUsageGetParamsWithContext

func NewArtifactUsageGetParamsWithContext(ctx context.Context) *ArtifactUsageGetParams

NewArtifactUsageGetParamsWithContext creates a new ArtifactUsageGetParams object with the default values initialized, and the ability to set a context for a request

func NewArtifactUsageGetParamsWithHTTPClient

func NewArtifactUsageGetParamsWithHTTPClient(client *http.Client) *ArtifactUsageGetParams

NewArtifactUsageGetParamsWithHTTPClient creates a new ArtifactUsageGetParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewArtifactUsageGetParamsWithTimeout

func NewArtifactUsageGetParamsWithTimeout(timeout time.Duration) *ArtifactUsageGetParams

NewArtifactUsageGetParamsWithTimeout creates a new ArtifactUsageGetParams object with the default values initialized, and the ability to set a timeout on a request

func (*ArtifactUsageGetParams) SetAuthInfoWriter

func (o *ArtifactUsageGetParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the artifact usage get params

func (*ArtifactUsageGetParams) SetContext

func (o *ArtifactUsageGetParams) SetContext(ctx context.Context)

SetContext adds the context to the artifact usage get params

func (*ArtifactUsageGetParams) SetFlightId added in v0.63.0

func (o *ArtifactUsageGetParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*ArtifactUsageGetParams) SetHTTPClient

func (o *ArtifactUsageGetParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the artifact usage get params

func (*ArtifactUsageGetParams) SetHTTPClientTransport

func (o *ArtifactUsageGetParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the artifact usage get params

func (*ArtifactUsageGetParams) SetNamespace

func (o *ArtifactUsageGetParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the artifact usage get params

func (*ArtifactUsageGetParams) SetTimeout

func (o *ArtifactUsageGetParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the artifact usage get params

func (*ArtifactUsageGetParams) WithContext

WithContext adds the context to the artifact usage get params

func (*ArtifactUsageGetParams) WithHTTPClient

func (o *ArtifactUsageGetParams) WithHTTPClient(client *http.Client) *ArtifactUsageGetParams

WithHTTPClient adds the HTTPClient to the artifact usage get params

func (*ArtifactUsageGetParams) WithNamespace

func (o *ArtifactUsageGetParams) WithNamespace(namespace string) *ArtifactUsageGetParams

WithNamespace adds the namespace to the artifact usage get params

func (*ArtifactUsageGetParams) WithTimeout

WithTimeout adds the timeout to the artifact usage get params

func (*ArtifactUsageGetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ArtifactUsageGetReader

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

ArtifactUsageGetReader is a Reader for the ArtifactUsageGet structure.

func (*ArtifactUsageGetReader) ReadResponse

func (o *ArtifactUsageGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ArtifactUsageGetUnauthorized

type ArtifactUsageGetUnauthorized struct {
	Payload *amsclientmodels.ResponseErrorResponse
}

ArtifactUsageGetUnauthorized handles this case with default header values.

no authorization provided

func NewArtifactUsageGetUnauthorized

func NewArtifactUsageGetUnauthorized() *ArtifactUsageGetUnauthorized

NewArtifactUsageGetUnauthorized creates a ArtifactUsageGetUnauthorized with default headers values

func (*ArtifactUsageGetUnauthorized) Error

func (*ArtifactUsageGetUnauthorized) GetPayload

func (*ArtifactUsageGetUnauthorized) ToJSONString

func (o *ArtifactUsageGetUnauthorized) ToJSONString() string

type Client

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

Client for artifacts API

func (*Client) ArtifactDelete deprecated

Deprecated: 2022-08-10 - Use ArtifactDeleteShort instead.

ArtifactDelete delete a specified artifact Required Permission: ADMIN:NAMESPACE:{namespace}:AMS:ARTIFACT [DELETE]

func (*Client) ArtifactDeleteShort

func (a *Client) ArtifactDeleteShort(params *ArtifactDeleteParams, authInfo runtime.ClientAuthInfoWriter) (*ArtifactDeleteAccepted, error)

ArtifactDeleteShort delete a specified artifact Required Permission: ADMIN:NAMESPACE:{namespace}:AMS:ARTIFACT [DELETE]

func (*Client) ArtifactGet deprecated

Deprecated: 2022-08-10 - Use ArtifactGetShort instead.

ArtifactGet get all artifacts matching the provided criteria Get all artifacts matching the provided search criteria. When criteria is not specified the data returned won't have been filtered on those parameters

Required Permission: ADMIN:NAMESPACE:{namespace}:AMS:ARTIFACT [READ]

func (*Client) ArtifactGetShort

func (a *Client) ArtifactGetShort(params *ArtifactGetParams, authInfo runtime.ClientAuthInfoWriter) (*ArtifactGetOK, error)

ArtifactGetShort get all artifacts matching the provided criteria Get all artifacts matching the provided search criteria. When criteria is not specified the data returned won't have been filtered on those parameters

Required Permission: ADMIN:NAMESPACE:{namespace}:AMS:ARTIFACT [READ]

func (*Client) ArtifactGetURL deprecated

Deprecated: 2022-08-10 - Use ArtifactGetURLShort instead.

ArtifactGetURL get a signed url for a specific artifact Required Permission: ADMIN:NAMESPACE:{namespace}:AMS:ARTIFACT [READ]

func (*Client) ArtifactGetURLShort

func (a *Client) ArtifactGetURLShort(params *ArtifactGetURLParams, authInfo runtime.ClientAuthInfoWriter) (*ArtifactGetURLOK, error)

ArtifactGetURLShort get a signed url for a specific artifact Required Permission: ADMIN:NAMESPACE:{namespace}:AMS:ARTIFACT [READ]

func (*Client) ArtifactUsageGet deprecated

Deprecated: 2022-08-10 - Use ArtifactUsageGetShort instead.

ArtifactUsageGet retrieve artifact storage usage for the namespace Required Permission: ADMIN:NAMESPACE:{namespace}:AMS:ARTIFACT [READ]

func (*Client) ArtifactUsageGetShort

func (a *Client) ArtifactUsageGetShort(params *ArtifactUsageGetParams, authInfo runtime.ClientAuthInfoWriter) (*ArtifactUsageGetOK, error)

ArtifactUsageGetShort retrieve artifact storage usage for the namespace Required Permission: ADMIN:NAMESPACE:{namespace}:AMS:ARTIFACT [READ]

func (*Client) FleetArtifactSamplingRulesGet deprecated

Deprecated: 2022-08-10 - Use FleetArtifactSamplingRulesGetShort instead.

FleetArtifactSamplingRulesGet get the sampling rules for a fleet Required Permission: ADMIN:NAMESPACE:{namespace}:AMS:ARTIFACT [READ]

func (*Client) FleetArtifactSamplingRulesGetShort

func (a *Client) FleetArtifactSamplingRulesGetShort(params *FleetArtifactSamplingRulesGetParams, authInfo runtime.ClientAuthInfoWriter) (*FleetArtifactSamplingRulesGetOK, error)

FleetArtifactSamplingRulesGetShort get the sampling rules for a fleet Required Permission: ADMIN:NAMESPACE:{namespace}:AMS:ARTIFACT [READ]

func (*Client) FleetArtifactSamplingRulesSet deprecated

Deprecated: 2022-08-10 - Use FleetArtifactSamplingRulesSetShort instead.

FleetArtifactSamplingRulesSet set sampling rules for a fleet Required Permission: ADMIN:NAMESPACE:{namespace}:AMS:ARTIFACT [UPDATE]

func (*Client) FleetArtifactSamplingRulesSetShort

func (a *Client) FleetArtifactSamplingRulesSetShort(params *FleetArtifactSamplingRulesSetParams, authInfo runtime.ClientAuthInfoWriter) (*FleetArtifactSamplingRulesSetOK, error)

FleetArtifactSamplingRulesSetShort set sampling rules for a fleet Required Permission: ADMIN:NAMESPACE:{namespace}:AMS:ARTIFACT [UPDATE]

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

type ClientService

type ClientService interface {
	ArtifactGet(params *ArtifactGetParams, authInfo runtime.ClientAuthInfoWriter) (*ArtifactGetOK, *ArtifactGetBadRequest, *ArtifactGetUnauthorized, *ArtifactGetForbidden, *ArtifactGetInternalServerError, error)
	ArtifactGetShort(params *ArtifactGetParams, authInfo runtime.ClientAuthInfoWriter) (*ArtifactGetOK, error)
	ArtifactUsageGet(params *ArtifactUsageGetParams, authInfo runtime.ClientAuthInfoWriter) (*ArtifactUsageGetOK, *ArtifactUsageGetUnauthorized, *ArtifactUsageGetForbidden, *ArtifactUsageGetInternalServerError, error)
	ArtifactUsageGetShort(params *ArtifactUsageGetParams, authInfo runtime.ClientAuthInfoWriter) (*ArtifactUsageGetOK, error)
	ArtifactDelete(params *ArtifactDeleteParams, authInfo runtime.ClientAuthInfoWriter) (*ArtifactDeleteAccepted, *ArtifactDeleteBadRequest, *ArtifactDeleteUnauthorized, *ArtifactDeleteForbidden, *ArtifactDeleteNotFound, *ArtifactDeleteInternalServerError, error)
	ArtifactDeleteShort(params *ArtifactDeleteParams, authInfo runtime.ClientAuthInfoWriter) (*ArtifactDeleteAccepted, error)
	ArtifactGetURL(params *ArtifactGetURLParams, authInfo runtime.ClientAuthInfoWriter) (*ArtifactGetURLOK, *ArtifactGetURLBadRequest, *ArtifactGetURLUnauthorized, *ArtifactGetURLForbidden, *ArtifactGetURLNotFound, *ArtifactGetURLInternalServerError, error)
	ArtifactGetURLShort(params *ArtifactGetURLParams, authInfo runtime.ClientAuthInfoWriter) (*ArtifactGetURLOK, error)
	FleetArtifactSamplingRulesGet(params *FleetArtifactSamplingRulesGetParams, authInfo runtime.ClientAuthInfoWriter) (*FleetArtifactSamplingRulesGetOK, *FleetArtifactSamplingRulesGetBadRequest, *FleetArtifactSamplingRulesGetUnauthorized, *FleetArtifactSamplingRulesGetForbidden, *FleetArtifactSamplingRulesGetNotFound, *FleetArtifactSamplingRulesGetInternalServerError, error)
	FleetArtifactSamplingRulesGetShort(params *FleetArtifactSamplingRulesGetParams, authInfo runtime.ClientAuthInfoWriter) (*FleetArtifactSamplingRulesGetOK, error)
	FleetArtifactSamplingRulesSet(params *FleetArtifactSamplingRulesSetParams, authInfo runtime.ClientAuthInfoWriter) (*FleetArtifactSamplingRulesSetOK, *FleetArtifactSamplingRulesSetBadRequest, *FleetArtifactSamplingRulesSetUnauthorized, *FleetArtifactSamplingRulesSetForbidden, *FleetArtifactSamplingRulesSetNotFound, *FleetArtifactSamplingRulesSetInternalServerError, error)
	FleetArtifactSamplingRulesSetShort(params *FleetArtifactSamplingRulesSetParams, authInfo runtime.ClientAuthInfoWriter) (*FleetArtifactSamplingRulesSetOK, error)

	SetTransport(transport runtime.ClientTransport)
}

ClientService is the interface for Client methods

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService

New creates a new artifacts API client.

type FleetArtifactSamplingRulesGetBadRequest

type FleetArtifactSamplingRulesGetBadRequest struct {
	Payload *amsclientmodels.ResponseErrorResponse
}

FleetArtifactSamplingRulesGetBadRequest handles this case with default header values.

invalid fleet ID

func NewFleetArtifactSamplingRulesGetBadRequest

func NewFleetArtifactSamplingRulesGetBadRequest() *FleetArtifactSamplingRulesGetBadRequest

NewFleetArtifactSamplingRulesGetBadRequest creates a FleetArtifactSamplingRulesGetBadRequest with default headers values

func (*FleetArtifactSamplingRulesGetBadRequest) Error

func (*FleetArtifactSamplingRulesGetBadRequest) GetPayload

func (*FleetArtifactSamplingRulesGetBadRequest) ToJSONString

type FleetArtifactSamplingRulesGetForbidden

type FleetArtifactSamplingRulesGetForbidden struct {
	Payload *amsclientmodels.ResponseErrorResponse
}

FleetArtifactSamplingRulesGetForbidden handles this case with default header values.

insufficient permissions

func NewFleetArtifactSamplingRulesGetForbidden

func NewFleetArtifactSamplingRulesGetForbidden() *FleetArtifactSamplingRulesGetForbidden

NewFleetArtifactSamplingRulesGetForbidden creates a FleetArtifactSamplingRulesGetForbidden with default headers values

func (*FleetArtifactSamplingRulesGetForbidden) Error

func (*FleetArtifactSamplingRulesGetForbidden) GetPayload

func (*FleetArtifactSamplingRulesGetForbidden) ToJSONString

type FleetArtifactSamplingRulesGetInternalServerError

type FleetArtifactSamplingRulesGetInternalServerError struct {
	Payload *amsclientmodels.ResponseErrorResponse
}

FleetArtifactSamplingRulesGetInternalServerError handles this case with default header values.

internal server error

func NewFleetArtifactSamplingRulesGetInternalServerError

func NewFleetArtifactSamplingRulesGetInternalServerError() *FleetArtifactSamplingRulesGetInternalServerError

NewFleetArtifactSamplingRulesGetInternalServerError creates a FleetArtifactSamplingRulesGetInternalServerError with default headers values

func (*FleetArtifactSamplingRulesGetInternalServerError) Error

func (*FleetArtifactSamplingRulesGetInternalServerError) GetPayload

func (*FleetArtifactSamplingRulesGetInternalServerError) ToJSONString

type FleetArtifactSamplingRulesGetNotFound

type FleetArtifactSamplingRulesGetNotFound struct {
	Payload *amsclientmodels.ResponseErrorResponse
}

FleetArtifactSamplingRulesGetNotFound handles this case with default header values.

artifact sampling rules not found for fleet

func NewFleetArtifactSamplingRulesGetNotFound

func NewFleetArtifactSamplingRulesGetNotFound() *FleetArtifactSamplingRulesGetNotFound

NewFleetArtifactSamplingRulesGetNotFound creates a FleetArtifactSamplingRulesGetNotFound with default headers values

func (*FleetArtifactSamplingRulesGetNotFound) Error

func (*FleetArtifactSamplingRulesGetNotFound) GetPayload

func (*FleetArtifactSamplingRulesGetNotFound) ToJSONString

type FleetArtifactSamplingRulesGetOK

type FleetArtifactSamplingRulesGetOK struct {
	Payload *amsclientmodels.APIFleetArtifactsSampleRules
}

FleetArtifactSamplingRulesGetOK handles this case with default header values.

success

func NewFleetArtifactSamplingRulesGetOK

func NewFleetArtifactSamplingRulesGetOK() *FleetArtifactSamplingRulesGetOK

NewFleetArtifactSamplingRulesGetOK creates a FleetArtifactSamplingRulesGetOK with default headers values

func (*FleetArtifactSamplingRulesGetOK) Error

func (*FleetArtifactSamplingRulesGetOK) GetPayload

func (*FleetArtifactSamplingRulesGetOK) ToJSONString

func (o *FleetArtifactSamplingRulesGetOK) ToJSONString() string

type FleetArtifactSamplingRulesGetParams

type FleetArtifactSamplingRulesGetParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*FleetID
	  the id of the fleet

	*/
	FleetID string
	/*Namespace
	  namespace of the game

	*/
	Namespace string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

FleetArtifactSamplingRulesGetParams contains all the parameters to send to the API endpoint for the fleet artifact sampling rules get operation typically these are written to a http.Request

func NewFleetArtifactSamplingRulesGetParams

func NewFleetArtifactSamplingRulesGetParams() *FleetArtifactSamplingRulesGetParams

NewFleetArtifactSamplingRulesGetParams creates a new FleetArtifactSamplingRulesGetParams object with the default values initialized.

func NewFleetArtifactSamplingRulesGetParamsWithContext

func NewFleetArtifactSamplingRulesGetParamsWithContext(ctx context.Context) *FleetArtifactSamplingRulesGetParams

NewFleetArtifactSamplingRulesGetParamsWithContext creates a new FleetArtifactSamplingRulesGetParams object with the default values initialized, and the ability to set a context for a request

func NewFleetArtifactSamplingRulesGetParamsWithHTTPClient

func NewFleetArtifactSamplingRulesGetParamsWithHTTPClient(client *http.Client) *FleetArtifactSamplingRulesGetParams

NewFleetArtifactSamplingRulesGetParamsWithHTTPClient creates a new FleetArtifactSamplingRulesGetParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewFleetArtifactSamplingRulesGetParamsWithTimeout

func NewFleetArtifactSamplingRulesGetParamsWithTimeout(timeout time.Duration) *FleetArtifactSamplingRulesGetParams

NewFleetArtifactSamplingRulesGetParamsWithTimeout creates a new FleetArtifactSamplingRulesGetParams object with the default values initialized, and the ability to set a timeout on a request

func (*FleetArtifactSamplingRulesGetParams) SetAuthInfoWriter

func (o *FleetArtifactSamplingRulesGetParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the fleet artifact sampling rules get params

func (*FleetArtifactSamplingRulesGetParams) SetContext

SetContext adds the context to the fleet artifact sampling rules get params

func (*FleetArtifactSamplingRulesGetParams) SetFleetID

func (o *FleetArtifactSamplingRulesGetParams) SetFleetID(fleetID string)

SetFleetID adds the fleetId to the fleet artifact sampling rules get params

func (*FleetArtifactSamplingRulesGetParams) SetFlightId added in v0.63.0

func (o *FleetArtifactSamplingRulesGetParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*FleetArtifactSamplingRulesGetParams) SetHTTPClient

func (o *FleetArtifactSamplingRulesGetParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the fleet artifact sampling rules get params

func (*FleetArtifactSamplingRulesGetParams) SetHTTPClientTransport

func (o *FleetArtifactSamplingRulesGetParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the fleet artifact sampling rules get params

func (*FleetArtifactSamplingRulesGetParams) SetNamespace

func (o *FleetArtifactSamplingRulesGetParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the fleet artifact sampling rules get params

func (*FleetArtifactSamplingRulesGetParams) SetTimeout

func (o *FleetArtifactSamplingRulesGetParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the fleet artifact sampling rules get params

func (*FleetArtifactSamplingRulesGetParams) WithContext

WithContext adds the context to the fleet artifact sampling rules get params

func (*FleetArtifactSamplingRulesGetParams) WithFleetID

WithFleetID adds the fleetID to the fleet artifact sampling rules get params

func (*FleetArtifactSamplingRulesGetParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the fleet artifact sampling rules get params

func (*FleetArtifactSamplingRulesGetParams) WithNamespace

WithNamespace adds the namespace to the fleet artifact sampling rules get params

func (*FleetArtifactSamplingRulesGetParams) WithTimeout

WithTimeout adds the timeout to the fleet artifact sampling rules get params

func (*FleetArtifactSamplingRulesGetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type FleetArtifactSamplingRulesGetReader

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

FleetArtifactSamplingRulesGetReader is a Reader for the FleetArtifactSamplingRulesGet structure.

func (*FleetArtifactSamplingRulesGetReader) ReadResponse

func (o *FleetArtifactSamplingRulesGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type FleetArtifactSamplingRulesGetUnauthorized

type FleetArtifactSamplingRulesGetUnauthorized struct {
	Payload *amsclientmodels.ResponseErrorResponse
}

FleetArtifactSamplingRulesGetUnauthorized handles this case with default header values.

no authorization provided

func NewFleetArtifactSamplingRulesGetUnauthorized

func NewFleetArtifactSamplingRulesGetUnauthorized() *FleetArtifactSamplingRulesGetUnauthorized

NewFleetArtifactSamplingRulesGetUnauthorized creates a FleetArtifactSamplingRulesGetUnauthorized with default headers values

func (*FleetArtifactSamplingRulesGetUnauthorized) Error

func (*FleetArtifactSamplingRulesGetUnauthorized) GetPayload

func (*FleetArtifactSamplingRulesGetUnauthorized) ToJSONString

type FleetArtifactSamplingRulesSetBadRequest

type FleetArtifactSamplingRulesSetBadRequest struct {
	Payload *amsclientmodels.ResponseErrorResponse
}

FleetArtifactSamplingRulesSetBadRequest handles this case with default header values.

invalid fleet ID

func NewFleetArtifactSamplingRulesSetBadRequest

func NewFleetArtifactSamplingRulesSetBadRequest() *FleetArtifactSamplingRulesSetBadRequest

NewFleetArtifactSamplingRulesSetBadRequest creates a FleetArtifactSamplingRulesSetBadRequest with default headers values

func (*FleetArtifactSamplingRulesSetBadRequest) Error

func (*FleetArtifactSamplingRulesSetBadRequest) GetPayload

func (*FleetArtifactSamplingRulesSetBadRequest) ToJSONString

type FleetArtifactSamplingRulesSetForbidden

type FleetArtifactSamplingRulesSetForbidden struct {
	Payload *amsclientmodels.ResponseErrorResponse
}

FleetArtifactSamplingRulesSetForbidden handles this case with default header values.

insufficient permissions

func NewFleetArtifactSamplingRulesSetForbidden

func NewFleetArtifactSamplingRulesSetForbidden() *FleetArtifactSamplingRulesSetForbidden

NewFleetArtifactSamplingRulesSetForbidden creates a FleetArtifactSamplingRulesSetForbidden with default headers values

func (*FleetArtifactSamplingRulesSetForbidden) Error

func (*FleetArtifactSamplingRulesSetForbidden) GetPayload

func (*FleetArtifactSamplingRulesSetForbidden) ToJSONString

type FleetArtifactSamplingRulesSetInternalServerError

type FleetArtifactSamplingRulesSetInternalServerError struct {
	Payload *amsclientmodels.ResponseErrorResponse
}

FleetArtifactSamplingRulesSetInternalServerError handles this case with default header values.

internal server error

func NewFleetArtifactSamplingRulesSetInternalServerError

func NewFleetArtifactSamplingRulesSetInternalServerError() *FleetArtifactSamplingRulesSetInternalServerError

NewFleetArtifactSamplingRulesSetInternalServerError creates a FleetArtifactSamplingRulesSetInternalServerError with default headers values

func (*FleetArtifactSamplingRulesSetInternalServerError) Error

func (*FleetArtifactSamplingRulesSetInternalServerError) GetPayload

func (*FleetArtifactSamplingRulesSetInternalServerError) ToJSONString

type FleetArtifactSamplingRulesSetNotFound

type FleetArtifactSamplingRulesSetNotFound struct {
	Payload *amsclientmodels.ResponseErrorResponse
}

FleetArtifactSamplingRulesSetNotFound handles this case with default header values.

fleet not found

func NewFleetArtifactSamplingRulesSetNotFound

func NewFleetArtifactSamplingRulesSetNotFound() *FleetArtifactSamplingRulesSetNotFound

NewFleetArtifactSamplingRulesSetNotFound creates a FleetArtifactSamplingRulesSetNotFound with default headers values

func (*FleetArtifactSamplingRulesSetNotFound) Error

func (*FleetArtifactSamplingRulesSetNotFound) GetPayload

func (*FleetArtifactSamplingRulesSetNotFound) ToJSONString

type FleetArtifactSamplingRulesSetOK added in v0.64.0

type FleetArtifactSamplingRulesSetOK struct {
	Payload *amsclientmodels.APIFleetArtifactsSampleRules
}

FleetArtifactSamplingRulesSetOK handles this case with default header values.

success

func NewFleetArtifactSamplingRulesSetOK added in v0.64.0

func NewFleetArtifactSamplingRulesSetOK() *FleetArtifactSamplingRulesSetOK

NewFleetArtifactSamplingRulesSetOK creates a FleetArtifactSamplingRulesSetOK with default headers values

func (*FleetArtifactSamplingRulesSetOK) Error added in v0.64.0

func (*FleetArtifactSamplingRulesSetOK) GetPayload added in v0.64.0

func (*FleetArtifactSamplingRulesSetOK) ToJSONString added in v0.64.0

func (o *FleetArtifactSamplingRulesSetOK) ToJSONString() string

type FleetArtifactSamplingRulesSetParams

type FleetArtifactSamplingRulesSetParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *amsclientmodels.APIFleetArtifactsSampleRules
	/*FleetID
	  the id of the fleet

	*/
	FleetID string
	/*Namespace
	  namespace of the game

	*/
	Namespace string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

FleetArtifactSamplingRulesSetParams contains all the parameters to send to the API endpoint for the fleet artifact sampling rules set operation typically these are written to a http.Request

func NewFleetArtifactSamplingRulesSetParams

func NewFleetArtifactSamplingRulesSetParams() *FleetArtifactSamplingRulesSetParams

NewFleetArtifactSamplingRulesSetParams creates a new FleetArtifactSamplingRulesSetParams object with the default values initialized.

func NewFleetArtifactSamplingRulesSetParamsWithContext

func NewFleetArtifactSamplingRulesSetParamsWithContext(ctx context.Context) *FleetArtifactSamplingRulesSetParams

NewFleetArtifactSamplingRulesSetParamsWithContext creates a new FleetArtifactSamplingRulesSetParams object with the default values initialized, and the ability to set a context for a request

func NewFleetArtifactSamplingRulesSetParamsWithHTTPClient

func NewFleetArtifactSamplingRulesSetParamsWithHTTPClient(client *http.Client) *FleetArtifactSamplingRulesSetParams

NewFleetArtifactSamplingRulesSetParamsWithHTTPClient creates a new FleetArtifactSamplingRulesSetParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewFleetArtifactSamplingRulesSetParamsWithTimeout

func NewFleetArtifactSamplingRulesSetParamsWithTimeout(timeout time.Duration) *FleetArtifactSamplingRulesSetParams

NewFleetArtifactSamplingRulesSetParamsWithTimeout creates a new FleetArtifactSamplingRulesSetParams object with the default values initialized, and the ability to set a timeout on a request

func (*FleetArtifactSamplingRulesSetParams) SetAuthInfoWriter

func (o *FleetArtifactSamplingRulesSetParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the fleet artifact sampling rules set params

func (*FleetArtifactSamplingRulesSetParams) SetBody

SetBody adds the body to the fleet artifact sampling rules set params

func (*FleetArtifactSamplingRulesSetParams) SetContext

SetContext adds the context to the fleet artifact sampling rules set params

func (*FleetArtifactSamplingRulesSetParams) SetFleetID

func (o *FleetArtifactSamplingRulesSetParams) SetFleetID(fleetID string)

SetFleetID adds the fleetId to the fleet artifact sampling rules set params

func (*FleetArtifactSamplingRulesSetParams) SetFlightId added in v0.63.0

func (o *FleetArtifactSamplingRulesSetParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*FleetArtifactSamplingRulesSetParams) SetHTTPClient

func (o *FleetArtifactSamplingRulesSetParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the fleet artifact sampling rules set params

func (*FleetArtifactSamplingRulesSetParams) SetHTTPClientTransport

func (o *FleetArtifactSamplingRulesSetParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the fleet artifact sampling rules set params

func (*FleetArtifactSamplingRulesSetParams) SetNamespace

func (o *FleetArtifactSamplingRulesSetParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the fleet artifact sampling rules set params

func (*FleetArtifactSamplingRulesSetParams) SetTimeout

func (o *FleetArtifactSamplingRulesSetParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the fleet artifact sampling rules set params

func (*FleetArtifactSamplingRulesSetParams) WithBody

WithBody adds the body to the fleet artifact sampling rules set params

func (*FleetArtifactSamplingRulesSetParams) WithContext

WithContext adds the context to the fleet artifact sampling rules set params

func (*FleetArtifactSamplingRulesSetParams) WithFleetID

WithFleetID adds the fleetID to the fleet artifact sampling rules set params

func (*FleetArtifactSamplingRulesSetParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the fleet artifact sampling rules set params

func (*FleetArtifactSamplingRulesSetParams) WithNamespace

WithNamespace adds the namespace to the fleet artifact sampling rules set params

func (*FleetArtifactSamplingRulesSetParams) WithTimeout

WithTimeout adds the timeout to the fleet artifact sampling rules set params

func (*FleetArtifactSamplingRulesSetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type FleetArtifactSamplingRulesSetReader

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

FleetArtifactSamplingRulesSetReader is a Reader for the FleetArtifactSamplingRulesSet structure.

func (*FleetArtifactSamplingRulesSetReader) ReadResponse

func (o *FleetArtifactSamplingRulesSetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type FleetArtifactSamplingRulesSetUnauthorized

type FleetArtifactSamplingRulesSetUnauthorized struct {
	Payload *amsclientmodels.ResponseErrorResponse
}

FleetArtifactSamplingRulesSetUnauthorized handles this case with default header values.

no authorization provided

func NewFleetArtifactSamplingRulesSetUnauthorized

func NewFleetArtifactSamplingRulesSetUnauthorized() *FleetArtifactSamplingRulesSetUnauthorized

NewFleetArtifactSamplingRulesSetUnauthorized creates a FleetArtifactSamplingRulesSetUnauthorized with default headers values

func (*FleetArtifactSamplingRulesSetUnauthorized) Error

func (*FleetArtifactSamplingRulesSetUnauthorized) GetPayload

func (*FleetArtifactSamplingRulesSetUnauthorized) ToJSONString

Jump to

Keyboard shortcuts

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