Help us shape the future of Go! Take the 2026 Go Developer Survey

certificate

package
v0.59.2 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2023 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for certificate API

func (*Client) HandleUploadXboxPFXCertificate deprecated

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

HandleUploadXboxPFXCertificate upload certificates for xbox. requires admin:namespace:{namespace}:session:certificates [update] Upload certificates for xbox. Certificate must be in the valid form of PFX format.

func (*Client) HandleUploadXboxPFXCertificateShort

func (a *Client) HandleUploadXboxPFXCertificateShort(params *HandleUploadXboxPFXCertificateParams, authInfo runtime.ClientAuthInfoWriter) (*HandleUploadXboxPFXCertificateOK, error)

HandleUploadXboxPFXCertificateShort upload certificates for xbox. requires admin:namespace:{namespace}:session:certificates [update] Upload certificates for xbox. Certificate must be in the valid form of PFX format.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientService

ClientService is the interface for Client methods

func New

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

New creates a new certificate API client.

type HandleUploadXboxPFXCertificateBadRequest

type HandleUploadXboxPFXCertificateBadRequest struct {
	Payload *sessionclientmodels.ResponseError
}

HandleUploadXboxPFXCertificateBadRequest handles this case with default header values.

Bad Request

func NewHandleUploadXboxPFXCertificateBadRequest

func NewHandleUploadXboxPFXCertificateBadRequest() *HandleUploadXboxPFXCertificateBadRequest

NewHandleUploadXboxPFXCertificateBadRequest creates a HandleUploadXboxPFXCertificateBadRequest with default headers values

func (*HandleUploadXboxPFXCertificateBadRequest) Error

func (*HandleUploadXboxPFXCertificateBadRequest) GetPayload

func (*HandleUploadXboxPFXCertificateBadRequest) ToJSONString

type HandleUploadXboxPFXCertificateForbidden

type HandleUploadXboxPFXCertificateForbidden struct {
	Payload *sessionclientmodels.ResponseError
}

HandleUploadXboxPFXCertificateForbidden handles this case with default header values.

Forbidden

func NewHandleUploadXboxPFXCertificateForbidden

func NewHandleUploadXboxPFXCertificateForbidden() *HandleUploadXboxPFXCertificateForbidden

NewHandleUploadXboxPFXCertificateForbidden creates a HandleUploadXboxPFXCertificateForbidden with default headers values

func (*HandleUploadXboxPFXCertificateForbidden) Error

func (*HandleUploadXboxPFXCertificateForbidden) GetPayload

func (*HandleUploadXboxPFXCertificateForbidden) ToJSONString

type HandleUploadXboxPFXCertificateInternalServerError

type HandleUploadXboxPFXCertificateInternalServerError struct {
	Payload *sessionclientmodels.ResponseError
}

HandleUploadXboxPFXCertificateInternalServerError handles this case with default header values.

Internal Server Error

func NewHandleUploadXboxPFXCertificateInternalServerError

func NewHandleUploadXboxPFXCertificateInternalServerError() *HandleUploadXboxPFXCertificateInternalServerError

NewHandleUploadXboxPFXCertificateInternalServerError creates a HandleUploadXboxPFXCertificateInternalServerError with default headers values

func (*HandleUploadXboxPFXCertificateInternalServerError) Error

func (*HandleUploadXboxPFXCertificateInternalServerError) GetPayload

func (*HandleUploadXboxPFXCertificateInternalServerError) ToJSONString

type HandleUploadXboxPFXCertificateNotFound

type HandleUploadXboxPFXCertificateNotFound struct {
	Payload *sessionclientmodels.ResponseError
}

HandleUploadXboxPFXCertificateNotFound handles this case with default header values.

Not Found

func NewHandleUploadXboxPFXCertificateNotFound

func NewHandleUploadXboxPFXCertificateNotFound() *HandleUploadXboxPFXCertificateNotFound

NewHandleUploadXboxPFXCertificateNotFound creates a HandleUploadXboxPFXCertificateNotFound with default headers values

func (*HandleUploadXboxPFXCertificateNotFound) Error

func (*HandleUploadXboxPFXCertificateNotFound) GetPayload

func (*HandleUploadXboxPFXCertificateNotFound) ToJSONString

type HandleUploadXboxPFXCertificateOK

type HandleUploadXboxPFXCertificateOK struct {
	Payload *sessionclientmodels.ModelsPlatformCredentials
}

HandleUploadXboxPFXCertificateOK handles this case with default header values.

OK

func NewHandleUploadXboxPFXCertificateOK

func NewHandleUploadXboxPFXCertificateOK() *HandleUploadXboxPFXCertificateOK

NewHandleUploadXboxPFXCertificateOK creates a HandleUploadXboxPFXCertificateOK with default headers values

func (*HandleUploadXboxPFXCertificateOK) Error

func (*HandleUploadXboxPFXCertificateOK) GetPayload

func (*HandleUploadXboxPFXCertificateOK) ToJSONString

func (o *HandleUploadXboxPFXCertificateOK) ToJSONString() string

type HandleUploadXboxPFXCertificateParams

type HandleUploadXboxPFXCertificateParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Description
	  the description of the uploaded file

	*/
	Description *string
	/*Certname
	  certificate name

	*/
	Certname string
	/*File
	  the file to upload

	*/
	File runtime.NamedReadCloser
	/*Password
	  the uploaded file password

	*/
	Password string
	/*Namespace
	  namespace of the game

	*/
	Namespace string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client
	// contains filtered or unexported fields
}

HandleUploadXboxPFXCertificateParams contains all the parameters to send to the API endpoint for the handle upload xbox pfx certificate operation typically these are written to a http.Request

func NewHandleUploadXboxPFXCertificateParams

func NewHandleUploadXboxPFXCertificateParams() *HandleUploadXboxPFXCertificateParams

NewHandleUploadXboxPFXCertificateParams creates a new HandleUploadXboxPFXCertificateParams object with the default values initialized.

func NewHandleUploadXboxPFXCertificateParamsWithContext

func NewHandleUploadXboxPFXCertificateParamsWithContext(ctx context.Context) *HandleUploadXboxPFXCertificateParams

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

func NewHandleUploadXboxPFXCertificateParamsWithHTTPClient

func NewHandleUploadXboxPFXCertificateParamsWithHTTPClient(client *http.Client) *HandleUploadXboxPFXCertificateParams

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

func NewHandleUploadXboxPFXCertificateParamsWithTimeout

func NewHandleUploadXboxPFXCertificateParamsWithTimeout(timeout time.Duration) *HandleUploadXboxPFXCertificateParams

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

func (*HandleUploadXboxPFXCertificateParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the handle upload xbox pfx certificate params

func (*HandleUploadXboxPFXCertificateParams) SetCertname

func (o *HandleUploadXboxPFXCertificateParams) SetCertname(certname string)

SetCertname adds the certname to the handle upload xbox pfx certificate params

func (*HandleUploadXboxPFXCertificateParams) SetContext

SetContext adds the context to the handle upload xbox pfx certificate params

func (*HandleUploadXboxPFXCertificateParams) SetDescription

func (o *HandleUploadXboxPFXCertificateParams) SetDescription(description *string)

SetDescription adds the description to the handle upload xbox pfx certificate params

func (*HandleUploadXboxPFXCertificateParams) SetFile

SetFile adds the file to the handle upload xbox pfx certificate params

func (*HandleUploadXboxPFXCertificateParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the handle upload xbox pfx certificate params

func (*HandleUploadXboxPFXCertificateParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the handle upload xbox pfx certificate params

func (*HandleUploadXboxPFXCertificateParams) SetNamespace

func (o *HandleUploadXboxPFXCertificateParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the handle upload xbox pfx certificate params

func (*HandleUploadXboxPFXCertificateParams) SetPassword

func (o *HandleUploadXboxPFXCertificateParams) SetPassword(password string)

SetPassword adds the password to the handle upload xbox pfx certificate params

func (*HandleUploadXboxPFXCertificateParams) SetTimeout

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

SetTimeout adds the timeout to the handle upload xbox pfx certificate params

func (*HandleUploadXboxPFXCertificateParams) WithCertname

WithCertname adds the certname to the handle upload xbox pfx certificate params

func (*HandleUploadXboxPFXCertificateParams) WithContext

WithContext adds the context to the handle upload xbox pfx certificate params

func (*HandleUploadXboxPFXCertificateParams) WithDescription

WithDescription adds the description to the handle upload xbox pfx certificate params

func (*HandleUploadXboxPFXCertificateParams) WithFile

WithFile adds the file to the handle upload xbox pfx certificate params

func (*HandleUploadXboxPFXCertificateParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the handle upload xbox pfx certificate params

func (*HandleUploadXboxPFXCertificateParams) WithNamespace

WithNamespace adds the namespace to the handle upload xbox pfx certificate params

func (*HandleUploadXboxPFXCertificateParams) WithPassword

WithPassword adds the password to the handle upload xbox pfx certificate params

func (*HandleUploadXboxPFXCertificateParams) WithTimeout

WithTimeout adds the timeout to the handle upload xbox pfx certificate params

func (*HandleUploadXboxPFXCertificateParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type HandleUploadXboxPFXCertificateReader

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

HandleUploadXboxPFXCertificateReader is a Reader for the HandleUploadXboxPFXCertificate structure.

func (*HandleUploadXboxPFXCertificateReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type HandleUploadXboxPFXCertificateUnauthorized

type HandleUploadXboxPFXCertificateUnauthorized struct {
	Payload *sessionclientmodels.ResponseError
}

HandleUploadXboxPFXCertificateUnauthorized handles this case with default header values.

Unauthorized

func NewHandleUploadXboxPFXCertificateUnauthorized

func NewHandleUploadXboxPFXCertificateUnauthorized() *HandleUploadXboxPFXCertificateUnauthorized

NewHandleUploadXboxPFXCertificateUnauthorized creates a HandleUploadXboxPFXCertificateUnauthorized with default headers values

func (*HandleUploadXboxPFXCertificateUnauthorized) Error

func (*HandleUploadXboxPFXCertificateUnauthorized) GetPayload

func (*HandleUploadXboxPFXCertificateUnauthorized) ToJSONString

Jump to

Keyboard shortcuts

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