operations

package
v0.7.1 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2025 License: Apache-2.0, Apache-2.0 Imports: 11 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 operations API

func (*Client) NodeBootstrappingGet

func (a *Client) NodeBootstrappingGet(params *NodeBootstrappingGetParams, opts ...ClientOption) (*NodeBootstrappingGetOK, error)

NodeBootstrappingGet gets node bootstrapping values for a specified provisioning configuration with secrets redacted

Gets NodeBootstrapping values for a specified provisioning configuration, with secrets redacted.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption may be used to customize the behavior of Client methods.

type ClientService

type ClientService interface {
	NodeBootstrappingGet(params *NodeBootstrappingGetParams, opts ...ClientOption) (*NodeBootstrappingGetOK, 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 operations API client.

func NewClientWithBasicAuth

func NewClientWithBasicAuth(host, basePath, scheme, user, password string) ClientService

New creates a new operations API client with basic auth credentials. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - user: user for basic authentication header. - password: password for basic authentication header.

func NewClientWithBearerToken

func NewClientWithBearerToken(host, basePath, scheme, bearerToken string) ClientService

New creates a new operations API client with a bearer token for authentication. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - bearerToken: bearer token for Bearer authentication header.

type NodeBootstrappingGetDefault

type NodeBootstrappingGetDefault struct {
	Payload string
	// contains filtered or unexported fields
}

NodeBootstrappingGetDefault describes a response with status code -1, with default header values.

Error response describing why the operation failed.

func NewNodeBootstrappingGetDefault

func NewNodeBootstrappingGetDefault(code int) *NodeBootstrappingGetDefault

NewNodeBootstrappingGetDefault creates a NodeBootstrappingGetDefault with default headers values

func (*NodeBootstrappingGetDefault) Code

func (o *NodeBootstrappingGetDefault) Code() int

Code gets the status code for the node bootstrapping get default response

func (*NodeBootstrappingGetDefault) Error

func (*NodeBootstrappingGetDefault) GetPayload

func (o *NodeBootstrappingGetDefault) GetPayload() string

func (*NodeBootstrappingGetDefault) IsClientError

func (o *NodeBootstrappingGetDefault) IsClientError() bool

IsClientError returns true when this node bootstrapping get default response has a 4xx status code

func (*NodeBootstrappingGetDefault) IsCode

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

IsCode returns true when this node bootstrapping get default response a status code equal to that given

func (*NodeBootstrappingGetDefault) IsRedirect

func (o *NodeBootstrappingGetDefault) IsRedirect() bool

IsRedirect returns true when this node bootstrapping get default response has a 3xx status code

func (*NodeBootstrappingGetDefault) IsServerError

func (o *NodeBootstrappingGetDefault) IsServerError() bool

IsServerError returns true when this node bootstrapping get default response has a 5xx status code

func (*NodeBootstrappingGetDefault) IsSuccess

func (o *NodeBootstrappingGetDefault) IsSuccess() bool

IsSuccess returns true when this node bootstrapping get default response has a 2xx status code

func (*NodeBootstrappingGetDefault) String

func (o *NodeBootstrappingGetDefault) String() string

type NodeBootstrappingGetOK

type NodeBootstrappingGetOK struct {
	Payload *models.NodeBootstrapping
}

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

OK

func NewNodeBootstrappingGetOK

func NewNodeBootstrappingGetOK() *NodeBootstrappingGetOK

NewNodeBootstrappingGetOK creates a NodeBootstrappingGetOK with default headers values

func (*NodeBootstrappingGetOK) Code

func (o *NodeBootstrappingGetOK) Code() int

Code gets the status code for the node bootstrapping get o k response

func (*NodeBootstrappingGetOK) Error

func (o *NodeBootstrappingGetOK) Error() string

func (*NodeBootstrappingGetOK) GetPayload

func (*NodeBootstrappingGetOK) IsClientError

func (o *NodeBootstrappingGetOK) IsClientError() bool

IsClientError returns true when this node bootstrapping get o k response has a 4xx status code

func (*NodeBootstrappingGetOK) IsCode

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

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

func (*NodeBootstrappingGetOK) IsRedirect

func (o *NodeBootstrappingGetOK) IsRedirect() bool

IsRedirect returns true when this node bootstrapping get o k response has a 3xx status code

func (*NodeBootstrappingGetOK) IsServerError

func (o *NodeBootstrappingGetOK) IsServerError() bool

IsServerError returns true when this node bootstrapping get o k response has a 5xx status code

func (*NodeBootstrappingGetOK) IsSuccess

func (o *NodeBootstrappingGetOK) IsSuccess() bool

IsSuccess returns true when this node bootstrapping get o k response has a 2xx status code

func (*NodeBootstrappingGetOK) String

func (o *NodeBootstrappingGetOK) String() string

type NodeBootstrappingGetParams

type NodeBootstrappingGetParams struct {

	/* Parameters.

	   Values required to determine NodeBootstrapping values.
	*/
	Parameters *models.ProvisionValues

	// ResourceGroupName.
	ResourceGroupName string

	// ResourceName.
	ResourceName string

	// SubscriptionID.
	SubscriptionID string

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

NodeBootstrappingGetParams contains all the parameters to send to the API endpoint

for the node bootstrapping get operation.

Typically these are written to a http.Request.

func NewNodeBootstrappingGetParams

func NewNodeBootstrappingGetParams() *NodeBootstrappingGetParams

NewNodeBootstrappingGetParams creates a new NodeBootstrappingGetParams 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 NewNodeBootstrappingGetParamsWithContext

func NewNodeBootstrappingGetParamsWithContext(ctx context.Context) *NodeBootstrappingGetParams

NewNodeBootstrappingGetParamsWithContext creates a new NodeBootstrappingGetParams object with the ability to set a context for a request.

func NewNodeBootstrappingGetParamsWithHTTPClient

func NewNodeBootstrappingGetParamsWithHTTPClient(client *http.Client) *NodeBootstrappingGetParams

NewNodeBootstrappingGetParamsWithHTTPClient creates a new NodeBootstrappingGetParams object with the ability to set a custom HTTPClient for a request.

func NewNodeBootstrappingGetParamsWithTimeout

func NewNodeBootstrappingGetParamsWithTimeout(timeout time.Duration) *NodeBootstrappingGetParams

NewNodeBootstrappingGetParamsWithTimeout creates a new NodeBootstrappingGetParams object with the ability to set a timeout on a request.

func (*NodeBootstrappingGetParams) SetContext

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

SetContext adds the context to the node bootstrapping get params

func (*NodeBootstrappingGetParams) SetDefaults

func (o *NodeBootstrappingGetParams) SetDefaults()

SetDefaults hydrates default values in the node bootstrapping get params (not the query body).

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

func (*NodeBootstrappingGetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the node bootstrapping get params

func (*NodeBootstrappingGetParams) SetParameters

func (o *NodeBootstrappingGetParams) SetParameters(parameters *models.ProvisionValues)

SetParameters adds the parameters to the node bootstrapping get params

func (*NodeBootstrappingGetParams) SetResourceGroupName

func (o *NodeBootstrappingGetParams) SetResourceGroupName(resourceGroupName string)

SetResourceGroupName adds the resourceGroupName to the node bootstrapping get params

func (*NodeBootstrappingGetParams) SetResourceName

func (o *NodeBootstrappingGetParams) SetResourceName(resourceName string)

SetResourceName adds the resourceName to the node bootstrapping get params

func (*NodeBootstrappingGetParams) SetSubscriptionID

func (o *NodeBootstrappingGetParams) SetSubscriptionID(subscriptionID string)

SetSubscriptionID adds the subscriptionId to the node bootstrapping get params

func (*NodeBootstrappingGetParams) SetTimeout

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

SetTimeout adds the timeout to the node bootstrapping get params

func (*NodeBootstrappingGetParams) WithContext

WithContext adds the context to the node bootstrapping get params

func (*NodeBootstrappingGetParams) WithDefaults

WithDefaults hydrates default values in the node bootstrapping get params (not the query body).

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

func (*NodeBootstrappingGetParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the node bootstrapping get params

func (*NodeBootstrappingGetParams) WithParameters

WithParameters adds the parameters to the node bootstrapping get params

func (*NodeBootstrappingGetParams) WithResourceGroupName

func (o *NodeBootstrappingGetParams) WithResourceGroupName(resourceGroupName string) *NodeBootstrappingGetParams

WithResourceGroupName adds the resourceGroupName to the node bootstrapping get params

func (*NodeBootstrappingGetParams) WithResourceName

func (o *NodeBootstrappingGetParams) WithResourceName(resourceName string) *NodeBootstrappingGetParams

WithResourceName adds the resourceName to the node bootstrapping get params

func (*NodeBootstrappingGetParams) WithSubscriptionID

func (o *NodeBootstrappingGetParams) WithSubscriptionID(subscriptionID string) *NodeBootstrappingGetParams

WithSubscriptionID adds the subscriptionID to the node bootstrapping get params

func (*NodeBootstrappingGetParams) WithTimeout

WithTimeout adds the timeout to the node bootstrapping get params

func (*NodeBootstrappingGetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type NodeBootstrappingGetReader

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

NodeBootstrappingGetReader is a Reader for the NodeBootstrappingGet structure.

func (*NodeBootstrappingGetReader) ReadResponse

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