environment_variables

package
v0.1.0-alpha.4 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2024 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 environment variables API

func (*Client) EnvironmentVariableList deprecated

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

EnvironmentVariableList list environment variables List environment variables.

func (*Client) EnvironmentVariableListShort

func (a *Client) EnvironmentVariableListShort(params *EnvironmentVariableListParams, authInfo runtime.ClientAuthInfoWriter) (*EnvironmentVariableListOK, error)

EnvironmentVariableListShort list environment variables List environment variables.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientService

type ClientService interface {
	EnvironmentVariableList(params *EnvironmentVariableListParams, authInfo runtime.ClientAuthInfoWriter) (*EnvironmentVariableListOK, *EnvironmentVariableListUnauthorized, *EnvironmentVariableListForbidden, error)
	EnvironmentVariableListShort(params *EnvironmentVariableListParams, authInfo runtime.ClientAuthInfoWriter) (*EnvironmentVariableListOK, 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 environment variables API client.

type EnvironmentVariableListForbidden

type EnvironmentVariableListForbidden struct {
	Payload *match2clientmodels.ResponseError
}

EnvironmentVariableListForbidden handles this case with default header values.

Forbidden

func NewEnvironmentVariableListForbidden

func NewEnvironmentVariableListForbidden() *EnvironmentVariableListForbidden

NewEnvironmentVariableListForbidden creates a EnvironmentVariableListForbidden with default headers values

func (*EnvironmentVariableListForbidden) Error

func (*EnvironmentVariableListForbidden) GetPayload

func (*EnvironmentVariableListForbidden) ToJSONString

func (o *EnvironmentVariableListForbidden) ToJSONString() string

type EnvironmentVariableListOK

type EnvironmentVariableListOK struct {
	Payload *match2clientmodels.APIListEnvironmentVariablesResponse
}

EnvironmentVariableListOK handles this case with default header values.

Created

func NewEnvironmentVariableListOK

func NewEnvironmentVariableListOK() *EnvironmentVariableListOK

NewEnvironmentVariableListOK creates a EnvironmentVariableListOK with default headers values

func (*EnvironmentVariableListOK) Error

func (o *EnvironmentVariableListOK) Error() string

func (*EnvironmentVariableListOK) GetPayload

func (*EnvironmentVariableListOK) ToJSONString

func (o *EnvironmentVariableListOK) ToJSONString() string

type EnvironmentVariableListParams

type EnvironmentVariableListParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry

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

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

EnvironmentVariableListParams contains all the parameters to send to the API endpoint for the environment variable list operation typically these are written to a http.Request

func NewEnvironmentVariableListParams

func NewEnvironmentVariableListParams() *EnvironmentVariableListParams

NewEnvironmentVariableListParams creates a new EnvironmentVariableListParams object with the default values initialized.

func NewEnvironmentVariableListParamsWithContext

func NewEnvironmentVariableListParamsWithContext(ctx context.Context) *EnvironmentVariableListParams

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

func NewEnvironmentVariableListParamsWithHTTPClient

func NewEnvironmentVariableListParamsWithHTTPClient(client *http.Client) *EnvironmentVariableListParams

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

func NewEnvironmentVariableListParamsWithTimeout

func NewEnvironmentVariableListParamsWithTimeout(timeout time.Duration) *EnvironmentVariableListParams

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

func (*EnvironmentVariableListParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the environment variable list params

func (*EnvironmentVariableListParams) SetContext

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

SetContext adds the context to the environment variable list params

func (*EnvironmentVariableListParams) SetFlightId

func (o *EnvironmentVariableListParams) SetFlightId(flightId string)

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

func (*EnvironmentVariableListParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the environment variable list params

func (*EnvironmentVariableListParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the environment variable list params

func (*EnvironmentVariableListParams) SetTimeout

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

SetTimeout adds the timeout to the environment variable list params

func (*EnvironmentVariableListParams) WithContext

WithContext adds the context to the environment variable list params

func (*EnvironmentVariableListParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the environment variable list params

func (*EnvironmentVariableListParams) WithTimeout

WithTimeout adds the timeout to the environment variable list params

func (*EnvironmentVariableListParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type EnvironmentVariableListReader

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

EnvironmentVariableListReader is a Reader for the EnvironmentVariableList structure.

func (*EnvironmentVariableListReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type EnvironmentVariableListUnauthorized

type EnvironmentVariableListUnauthorized struct {
	Payload *match2clientmodels.ResponseError
}

EnvironmentVariableListUnauthorized handles this case with default header values.

Unauthorized

func NewEnvironmentVariableListUnauthorized

func NewEnvironmentVariableListUnauthorized() *EnvironmentVariableListUnauthorized

NewEnvironmentVariableListUnauthorized creates a EnvironmentVariableListUnauthorized with default headers values

func (*EnvironmentVariableListUnauthorized) Error

func (*EnvironmentVariableListUnauthorized) GetPayload

func (*EnvironmentVariableListUnauthorized) ToJSONString

func (o *EnvironmentVariableListUnauthorized) ToJSONString() string

Jump to

Keyboard shortcuts

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