Documentation ¶
Index ¶
- type AsmCreateCreated
- type AsmCreateParams
- func (o *AsmCreateParams) SetBody(body *models.IpamsvcASM)
- func (o *AsmCreateParams) SetContext(ctx context.Context)
- func (o *AsmCreateParams) SetDefaults()
- func (o *AsmCreateParams) SetHTTPClient(client *http.Client)
- func (o *AsmCreateParams) SetTimeout(timeout time.Duration)
- func (o *AsmCreateParams) WithBody(body *models.IpamsvcASM) *AsmCreateParams
- func (o *AsmCreateParams) WithContext(ctx context.Context) *AsmCreateParams
- func (o *AsmCreateParams) WithDefaults() *AsmCreateParams
- func (o *AsmCreateParams) WithHTTPClient(client *http.Client) *AsmCreateParams
- func (o *AsmCreateParams) WithTimeout(timeout time.Duration) *AsmCreateParams
- func (o *AsmCreateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AsmCreateReader
- type AsmListOK
- type AsmListParams
- func (o *AsmListParams) SetContext(ctx context.Context)
- func (o *AsmListParams) SetDefaults()
- func (o *AsmListParams) SetFields(fields *string)
- func (o *AsmListParams) SetHTTPClient(client *http.Client)
- func (o *AsmListParams) SetSubnetID(subnetID *string)
- func (o *AsmListParams) SetTimeout(timeout time.Duration)
- func (o *AsmListParams) WithContext(ctx context.Context) *AsmListParams
- func (o *AsmListParams) WithDefaults() *AsmListParams
- func (o *AsmListParams) WithFields(fields *string) *AsmListParams
- func (o *AsmListParams) WithHTTPClient(client *http.Client) *AsmListParams
- func (o *AsmListParams) WithSubnetID(subnetID *string) *AsmListParams
- func (o *AsmListParams) WithTimeout(timeout time.Duration) *AsmListParams
- func (o *AsmListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AsmListReader
- type AsmReadOK
- type AsmReadParams
- func (o *AsmReadParams) SetContext(ctx context.Context)
- func (o *AsmReadParams) SetDefaults()
- func (o *AsmReadParams) SetFields(fields *string)
- func (o *AsmReadParams) SetHTTPClient(client *http.Client)
- func (o *AsmReadParams) SetID(id string)
- func (o *AsmReadParams) SetTimeout(timeout time.Duration)
- func (o *AsmReadParams) WithContext(ctx context.Context) *AsmReadParams
- func (o *AsmReadParams) WithDefaults() *AsmReadParams
- func (o *AsmReadParams) WithFields(fields *string) *AsmReadParams
- func (o *AsmReadParams) WithHTTPClient(client *http.Client) *AsmReadParams
- func (o *AsmReadParams) WithID(id string) *AsmReadParams
- func (o *AsmReadParams) WithTimeout(timeout time.Duration) *AsmReadParams
- func (o *AsmReadParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AsmReadReader
- type Client
- func (a *Client) AsmCreate(params *AsmCreateParams, authInfo runtime.ClientAuthInfoWriter, ...) (*AsmCreateCreated, error)
- func (a *Client) AsmList(params *AsmListParams, authInfo runtime.ClientAuthInfoWriter, ...) (*AsmListOK, error)
- func (a *Client) AsmRead(params *AsmReadParams, authInfo runtime.ClientAuthInfoWriter, ...) (*AsmReadOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AsmCreateCreated ¶
type AsmCreateCreated struct {
Payload *models.IpamsvcCreateASMResponse
}
AsmCreateCreated describes a response with status code 201, with default header values.
POST operation response
func NewAsmCreateCreated ¶
func NewAsmCreateCreated() *AsmCreateCreated
NewAsmCreateCreated creates a AsmCreateCreated with default headers values
func (*AsmCreateCreated) Error ¶
func (o *AsmCreateCreated) Error() string
func (*AsmCreateCreated) GetPayload ¶
func (o *AsmCreateCreated) GetPayload() *models.IpamsvcCreateASMResponse
type AsmCreateParams ¶
type AsmCreateParams struct { // Body. Body *models.IpamsvcASM Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AsmCreateParams contains all the parameters to send to the API endpoint
for the asm create operation. Typically these are written to a http.Request.
func NewAsmCreateParams ¶
func NewAsmCreateParams() *AsmCreateParams
NewAsmCreateParams creates a new AsmCreateParams 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 NewAsmCreateParamsWithContext ¶
func NewAsmCreateParamsWithContext(ctx context.Context) *AsmCreateParams
NewAsmCreateParamsWithContext creates a new AsmCreateParams object with the ability to set a context for a request.
func NewAsmCreateParamsWithHTTPClient ¶
func NewAsmCreateParamsWithHTTPClient(client *http.Client) *AsmCreateParams
NewAsmCreateParamsWithHTTPClient creates a new AsmCreateParams object with the ability to set a custom HTTPClient for a request.
func NewAsmCreateParamsWithTimeout ¶
func NewAsmCreateParamsWithTimeout(timeout time.Duration) *AsmCreateParams
NewAsmCreateParamsWithTimeout creates a new AsmCreateParams object with the ability to set a timeout on a request.
func (*AsmCreateParams) SetBody ¶
func (o *AsmCreateParams) SetBody(body *models.IpamsvcASM)
SetBody adds the body to the asm create params
func (*AsmCreateParams) SetContext ¶
func (o *AsmCreateParams) SetContext(ctx context.Context)
SetContext adds the context to the asm create params
func (*AsmCreateParams) SetDefaults ¶
func (o *AsmCreateParams) SetDefaults()
SetDefaults hydrates default values in the asm create params (not the query body).
All values with no default are reset to their zero value.
func (*AsmCreateParams) SetHTTPClient ¶
func (o *AsmCreateParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the asm create params
func (*AsmCreateParams) SetTimeout ¶
func (o *AsmCreateParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the asm create params
func (*AsmCreateParams) WithBody ¶
func (o *AsmCreateParams) WithBody(body *models.IpamsvcASM) *AsmCreateParams
WithBody adds the body to the asm create params
func (*AsmCreateParams) WithContext ¶
func (o *AsmCreateParams) WithContext(ctx context.Context) *AsmCreateParams
WithContext adds the context to the asm create params
func (*AsmCreateParams) WithDefaults ¶
func (o *AsmCreateParams) WithDefaults() *AsmCreateParams
WithDefaults hydrates default values in the asm create params (not the query body).
All values with no default are reset to their zero value.
func (*AsmCreateParams) WithHTTPClient ¶
func (o *AsmCreateParams) WithHTTPClient(client *http.Client) *AsmCreateParams
WithHTTPClient adds the HTTPClient to the asm create params
func (*AsmCreateParams) WithTimeout ¶
func (o *AsmCreateParams) WithTimeout(timeout time.Duration) *AsmCreateParams
WithTimeout adds the timeout to the asm create params
func (*AsmCreateParams) WriteToRequest ¶
func (o *AsmCreateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AsmCreateReader ¶
type AsmCreateReader struct {
// contains filtered or unexported fields
}
AsmCreateReader is a Reader for the AsmCreate structure.
func (*AsmCreateReader) ReadResponse ¶
func (o *AsmCreateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AsmListOK ¶
type AsmListOK struct {
Payload *models.IpamsvcListASMResponse
}
AsmListOK describes a response with status code 200, with default header values.
GET operation response
func NewAsmListOK ¶
func NewAsmListOK() *AsmListOK
NewAsmListOK creates a AsmListOK with default headers values
func (*AsmListOK) GetPayload ¶
func (o *AsmListOK) GetPayload() *models.IpamsvcListASMResponse
type AsmListParams ¶
type AsmListParams struct { /* Fields. A collection of response resources can be transformed by specifying a set of JSON tags to be returned. For a “flat” resource, the tag name is straightforward. If field selection is allowed on non-flat hierarchical resources, the service should implement a qualified naming scheme such as dot-qualification to reference data down the hierarchy. If a resource does not have the specified tag, the tag does not appear in the output resource. Specify this parameter as a comma-separated list of JSON tag names. */ Fields *string // SubnetID. SubnetID *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AsmListParams contains all the parameters to send to the API endpoint
for the asm list operation. Typically these are written to a http.Request.
func NewAsmListParams ¶
func NewAsmListParams() *AsmListParams
NewAsmListParams creates a new AsmListParams 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 NewAsmListParamsWithContext ¶
func NewAsmListParamsWithContext(ctx context.Context) *AsmListParams
NewAsmListParamsWithContext creates a new AsmListParams object with the ability to set a context for a request.
func NewAsmListParamsWithHTTPClient ¶
func NewAsmListParamsWithHTTPClient(client *http.Client) *AsmListParams
NewAsmListParamsWithHTTPClient creates a new AsmListParams object with the ability to set a custom HTTPClient for a request.
func NewAsmListParamsWithTimeout ¶
func NewAsmListParamsWithTimeout(timeout time.Duration) *AsmListParams
NewAsmListParamsWithTimeout creates a new AsmListParams object with the ability to set a timeout on a request.
func (*AsmListParams) SetContext ¶
func (o *AsmListParams) SetContext(ctx context.Context)
SetContext adds the context to the asm list params
func (*AsmListParams) SetDefaults ¶
func (o *AsmListParams) SetDefaults()
SetDefaults hydrates default values in the asm list params (not the query body).
All values with no default are reset to their zero value.
func (*AsmListParams) SetFields ¶
func (o *AsmListParams) SetFields(fields *string)
SetFields adds the fields to the asm list params
func (*AsmListParams) SetHTTPClient ¶
func (o *AsmListParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the asm list params
func (*AsmListParams) SetSubnetID ¶
func (o *AsmListParams) SetSubnetID(subnetID *string)
SetSubnetID adds the subnetId to the asm list params
func (*AsmListParams) SetTimeout ¶
func (o *AsmListParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the asm list params
func (*AsmListParams) WithContext ¶
func (o *AsmListParams) WithContext(ctx context.Context) *AsmListParams
WithContext adds the context to the asm list params
func (*AsmListParams) WithDefaults ¶
func (o *AsmListParams) WithDefaults() *AsmListParams
WithDefaults hydrates default values in the asm list params (not the query body).
All values with no default are reset to their zero value.
func (*AsmListParams) WithFields ¶
func (o *AsmListParams) WithFields(fields *string) *AsmListParams
WithFields adds the fields to the asm list params
func (*AsmListParams) WithHTTPClient ¶
func (o *AsmListParams) WithHTTPClient(client *http.Client) *AsmListParams
WithHTTPClient adds the HTTPClient to the asm list params
func (*AsmListParams) WithSubnetID ¶
func (o *AsmListParams) WithSubnetID(subnetID *string) *AsmListParams
WithSubnetID adds the subnetID to the asm list params
func (*AsmListParams) WithTimeout ¶
func (o *AsmListParams) WithTimeout(timeout time.Duration) *AsmListParams
WithTimeout adds the timeout to the asm list params
func (*AsmListParams) WriteToRequest ¶
func (o *AsmListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AsmListReader ¶
type AsmListReader struct {
// contains filtered or unexported fields
}
AsmListReader is a Reader for the AsmList structure.
func (*AsmListReader) ReadResponse ¶
func (o *AsmListReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AsmReadOK ¶
type AsmReadOK struct {
Payload *models.IpamsvcReadASMResponse
}
AsmReadOK describes a response with status code 200, with default header values.
GET operation response
func NewAsmReadOK ¶
func NewAsmReadOK() *AsmReadOK
NewAsmReadOK creates a AsmReadOK with default headers values
func (*AsmReadOK) GetPayload ¶
func (o *AsmReadOK) GetPayload() *models.IpamsvcReadASMResponse
type AsmReadParams ¶
type AsmReadParams struct { /* Fields. A collection of response resources can be transformed by specifying a set of JSON tags to be returned. For a “flat” resource, the tag name is straightforward. If field selection is allowed on non-flat hierarchical resources, the service should implement a qualified naming scheme such as dot-qualification to reference data down the hierarchy. If a resource does not have the specified tag, the tag does not appear in the output resource. Specify this parameter as a comma-separated list of JSON tag names. */ Fields *string /* ID. An application specific resource identity of a resource */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AsmReadParams contains all the parameters to send to the API endpoint
for the asm read operation. Typically these are written to a http.Request.
func NewAsmReadParams ¶
func NewAsmReadParams() *AsmReadParams
NewAsmReadParams creates a new AsmReadParams 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 NewAsmReadParamsWithContext ¶
func NewAsmReadParamsWithContext(ctx context.Context) *AsmReadParams
NewAsmReadParamsWithContext creates a new AsmReadParams object with the ability to set a context for a request.
func NewAsmReadParamsWithHTTPClient ¶
func NewAsmReadParamsWithHTTPClient(client *http.Client) *AsmReadParams
NewAsmReadParamsWithHTTPClient creates a new AsmReadParams object with the ability to set a custom HTTPClient for a request.
func NewAsmReadParamsWithTimeout ¶
func NewAsmReadParamsWithTimeout(timeout time.Duration) *AsmReadParams
NewAsmReadParamsWithTimeout creates a new AsmReadParams object with the ability to set a timeout on a request.
func (*AsmReadParams) SetContext ¶
func (o *AsmReadParams) SetContext(ctx context.Context)
SetContext adds the context to the asm read params
func (*AsmReadParams) SetDefaults ¶
func (o *AsmReadParams) SetDefaults()
SetDefaults hydrates default values in the asm read params (not the query body).
All values with no default are reset to their zero value.
func (*AsmReadParams) SetFields ¶
func (o *AsmReadParams) SetFields(fields *string)
SetFields adds the fields to the asm read params
func (*AsmReadParams) SetHTTPClient ¶
func (o *AsmReadParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the asm read params
func (*AsmReadParams) SetID ¶
func (o *AsmReadParams) SetID(id string)
SetID adds the id to the asm read params
func (*AsmReadParams) SetTimeout ¶
func (o *AsmReadParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the asm read params
func (*AsmReadParams) WithContext ¶
func (o *AsmReadParams) WithContext(ctx context.Context) *AsmReadParams
WithContext adds the context to the asm read params
func (*AsmReadParams) WithDefaults ¶
func (o *AsmReadParams) WithDefaults() *AsmReadParams
WithDefaults hydrates default values in the asm read params (not the query body).
All values with no default are reset to their zero value.
func (*AsmReadParams) WithFields ¶
func (o *AsmReadParams) WithFields(fields *string) *AsmReadParams
WithFields adds the fields to the asm read params
func (*AsmReadParams) WithHTTPClient ¶
func (o *AsmReadParams) WithHTTPClient(client *http.Client) *AsmReadParams
WithHTTPClient adds the HTTPClient to the asm read params
func (*AsmReadParams) WithID ¶
func (o *AsmReadParams) WithID(id string) *AsmReadParams
WithID adds the id to the asm read params
func (*AsmReadParams) WithTimeout ¶
func (o *AsmReadParams) WithTimeout(timeout time.Duration) *AsmReadParams
WithTimeout adds the timeout to the asm read params
func (*AsmReadParams) WriteToRequest ¶
func (o *AsmReadParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AsmReadReader ¶
type AsmReadReader struct {
// contains filtered or unexported fields
}
AsmReadReader is a Reader for the AsmRead structure.
func (*AsmReadReader) ReadResponse ¶
func (o *AsmReadReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for asm API
func (*Client) AsmCreate ¶
func (a *Client) AsmCreate(params *AsmCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AsmCreateCreated, error)
AsmCreate updates subnet and ranges for automated scope management Use this method to update the subnet and range for Automated Scope Management.
The __ASM__ object generates and returns the suggestions from the ASM suggestion engine and allows for updating the subnet and range. This method attempts to expand the scope by expanding a range or adding a new range and, if necessary, expanding the subnet.
func (*Client) AsmList ¶
func (a *Client) AsmList(params *AsmListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AsmListOK, error)
AsmList retrieves suggested updates for automated scope management Use this method to retrieve __ASM__ objects for Automated Scope Management.
The __ASM__ object returns the suggested updates for the subnet from the ASM suggestion engine and allows for updating the subnet and range information.
func (*Client) AsmRead ¶
func (a *Client) AsmRead(params *AsmReadParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AsmReadOK, error)
AsmRead retrieves the suggested update for automated scope management Use this method to retrieve an __ASM__ object for Automated Scope Management.
The __ASM__ object returns the suggested updates for the subnet from the ASM suggestion engine and allows for updating the subnet and range information.
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 is the option for Client methods
type ClientService ¶
type ClientService interface { AsmCreate(params *AsmCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AsmCreateCreated, error) AsmList(params *AsmListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AsmListOK, error) AsmRead(params *AsmReadParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AsmReadOK, 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 asm API client.