Documentation ¶
Index ¶
- type AxfrExportZoneOK
- type AxfrExportZoneParams
- func NewAxfrExportZoneParams() *AxfrExportZoneParams
- func NewAxfrExportZoneParamsWithContext(ctx context.Context) *AxfrExportZoneParams
- func NewAxfrExportZoneParamsWithHTTPClient(client *http.Client) *AxfrExportZoneParams
- func NewAxfrExportZoneParamsWithTimeout(timeout time.Duration) *AxfrExportZoneParams
- func (o *AxfrExportZoneParams) SetContext(ctx context.Context)
- func (o *AxfrExportZoneParams) SetDefaults()
- func (o *AxfrExportZoneParams) SetHTTPClient(client *http.Client)
- func (o *AxfrExportZoneParams) SetServerID(serverID string)
- func (o *AxfrExportZoneParams) SetTimeout(timeout time.Duration)
- func (o *AxfrExportZoneParams) SetZoneID(zoneID string)
- func (o *AxfrExportZoneParams) WithContext(ctx context.Context) *AxfrExportZoneParams
- func (o *AxfrExportZoneParams) WithDefaults() *AxfrExportZoneParams
- func (o *AxfrExportZoneParams) WithHTTPClient(client *http.Client) *AxfrExportZoneParams
- func (o *AxfrExportZoneParams) WithServerID(serverID string) *AxfrExportZoneParams
- func (o *AxfrExportZoneParams) WithTimeout(timeout time.Duration) *AxfrExportZoneParams
- func (o *AxfrExportZoneParams) WithZoneID(zoneID string) *AxfrExportZoneParams
- func (o *AxfrExportZoneParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AxfrExportZoneReader
- type AxfrRetrieveZoneOK
- type AxfrRetrieveZoneParams
- func NewAxfrRetrieveZoneParams() *AxfrRetrieveZoneParams
- func NewAxfrRetrieveZoneParamsWithContext(ctx context.Context) *AxfrRetrieveZoneParams
- func NewAxfrRetrieveZoneParamsWithHTTPClient(client *http.Client) *AxfrRetrieveZoneParams
- func NewAxfrRetrieveZoneParamsWithTimeout(timeout time.Duration) *AxfrRetrieveZoneParams
- func (o *AxfrRetrieveZoneParams) SetContext(ctx context.Context)
- func (o *AxfrRetrieveZoneParams) SetDefaults()
- func (o *AxfrRetrieveZoneParams) SetHTTPClient(client *http.Client)
- func (o *AxfrRetrieveZoneParams) SetServerID(serverID string)
- func (o *AxfrRetrieveZoneParams) SetTimeout(timeout time.Duration)
- func (o *AxfrRetrieveZoneParams) SetZoneID(zoneID string)
- func (o *AxfrRetrieveZoneParams) WithContext(ctx context.Context) *AxfrRetrieveZoneParams
- func (o *AxfrRetrieveZoneParams) WithDefaults() *AxfrRetrieveZoneParams
- func (o *AxfrRetrieveZoneParams) WithHTTPClient(client *http.Client) *AxfrRetrieveZoneParams
- func (o *AxfrRetrieveZoneParams) WithServerID(serverID string) *AxfrRetrieveZoneParams
- func (o *AxfrRetrieveZoneParams) WithTimeout(timeout time.Duration) *AxfrRetrieveZoneParams
- func (o *AxfrRetrieveZoneParams) WithZoneID(zoneID string) *AxfrRetrieveZoneParams
- func (o *AxfrRetrieveZoneParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AxfrRetrieveZoneReader
- type Client
- func (a *Client) AxfrExportZone(params *AxfrExportZoneParams, authInfo runtime.ClientAuthInfoWriter, ...) (*AxfrExportZoneOK, error)
- func (a *Client) AxfrRetrieveZone(params *AxfrRetrieveZoneParams, authInfo runtime.ClientAuthInfoWriter, ...) (*AxfrRetrieveZoneOK, error)
- func (a *Client) CreateZone(params *CreateZoneParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateZoneCreated, error)
- func (a *Client) DeleteZone(params *DeleteZoneParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteZoneNoContent, error)
- func (a *Client) ListZone(params *ListZoneParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListZoneOK, error)
- func (a *Client) ListZones(params *ListZonesParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListZonesOK, error)
- func (a *Client) NotifyZone(params *NotifyZoneParams, authInfo runtime.ClientAuthInfoWriter, ...) (*NotifyZoneOK, error)
- func (a *Client) PatchZone(params *PatchZoneParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PatchZoneNoContent, error)
- func (a *Client) PutZone(params *PutZoneParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PutZoneNoContent, error)
- func (a *Client) RectifyZone(params *RectifyZoneParams, authInfo runtime.ClientAuthInfoWriter, ...) (*RectifyZoneOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type CreateZoneCreated
- type CreateZoneParams
- func (o *CreateZoneParams) SetContext(ctx context.Context)
- func (o *CreateZoneParams) SetDefaults()
- func (o *CreateZoneParams) SetHTTPClient(client *http.Client)
- func (o *CreateZoneParams) SetRrsets(rrsets *bool)
- func (o *CreateZoneParams) SetServerID(serverID string)
- func (o *CreateZoneParams) SetTimeout(timeout time.Duration)
- func (o *CreateZoneParams) SetZoneStruct(zoneStruct *models.Zone)
- func (o *CreateZoneParams) WithContext(ctx context.Context) *CreateZoneParams
- func (o *CreateZoneParams) WithDefaults() *CreateZoneParams
- func (o *CreateZoneParams) WithHTTPClient(client *http.Client) *CreateZoneParams
- func (o *CreateZoneParams) WithRrsets(rrsets *bool) *CreateZoneParams
- func (o *CreateZoneParams) WithServerID(serverID string) *CreateZoneParams
- func (o *CreateZoneParams) WithTimeout(timeout time.Duration) *CreateZoneParams
- func (o *CreateZoneParams) WithZoneStruct(zoneStruct *models.Zone) *CreateZoneParams
- func (o *CreateZoneParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateZoneReader
- type DeleteZoneNoContent
- type DeleteZoneParams
- func (o *DeleteZoneParams) SetContext(ctx context.Context)
- func (o *DeleteZoneParams) SetDefaults()
- func (o *DeleteZoneParams) SetHTTPClient(client *http.Client)
- func (o *DeleteZoneParams) SetServerID(serverID string)
- func (o *DeleteZoneParams) SetTimeout(timeout time.Duration)
- func (o *DeleteZoneParams) SetZoneID(zoneID string)
- func (o *DeleteZoneParams) WithContext(ctx context.Context) *DeleteZoneParams
- func (o *DeleteZoneParams) WithDefaults() *DeleteZoneParams
- func (o *DeleteZoneParams) WithHTTPClient(client *http.Client) *DeleteZoneParams
- func (o *DeleteZoneParams) WithServerID(serverID string) *DeleteZoneParams
- func (o *DeleteZoneParams) WithTimeout(timeout time.Duration) *DeleteZoneParams
- func (o *DeleteZoneParams) WithZoneID(zoneID string) *DeleteZoneParams
- func (o *DeleteZoneParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteZoneReader
- type ListZoneOK
- type ListZoneParams
- func (o *ListZoneParams) SetContext(ctx context.Context)
- func (o *ListZoneParams) SetDefaults()
- func (o *ListZoneParams) SetHTTPClient(client *http.Client)
- func (o *ListZoneParams) SetRrsets(rrsets *bool)
- func (o *ListZoneParams) SetServerID(serverID string)
- func (o *ListZoneParams) SetTimeout(timeout time.Duration)
- func (o *ListZoneParams) SetZoneID(zoneID string)
- func (o *ListZoneParams) WithContext(ctx context.Context) *ListZoneParams
- func (o *ListZoneParams) WithDefaults() *ListZoneParams
- func (o *ListZoneParams) WithHTTPClient(client *http.Client) *ListZoneParams
- func (o *ListZoneParams) WithRrsets(rrsets *bool) *ListZoneParams
- func (o *ListZoneParams) WithServerID(serverID string) *ListZoneParams
- func (o *ListZoneParams) WithTimeout(timeout time.Duration) *ListZoneParams
- func (o *ListZoneParams) WithZoneID(zoneID string) *ListZoneParams
- func (o *ListZoneParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListZoneReader
- type ListZonesOK
- type ListZonesParams
- func (o *ListZonesParams) SetContext(ctx context.Context)
- func (o *ListZonesParams) SetDefaults()
- func (o *ListZonesParams) SetDnssec(dnssec *bool)
- func (o *ListZonesParams) SetHTTPClient(client *http.Client)
- func (o *ListZonesParams) SetServerID(serverID string)
- func (o *ListZonesParams) SetTimeout(timeout time.Duration)
- func (o *ListZonesParams) SetZone(zone *string)
- func (o *ListZonesParams) WithContext(ctx context.Context) *ListZonesParams
- func (o *ListZonesParams) WithDefaults() *ListZonesParams
- func (o *ListZonesParams) WithDnssec(dnssec *bool) *ListZonesParams
- func (o *ListZonesParams) WithHTTPClient(client *http.Client) *ListZonesParams
- func (o *ListZonesParams) WithServerID(serverID string) *ListZonesParams
- func (o *ListZonesParams) WithTimeout(timeout time.Duration) *ListZonesParams
- func (o *ListZonesParams) WithZone(zone *string) *ListZonesParams
- func (o *ListZonesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListZonesReader
- type NotifyZoneOK
- type NotifyZoneParams
- func (o *NotifyZoneParams) SetContext(ctx context.Context)
- func (o *NotifyZoneParams) SetDefaults()
- func (o *NotifyZoneParams) SetHTTPClient(client *http.Client)
- func (o *NotifyZoneParams) SetServerID(serverID string)
- func (o *NotifyZoneParams) SetTimeout(timeout time.Duration)
- func (o *NotifyZoneParams) SetZoneID(zoneID string)
- func (o *NotifyZoneParams) WithContext(ctx context.Context) *NotifyZoneParams
- func (o *NotifyZoneParams) WithDefaults() *NotifyZoneParams
- func (o *NotifyZoneParams) WithHTTPClient(client *http.Client) *NotifyZoneParams
- func (o *NotifyZoneParams) WithServerID(serverID string) *NotifyZoneParams
- func (o *NotifyZoneParams) WithTimeout(timeout time.Duration) *NotifyZoneParams
- func (o *NotifyZoneParams) WithZoneID(zoneID string) *NotifyZoneParams
- func (o *NotifyZoneParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type NotifyZoneReader
- type PatchZoneNoContent
- type PatchZoneParams
- func (o *PatchZoneParams) SetContext(ctx context.Context)
- func (o *PatchZoneParams) SetDefaults()
- func (o *PatchZoneParams) SetHTTPClient(client *http.Client)
- func (o *PatchZoneParams) SetServerID(serverID string)
- func (o *PatchZoneParams) SetTimeout(timeout time.Duration)
- func (o *PatchZoneParams) SetZoneID(zoneID string)
- func (o *PatchZoneParams) SetZoneStruct(zoneStruct *models.Zone)
- func (o *PatchZoneParams) WithContext(ctx context.Context) *PatchZoneParams
- func (o *PatchZoneParams) WithDefaults() *PatchZoneParams
- func (o *PatchZoneParams) WithHTTPClient(client *http.Client) *PatchZoneParams
- func (o *PatchZoneParams) WithServerID(serverID string) *PatchZoneParams
- func (o *PatchZoneParams) WithTimeout(timeout time.Duration) *PatchZoneParams
- func (o *PatchZoneParams) WithZoneID(zoneID string) *PatchZoneParams
- func (o *PatchZoneParams) WithZoneStruct(zoneStruct *models.Zone) *PatchZoneParams
- func (o *PatchZoneParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PatchZoneReader
- type PutZoneNoContent
- type PutZoneParams
- func (o *PutZoneParams) SetContext(ctx context.Context)
- func (o *PutZoneParams) SetDefaults()
- func (o *PutZoneParams) SetHTTPClient(client *http.Client)
- func (o *PutZoneParams) SetServerID(serverID string)
- func (o *PutZoneParams) SetTimeout(timeout time.Duration)
- func (o *PutZoneParams) SetZoneID(zoneID string)
- func (o *PutZoneParams) SetZoneStruct(zoneStruct *models.Zone)
- func (o *PutZoneParams) WithContext(ctx context.Context) *PutZoneParams
- func (o *PutZoneParams) WithDefaults() *PutZoneParams
- func (o *PutZoneParams) WithHTTPClient(client *http.Client) *PutZoneParams
- func (o *PutZoneParams) WithServerID(serverID string) *PutZoneParams
- func (o *PutZoneParams) WithTimeout(timeout time.Duration) *PutZoneParams
- func (o *PutZoneParams) WithZoneID(zoneID string) *PutZoneParams
- func (o *PutZoneParams) WithZoneStruct(zoneStruct *models.Zone) *PutZoneParams
- func (o *PutZoneParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PutZoneReader
- type RectifyZoneOK
- type RectifyZoneParams
- func (o *RectifyZoneParams) SetContext(ctx context.Context)
- func (o *RectifyZoneParams) SetDefaults()
- func (o *RectifyZoneParams) SetHTTPClient(client *http.Client)
- func (o *RectifyZoneParams) SetServerID(serverID string)
- func (o *RectifyZoneParams) SetTimeout(timeout time.Duration)
- func (o *RectifyZoneParams) SetZoneID(zoneID string)
- func (o *RectifyZoneParams) WithContext(ctx context.Context) *RectifyZoneParams
- func (o *RectifyZoneParams) WithDefaults() *RectifyZoneParams
- func (o *RectifyZoneParams) WithHTTPClient(client *http.Client) *RectifyZoneParams
- func (o *RectifyZoneParams) WithServerID(serverID string) *RectifyZoneParams
- func (o *RectifyZoneParams) WithTimeout(timeout time.Duration) *RectifyZoneParams
- func (o *RectifyZoneParams) WithZoneID(zoneID string) *RectifyZoneParams
- func (o *RectifyZoneParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RectifyZoneReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AxfrExportZoneOK ¶
type AxfrExportZoneOK struct {
Payload string
}
AxfrExportZoneOK describes a response with status code 200, with default header values.
OK
func NewAxfrExportZoneOK ¶
func NewAxfrExportZoneOK() *AxfrExportZoneOK
NewAxfrExportZoneOK creates a AxfrExportZoneOK with default headers values
func (*AxfrExportZoneOK) Error ¶
func (o *AxfrExportZoneOK) Error() string
func (*AxfrExportZoneOK) GetPayload ¶
func (o *AxfrExportZoneOK) GetPayload() string
type AxfrExportZoneParams ¶
type AxfrExportZoneParams struct { /* ServerID. The id of the server to retrieve */ ServerID string /* ZoneID. The id of the zone to retrieve */ ZoneID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AxfrExportZoneParams contains all the parameters to send to the API endpoint
for the axfr export zone operation. Typically these are written to a http.Request.
func NewAxfrExportZoneParams ¶
func NewAxfrExportZoneParams() *AxfrExportZoneParams
NewAxfrExportZoneParams creates a new AxfrExportZoneParams 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 NewAxfrExportZoneParamsWithContext ¶
func NewAxfrExportZoneParamsWithContext(ctx context.Context) *AxfrExportZoneParams
NewAxfrExportZoneParamsWithContext creates a new AxfrExportZoneParams object with the ability to set a context for a request.
func NewAxfrExportZoneParamsWithHTTPClient ¶
func NewAxfrExportZoneParamsWithHTTPClient(client *http.Client) *AxfrExportZoneParams
NewAxfrExportZoneParamsWithHTTPClient creates a new AxfrExportZoneParams object with the ability to set a custom HTTPClient for a request.
func NewAxfrExportZoneParamsWithTimeout ¶
func NewAxfrExportZoneParamsWithTimeout(timeout time.Duration) *AxfrExportZoneParams
NewAxfrExportZoneParamsWithTimeout creates a new AxfrExportZoneParams object with the ability to set a timeout on a request.
func (*AxfrExportZoneParams) SetContext ¶
func (o *AxfrExportZoneParams) SetContext(ctx context.Context)
SetContext adds the context to the axfr export zone params
func (*AxfrExportZoneParams) SetDefaults ¶
func (o *AxfrExportZoneParams) SetDefaults()
SetDefaults hydrates default values in the axfr export zone params (not the query body).
All values with no default are reset to their zero value.
func (*AxfrExportZoneParams) SetHTTPClient ¶
func (o *AxfrExportZoneParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the axfr export zone params
func (*AxfrExportZoneParams) SetServerID ¶
func (o *AxfrExportZoneParams) SetServerID(serverID string)
SetServerID adds the serverId to the axfr export zone params
func (*AxfrExportZoneParams) SetTimeout ¶
func (o *AxfrExportZoneParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the axfr export zone params
func (*AxfrExportZoneParams) SetZoneID ¶
func (o *AxfrExportZoneParams) SetZoneID(zoneID string)
SetZoneID adds the zoneId to the axfr export zone params
func (*AxfrExportZoneParams) WithContext ¶
func (o *AxfrExportZoneParams) WithContext(ctx context.Context) *AxfrExportZoneParams
WithContext adds the context to the axfr export zone params
func (*AxfrExportZoneParams) WithDefaults ¶
func (o *AxfrExportZoneParams) WithDefaults() *AxfrExportZoneParams
WithDefaults hydrates default values in the axfr export zone params (not the query body).
All values with no default are reset to their zero value.
func (*AxfrExportZoneParams) WithHTTPClient ¶
func (o *AxfrExportZoneParams) WithHTTPClient(client *http.Client) *AxfrExportZoneParams
WithHTTPClient adds the HTTPClient to the axfr export zone params
func (*AxfrExportZoneParams) WithServerID ¶
func (o *AxfrExportZoneParams) WithServerID(serverID string) *AxfrExportZoneParams
WithServerID adds the serverID to the axfr export zone params
func (*AxfrExportZoneParams) WithTimeout ¶
func (o *AxfrExportZoneParams) WithTimeout(timeout time.Duration) *AxfrExportZoneParams
WithTimeout adds the timeout to the axfr export zone params
func (*AxfrExportZoneParams) WithZoneID ¶
func (o *AxfrExportZoneParams) WithZoneID(zoneID string) *AxfrExportZoneParams
WithZoneID adds the zoneID to the axfr export zone params
func (*AxfrExportZoneParams) WriteToRequest ¶
func (o *AxfrExportZoneParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AxfrExportZoneReader ¶
type AxfrExportZoneReader struct {
// contains filtered or unexported fields
}
AxfrExportZoneReader is a Reader for the AxfrExportZone structure.
func (*AxfrExportZoneReader) ReadResponse ¶
func (o *AxfrExportZoneReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AxfrRetrieveZoneOK ¶
type AxfrRetrieveZoneOK struct { }
AxfrRetrieveZoneOK describes a response with status code 200, with default header values.
OK
func NewAxfrRetrieveZoneOK ¶
func NewAxfrRetrieveZoneOK() *AxfrRetrieveZoneOK
NewAxfrRetrieveZoneOK creates a AxfrRetrieveZoneOK with default headers values
func (*AxfrRetrieveZoneOK) Error ¶
func (o *AxfrRetrieveZoneOK) Error() string
type AxfrRetrieveZoneParams ¶
type AxfrRetrieveZoneParams struct { /* ServerID. The id of the server to retrieve */ ServerID string /* ZoneID. The id of the zone to retrieve */ ZoneID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AxfrRetrieveZoneParams contains all the parameters to send to the API endpoint
for the axfr retrieve zone operation. Typically these are written to a http.Request.
func NewAxfrRetrieveZoneParams ¶
func NewAxfrRetrieveZoneParams() *AxfrRetrieveZoneParams
NewAxfrRetrieveZoneParams creates a new AxfrRetrieveZoneParams 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 NewAxfrRetrieveZoneParamsWithContext ¶
func NewAxfrRetrieveZoneParamsWithContext(ctx context.Context) *AxfrRetrieveZoneParams
NewAxfrRetrieveZoneParamsWithContext creates a new AxfrRetrieveZoneParams object with the ability to set a context for a request.
func NewAxfrRetrieveZoneParamsWithHTTPClient ¶
func NewAxfrRetrieveZoneParamsWithHTTPClient(client *http.Client) *AxfrRetrieveZoneParams
NewAxfrRetrieveZoneParamsWithHTTPClient creates a new AxfrRetrieveZoneParams object with the ability to set a custom HTTPClient for a request.
func NewAxfrRetrieveZoneParamsWithTimeout ¶
func NewAxfrRetrieveZoneParamsWithTimeout(timeout time.Duration) *AxfrRetrieveZoneParams
NewAxfrRetrieveZoneParamsWithTimeout creates a new AxfrRetrieveZoneParams object with the ability to set a timeout on a request.
func (*AxfrRetrieveZoneParams) SetContext ¶
func (o *AxfrRetrieveZoneParams) SetContext(ctx context.Context)
SetContext adds the context to the axfr retrieve zone params
func (*AxfrRetrieveZoneParams) SetDefaults ¶
func (o *AxfrRetrieveZoneParams) SetDefaults()
SetDefaults hydrates default values in the axfr retrieve zone params (not the query body).
All values with no default are reset to their zero value.
func (*AxfrRetrieveZoneParams) SetHTTPClient ¶
func (o *AxfrRetrieveZoneParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the axfr retrieve zone params
func (*AxfrRetrieveZoneParams) SetServerID ¶
func (o *AxfrRetrieveZoneParams) SetServerID(serverID string)
SetServerID adds the serverId to the axfr retrieve zone params
func (*AxfrRetrieveZoneParams) SetTimeout ¶
func (o *AxfrRetrieveZoneParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the axfr retrieve zone params
func (*AxfrRetrieveZoneParams) SetZoneID ¶
func (o *AxfrRetrieveZoneParams) SetZoneID(zoneID string)
SetZoneID adds the zoneId to the axfr retrieve zone params
func (*AxfrRetrieveZoneParams) WithContext ¶
func (o *AxfrRetrieveZoneParams) WithContext(ctx context.Context) *AxfrRetrieveZoneParams
WithContext adds the context to the axfr retrieve zone params
func (*AxfrRetrieveZoneParams) WithDefaults ¶
func (o *AxfrRetrieveZoneParams) WithDefaults() *AxfrRetrieveZoneParams
WithDefaults hydrates default values in the axfr retrieve zone params (not the query body).
All values with no default are reset to their zero value.
func (*AxfrRetrieveZoneParams) WithHTTPClient ¶
func (o *AxfrRetrieveZoneParams) WithHTTPClient(client *http.Client) *AxfrRetrieveZoneParams
WithHTTPClient adds the HTTPClient to the axfr retrieve zone params
func (*AxfrRetrieveZoneParams) WithServerID ¶
func (o *AxfrRetrieveZoneParams) WithServerID(serverID string) *AxfrRetrieveZoneParams
WithServerID adds the serverID to the axfr retrieve zone params
func (*AxfrRetrieveZoneParams) WithTimeout ¶
func (o *AxfrRetrieveZoneParams) WithTimeout(timeout time.Duration) *AxfrRetrieveZoneParams
WithTimeout adds the timeout to the axfr retrieve zone params
func (*AxfrRetrieveZoneParams) WithZoneID ¶
func (o *AxfrRetrieveZoneParams) WithZoneID(zoneID string) *AxfrRetrieveZoneParams
WithZoneID adds the zoneID to the axfr retrieve zone params
func (*AxfrRetrieveZoneParams) WriteToRequest ¶
func (o *AxfrRetrieveZoneParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AxfrRetrieveZoneReader ¶
type AxfrRetrieveZoneReader struct {
// contains filtered or unexported fields
}
AxfrRetrieveZoneReader is a Reader for the AxfrRetrieveZone structure.
func (*AxfrRetrieveZoneReader) ReadResponse ¶
func (o *AxfrRetrieveZoneReader) 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 zones API
func (*Client) AxfrExportZone ¶
func (a *Client) AxfrExportZone(params *AxfrExportZoneParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AxfrExportZoneOK, error)
AxfrExportZone returns the zone in a x f r format
func (*Client) AxfrRetrieveZone ¶
func (a *Client) AxfrRetrieveZone(params *AxfrRetrieveZoneParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AxfrRetrieveZoneOK, error)
AxfrRetrieveZone retrieves slave zone from its master
Fails when zone kind is not Slave, or slave is disabled in the configuration. Clients MUST NOT send a body.
func (*Client) CreateZone ¶
func (a *Client) CreateZone(params *CreateZoneParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateZoneCreated, error)
CreateZone creates a new domain returns the zone on creation
func (*Client) DeleteZone ¶
func (a *Client) DeleteZone(params *DeleteZoneParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteZoneNoContent, error)
DeleteZone deletes this zone all attached metadata and rrsets
func (*Client) ListZone ¶
func (a *Client) ListZone(params *ListZoneParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListZoneOK, error)
ListZone zones managed by a server
func (*Client) ListZones ¶
func (a *Client) ListZones(params *ListZonesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListZonesOK, error)
ListZones lists all zones in a server
func (*Client) NotifyZone ¶
func (a *Client) NotifyZone(params *NotifyZoneParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*NotifyZoneOK, error)
NotifyZone sends a DNS n o t i f y to all slaves
Fails when zone kind is not Master or Slave, or master and slave are disabled in the configuration. Only works for Slave if renotify is on. Clients MUST NOT send a body.
func (*Client) PatchZone ¶
func (a *Client) PatchZone(params *PatchZoneParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PatchZoneNoContent, error)
PatchZone creates modifies deletes r rsets present in the payload and their comments returns 204 no content on success
func (*Client) PutZone ¶
func (a *Client) PutZone(params *PutZoneParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PutZoneNoContent, error)
PutZone modifies basic zone data
The only fields in the zone structure which can be modified are: kind, masters, account, soa_edit, soa_edit_api, api_rectify, dnssec, and nsec3param. All other fields are ignored.
func (*Client) RectifyZone ¶
func (a *Client) RectifyZone(params *RectifyZoneParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RectifyZoneOK, error)
RectifyZone rectifies the zone data
This does not take into account the API-RECTIFY metadata. Fails on slave zones and zones that do not have DNSSEC.
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 { AxfrExportZone(params *AxfrExportZoneParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AxfrExportZoneOK, error) AxfrRetrieveZone(params *AxfrRetrieveZoneParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AxfrRetrieveZoneOK, error) CreateZone(params *CreateZoneParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateZoneCreated, error) DeleteZone(params *DeleteZoneParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteZoneNoContent, error) ListZone(params *ListZoneParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListZoneOK, error) ListZones(params *ListZonesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListZonesOK, error) NotifyZone(params *NotifyZoneParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*NotifyZoneOK, error) PatchZone(params *PatchZoneParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PatchZoneNoContent, error) PutZone(params *PutZoneParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PutZoneNoContent, error) RectifyZone(params *RectifyZoneParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RectifyZoneOK, 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 zones API client.
type CreateZoneCreated ¶
CreateZoneCreated describes a response with status code 201, with default header values.
A zone
func NewCreateZoneCreated ¶
func NewCreateZoneCreated() *CreateZoneCreated
NewCreateZoneCreated creates a CreateZoneCreated with default headers values
func (*CreateZoneCreated) Error ¶
func (o *CreateZoneCreated) Error() string
func (*CreateZoneCreated) GetPayload ¶
func (o *CreateZoneCreated) GetPayload() *models.Zone
type CreateZoneParams ¶
type CreateZoneParams struct { /* Rrsets. “true” (default) or “false”, whether to include the “rrsets” in the response Zone object. Default: true */ Rrsets *bool /* ServerID. The id of the server to retrieve */ ServerID string /* ZoneStruct. The zone struct to patch with */ ZoneStruct *models.Zone Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateZoneParams contains all the parameters to send to the API endpoint
for the create zone operation. Typically these are written to a http.Request.
func NewCreateZoneParams ¶
func NewCreateZoneParams() *CreateZoneParams
NewCreateZoneParams creates a new CreateZoneParams 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 NewCreateZoneParamsWithContext ¶
func NewCreateZoneParamsWithContext(ctx context.Context) *CreateZoneParams
NewCreateZoneParamsWithContext creates a new CreateZoneParams object with the ability to set a context for a request.
func NewCreateZoneParamsWithHTTPClient ¶
func NewCreateZoneParamsWithHTTPClient(client *http.Client) *CreateZoneParams
NewCreateZoneParamsWithHTTPClient creates a new CreateZoneParams object with the ability to set a custom HTTPClient for a request.
func NewCreateZoneParamsWithTimeout ¶
func NewCreateZoneParamsWithTimeout(timeout time.Duration) *CreateZoneParams
NewCreateZoneParamsWithTimeout creates a new CreateZoneParams object with the ability to set a timeout on a request.
func (*CreateZoneParams) SetContext ¶
func (o *CreateZoneParams) SetContext(ctx context.Context)
SetContext adds the context to the create zone params
func (*CreateZoneParams) SetDefaults ¶
func (o *CreateZoneParams) SetDefaults()
SetDefaults hydrates default values in the create zone params (not the query body).
All values with no default are reset to their zero value.
func (*CreateZoneParams) SetHTTPClient ¶
func (o *CreateZoneParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create zone params
func (*CreateZoneParams) SetRrsets ¶
func (o *CreateZoneParams) SetRrsets(rrsets *bool)
SetRrsets adds the rrsets to the create zone params
func (*CreateZoneParams) SetServerID ¶
func (o *CreateZoneParams) SetServerID(serverID string)
SetServerID adds the serverId to the create zone params
func (*CreateZoneParams) SetTimeout ¶
func (o *CreateZoneParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create zone params
func (*CreateZoneParams) SetZoneStruct ¶
func (o *CreateZoneParams) SetZoneStruct(zoneStruct *models.Zone)
SetZoneStruct adds the zoneStruct to the create zone params
func (*CreateZoneParams) WithContext ¶
func (o *CreateZoneParams) WithContext(ctx context.Context) *CreateZoneParams
WithContext adds the context to the create zone params
func (*CreateZoneParams) WithDefaults ¶
func (o *CreateZoneParams) WithDefaults() *CreateZoneParams
WithDefaults hydrates default values in the create zone params (not the query body).
All values with no default are reset to their zero value.
func (*CreateZoneParams) WithHTTPClient ¶
func (o *CreateZoneParams) WithHTTPClient(client *http.Client) *CreateZoneParams
WithHTTPClient adds the HTTPClient to the create zone params
func (*CreateZoneParams) WithRrsets ¶
func (o *CreateZoneParams) WithRrsets(rrsets *bool) *CreateZoneParams
WithRrsets adds the rrsets to the create zone params
func (*CreateZoneParams) WithServerID ¶
func (o *CreateZoneParams) WithServerID(serverID string) *CreateZoneParams
WithServerID adds the serverID to the create zone params
func (*CreateZoneParams) WithTimeout ¶
func (o *CreateZoneParams) WithTimeout(timeout time.Duration) *CreateZoneParams
WithTimeout adds the timeout to the create zone params
func (*CreateZoneParams) WithZoneStruct ¶
func (o *CreateZoneParams) WithZoneStruct(zoneStruct *models.Zone) *CreateZoneParams
WithZoneStruct adds the zoneStruct to the create zone params
func (*CreateZoneParams) WriteToRequest ¶
func (o *CreateZoneParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateZoneReader ¶
type CreateZoneReader struct {
// contains filtered or unexported fields
}
CreateZoneReader is a Reader for the CreateZone structure.
func (*CreateZoneReader) ReadResponse ¶
func (o *CreateZoneReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteZoneNoContent ¶
type DeleteZoneNoContent struct { }
DeleteZoneNoContent describes a response with status code 204, with default header values.
Returns 204 No Content on success.
func NewDeleteZoneNoContent ¶
func NewDeleteZoneNoContent() *DeleteZoneNoContent
NewDeleteZoneNoContent creates a DeleteZoneNoContent with default headers values
func (*DeleteZoneNoContent) Error ¶
func (o *DeleteZoneNoContent) Error() string
type DeleteZoneParams ¶
type DeleteZoneParams struct { /* ServerID. The id of the server to retrieve */ ServerID string /* ZoneID. The id of the zone to retrieve */ ZoneID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteZoneParams contains all the parameters to send to the API endpoint
for the delete zone operation. Typically these are written to a http.Request.
func NewDeleteZoneParams ¶
func NewDeleteZoneParams() *DeleteZoneParams
NewDeleteZoneParams creates a new DeleteZoneParams 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 NewDeleteZoneParamsWithContext ¶
func NewDeleteZoneParamsWithContext(ctx context.Context) *DeleteZoneParams
NewDeleteZoneParamsWithContext creates a new DeleteZoneParams object with the ability to set a context for a request.
func NewDeleteZoneParamsWithHTTPClient ¶
func NewDeleteZoneParamsWithHTTPClient(client *http.Client) *DeleteZoneParams
NewDeleteZoneParamsWithHTTPClient creates a new DeleteZoneParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteZoneParamsWithTimeout ¶
func NewDeleteZoneParamsWithTimeout(timeout time.Duration) *DeleteZoneParams
NewDeleteZoneParamsWithTimeout creates a new DeleteZoneParams object with the ability to set a timeout on a request.
func (*DeleteZoneParams) SetContext ¶
func (o *DeleteZoneParams) SetContext(ctx context.Context)
SetContext adds the context to the delete zone params
func (*DeleteZoneParams) SetDefaults ¶
func (o *DeleteZoneParams) SetDefaults()
SetDefaults hydrates default values in the delete zone params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteZoneParams) SetHTTPClient ¶
func (o *DeleteZoneParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete zone params
func (*DeleteZoneParams) SetServerID ¶
func (o *DeleteZoneParams) SetServerID(serverID string)
SetServerID adds the serverId to the delete zone params
func (*DeleteZoneParams) SetTimeout ¶
func (o *DeleteZoneParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete zone params
func (*DeleteZoneParams) SetZoneID ¶
func (o *DeleteZoneParams) SetZoneID(zoneID string)
SetZoneID adds the zoneId to the delete zone params
func (*DeleteZoneParams) WithContext ¶
func (o *DeleteZoneParams) WithContext(ctx context.Context) *DeleteZoneParams
WithContext adds the context to the delete zone params
func (*DeleteZoneParams) WithDefaults ¶
func (o *DeleteZoneParams) WithDefaults() *DeleteZoneParams
WithDefaults hydrates default values in the delete zone params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteZoneParams) WithHTTPClient ¶
func (o *DeleteZoneParams) WithHTTPClient(client *http.Client) *DeleteZoneParams
WithHTTPClient adds the HTTPClient to the delete zone params
func (*DeleteZoneParams) WithServerID ¶
func (o *DeleteZoneParams) WithServerID(serverID string) *DeleteZoneParams
WithServerID adds the serverID to the delete zone params
func (*DeleteZoneParams) WithTimeout ¶
func (o *DeleteZoneParams) WithTimeout(timeout time.Duration) *DeleteZoneParams
WithTimeout adds the timeout to the delete zone params
func (*DeleteZoneParams) WithZoneID ¶
func (o *DeleteZoneParams) WithZoneID(zoneID string) *DeleteZoneParams
WithZoneID adds the zoneID to the delete zone params
func (*DeleteZoneParams) WriteToRequest ¶
func (o *DeleteZoneParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteZoneReader ¶
type DeleteZoneReader struct {
// contains filtered or unexported fields
}
DeleteZoneReader is a Reader for the DeleteZone structure.
func (*DeleteZoneReader) ReadResponse ¶
func (o *DeleteZoneReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListZoneOK ¶
ListZoneOK describes a response with status code 200, with default header values.
A Zone
func NewListZoneOK ¶
func NewListZoneOK() *ListZoneOK
NewListZoneOK creates a ListZoneOK with default headers values
func (*ListZoneOK) Error ¶
func (o *ListZoneOK) Error() string
func (*ListZoneOK) GetPayload ¶
func (o *ListZoneOK) GetPayload() *models.Zone
type ListZoneParams ¶
type ListZoneParams struct { /* Rrsets. “true” (default) or “false”, whether to include the “rrsets” in the response Zone object. Default: true */ Rrsets *bool /* ServerID. The id of the server to retrieve */ ServerID string /* ZoneID. The id of the zone to retrieve */ ZoneID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListZoneParams contains all the parameters to send to the API endpoint
for the list zone operation. Typically these are written to a http.Request.
func NewListZoneParams ¶
func NewListZoneParams() *ListZoneParams
NewListZoneParams creates a new ListZoneParams 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 NewListZoneParamsWithContext ¶
func NewListZoneParamsWithContext(ctx context.Context) *ListZoneParams
NewListZoneParamsWithContext creates a new ListZoneParams object with the ability to set a context for a request.
func NewListZoneParamsWithHTTPClient ¶
func NewListZoneParamsWithHTTPClient(client *http.Client) *ListZoneParams
NewListZoneParamsWithHTTPClient creates a new ListZoneParams object with the ability to set a custom HTTPClient for a request.
func NewListZoneParamsWithTimeout ¶
func NewListZoneParamsWithTimeout(timeout time.Duration) *ListZoneParams
NewListZoneParamsWithTimeout creates a new ListZoneParams object with the ability to set a timeout on a request.
func (*ListZoneParams) SetContext ¶
func (o *ListZoneParams) SetContext(ctx context.Context)
SetContext adds the context to the list zone params
func (*ListZoneParams) SetDefaults ¶
func (o *ListZoneParams) SetDefaults()
SetDefaults hydrates default values in the list zone params (not the query body).
All values with no default are reset to their zero value.
func (*ListZoneParams) SetHTTPClient ¶
func (o *ListZoneParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list zone params
func (*ListZoneParams) SetRrsets ¶
func (o *ListZoneParams) SetRrsets(rrsets *bool)
SetRrsets adds the rrsets to the list zone params
func (*ListZoneParams) SetServerID ¶
func (o *ListZoneParams) SetServerID(serverID string)
SetServerID adds the serverId to the list zone params
func (*ListZoneParams) SetTimeout ¶
func (o *ListZoneParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list zone params
func (*ListZoneParams) SetZoneID ¶
func (o *ListZoneParams) SetZoneID(zoneID string)
SetZoneID adds the zoneId to the list zone params
func (*ListZoneParams) WithContext ¶
func (o *ListZoneParams) WithContext(ctx context.Context) *ListZoneParams
WithContext adds the context to the list zone params
func (*ListZoneParams) WithDefaults ¶
func (o *ListZoneParams) WithDefaults() *ListZoneParams
WithDefaults hydrates default values in the list zone params (not the query body).
All values with no default are reset to their zero value.
func (*ListZoneParams) WithHTTPClient ¶
func (o *ListZoneParams) WithHTTPClient(client *http.Client) *ListZoneParams
WithHTTPClient adds the HTTPClient to the list zone params
func (*ListZoneParams) WithRrsets ¶
func (o *ListZoneParams) WithRrsets(rrsets *bool) *ListZoneParams
WithRrsets adds the rrsets to the list zone params
func (*ListZoneParams) WithServerID ¶
func (o *ListZoneParams) WithServerID(serverID string) *ListZoneParams
WithServerID adds the serverID to the list zone params
func (*ListZoneParams) WithTimeout ¶
func (o *ListZoneParams) WithTimeout(timeout time.Duration) *ListZoneParams
WithTimeout adds the timeout to the list zone params
func (*ListZoneParams) WithZoneID ¶
func (o *ListZoneParams) WithZoneID(zoneID string) *ListZoneParams
WithZoneID adds the zoneID to the list zone params
func (*ListZoneParams) WriteToRequest ¶
func (o *ListZoneParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListZoneReader ¶
type ListZoneReader struct {
// contains filtered or unexported fields
}
ListZoneReader is a Reader for the ListZone structure.
func (*ListZoneReader) ReadResponse ¶
func (o *ListZoneReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListZonesOK ¶
ListZonesOK describes a response with status code 200, with default header values.
An array of Zones
func NewListZonesOK ¶
func NewListZonesOK() *ListZonesOK
NewListZonesOK creates a ListZonesOK with default headers values
func (*ListZonesOK) Error ¶
func (o *ListZonesOK) Error() string
func (*ListZonesOK) GetPayload ¶
func (o *ListZonesOK) GetPayload() []*models.Zone
type ListZonesParams ¶
type ListZonesParams struct { /* Dnssec. “true” (default) or “false”, whether to include the “dnssec” and ”edited_serial” fields in the Zone objects. Setting this to ”false” will make the query a lot faster. Default: true */ Dnssec *bool /* ServerID. The id of the server to retrieve */ ServerID string /* Zone. When set to the name of a zone, only this zone is returned. If no zone with that name exists, the response is an empty array. This can e.g. be used to check if a zone exists in the database without having to guess/encode the zone's id or to check if a zone exists. */ Zone *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListZonesParams contains all the parameters to send to the API endpoint
for the list zones operation. Typically these are written to a http.Request.
func NewListZonesParams ¶
func NewListZonesParams() *ListZonesParams
NewListZonesParams creates a new ListZonesParams 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 NewListZonesParamsWithContext ¶
func NewListZonesParamsWithContext(ctx context.Context) *ListZonesParams
NewListZonesParamsWithContext creates a new ListZonesParams object with the ability to set a context for a request.
func NewListZonesParamsWithHTTPClient ¶
func NewListZonesParamsWithHTTPClient(client *http.Client) *ListZonesParams
NewListZonesParamsWithHTTPClient creates a new ListZonesParams object with the ability to set a custom HTTPClient for a request.
func NewListZonesParamsWithTimeout ¶
func NewListZonesParamsWithTimeout(timeout time.Duration) *ListZonesParams
NewListZonesParamsWithTimeout creates a new ListZonesParams object with the ability to set a timeout on a request.
func (*ListZonesParams) SetContext ¶
func (o *ListZonesParams) SetContext(ctx context.Context)
SetContext adds the context to the list zones params
func (*ListZonesParams) SetDefaults ¶
func (o *ListZonesParams) SetDefaults()
SetDefaults hydrates default values in the list zones params (not the query body).
All values with no default are reset to their zero value.
func (*ListZonesParams) SetDnssec ¶
func (o *ListZonesParams) SetDnssec(dnssec *bool)
SetDnssec adds the dnssec to the list zones params
func (*ListZonesParams) SetHTTPClient ¶
func (o *ListZonesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list zones params
func (*ListZonesParams) SetServerID ¶
func (o *ListZonesParams) SetServerID(serverID string)
SetServerID adds the serverId to the list zones params
func (*ListZonesParams) SetTimeout ¶
func (o *ListZonesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list zones params
func (*ListZonesParams) SetZone ¶
func (o *ListZonesParams) SetZone(zone *string)
SetZone adds the zone to the list zones params
func (*ListZonesParams) WithContext ¶
func (o *ListZonesParams) WithContext(ctx context.Context) *ListZonesParams
WithContext adds the context to the list zones params
func (*ListZonesParams) WithDefaults ¶
func (o *ListZonesParams) WithDefaults() *ListZonesParams
WithDefaults hydrates default values in the list zones params (not the query body).
All values with no default are reset to their zero value.
func (*ListZonesParams) WithDnssec ¶
func (o *ListZonesParams) WithDnssec(dnssec *bool) *ListZonesParams
WithDnssec adds the dnssec to the list zones params
func (*ListZonesParams) WithHTTPClient ¶
func (o *ListZonesParams) WithHTTPClient(client *http.Client) *ListZonesParams
WithHTTPClient adds the HTTPClient to the list zones params
func (*ListZonesParams) WithServerID ¶
func (o *ListZonesParams) WithServerID(serverID string) *ListZonesParams
WithServerID adds the serverID to the list zones params
func (*ListZonesParams) WithTimeout ¶
func (o *ListZonesParams) WithTimeout(timeout time.Duration) *ListZonesParams
WithTimeout adds the timeout to the list zones params
func (*ListZonesParams) WithZone ¶
func (o *ListZonesParams) WithZone(zone *string) *ListZonesParams
WithZone adds the zone to the list zones params
func (*ListZonesParams) WriteToRequest ¶
func (o *ListZonesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListZonesReader ¶
type ListZonesReader struct {
// contains filtered or unexported fields
}
ListZonesReader is a Reader for the ListZones structure.
func (*ListZonesReader) ReadResponse ¶
func (o *ListZonesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type NotifyZoneOK ¶
type NotifyZoneOK struct { }
NotifyZoneOK describes a response with status code 200, with default header values.
OK
func NewNotifyZoneOK ¶
func NewNotifyZoneOK() *NotifyZoneOK
NewNotifyZoneOK creates a NotifyZoneOK with default headers values
func (*NotifyZoneOK) Error ¶
func (o *NotifyZoneOK) Error() string
type NotifyZoneParams ¶
type NotifyZoneParams struct { /* ServerID. The id of the server to retrieve */ ServerID string /* ZoneID. The id of the zone to retrieve */ ZoneID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
NotifyZoneParams contains all the parameters to send to the API endpoint
for the notify zone operation. Typically these are written to a http.Request.
func NewNotifyZoneParams ¶
func NewNotifyZoneParams() *NotifyZoneParams
NewNotifyZoneParams creates a new NotifyZoneParams 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 NewNotifyZoneParamsWithContext ¶
func NewNotifyZoneParamsWithContext(ctx context.Context) *NotifyZoneParams
NewNotifyZoneParamsWithContext creates a new NotifyZoneParams object with the ability to set a context for a request.
func NewNotifyZoneParamsWithHTTPClient ¶
func NewNotifyZoneParamsWithHTTPClient(client *http.Client) *NotifyZoneParams
NewNotifyZoneParamsWithHTTPClient creates a new NotifyZoneParams object with the ability to set a custom HTTPClient for a request.
func NewNotifyZoneParamsWithTimeout ¶
func NewNotifyZoneParamsWithTimeout(timeout time.Duration) *NotifyZoneParams
NewNotifyZoneParamsWithTimeout creates a new NotifyZoneParams object with the ability to set a timeout on a request.
func (*NotifyZoneParams) SetContext ¶
func (o *NotifyZoneParams) SetContext(ctx context.Context)
SetContext adds the context to the notify zone params
func (*NotifyZoneParams) SetDefaults ¶
func (o *NotifyZoneParams) SetDefaults()
SetDefaults hydrates default values in the notify zone params (not the query body).
All values with no default are reset to their zero value.
func (*NotifyZoneParams) SetHTTPClient ¶
func (o *NotifyZoneParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the notify zone params
func (*NotifyZoneParams) SetServerID ¶
func (o *NotifyZoneParams) SetServerID(serverID string)
SetServerID adds the serverId to the notify zone params
func (*NotifyZoneParams) SetTimeout ¶
func (o *NotifyZoneParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the notify zone params
func (*NotifyZoneParams) SetZoneID ¶
func (o *NotifyZoneParams) SetZoneID(zoneID string)
SetZoneID adds the zoneId to the notify zone params
func (*NotifyZoneParams) WithContext ¶
func (o *NotifyZoneParams) WithContext(ctx context.Context) *NotifyZoneParams
WithContext adds the context to the notify zone params
func (*NotifyZoneParams) WithDefaults ¶
func (o *NotifyZoneParams) WithDefaults() *NotifyZoneParams
WithDefaults hydrates default values in the notify zone params (not the query body).
All values with no default are reset to their zero value.
func (*NotifyZoneParams) WithHTTPClient ¶
func (o *NotifyZoneParams) WithHTTPClient(client *http.Client) *NotifyZoneParams
WithHTTPClient adds the HTTPClient to the notify zone params
func (*NotifyZoneParams) WithServerID ¶
func (o *NotifyZoneParams) WithServerID(serverID string) *NotifyZoneParams
WithServerID adds the serverID to the notify zone params
func (*NotifyZoneParams) WithTimeout ¶
func (o *NotifyZoneParams) WithTimeout(timeout time.Duration) *NotifyZoneParams
WithTimeout adds the timeout to the notify zone params
func (*NotifyZoneParams) WithZoneID ¶
func (o *NotifyZoneParams) WithZoneID(zoneID string) *NotifyZoneParams
WithZoneID adds the zoneID to the notify zone params
func (*NotifyZoneParams) WriteToRequest ¶
func (o *NotifyZoneParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type NotifyZoneReader ¶
type NotifyZoneReader struct {
// contains filtered or unexported fields
}
NotifyZoneReader is a Reader for the NotifyZone structure.
func (*NotifyZoneReader) ReadResponse ¶
func (o *NotifyZoneReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PatchZoneNoContent ¶
type PatchZoneNoContent struct { }
PatchZoneNoContent describes a response with status code 204, with default header values.
Returns 204 No Content on success.
func NewPatchZoneNoContent ¶
func NewPatchZoneNoContent() *PatchZoneNoContent
NewPatchZoneNoContent creates a PatchZoneNoContent with default headers values
func (*PatchZoneNoContent) Error ¶
func (o *PatchZoneNoContent) Error() string
type PatchZoneParams ¶
type PatchZoneParams struct { /* ServerID. The id of the server to retrieve */ ServerID string // ZoneID. ZoneID string /* ZoneStruct. The zone struct to patch with */ ZoneStruct *models.Zone Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PatchZoneParams contains all the parameters to send to the API endpoint
for the patch zone operation. Typically these are written to a http.Request.
func NewPatchZoneParams ¶
func NewPatchZoneParams() *PatchZoneParams
NewPatchZoneParams creates a new PatchZoneParams 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 NewPatchZoneParamsWithContext ¶
func NewPatchZoneParamsWithContext(ctx context.Context) *PatchZoneParams
NewPatchZoneParamsWithContext creates a new PatchZoneParams object with the ability to set a context for a request.
func NewPatchZoneParamsWithHTTPClient ¶
func NewPatchZoneParamsWithHTTPClient(client *http.Client) *PatchZoneParams
NewPatchZoneParamsWithHTTPClient creates a new PatchZoneParams object with the ability to set a custom HTTPClient for a request.
func NewPatchZoneParamsWithTimeout ¶
func NewPatchZoneParamsWithTimeout(timeout time.Duration) *PatchZoneParams
NewPatchZoneParamsWithTimeout creates a new PatchZoneParams object with the ability to set a timeout on a request.
func (*PatchZoneParams) SetContext ¶
func (o *PatchZoneParams) SetContext(ctx context.Context)
SetContext adds the context to the patch zone params
func (*PatchZoneParams) SetDefaults ¶
func (o *PatchZoneParams) SetDefaults()
SetDefaults hydrates default values in the patch zone params (not the query body).
All values with no default are reset to their zero value.
func (*PatchZoneParams) SetHTTPClient ¶
func (o *PatchZoneParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the patch zone params
func (*PatchZoneParams) SetServerID ¶
func (o *PatchZoneParams) SetServerID(serverID string)
SetServerID adds the serverId to the patch zone params
func (*PatchZoneParams) SetTimeout ¶
func (o *PatchZoneParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the patch zone params
func (*PatchZoneParams) SetZoneID ¶
func (o *PatchZoneParams) SetZoneID(zoneID string)
SetZoneID adds the zoneId to the patch zone params
func (*PatchZoneParams) SetZoneStruct ¶
func (o *PatchZoneParams) SetZoneStruct(zoneStruct *models.Zone)
SetZoneStruct adds the zoneStruct to the patch zone params
func (*PatchZoneParams) WithContext ¶
func (o *PatchZoneParams) WithContext(ctx context.Context) *PatchZoneParams
WithContext adds the context to the patch zone params
func (*PatchZoneParams) WithDefaults ¶
func (o *PatchZoneParams) WithDefaults() *PatchZoneParams
WithDefaults hydrates default values in the patch zone params (not the query body).
All values with no default are reset to their zero value.
func (*PatchZoneParams) WithHTTPClient ¶
func (o *PatchZoneParams) WithHTTPClient(client *http.Client) *PatchZoneParams
WithHTTPClient adds the HTTPClient to the patch zone params
func (*PatchZoneParams) WithServerID ¶
func (o *PatchZoneParams) WithServerID(serverID string) *PatchZoneParams
WithServerID adds the serverID to the patch zone params
func (*PatchZoneParams) WithTimeout ¶
func (o *PatchZoneParams) WithTimeout(timeout time.Duration) *PatchZoneParams
WithTimeout adds the timeout to the patch zone params
func (*PatchZoneParams) WithZoneID ¶
func (o *PatchZoneParams) WithZoneID(zoneID string) *PatchZoneParams
WithZoneID adds the zoneID to the patch zone params
func (*PatchZoneParams) WithZoneStruct ¶
func (o *PatchZoneParams) WithZoneStruct(zoneStruct *models.Zone) *PatchZoneParams
WithZoneStruct adds the zoneStruct to the patch zone params
func (*PatchZoneParams) WriteToRequest ¶
func (o *PatchZoneParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PatchZoneReader ¶
type PatchZoneReader struct {
// contains filtered or unexported fields
}
PatchZoneReader is a Reader for the PatchZone structure.
func (*PatchZoneReader) ReadResponse ¶
func (o *PatchZoneReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PutZoneNoContent ¶
type PutZoneNoContent struct { }
PutZoneNoContent describes a response with status code 204, with default header values.
Returns 204 No Content on success.
func NewPutZoneNoContent ¶
func NewPutZoneNoContent() *PutZoneNoContent
NewPutZoneNoContent creates a PutZoneNoContent with default headers values
func (*PutZoneNoContent) Error ¶
func (o *PutZoneNoContent) Error() string
type PutZoneParams ¶
type PutZoneParams struct { /* ServerID. The id of the server to retrieve */ ServerID string // ZoneID. ZoneID string /* ZoneStruct. The zone struct to patch with */ ZoneStruct *models.Zone Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PutZoneParams contains all the parameters to send to the API endpoint
for the put zone operation. Typically these are written to a http.Request.
func NewPutZoneParams ¶
func NewPutZoneParams() *PutZoneParams
NewPutZoneParams creates a new PutZoneParams 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 NewPutZoneParamsWithContext ¶
func NewPutZoneParamsWithContext(ctx context.Context) *PutZoneParams
NewPutZoneParamsWithContext creates a new PutZoneParams object with the ability to set a context for a request.
func NewPutZoneParamsWithHTTPClient ¶
func NewPutZoneParamsWithHTTPClient(client *http.Client) *PutZoneParams
NewPutZoneParamsWithHTTPClient creates a new PutZoneParams object with the ability to set a custom HTTPClient for a request.
func NewPutZoneParamsWithTimeout ¶
func NewPutZoneParamsWithTimeout(timeout time.Duration) *PutZoneParams
NewPutZoneParamsWithTimeout creates a new PutZoneParams object with the ability to set a timeout on a request.
func (*PutZoneParams) SetContext ¶
func (o *PutZoneParams) SetContext(ctx context.Context)
SetContext adds the context to the put zone params
func (*PutZoneParams) SetDefaults ¶
func (o *PutZoneParams) SetDefaults()
SetDefaults hydrates default values in the put zone params (not the query body).
All values with no default are reset to their zero value.
func (*PutZoneParams) SetHTTPClient ¶
func (o *PutZoneParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the put zone params
func (*PutZoneParams) SetServerID ¶
func (o *PutZoneParams) SetServerID(serverID string)
SetServerID adds the serverId to the put zone params
func (*PutZoneParams) SetTimeout ¶
func (o *PutZoneParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the put zone params
func (*PutZoneParams) SetZoneID ¶
func (o *PutZoneParams) SetZoneID(zoneID string)
SetZoneID adds the zoneId to the put zone params
func (*PutZoneParams) SetZoneStruct ¶
func (o *PutZoneParams) SetZoneStruct(zoneStruct *models.Zone)
SetZoneStruct adds the zoneStruct to the put zone params
func (*PutZoneParams) WithContext ¶
func (o *PutZoneParams) WithContext(ctx context.Context) *PutZoneParams
WithContext adds the context to the put zone params
func (*PutZoneParams) WithDefaults ¶
func (o *PutZoneParams) WithDefaults() *PutZoneParams
WithDefaults hydrates default values in the put zone params (not the query body).
All values with no default are reset to their zero value.
func (*PutZoneParams) WithHTTPClient ¶
func (o *PutZoneParams) WithHTTPClient(client *http.Client) *PutZoneParams
WithHTTPClient adds the HTTPClient to the put zone params
func (*PutZoneParams) WithServerID ¶
func (o *PutZoneParams) WithServerID(serverID string) *PutZoneParams
WithServerID adds the serverID to the put zone params
func (*PutZoneParams) WithTimeout ¶
func (o *PutZoneParams) WithTimeout(timeout time.Duration) *PutZoneParams
WithTimeout adds the timeout to the put zone params
func (*PutZoneParams) WithZoneID ¶
func (o *PutZoneParams) WithZoneID(zoneID string) *PutZoneParams
WithZoneID adds the zoneID to the put zone params
func (*PutZoneParams) WithZoneStruct ¶
func (o *PutZoneParams) WithZoneStruct(zoneStruct *models.Zone) *PutZoneParams
WithZoneStruct adds the zoneStruct to the put zone params
func (*PutZoneParams) WriteToRequest ¶
func (o *PutZoneParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PutZoneReader ¶
type PutZoneReader struct {
// contains filtered or unexported fields
}
PutZoneReader is a Reader for the PutZone structure.
func (*PutZoneReader) ReadResponse ¶
func (o *PutZoneReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RectifyZoneOK ¶
type RectifyZoneOK struct {
Payload string
}
RectifyZoneOK describes a response with status code 200, with default header values.
OK
func NewRectifyZoneOK ¶
func NewRectifyZoneOK() *RectifyZoneOK
NewRectifyZoneOK creates a RectifyZoneOK with default headers values
func (*RectifyZoneOK) Error ¶
func (o *RectifyZoneOK) Error() string
func (*RectifyZoneOK) GetPayload ¶
func (o *RectifyZoneOK) GetPayload() string
type RectifyZoneParams ¶
type RectifyZoneParams struct { /* ServerID. The id of the server to retrieve */ ServerID string /* ZoneID. The id of the zone to retrieve */ ZoneID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RectifyZoneParams contains all the parameters to send to the API endpoint
for the rectify zone operation. Typically these are written to a http.Request.
func NewRectifyZoneParams ¶
func NewRectifyZoneParams() *RectifyZoneParams
NewRectifyZoneParams creates a new RectifyZoneParams 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 NewRectifyZoneParamsWithContext ¶
func NewRectifyZoneParamsWithContext(ctx context.Context) *RectifyZoneParams
NewRectifyZoneParamsWithContext creates a new RectifyZoneParams object with the ability to set a context for a request.
func NewRectifyZoneParamsWithHTTPClient ¶
func NewRectifyZoneParamsWithHTTPClient(client *http.Client) *RectifyZoneParams
NewRectifyZoneParamsWithHTTPClient creates a new RectifyZoneParams object with the ability to set a custom HTTPClient for a request.
func NewRectifyZoneParamsWithTimeout ¶
func NewRectifyZoneParamsWithTimeout(timeout time.Duration) *RectifyZoneParams
NewRectifyZoneParamsWithTimeout creates a new RectifyZoneParams object with the ability to set a timeout on a request.
func (*RectifyZoneParams) SetContext ¶
func (o *RectifyZoneParams) SetContext(ctx context.Context)
SetContext adds the context to the rectify zone params
func (*RectifyZoneParams) SetDefaults ¶
func (o *RectifyZoneParams) SetDefaults()
SetDefaults hydrates default values in the rectify zone params (not the query body).
All values with no default are reset to their zero value.
func (*RectifyZoneParams) SetHTTPClient ¶
func (o *RectifyZoneParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the rectify zone params
func (*RectifyZoneParams) SetServerID ¶
func (o *RectifyZoneParams) SetServerID(serverID string)
SetServerID adds the serverId to the rectify zone params
func (*RectifyZoneParams) SetTimeout ¶
func (o *RectifyZoneParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the rectify zone params
func (*RectifyZoneParams) SetZoneID ¶
func (o *RectifyZoneParams) SetZoneID(zoneID string)
SetZoneID adds the zoneId to the rectify zone params
func (*RectifyZoneParams) WithContext ¶
func (o *RectifyZoneParams) WithContext(ctx context.Context) *RectifyZoneParams
WithContext adds the context to the rectify zone params
func (*RectifyZoneParams) WithDefaults ¶
func (o *RectifyZoneParams) WithDefaults() *RectifyZoneParams
WithDefaults hydrates default values in the rectify zone params (not the query body).
All values with no default are reset to their zero value.
func (*RectifyZoneParams) WithHTTPClient ¶
func (o *RectifyZoneParams) WithHTTPClient(client *http.Client) *RectifyZoneParams
WithHTTPClient adds the HTTPClient to the rectify zone params
func (*RectifyZoneParams) WithServerID ¶
func (o *RectifyZoneParams) WithServerID(serverID string) *RectifyZoneParams
WithServerID adds the serverID to the rectify zone params
func (*RectifyZoneParams) WithTimeout ¶
func (o *RectifyZoneParams) WithTimeout(timeout time.Duration) *RectifyZoneParams
WithTimeout adds the timeout to the rectify zone params
func (*RectifyZoneParams) WithZoneID ¶
func (o *RectifyZoneParams) WithZoneID(zoneID string) *RectifyZoneParams
WithZoneID adds the zoneID to the rectify zone params
func (*RectifyZoneParams) WriteToRequest ¶
func (o *RectifyZoneParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RectifyZoneReader ¶
type RectifyZoneReader struct {
// contains filtered or unexported fields
}
RectifyZoneReader is a Reader for the RectifyZone structure.
func (*RectifyZoneReader) ReadResponse ¶
func (o *RectifyZoneReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- axfr_export_zone_parameters.go
- axfr_export_zone_responses.go
- axfr_retrieve_zone_parameters.go
- axfr_retrieve_zone_responses.go
- create_zone_parameters.go
- create_zone_responses.go
- delete_zone_parameters.go
- delete_zone_responses.go
- list_zone_parameters.go
- list_zone_responses.go
- list_zones_parameters.go
- list_zones_responses.go
- notify_zone_parameters.go
- notify_zone_responses.go
- patch_zone_parameters.go
- patch_zone_responses.go
- put_zone_parameters.go
- put_zone_responses.go
- rectify_zone_parameters.go
- rectify_zone_responses.go
- zones_client.go