metadata

package
v0.3.6 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2023 License: Apache-2.0 Imports: 10 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 metadata API

func (*Client) Configuration

func (a *Client) Configuration(params *ConfigurationParams, opts ...ClientOption) (*ConfigurationOK, error)

Configuration configuration API

func (*Client) GetEnvironmentDetail

func (a *Client) GetEnvironmentDetail(params *GetEnvironmentDetailParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetEnvironmentDetailOK, error)

GetEnvironmentDetail get environment detail API

func (*Client) GetShareDetail

func (a *Client) GetShareDetail(params *GetShareDetailParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetShareDetailOK, error)

GetShareDetail get share detail API

func (*Client) Overview

func (a *Client) Overview(params *OverviewParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*OverviewOK, error)

Overview overview API

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) Version

func (a *Client) Version(params *VersionParams, opts ...ClientOption) (*VersionOK, error)

Version version API

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	Configuration(params *ConfigurationParams, opts ...ClientOption) (*ConfigurationOK, error)

	GetEnvironmentDetail(params *GetEnvironmentDetailParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetEnvironmentDetailOK, error)

	GetShareDetail(params *GetShareDetailParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetShareDetailOK, error)

	Overview(params *OverviewParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*OverviewOK, error)

	Version(params *VersionParams, opts ...ClientOption) (*VersionOK, 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 metadata API client.

type ConfigurationOK

type ConfigurationOK struct {
	Payload *rest_model_zrok.Configuration
}

ConfigurationOK describes a response with status code 200, with default header values.

current configuration

func NewConfigurationOK

func NewConfigurationOK() *ConfigurationOK

NewConfigurationOK creates a ConfigurationOK with default headers values

func (*ConfigurationOK) Error

func (o *ConfigurationOK) Error() string

func (*ConfigurationOK) GetPayload

func (*ConfigurationOK) IsClientError

func (o *ConfigurationOK) IsClientError() bool

IsClientError returns true when this configuration o k response has a 4xx status code

func (*ConfigurationOK) IsCode

func (o *ConfigurationOK) IsCode(code int) bool

IsCode returns true when this configuration o k response a status code equal to that given

func (*ConfigurationOK) IsRedirect

func (o *ConfigurationOK) IsRedirect() bool

IsRedirect returns true when this configuration o k response has a 3xx status code

func (*ConfigurationOK) IsServerError

func (o *ConfigurationOK) IsServerError() bool

IsServerError returns true when this configuration o k response has a 5xx status code

func (*ConfigurationOK) IsSuccess

func (o *ConfigurationOK) IsSuccess() bool

IsSuccess returns true when this configuration o k response has a 2xx status code

func (*ConfigurationOK) String

func (o *ConfigurationOK) String() string

type ConfigurationParams

type ConfigurationParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ConfigurationParams contains all the parameters to send to the API endpoint

for the configuration operation.

Typically these are written to a http.Request.

func NewConfigurationParams

func NewConfigurationParams() *ConfigurationParams

NewConfigurationParams creates a new ConfigurationParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewConfigurationParamsWithContext

func NewConfigurationParamsWithContext(ctx context.Context) *ConfigurationParams

NewConfigurationParamsWithContext creates a new ConfigurationParams object with the ability to set a context for a request.

func NewConfigurationParamsWithHTTPClient

func NewConfigurationParamsWithHTTPClient(client *http.Client) *ConfigurationParams

NewConfigurationParamsWithHTTPClient creates a new ConfigurationParams object with the ability to set a custom HTTPClient for a request.

func NewConfigurationParamsWithTimeout

func NewConfigurationParamsWithTimeout(timeout time.Duration) *ConfigurationParams

NewConfigurationParamsWithTimeout creates a new ConfigurationParams object with the ability to set a timeout on a request.

func (*ConfigurationParams) SetContext

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

SetContext adds the context to the configuration params

func (*ConfigurationParams) SetDefaults

func (o *ConfigurationParams) SetDefaults()

SetDefaults hydrates default values in the configuration params (not the query body).

All values with no default are reset to their zero value.

func (*ConfigurationParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the configuration params

func (*ConfigurationParams) SetTimeout

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

SetTimeout adds the timeout to the configuration params

func (*ConfigurationParams) WithContext

WithContext adds the context to the configuration params

func (*ConfigurationParams) WithDefaults

func (o *ConfigurationParams) WithDefaults() *ConfigurationParams

WithDefaults hydrates default values in the configuration params (not the query body).

All values with no default are reset to their zero value.

func (*ConfigurationParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the configuration params

func (*ConfigurationParams) WithTimeout

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

WithTimeout adds the timeout to the configuration params

func (*ConfigurationParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ConfigurationReader

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

ConfigurationReader is a Reader for the Configuration structure.

func (*ConfigurationReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetEnvironmentDetailInternalServerError

type GetEnvironmentDetailInternalServerError struct {
}

GetEnvironmentDetailInternalServerError describes a response with status code 500, with default header values.

internal server error

func NewGetEnvironmentDetailInternalServerError

func NewGetEnvironmentDetailInternalServerError() *GetEnvironmentDetailInternalServerError

NewGetEnvironmentDetailInternalServerError creates a GetEnvironmentDetailInternalServerError with default headers values

func (*GetEnvironmentDetailInternalServerError) Error

func (*GetEnvironmentDetailInternalServerError) IsClientError

func (o *GetEnvironmentDetailInternalServerError) IsClientError() bool

IsClientError returns true when this get environment detail internal server error response has a 4xx status code

func (*GetEnvironmentDetailInternalServerError) IsCode

IsCode returns true when this get environment detail internal server error response a status code equal to that given

func (*GetEnvironmentDetailInternalServerError) IsRedirect

IsRedirect returns true when this get environment detail internal server error response has a 3xx status code

func (*GetEnvironmentDetailInternalServerError) IsServerError

func (o *GetEnvironmentDetailInternalServerError) IsServerError() bool

IsServerError returns true when this get environment detail internal server error response has a 5xx status code

func (*GetEnvironmentDetailInternalServerError) IsSuccess

IsSuccess returns true when this get environment detail internal server error response has a 2xx status code

func (*GetEnvironmentDetailInternalServerError) String

type GetEnvironmentDetailNotFound

type GetEnvironmentDetailNotFound struct {
}

GetEnvironmentDetailNotFound describes a response with status code 404, with default header values.

not found

func NewGetEnvironmentDetailNotFound

func NewGetEnvironmentDetailNotFound() *GetEnvironmentDetailNotFound

NewGetEnvironmentDetailNotFound creates a GetEnvironmentDetailNotFound with default headers values

func (*GetEnvironmentDetailNotFound) Error

func (*GetEnvironmentDetailNotFound) IsClientError

func (o *GetEnvironmentDetailNotFound) IsClientError() bool

IsClientError returns true when this get environment detail not found response has a 4xx status code

func (*GetEnvironmentDetailNotFound) IsCode

func (o *GetEnvironmentDetailNotFound) IsCode(code int) bool

IsCode returns true when this get environment detail not found response a status code equal to that given

func (*GetEnvironmentDetailNotFound) IsRedirect

func (o *GetEnvironmentDetailNotFound) IsRedirect() bool

IsRedirect returns true when this get environment detail not found response has a 3xx status code

func (*GetEnvironmentDetailNotFound) IsServerError

func (o *GetEnvironmentDetailNotFound) IsServerError() bool

IsServerError returns true when this get environment detail not found response has a 5xx status code

func (*GetEnvironmentDetailNotFound) IsSuccess

func (o *GetEnvironmentDetailNotFound) IsSuccess() bool

IsSuccess returns true when this get environment detail not found response has a 2xx status code

func (*GetEnvironmentDetailNotFound) String

type GetEnvironmentDetailOK

type GetEnvironmentDetailOK struct {
	Payload *rest_model_zrok.EnvironmentShares
}

GetEnvironmentDetailOK describes a response with status code 200, with default header values.

ok

func NewGetEnvironmentDetailOK

func NewGetEnvironmentDetailOK() *GetEnvironmentDetailOK

NewGetEnvironmentDetailOK creates a GetEnvironmentDetailOK with default headers values

func (*GetEnvironmentDetailOK) Error

func (o *GetEnvironmentDetailOK) Error() string

func (*GetEnvironmentDetailOK) GetPayload

func (*GetEnvironmentDetailOK) IsClientError

func (o *GetEnvironmentDetailOK) IsClientError() bool

IsClientError returns true when this get environment detail o k response has a 4xx status code

func (*GetEnvironmentDetailOK) IsCode

func (o *GetEnvironmentDetailOK) IsCode(code int) bool

IsCode returns true when this get environment detail o k response a status code equal to that given

func (*GetEnvironmentDetailOK) IsRedirect

func (o *GetEnvironmentDetailOK) IsRedirect() bool

IsRedirect returns true when this get environment detail o k response has a 3xx status code

func (*GetEnvironmentDetailOK) IsServerError

func (o *GetEnvironmentDetailOK) IsServerError() bool

IsServerError returns true when this get environment detail o k response has a 5xx status code

func (*GetEnvironmentDetailOK) IsSuccess

func (o *GetEnvironmentDetailOK) IsSuccess() bool

IsSuccess returns true when this get environment detail o k response has a 2xx status code

func (*GetEnvironmentDetailOK) String

func (o *GetEnvironmentDetailOK) String() string

type GetEnvironmentDetailParams

type GetEnvironmentDetailParams struct {

	// EnvZID.
	EnvZID string

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

GetEnvironmentDetailParams contains all the parameters to send to the API endpoint

for the get environment detail operation.

Typically these are written to a http.Request.

func NewGetEnvironmentDetailParams

func NewGetEnvironmentDetailParams() *GetEnvironmentDetailParams

NewGetEnvironmentDetailParams creates a new GetEnvironmentDetailParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetEnvironmentDetailParamsWithContext

func NewGetEnvironmentDetailParamsWithContext(ctx context.Context) *GetEnvironmentDetailParams

NewGetEnvironmentDetailParamsWithContext creates a new GetEnvironmentDetailParams object with the ability to set a context for a request.

func NewGetEnvironmentDetailParamsWithHTTPClient

func NewGetEnvironmentDetailParamsWithHTTPClient(client *http.Client) *GetEnvironmentDetailParams

NewGetEnvironmentDetailParamsWithHTTPClient creates a new GetEnvironmentDetailParams object with the ability to set a custom HTTPClient for a request.

func NewGetEnvironmentDetailParamsWithTimeout

func NewGetEnvironmentDetailParamsWithTimeout(timeout time.Duration) *GetEnvironmentDetailParams

NewGetEnvironmentDetailParamsWithTimeout creates a new GetEnvironmentDetailParams object with the ability to set a timeout on a request.

func (*GetEnvironmentDetailParams) SetContext

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

SetContext adds the context to the get environment detail params

func (*GetEnvironmentDetailParams) SetDefaults

func (o *GetEnvironmentDetailParams) SetDefaults()

SetDefaults hydrates default values in the get environment detail params (not the query body).

All values with no default are reset to their zero value.

func (*GetEnvironmentDetailParams) SetEnvZID

func (o *GetEnvironmentDetailParams) SetEnvZID(envZID string)

SetEnvZID adds the envZId to the get environment detail params

func (*GetEnvironmentDetailParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get environment detail params

func (*GetEnvironmentDetailParams) SetTimeout

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

SetTimeout adds the timeout to the get environment detail params

func (*GetEnvironmentDetailParams) WithContext

WithContext adds the context to the get environment detail params

func (*GetEnvironmentDetailParams) WithDefaults

WithDefaults hydrates default values in the get environment detail params (not the query body).

All values with no default are reset to their zero value.

func (*GetEnvironmentDetailParams) WithEnvZID

WithEnvZID adds the envZID to the get environment detail params

func (*GetEnvironmentDetailParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get environment detail params

func (*GetEnvironmentDetailParams) WithTimeout

WithTimeout adds the timeout to the get environment detail params

func (*GetEnvironmentDetailParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetEnvironmentDetailReader

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

GetEnvironmentDetailReader is a Reader for the GetEnvironmentDetail structure.

func (*GetEnvironmentDetailReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetEnvironmentDetailUnauthorized

type GetEnvironmentDetailUnauthorized struct {
}

GetEnvironmentDetailUnauthorized describes a response with status code 401, with default header values.

unauthorized

func NewGetEnvironmentDetailUnauthorized

func NewGetEnvironmentDetailUnauthorized() *GetEnvironmentDetailUnauthorized

NewGetEnvironmentDetailUnauthorized creates a GetEnvironmentDetailUnauthorized with default headers values

func (*GetEnvironmentDetailUnauthorized) Error

func (*GetEnvironmentDetailUnauthorized) IsClientError

func (o *GetEnvironmentDetailUnauthorized) IsClientError() bool

IsClientError returns true when this get environment detail unauthorized response has a 4xx status code

func (*GetEnvironmentDetailUnauthorized) IsCode

func (o *GetEnvironmentDetailUnauthorized) IsCode(code int) bool

IsCode returns true when this get environment detail unauthorized response a status code equal to that given

func (*GetEnvironmentDetailUnauthorized) IsRedirect

func (o *GetEnvironmentDetailUnauthorized) IsRedirect() bool

IsRedirect returns true when this get environment detail unauthorized response has a 3xx status code

func (*GetEnvironmentDetailUnauthorized) IsServerError

func (o *GetEnvironmentDetailUnauthorized) IsServerError() bool

IsServerError returns true when this get environment detail unauthorized response has a 5xx status code

func (*GetEnvironmentDetailUnauthorized) IsSuccess

func (o *GetEnvironmentDetailUnauthorized) IsSuccess() bool

IsSuccess returns true when this get environment detail unauthorized response has a 2xx status code

func (*GetEnvironmentDetailUnauthorized) String

type GetShareDetailInternalServerError

type GetShareDetailInternalServerError struct {
}

GetShareDetailInternalServerError describes a response with status code 500, with default header values.

internal server error

func NewGetShareDetailInternalServerError

func NewGetShareDetailInternalServerError() *GetShareDetailInternalServerError

NewGetShareDetailInternalServerError creates a GetShareDetailInternalServerError with default headers values

func (*GetShareDetailInternalServerError) Error

func (*GetShareDetailInternalServerError) IsClientError

func (o *GetShareDetailInternalServerError) IsClientError() bool

IsClientError returns true when this get share detail internal server error response has a 4xx status code

func (*GetShareDetailInternalServerError) IsCode

func (o *GetShareDetailInternalServerError) IsCode(code int) bool

IsCode returns true when this get share detail internal server error response a status code equal to that given

func (*GetShareDetailInternalServerError) IsRedirect

func (o *GetShareDetailInternalServerError) IsRedirect() bool

IsRedirect returns true when this get share detail internal server error response has a 3xx status code

func (*GetShareDetailInternalServerError) IsServerError

func (o *GetShareDetailInternalServerError) IsServerError() bool

IsServerError returns true when this get share detail internal server error response has a 5xx status code

func (*GetShareDetailInternalServerError) IsSuccess

func (o *GetShareDetailInternalServerError) IsSuccess() bool

IsSuccess returns true when this get share detail internal server error response has a 2xx status code

func (*GetShareDetailInternalServerError) String

type GetShareDetailNotFound

type GetShareDetailNotFound struct {
}

GetShareDetailNotFound describes a response with status code 404, with default header values.

not found

func NewGetShareDetailNotFound

func NewGetShareDetailNotFound() *GetShareDetailNotFound

NewGetShareDetailNotFound creates a GetShareDetailNotFound with default headers values

func (*GetShareDetailNotFound) Error

func (o *GetShareDetailNotFound) Error() string

func (*GetShareDetailNotFound) IsClientError

func (o *GetShareDetailNotFound) IsClientError() bool

IsClientError returns true when this get share detail not found response has a 4xx status code

func (*GetShareDetailNotFound) IsCode

func (o *GetShareDetailNotFound) IsCode(code int) bool

IsCode returns true when this get share detail not found response a status code equal to that given

func (*GetShareDetailNotFound) IsRedirect

func (o *GetShareDetailNotFound) IsRedirect() bool

IsRedirect returns true when this get share detail not found response has a 3xx status code

func (*GetShareDetailNotFound) IsServerError

func (o *GetShareDetailNotFound) IsServerError() bool

IsServerError returns true when this get share detail not found response has a 5xx status code

func (*GetShareDetailNotFound) IsSuccess

func (o *GetShareDetailNotFound) IsSuccess() bool

IsSuccess returns true when this get share detail not found response has a 2xx status code

func (*GetShareDetailNotFound) String

func (o *GetShareDetailNotFound) String() string

type GetShareDetailOK

type GetShareDetailOK struct {
	Payload *rest_model_zrok.Share
}

GetShareDetailOK describes a response with status code 200, with default header values.

ok

func NewGetShareDetailOK

func NewGetShareDetailOK() *GetShareDetailOK

NewGetShareDetailOK creates a GetShareDetailOK with default headers values

func (*GetShareDetailOK) Error

func (o *GetShareDetailOK) Error() string

func (*GetShareDetailOK) GetPayload

func (o *GetShareDetailOK) GetPayload() *rest_model_zrok.Share

func (*GetShareDetailOK) IsClientError

func (o *GetShareDetailOK) IsClientError() bool

IsClientError returns true when this get share detail o k response has a 4xx status code

func (*GetShareDetailOK) IsCode

func (o *GetShareDetailOK) IsCode(code int) bool

IsCode returns true when this get share detail o k response a status code equal to that given

func (*GetShareDetailOK) IsRedirect

func (o *GetShareDetailOK) IsRedirect() bool

IsRedirect returns true when this get share detail o k response has a 3xx status code

func (*GetShareDetailOK) IsServerError

func (o *GetShareDetailOK) IsServerError() bool

IsServerError returns true when this get share detail o k response has a 5xx status code

func (*GetShareDetailOK) IsSuccess

func (o *GetShareDetailOK) IsSuccess() bool

IsSuccess returns true when this get share detail o k response has a 2xx status code

func (*GetShareDetailOK) String

func (o *GetShareDetailOK) String() string

type GetShareDetailParams

type GetShareDetailParams struct {

	// ShrToken.
	ShrToken string

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

GetShareDetailParams contains all the parameters to send to the API endpoint

for the get share detail operation.

Typically these are written to a http.Request.

func NewGetShareDetailParams

func NewGetShareDetailParams() *GetShareDetailParams

NewGetShareDetailParams creates a new GetShareDetailParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetShareDetailParamsWithContext

func NewGetShareDetailParamsWithContext(ctx context.Context) *GetShareDetailParams

NewGetShareDetailParamsWithContext creates a new GetShareDetailParams object with the ability to set a context for a request.

func NewGetShareDetailParamsWithHTTPClient

func NewGetShareDetailParamsWithHTTPClient(client *http.Client) *GetShareDetailParams

NewGetShareDetailParamsWithHTTPClient creates a new GetShareDetailParams object with the ability to set a custom HTTPClient for a request.

func NewGetShareDetailParamsWithTimeout

func NewGetShareDetailParamsWithTimeout(timeout time.Duration) *GetShareDetailParams

NewGetShareDetailParamsWithTimeout creates a new GetShareDetailParams object with the ability to set a timeout on a request.

func (*GetShareDetailParams) SetContext

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

SetContext adds the context to the get share detail params

func (*GetShareDetailParams) SetDefaults

func (o *GetShareDetailParams) SetDefaults()

SetDefaults hydrates default values in the get share detail params (not the query body).

All values with no default are reset to their zero value.

func (*GetShareDetailParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get share detail params

func (*GetShareDetailParams) SetShrToken

func (o *GetShareDetailParams) SetShrToken(shrToken string)

SetShrToken adds the shrToken to the get share detail params

func (*GetShareDetailParams) SetTimeout

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

SetTimeout adds the timeout to the get share detail params

func (*GetShareDetailParams) WithContext

WithContext adds the context to the get share detail params

func (*GetShareDetailParams) WithDefaults

func (o *GetShareDetailParams) WithDefaults() *GetShareDetailParams

WithDefaults hydrates default values in the get share detail params (not the query body).

All values with no default are reset to their zero value.

func (*GetShareDetailParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get share detail params

func (*GetShareDetailParams) WithShrToken

func (o *GetShareDetailParams) WithShrToken(shrToken string) *GetShareDetailParams

WithShrToken adds the shrToken to the get share detail params

func (*GetShareDetailParams) WithTimeout

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

WithTimeout adds the timeout to the get share detail params

func (*GetShareDetailParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetShareDetailReader

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

GetShareDetailReader is a Reader for the GetShareDetail structure.

func (*GetShareDetailReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetShareDetailUnauthorized

type GetShareDetailUnauthorized struct {
}

GetShareDetailUnauthorized describes a response with status code 401, with default header values.

unauthorized

func NewGetShareDetailUnauthorized

func NewGetShareDetailUnauthorized() *GetShareDetailUnauthorized

NewGetShareDetailUnauthorized creates a GetShareDetailUnauthorized with default headers values

func (*GetShareDetailUnauthorized) Error

func (*GetShareDetailUnauthorized) IsClientError

func (o *GetShareDetailUnauthorized) IsClientError() bool

IsClientError returns true when this get share detail unauthorized response has a 4xx status code

func (*GetShareDetailUnauthorized) IsCode

func (o *GetShareDetailUnauthorized) IsCode(code int) bool

IsCode returns true when this get share detail unauthorized response a status code equal to that given

func (*GetShareDetailUnauthorized) IsRedirect

func (o *GetShareDetailUnauthorized) IsRedirect() bool

IsRedirect returns true when this get share detail unauthorized response has a 3xx status code

func (*GetShareDetailUnauthorized) IsServerError

func (o *GetShareDetailUnauthorized) IsServerError() bool

IsServerError returns true when this get share detail unauthorized response has a 5xx status code

func (*GetShareDetailUnauthorized) IsSuccess

func (o *GetShareDetailUnauthorized) IsSuccess() bool

IsSuccess returns true when this get share detail unauthorized response has a 2xx status code

func (*GetShareDetailUnauthorized) String

func (o *GetShareDetailUnauthorized) String() string

type OverviewInternalServerError

type OverviewInternalServerError struct {
	Payload rest_model_zrok.ErrorMessage
}

OverviewInternalServerError describes a response with status code 500, with default header values.

internal server error

func NewOverviewInternalServerError

func NewOverviewInternalServerError() *OverviewInternalServerError

NewOverviewInternalServerError creates a OverviewInternalServerError with default headers values

func (*OverviewInternalServerError) Error

func (*OverviewInternalServerError) GetPayload

func (*OverviewInternalServerError) IsClientError

func (o *OverviewInternalServerError) IsClientError() bool

IsClientError returns true when this overview internal server error response has a 4xx status code

func (*OverviewInternalServerError) IsCode

func (o *OverviewInternalServerError) IsCode(code int) bool

IsCode returns true when this overview internal server error response a status code equal to that given

func (*OverviewInternalServerError) IsRedirect

func (o *OverviewInternalServerError) IsRedirect() bool

IsRedirect returns true when this overview internal server error response has a 3xx status code

func (*OverviewInternalServerError) IsServerError

func (o *OverviewInternalServerError) IsServerError() bool

IsServerError returns true when this overview internal server error response has a 5xx status code

func (*OverviewInternalServerError) IsSuccess

func (o *OverviewInternalServerError) IsSuccess() bool

IsSuccess returns true when this overview internal server error response has a 2xx status code

func (*OverviewInternalServerError) String

func (o *OverviewInternalServerError) String() string

type OverviewOK

type OverviewOK struct {
	Payload rest_model_zrok.EnvironmentSharesList
}

OverviewOK describes a response with status code 200, with default header values.

overview returned

func NewOverviewOK

func NewOverviewOK() *OverviewOK

NewOverviewOK creates a OverviewOK with default headers values

func (*OverviewOK) Error

func (o *OverviewOK) Error() string

func (*OverviewOK) GetPayload

func (*OverviewOK) IsClientError

func (o *OverviewOK) IsClientError() bool

IsClientError returns true when this overview o k response has a 4xx status code

func (*OverviewOK) IsCode

func (o *OverviewOK) IsCode(code int) bool

IsCode returns true when this overview o k response a status code equal to that given

func (*OverviewOK) IsRedirect

func (o *OverviewOK) IsRedirect() bool

IsRedirect returns true when this overview o k response has a 3xx status code

func (*OverviewOK) IsServerError

func (o *OverviewOK) IsServerError() bool

IsServerError returns true when this overview o k response has a 5xx status code

func (*OverviewOK) IsSuccess

func (o *OverviewOK) IsSuccess() bool

IsSuccess returns true when this overview o k response has a 2xx status code

func (*OverviewOK) String

func (o *OverviewOK) String() string

type OverviewParams

type OverviewParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

OverviewParams contains all the parameters to send to the API endpoint

for the overview operation.

Typically these are written to a http.Request.

func NewOverviewParams

func NewOverviewParams() *OverviewParams

NewOverviewParams creates a new OverviewParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewOverviewParamsWithContext

func NewOverviewParamsWithContext(ctx context.Context) *OverviewParams

NewOverviewParamsWithContext creates a new OverviewParams object with the ability to set a context for a request.

func NewOverviewParamsWithHTTPClient

func NewOverviewParamsWithHTTPClient(client *http.Client) *OverviewParams

NewOverviewParamsWithHTTPClient creates a new OverviewParams object with the ability to set a custom HTTPClient for a request.

func NewOverviewParamsWithTimeout

func NewOverviewParamsWithTimeout(timeout time.Duration) *OverviewParams

NewOverviewParamsWithTimeout creates a new OverviewParams object with the ability to set a timeout on a request.

func (*OverviewParams) SetContext

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

SetContext adds the context to the overview params

func (*OverviewParams) SetDefaults

func (o *OverviewParams) SetDefaults()

SetDefaults hydrates default values in the overview params (not the query body).

All values with no default are reset to their zero value.

func (*OverviewParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the overview params

func (*OverviewParams) SetTimeout

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

SetTimeout adds the timeout to the overview params

func (*OverviewParams) WithContext

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

WithContext adds the context to the overview params

func (*OverviewParams) WithDefaults

func (o *OverviewParams) WithDefaults() *OverviewParams

WithDefaults hydrates default values in the overview params (not the query body).

All values with no default are reset to their zero value.

func (*OverviewParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the overview params

func (*OverviewParams) WithTimeout

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

WithTimeout adds the timeout to the overview params

func (*OverviewParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type OverviewReader

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

OverviewReader is a Reader for the Overview structure.

func (*OverviewReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type VersionOK

type VersionOK struct {
	Payload rest_model_zrok.Version
}

VersionOK describes a response with status code 200, with default header values.

current server version

func NewVersionOK

func NewVersionOK() *VersionOK

NewVersionOK creates a VersionOK with default headers values

func (*VersionOK) Error

func (o *VersionOK) Error() string

func (*VersionOK) GetPayload

func (o *VersionOK) GetPayload() rest_model_zrok.Version

func (*VersionOK) IsClientError

func (o *VersionOK) IsClientError() bool

IsClientError returns true when this version o k response has a 4xx status code

func (*VersionOK) IsCode

func (o *VersionOK) IsCode(code int) bool

IsCode returns true when this version o k response a status code equal to that given

func (*VersionOK) IsRedirect

func (o *VersionOK) IsRedirect() bool

IsRedirect returns true when this version o k response has a 3xx status code

func (*VersionOK) IsServerError

func (o *VersionOK) IsServerError() bool

IsServerError returns true when this version o k response has a 5xx status code

func (*VersionOK) IsSuccess

func (o *VersionOK) IsSuccess() bool

IsSuccess returns true when this version o k response has a 2xx status code

func (*VersionOK) String

func (o *VersionOK) String() string

type VersionParams

type VersionParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

VersionParams contains all the parameters to send to the API endpoint

for the version operation.

Typically these are written to a http.Request.

func NewVersionParams

func NewVersionParams() *VersionParams

NewVersionParams creates a new VersionParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewVersionParamsWithContext

func NewVersionParamsWithContext(ctx context.Context) *VersionParams

NewVersionParamsWithContext creates a new VersionParams object with the ability to set a context for a request.

func NewVersionParamsWithHTTPClient

func NewVersionParamsWithHTTPClient(client *http.Client) *VersionParams

NewVersionParamsWithHTTPClient creates a new VersionParams object with the ability to set a custom HTTPClient for a request.

func NewVersionParamsWithTimeout

func NewVersionParamsWithTimeout(timeout time.Duration) *VersionParams

NewVersionParamsWithTimeout creates a new VersionParams object with the ability to set a timeout on a request.

func (*VersionParams) SetContext

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

SetContext adds the context to the version params

func (*VersionParams) SetDefaults

func (o *VersionParams) SetDefaults()

SetDefaults hydrates default values in the version params (not the query body).

All values with no default are reset to their zero value.

func (*VersionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the version params

func (*VersionParams) SetTimeout

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

SetTimeout adds the timeout to the version params

func (*VersionParams) WithContext

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

WithContext adds the context to the version params

func (*VersionParams) WithDefaults

func (o *VersionParams) WithDefaults() *VersionParams

WithDefaults hydrates default values in the version params (not the query body).

All values with no default are reset to their zero value.

func (*VersionParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the version params

func (*VersionParams) WithTimeout

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

WithTimeout adds the timeout to the version params

func (*VersionParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type VersionReader

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

VersionReader is a Reader for the Version structure.

func (*VersionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

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