Documentation ¶
Index ¶
- type Client
- func (a *Client) DeleteFqdnCache(params *DeleteFqdnCacheParams) (*DeleteFqdnCacheOK, error)
- func (a *Client) DeletePolicy(params *DeletePolicyParams) (*DeletePolicyOK, error)
- func (a *Client) GetFqdnCache(params *GetFqdnCacheParams) (*GetFqdnCacheOK, error)
- func (a *Client) GetFqdnCacheID(params *GetFqdnCacheIDParams) (*GetFqdnCacheIDOK, error)
- func (a *Client) GetFqdnNames(params *GetFqdnNamesParams) (*GetFqdnNamesOK, error)
- func (a *Client) GetIP(params *GetIPParams) (*GetIPOK, error)
- func (a *Client) GetIdentity(params *GetIdentityParams) (*GetIdentityOK, error)
- func (a *Client) GetIdentityEndpoints(params *GetIdentityEndpointsParams) (*GetIdentityEndpointsOK, error)
- func (a *Client) GetIdentityID(params *GetIdentityIDParams) (*GetIdentityIDOK, error)
- func (a *Client) GetPolicy(params *GetPolicyParams) (*GetPolicyOK, error)
- func (a *Client) GetPolicyResolve(params *GetPolicyResolveParams) (*GetPolicyResolveOK, error)
- func (a *Client) GetPolicySelectors(params *GetPolicySelectorsParams) (*GetPolicySelectorsOK, error)
- func (a *Client) PutPolicy(params *PutPolicyParams) (*PutPolicyOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
- type DeleteFqdnCacheBadRequest
- type DeleteFqdnCacheOK
- type DeleteFqdnCacheParams
- func NewDeleteFqdnCacheParams() *DeleteFqdnCacheParams
- func NewDeleteFqdnCacheParamsWithContext(ctx context.Context) *DeleteFqdnCacheParams
- func NewDeleteFqdnCacheParamsWithHTTPClient(client *http.Client) *DeleteFqdnCacheParams
- func NewDeleteFqdnCacheParamsWithTimeout(timeout time.Duration) *DeleteFqdnCacheParams
- func (o *DeleteFqdnCacheParams) SetContext(ctx context.Context)
- func (o *DeleteFqdnCacheParams) SetHTTPClient(client *http.Client)
- func (o *DeleteFqdnCacheParams) SetMatchpattern(matchpattern *string)
- func (o *DeleteFqdnCacheParams) SetTimeout(timeout time.Duration)
- func (o *DeleteFqdnCacheParams) WithContext(ctx context.Context) *DeleteFqdnCacheParams
- func (o *DeleteFqdnCacheParams) WithHTTPClient(client *http.Client) *DeleteFqdnCacheParams
- func (o *DeleteFqdnCacheParams) WithMatchpattern(matchpattern *string) *DeleteFqdnCacheParams
- func (o *DeleteFqdnCacheParams) WithTimeout(timeout time.Duration) *DeleteFqdnCacheParams
- func (o *DeleteFqdnCacheParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteFqdnCacheReader
- type DeletePolicyFailure
- type DeletePolicyInvalid
- type DeletePolicyNotFound
- type DeletePolicyOK
- type DeletePolicyParams
- func (o *DeletePolicyParams) SetContext(ctx context.Context)
- func (o *DeletePolicyParams) SetHTTPClient(client *http.Client)
- func (o *DeletePolicyParams) SetLabels(labels models.Labels)
- func (o *DeletePolicyParams) SetTimeout(timeout time.Duration)
- func (o *DeletePolicyParams) WithContext(ctx context.Context) *DeletePolicyParams
- func (o *DeletePolicyParams) WithHTTPClient(client *http.Client) *DeletePolicyParams
- func (o *DeletePolicyParams) WithLabels(labels models.Labels) *DeletePolicyParams
- func (o *DeletePolicyParams) WithTimeout(timeout time.Duration) *DeletePolicyParams
- func (o *DeletePolicyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeletePolicyReader
- type GetFqdnCacheBadRequest
- type GetFqdnCacheIDBadRequest
- type GetFqdnCacheIDNotFound
- type GetFqdnCacheIDOK
- type GetFqdnCacheIDParams
- func NewGetFqdnCacheIDParams() *GetFqdnCacheIDParams
- func NewGetFqdnCacheIDParamsWithContext(ctx context.Context) *GetFqdnCacheIDParams
- func NewGetFqdnCacheIDParamsWithHTTPClient(client *http.Client) *GetFqdnCacheIDParams
- func NewGetFqdnCacheIDParamsWithTimeout(timeout time.Duration) *GetFqdnCacheIDParams
- func (o *GetFqdnCacheIDParams) SetCidr(cidr *string)
- func (o *GetFqdnCacheIDParams) SetContext(ctx context.Context)
- func (o *GetFqdnCacheIDParams) SetHTTPClient(client *http.Client)
- func (o *GetFqdnCacheIDParams) SetID(id string)
- func (o *GetFqdnCacheIDParams) SetMatchpattern(matchpattern *string)
- func (o *GetFqdnCacheIDParams) SetTimeout(timeout time.Duration)
- func (o *GetFqdnCacheIDParams) WithCidr(cidr *string) *GetFqdnCacheIDParams
- func (o *GetFqdnCacheIDParams) WithContext(ctx context.Context) *GetFqdnCacheIDParams
- func (o *GetFqdnCacheIDParams) WithHTTPClient(client *http.Client) *GetFqdnCacheIDParams
- func (o *GetFqdnCacheIDParams) WithID(id string) *GetFqdnCacheIDParams
- func (o *GetFqdnCacheIDParams) WithMatchpattern(matchpattern *string) *GetFqdnCacheIDParams
- func (o *GetFqdnCacheIDParams) WithTimeout(timeout time.Duration) *GetFqdnCacheIDParams
- func (o *GetFqdnCacheIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetFqdnCacheIDReader
- type GetFqdnCacheNotFound
- type GetFqdnCacheOK
- type GetFqdnCacheParams
- func (o *GetFqdnCacheParams) SetCidr(cidr *string)
- func (o *GetFqdnCacheParams) SetContext(ctx context.Context)
- func (o *GetFqdnCacheParams) SetHTTPClient(client *http.Client)
- func (o *GetFqdnCacheParams) SetMatchpattern(matchpattern *string)
- func (o *GetFqdnCacheParams) SetTimeout(timeout time.Duration)
- func (o *GetFqdnCacheParams) WithCidr(cidr *string) *GetFqdnCacheParams
- func (o *GetFqdnCacheParams) WithContext(ctx context.Context) *GetFqdnCacheParams
- func (o *GetFqdnCacheParams) WithHTTPClient(client *http.Client) *GetFqdnCacheParams
- func (o *GetFqdnCacheParams) WithMatchpattern(matchpattern *string) *GetFqdnCacheParams
- func (o *GetFqdnCacheParams) WithTimeout(timeout time.Duration) *GetFqdnCacheParams
- func (o *GetFqdnCacheParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetFqdnCacheReader
- type GetFqdnNamesBadRequest
- type GetFqdnNamesOK
- type GetFqdnNamesParams
- func (o *GetFqdnNamesParams) SetContext(ctx context.Context)
- func (o *GetFqdnNamesParams) SetHTTPClient(client *http.Client)
- func (o *GetFqdnNamesParams) SetTimeout(timeout time.Duration)
- func (o *GetFqdnNamesParams) WithContext(ctx context.Context) *GetFqdnNamesParams
- func (o *GetFqdnNamesParams) WithHTTPClient(client *http.Client) *GetFqdnNamesParams
- func (o *GetFqdnNamesParams) WithTimeout(timeout time.Duration) *GetFqdnNamesParams
- func (o *GetFqdnNamesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetFqdnNamesReader
- type GetIPBadRequest
- type GetIPNotFound
- type GetIPOK
- type GetIPParams
- func (o *GetIPParams) SetCidr(cidr *string)
- func (o *GetIPParams) SetContext(ctx context.Context)
- func (o *GetIPParams) SetHTTPClient(client *http.Client)
- func (o *GetIPParams) SetTimeout(timeout time.Duration)
- func (o *GetIPParams) WithCidr(cidr *string) *GetIPParams
- func (o *GetIPParams) WithContext(ctx context.Context) *GetIPParams
- func (o *GetIPParams) WithHTTPClient(client *http.Client) *GetIPParams
- func (o *GetIPParams) WithTimeout(timeout time.Duration) *GetIPParams
- func (o *GetIPParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetIPReader
- type GetIdentityEndpointsNotFound
- type GetIdentityEndpointsOK
- type GetIdentityEndpointsParams
- func NewGetIdentityEndpointsParams() *GetIdentityEndpointsParams
- func NewGetIdentityEndpointsParamsWithContext(ctx context.Context) *GetIdentityEndpointsParams
- func NewGetIdentityEndpointsParamsWithHTTPClient(client *http.Client) *GetIdentityEndpointsParams
- func NewGetIdentityEndpointsParamsWithTimeout(timeout time.Duration) *GetIdentityEndpointsParams
- func (o *GetIdentityEndpointsParams) SetContext(ctx context.Context)
- func (o *GetIdentityEndpointsParams) SetHTTPClient(client *http.Client)
- func (o *GetIdentityEndpointsParams) SetTimeout(timeout time.Duration)
- func (o *GetIdentityEndpointsParams) WithContext(ctx context.Context) *GetIdentityEndpointsParams
- func (o *GetIdentityEndpointsParams) WithHTTPClient(client *http.Client) *GetIdentityEndpointsParams
- func (o *GetIdentityEndpointsParams) WithTimeout(timeout time.Duration) *GetIdentityEndpointsParams
- func (o *GetIdentityEndpointsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetIdentityEndpointsReader
- type GetIdentityIDBadRequest
- type GetIdentityIDInvalidStorageFormat
- type GetIdentityIDNotFound
- type GetIdentityIDOK
- type GetIdentityIDParams
- func (o *GetIdentityIDParams) SetContext(ctx context.Context)
- func (o *GetIdentityIDParams) SetHTTPClient(client *http.Client)
- func (o *GetIdentityIDParams) SetID(id string)
- func (o *GetIdentityIDParams) SetTimeout(timeout time.Duration)
- func (o *GetIdentityIDParams) WithContext(ctx context.Context) *GetIdentityIDParams
- func (o *GetIdentityIDParams) WithHTTPClient(client *http.Client) *GetIdentityIDParams
- func (o *GetIdentityIDParams) WithID(id string) *GetIdentityIDParams
- func (o *GetIdentityIDParams) WithTimeout(timeout time.Duration) *GetIdentityIDParams
- func (o *GetIdentityIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetIdentityIDReader
- type GetIdentityIDUnreachable
- type GetIdentityInvalidStorageFormat
- type GetIdentityNotFound
- type GetIdentityOK
- type GetIdentityParams
- func (o *GetIdentityParams) SetContext(ctx context.Context)
- func (o *GetIdentityParams) SetHTTPClient(client *http.Client)
- func (o *GetIdentityParams) SetLabels(labels models.Labels)
- func (o *GetIdentityParams) SetTimeout(timeout time.Duration)
- func (o *GetIdentityParams) WithContext(ctx context.Context) *GetIdentityParams
- func (o *GetIdentityParams) WithHTTPClient(client *http.Client) *GetIdentityParams
- func (o *GetIdentityParams) WithLabels(labels models.Labels) *GetIdentityParams
- func (o *GetIdentityParams) WithTimeout(timeout time.Duration) *GetIdentityParams
- func (o *GetIdentityParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetIdentityReader
- type GetIdentityUnreachable
- type GetPolicyNotFound
- type GetPolicyOK
- type GetPolicyParams
- func (o *GetPolicyParams) SetContext(ctx context.Context)
- func (o *GetPolicyParams) SetHTTPClient(client *http.Client)
- func (o *GetPolicyParams) SetLabels(labels models.Labels)
- func (o *GetPolicyParams) SetTimeout(timeout time.Duration)
- func (o *GetPolicyParams) WithContext(ctx context.Context) *GetPolicyParams
- func (o *GetPolicyParams) WithHTTPClient(client *http.Client) *GetPolicyParams
- func (o *GetPolicyParams) WithLabels(labels models.Labels) *GetPolicyParams
- func (o *GetPolicyParams) WithTimeout(timeout time.Duration) *GetPolicyParams
- func (o *GetPolicyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPolicyReader
- type GetPolicyResolveOK
- type GetPolicyResolveParams
- func NewGetPolicyResolveParams() *GetPolicyResolveParams
- func NewGetPolicyResolveParamsWithContext(ctx context.Context) *GetPolicyResolveParams
- func NewGetPolicyResolveParamsWithHTTPClient(client *http.Client) *GetPolicyResolveParams
- func NewGetPolicyResolveParamsWithTimeout(timeout time.Duration) *GetPolicyResolveParams
- func (o *GetPolicyResolveParams) SetContext(ctx context.Context)
- func (o *GetPolicyResolveParams) SetHTTPClient(client *http.Client)
- func (o *GetPolicyResolveParams) SetTimeout(timeout time.Duration)
- func (o *GetPolicyResolveParams) SetTraceSelector(traceSelector *models.TraceSelector)
- func (o *GetPolicyResolveParams) WithContext(ctx context.Context) *GetPolicyResolveParams
- func (o *GetPolicyResolveParams) WithHTTPClient(client *http.Client) *GetPolicyResolveParams
- func (o *GetPolicyResolveParams) WithTimeout(timeout time.Duration) *GetPolicyResolveParams
- func (o *GetPolicyResolveParams) WithTraceSelector(traceSelector *models.TraceSelector) *GetPolicyResolveParams
- func (o *GetPolicyResolveParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPolicyResolveReader
- type GetPolicySelectorsOK
- type GetPolicySelectorsParams
- func NewGetPolicySelectorsParams() *GetPolicySelectorsParams
- func NewGetPolicySelectorsParamsWithContext(ctx context.Context) *GetPolicySelectorsParams
- func NewGetPolicySelectorsParamsWithHTTPClient(client *http.Client) *GetPolicySelectorsParams
- func NewGetPolicySelectorsParamsWithTimeout(timeout time.Duration) *GetPolicySelectorsParams
- func (o *GetPolicySelectorsParams) SetContext(ctx context.Context)
- func (o *GetPolicySelectorsParams) SetHTTPClient(client *http.Client)
- func (o *GetPolicySelectorsParams) SetTimeout(timeout time.Duration)
- func (o *GetPolicySelectorsParams) WithContext(ctx context.Context) *GetPolicySelectorsParams
- func (o *GetPolicySelectorsParams) WithHTTPClient(client *http.Client) *GetPolicySelectorsParams
- func (o *GetPolicySelectorsParams) WithTimeout(timeout time.Duration) *GetPolicySelectorsParams
- func (o *GetPolicySelectorsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPolicySelectorsReader
- type PutPolicyFailure
- type PutPolicyInvalidPath
- type PutPolicyInvalidPolicy
- type PutPolicyOK
- type PutPolicyParams
- func (o *PutPolicyParams) SetContext(ctx context.Context)
- func (o *PutPolicyParams) SetHTTPClient(client *http.Client)
- func (o *PutPolicyParams) SetPolicy(policy string)
- func (o *PutPolicyParams) SetTimeout(timeout time.Duration)
- func (o *PutPolicyParams) WithContext(ctx context.Context) *PutPolicyParams
- func (o *PutPolicyParams) WithHTTPClient(client *http.Client) *PutPolicyParams
- func (o *PutPolicyParams) WithPolicy(policy string) *PutPolicyParams
- func (o *PutPolicyParams) WithTimeout(timeout time.Duration) *PutPolicyParams
- func (o *PutPolicyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PutPolicyReader
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 policy API
func (*Client) DeleteFqdnCache ¶
func (a *Client) DeleteFqdnCache(params *DeleteFqdnCacheParams) (*DeleteFqdnCacheOK, error)
DeleteFqdnCache deletes matching DNS lookups from the policy generation cache Deletes matching DNS lookups from the cache, optionally restricted by
DNS name. The removed IP data will no longer be used in generated policies.
func (*Client) DeletePolicy ¶
func (a *Client) DeletePolicy(params *DeletePolicyParams) (*DeletePolicyOK, error)
DeletePolicy deletes a policy sub tree
func (*Client) GetFqdnCache ¶
func (a *Client) GetFqdnCache(params *GetFqdnCacheParams) (*GetFqdnCacheOK, error)
GetFqdnCache retrieves the list of DNS lookups intercepted from all endpoints Retrieves the list of DNS lookups intercepted from endpoints,
optionally filtered by endpoint id, DNS name, or CIDR IP range.
func (*Client) GetFqdnCacheID ¶
func (a *Client) GetFqdnCacheID(params *GetFqdnCacheIDParams) (*GetFqdnCacheIDOK, error)
GetFqdnCacheID retrieves the list of DNS lookups intercepted from an endpoint Retrieves the list of DNS lookups intercepted from endpoints,
optionally filtered by endpoint id, DNS name, or CIDR IP range.
func (*Client) GetFqdnNames ¶
func (a *Client) GetFqdnNames(params *GetFqdnNamesParams) (*GetFqdnNamesOK, error)
GetFqdnNames lists internal DNS selector representations Retrieves the list of DNS-related fields (names to poll, selectors and
their corresponding regexes).
func (*Client) GetIP ¶
func (a *Client) GetIP(params *GetIPParams) (*GetIPOK, error)
GetIP lists information about known IP addresses Retrieves a list of IPs with known associated information such as
their identities, host addresses, Kubernetes pod names, etc. The list can optionally filtered by a CIDR IP range.
func (*Client) GetIdentity ¶
func (a *Client) GetIdentity(params *GetIdentityParams) (*GetIdentityOK, error)
GetIdentity retrieves a list of identities that have metadata matching the provided parameters
Retrieves a list of identities that have metadata matching the provided parameters, or all identities if no parameters are provided.
func (*Client) GetIdentityEndpoints ¶
func (a *Client) GetIdentityEndpoints(params *GetIdentityEndpointsParams) (*GetIdentityEndpointsOK, error)
GetIdentityEndpoints retrieves identities which are being used by local endpoints
func (*Client) GetIdentityID ¶
func (a *Client) GetIdentityID(params *GetIdentityIDParams) (*GetIdentityIDOK, error)
GetIdentityID retrieves identity
func (*Client) GetPolicy ¶
func (a *Client) GetPolicy(params *GetPolicyParams) (*GetPolicyOK, error)
GetPolicy retrieves entire policy tree
Returns the entire policy tree with all children.
func (*Client) GetPolicyResolve ¶
func (a *Client) GetPolicyResolve(params *GetPolicyResolveParams) (*GetPolicyResolveOK, error)
GetPolicyResolve resolves policy for an identity context
func (*Client) GetPolicySelectors ¶
func (a *Client) GetPolicySelectors(params *GetPolicySelectorsParams) (*GetPolicySelectorsOK, error)
GetPolicySelectors sees what selectors match which identities
func (*Client) PutPolicy ¶
func (a *Client) PutPolicy(params *PutPolicyParams) (*PutPolicyOK, error)
PutPolicy creates or update a policy sub tree
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶
type ClientService interface { DeleteFqdnCache(params *DeleteFqdnCacheParams) (*DeleteFqdnCacheOK, error) DeletePolicy(params *DeletePolicyParams) (*DeletePolicyOK, error) GetFqdnCache(params *GetFqdnCacheParams) (*GetFqdnCacheOK, error) GetFqdnCacheID(params *GetFqdnCacheIDParams) (*GetFqdnCacheIDOK, error) GetFqdnNames(params *GetFqdnNamesParams) (*GetFqdnNamesOK, error) GetIP(params *GetIPParams) (*GetIPOK, error) GetIdentity(params *GetIdentityParams) (*GetIdentityOK, error) GetIdentityEndpoints(params *GetIdentityEndpointsParams) (*GetIdentityEndpointsOK, error) GetIdentityID(params *GetIdentityIDParams) (*GetIdentityIDOK, error) GetPolicy(params *GetPolicyParams) (*GetPolicyOK, error) GetPolicyResolve(params *GetPolicyResolveParams) (*GetPolicyResolveOK, error) GetPolicySelectors(params *GetPolicySelectorsParams) (*GetPolicySelectorsOK, error) PutPolicy(params *PutPolicyParams) (*PutPolicyOK, 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 policy API client.
type DeleteFqdnCacheBadRequest ¶
DeleteFqdnCacheBadRequest handles this case with default header values.
Invalid request (error parsing parameters)
func NewDeleteFqdnCacheBadRequest ¶
func NewDeleteFqdnCacheBadRequest() *DeleteFqdnCacheBadRequest
NewDeleteFqdnCacheBadRequest creates a DeleteFqdnCacheBadRequest with default headers values
func (*DeleteFqdnCacheBadRequest) Error ¶
func (o *DeleteFqdnCacheBadRequest) Error() string
func (*DeleteFqdnCacheBadRequest) GetPayload ¶
func (o *DeleteFqdnCacheBadRequest) GetPayload() models.Error
type DeleteFqdnCacheOK ¶
type DeleteFqdnCacheOK struct { }
DeleteFqdnCacheOK handles this case with default header values.
Success
func NewDeleteFqdnCacheOK ¶
func NewDeleteFqdnCacheOK() *DeleteFqdnCacheOK
NewDeleteFqdnCacheOK creates a DeleteFqdnCacheOK with default headers values
func (*DeleteFqdnCacheOK) Error ¶
func (o *DeleteFqdnCacheOK) Error() string
type DeleteFqdnCacheParams ¶
type DeleteFqdnCacheParams struct { /*Matchpattern A toFQDNs compatible matchPattern expression */ Matchpattern *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteFqdnCacheParams contains all the parameters to send to the API endpoint for the delete fqdn cache operation typically these are written to a http.Request
func NewDeleteFqdnCacheParams ¶
func NewDeleteFqdnCacheParams() *DeleteFqdnCacheParams
NewDeleteFqdnCacheParams creates a new DeleteFqdnCacheParams object with the default values initialized.
func NewDeleteFqdnCacheParamsWithContext ¶
func NewDeleteFqdnCacheParamsWithContext(ctx context.Context) *DeleteFqdnCacheParams
NewDeleteFqdnCacheParamsWithContext creates a new DeleteFqdnCacheParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteFqdnCacheParamsWithHTTPClient ¶
func NewDeleteFqdnCacheParamsWithHTTPClient(client *http.Client) *DeleteFqdnCacheParams
NewDeleteFqdnCacheParamsWithHTTPClient creates a new DeleteFqdnCacheParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteFqdnCacheParamsWithTimeout ¶
func NewDeleteFqdnCacheParamsWithTimeout(timeout time.Duration) *DeleteFqdnCacheParams
NewDeleteFqdnCacheParamsWithTimeout creates a new DeleteFqdnCacheParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteFqdnCacheParams) SetContext ¶
func (o *DeleteFqdnCacheParams) SetContext(ctx context.Context)
SetContext adds the context to the delete fqdn cache params
func (*DeleteFqdnCacheParams) SetHTTPClient ¶
func (o *DeleteFqdnCacheParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete fqdn cache params
func (*DeleteFqdnCacheParams) SetMatchpattern ¶
func (o *DeleteFqdnCacheParams) SetMatchpattern(matchpattern *string)
SetMatchpattern adds the matchpattern to the delete fqdn cache params
func (*DeleteFqdnCacheParams) SetTimeout ¶
func (o *DeleteFqdnCacheParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete fqdn cache params
func (*DeleteFqdnCacheParams) WithContext ¶
func (o *DeleteFqdnCacheParams) WithContext(ctx context.Context) *DeleteFqdnCacheParams
WithContext adds the context to the delete fqdn cache params
func (*DeleteFqdnCacheParams) WithHTTPClient ¶
func (o *DeleteFqdnCacheParams) WithHTTPClient(client *http.Client) *DeleteFqdnCacheParams
WithHTTPClient adds the HTTPClient to the delete fqdn cache params
func (*DeleteFqdnCacheParams) WithMatchpattern ¶
func (o *DeleteFqdnCacheParams) WithMatchpattern(matchpattern *string) *DeleteFqdnCacheParams
WithMatchpattern adds the matchpattern to the delete fqdn cache params
func (*DeleteFqdnCacheParams) WithTimeout ¶
func (o *DeleteFqdnCacheParams) WithTimeout(timeout time.Duration) *DeleteFqdnCacheParams
WithTimeout adds the timeout to the delete fqdn cache params
func (*DeleteFqdnCacheParams) WriteToRequest ¶
func (o *DeleteFqdnCacheParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteFqdnCacheReader ¶
type DeleteFqdnCacheReader struct {
// contains filtered or unexported fields
}
DeleteFqdnCacheReader is a Reader for the DeleteFqdnCache structure.
func (*DeleteFqdnCacheReader) ReadResponse ¶
func (o *DeleteFqdnCacheReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeletePolicyFailure ¶
DeletePolicyFailure handles this case with default header values.
Error while deleting policy
func NewDeletePolicyFailure ¶
func NewDeletePolicyFailure() *DeletePolicyFailure
NewDeletePolicyFailure creates a DeletePolicyFailure with default headers values
func (*DeletePolicyFailure) Error ¶
func (o *DeletePolicyFailure) Error() string
func (*DeletePolicyFailure) GetPayload ¶
func (o *DeletePolicyFailure) GetPayload() models.Error
type DeletePolicyInvalid ¶
DeletePolicyInvalid handles this case with default header values.
Invalid request
func NewDeletePolicyInvalid ¶
func NewDeletePolicyInvalid() *DeletePolicyInvalid
NewDeletePolicyInvalid creates a DeletePolicyInvalid with default headers values
func (*DeletePolicyInvalid) Error ¶
func (o *DeletePolicyInvalid) Error() string
func (*DeletePolicyInvalid) GetPayload ¶
func (o *DeletePolicyInvalid) GetPayload() models.Error
type DeletePolicyNotFound ¶
type DeletePolicyNotFound struct { }
DeletePolicyNotFound handles this case with default header values.
Policy not found
func NewDeletePolicyNotFound ¶
func NewDeletePolicyNotFound() *DeletePolicyNotFound
NewDeletePolicyNotFound creates a DeletePolicyNotFound with default headers values
func (*DeletePolicyNotFound) Error ¶
func (o *DeletePolicyNotFound) Error() string
type DeletePolicyOK ¶
DeletePolicyOK handles this case with default header values.
Success
func NewDeletePolicyOK ¶
func NewDeletePolicyOK() *DeletePolicyOK
NewDeletePolicyOK creates a DeletePolicyOK with default headers values
func (*DeletePolicyOK) Error ¶
func (o *DeletePolicyOK) Error() string
func (*DeletePolicyOK) GetPayload ¶
func (o *DeletePolicyOK) GetPayload() *models.Policy
type DeletePolicyParams ¶
type DeletePolicyParams struct { /*Labels*/ Labels models.Labels Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeletePolicyParams contains all the parameters to send to the API endpoint for the delete policy operation typically these are written to a http.Request
func NewDeletePolicyParams ¶
func NewDeletePolicyParams() *DeletePolicyParams
NewDeletePolicyParams creates a new DeletePolicyParams object with the default values initialized.
func NewDeletePolicyParamsWithContext ¶
func NewDeletePolicyParamsWithContext(ctx context.Context) *DeletePolicyParams
NewDeletePolicyParamsWithContext creates a new DeletePolicyParams object with the default values initialized, and the ability to set a context for a request
func NewDeletePolicyParamsWithHTTPClient ¶
func NewDeletePolicyParamsWithHTTPClient(client *http.Client) *DeletePolicyParams
NewDeletePolicyParamsWithHTTPClient creates a new DeletePolicyParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeletePolicyParamsWithTimeout ¶
func NewDeletePolicyParamsWithTimeout(timeout time.Duration) *DeletePolicyParams
NewDeletePolicyParamsWithTimeout creates a new DeletePolicyParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeletePolicyParams) SetContext ¶
func (o *DeletePolicyParams) SetContext(ctx context.Context)
SetContext adds the context to the delete policy params
func (*DeletePolicyParams) SetHTTPClient ¶
func (o *DeletePolicyParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete policy params
func (*DeletePolicyParams) SetLabels ¶
func (o *DeletePolicyParams) SetLabels(labels models.Labels)
SetLabels adds the labels to the delete policy params
func (*DeletePolicyParams) SetTimeout ¶
func (o *DeletePolicyParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete policy params
func (*DeletePolicyParams) WithContext ¶
func (o *DeletePolicyParams) WithContext(ctx context.Context) *DeletePolicyParams
WithContext adds the context to the delete policy params
func (*DeletePolicyParams) WithHTTPClient ¶
func (o *DeletePolicyParams) WithHTTPClient(client *http.Client) *DeletePolicyParams
WithHTTPClient adds the HTTPClient to the delete policy params
func (*DeletePolicyParams) WithLabels ¶
func (o *DeletePolicyParams) WithLabels(labels models.Labels) *DeletePolicyParams
WithLabels adds the labels to the delete policy params
func (*DeletePolicyParams) WithTimeout ¶
func (o *DeletePolicyParams) WithTimeout(timeout time.Duration) *DeletePolicyParams
WithTimeout adds the timeout to the delete policy params
func (*DeletePolicyParams) WriteToRequest ¶
func (o *DeletePolicyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeletePolicyReader ¶
type DeletePolicyReader struct {
// contains filtered or unexported fields
}
DeletePolicyReader is a Reader for the DeletePolicy structure.
func (*DeletePolicyReader) ReadResponse ¶
func (o *DeletePolicyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetFqdnCacheBadRequest ¶
GetFqdnCacheBadRequest handles this case with default header values.
Invalid request (error parsing parameters)
func NewGetFqdnCacheBadRequest ¶
func NewGetFqdnCacheBadRequest() *GetFqdnCacheBadRequest
NewGetFqdnCacheBadRequest creates a GetFqdnCacheBadRequest with default headers values
func (*GetFqdnCacheBadRequest) Error ¶
func (o *GetFqdnCacheBadRequest) Error() string
func (*GetFqdnCacheBadRequest) GetPayload ¶
func (o *GetFqdnCacheBadRequest) GetPayload() models.Error
type GetFqdnCacheIDBadRequest ¶
GetFqdnCacheIDBadRequest handles this case with default header values.
Invalid request (error parsing parameters)
func NewGetFqdnCacheIDBadRequest ¶
func NewGetFqdnCacheIDBadRequest() *GetFqdnCacheIDBadRequest
NewGetFqdnCacheIDBadRequest creates a GetFqdnCacheIDBadRequest with default headers values
func (*GetFqdnCacheIDBadRequest) Error ¶
func (o *GetFqdnCacheIDBadRequest) Error() string
func (*GetFqdnCacheIDBadRequest) GetPayload ¶
func (o *GetFqdnCacheIDBadRequest) GetPayload() models.Error
type GetFqdnCacheIDNotFound ¶
type GetFqdnCacheIDNotFound struct { }
GetFqdnCacheIDNotFound handles this case with default header values.
No DNS data with provided parameters found
func NewGetFqdnCacheIDNotFound ¶
func NewGetFqdnCacheIDNotFound() *GetFqdnCacheIDNotFound
NewGetFqdnCacheIDNotFound creates a GetFqdnCacheIDNotFound with default headers values
func (*GetFqdnCacheIDNotFound) Error ¶
func (o *GetFqdnCacheIDNotFound) Error() string
type GetFqdnCacheIDOK ¶
GetFqdnCacheIDOK handles this case with default header values.
Success
func NewGetFqdnCacheIDOK ¶
func NewGetFqdnCacheIDOK() *GetFqdnCacheIDOK
NewGetFqdnCacheIDOK creates a GetFqdnCacheIDOK with default headers values
func (*GetFqdnCacheIDOK) Error ¶
func (o *GetFqdnCacheIDOK) Error() string
func (*GetFqdnCacheIDOK) GetPayload ¶
func (o *GetFqdnCacheIDOK) GetPayload() []*models.DNSLookup
type GetFqdnCacheIDParams ¶
type GetFqdnCacheIDParams struct { /*Cidr A CIDR range of IPs */ Cidr *string /*ID String describing an endpoint with the format “[prefix:]id“. If no prefix is specified, a prefix of “cilium-local:“ is assumed. Not all endpoints will be addressable by all endpoint ID prefixes with the exception of the local Cilium UUID which is assigned to all endpoints. Supported endpoint id prefixes: - cilium-local: Local Cilium endpoint UUID, e.g. cilium-local:3389595 - cilium-global: Global Cilium endpoint UUID, e.g. cilium-global:cluster1:nodeX:452343 - container-id: Container runtime ID, e.g. container-id:22222 - container-name: Container name, e.g. container-name:foobar - pod-name: pod name for this container if K8s is enabled, e.g. pod-name:default:foobar - docker-endpoint: Docker libnetwork endpoint ID, e.g. docker-endpoint:4444 */ ID string /*Matchpattern A toFQDNs compatible matchPattern expression */ Matchpattern *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetFqdnCacheIDParams contains all the parameters to send to the API endpoint for the get fqdn cache ID operation typically these are written to a http.Request
func NewGetFqdnCacheIDParams ¶
func NewGetFqdnCacheIDParams() *GetFqdnCacheIDParams
NewGetFqdnCacheIDParams creates a new GetFqdnCacheIDParams object with the default values initialized.
func NewGetFqdnCacheIDParamsWithContext ¶
func NewGetFqdnCacheIDParamsWithContext(ctx context.Context) *GetFqdnCacheIDParams
NewGetFqdnCacheIDParamsWithContext creates a new GetFqdnCacheIDParams object with the default values initialized, and the ability to set a context for a request
func NewGetFqdnCacheIDParamsWithHTTPClient ¶
func NewGetFqdnCacheIDParamsWithHTTPClient(client *http.Client) *GetFqdnCacheIDParams
NewGetFqdnCacheIDParamsWithHTTPClient creates a new GetFqdnCacheIDParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetFqdnCacheIDParamsWithTimeout ¶
func NewGetFqdnCacheIDParamsWithTimeout(timeout time.Duration) *GetFqdnCacheIDParams
NewGetFqdnCacheIDParamsWithTimeout creates a new GetFqdnCacheIDParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetFqdnCacheIDParams) SetCidr ¶
func (o *GetFqdnCacheIDParams) SetCidr(cidr *string)
SetCidr adds the cidr to the get fqdn cache ID params
func (*GetFqdnCacheIDParams) SetContext ¶
func (o *GetFqdnCacheIDParams) SetContext(ctx context.Context)
SetContext adds the context to the get fqdn cache ID params
func (*GetFqdnCacheIDParams) SetHTTPClient ¶
func (o *GetFqdnCacheIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get fqdn cache ID params
func (*GetFqdnCacheIDParams) SetID ¶
func (o *GetFqdnCacheIDParams) SetID(id string)
SetID adds the id to the get fqdn cache ID params
func (*GetFqdnCacheIDParams) SetMatchpattern ¶
func (o *GetFqdnCacheIDParams) SetMatchpattern(matchpattern *string)
SetMatchpattern adds the matchpattern to the get fqdn cache ID params
func (*GetFqdnCacheIDParams) SetTimeout ¶
func (o *GetFqdnCacheIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get fqdn cache ID params
func (*GetFqdnCacheIDParams) WithCidr ¶
func (o *GetFqdnCacheIDParams) WithCidr(cidr *string) *GetFqdnCacheIDParams
WithCidr adds the cidr to the get fqdn cache ID params
func (*GetFqdnCacheIDParams) WithContext ¶
func (o *GetFqdnCacheIDParams) WithContext(ctx context.Context) *GetFqdnCacheIDParams
WithContext adds the context to the get fqdn cache ID params
func (*GetFqdnCacheIDParams) WithHTTPClient ¶
func (o *GetFqdnCacheIDParams) WithHTTPClient(client *http.Client) *GetFqdnCacheIDParams
WithHTTPClient adds the HTTPClient to the get fqdn cache ID params
func (*GetFqdnCacheIDParams) WithID ¶
func (o *GetFqdnCacheIDParams) WithID(id string) *GetFqdnCacheIDParams
WithID adds the id to the get fqdn cache ID params
func (*GetFqdnCacheIDParams) WithMatchpattern ¶
func (o *GetFqdnCacheIDParams) WithMatchpattern(matchpattern *string) *GetFqdnCacheIDParams
WithMatchpattern adds the matchpattern to the get fqdn cache ID params
func (*GetFqdnCacheIDParams) WithTimeout ¶
func (o *GetFqdnCacheIDParams) WithTimeout(timeout time.Duration) *GetFqdnCacheIDParams
WithTimeout adds the timeout to the get fqdn cache ID params
func (*GetFqdnCacheIDParams) WriteToRequest ¶
func (o *GetFqdnCacheIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetFqdnCacheIDReader ¶
type GetFqdnCacheIDReader struct {
// contains filtered or unexported fields
}
GetFqdnCacheIDReader is a Reader for the GetFqdnCacheID structure.
func (*GetFqdnCacheIDReader) ReadResponse ¶
func (o *GetFqdnCacheIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetFqdnCacheNotFound ¶
type GetFqdnCacheNotFound struct { }
GetFqdnCacheNotFound handles this case with default header values.
No DNS data with provided parameters found
func NewGetFqdnCacheNotFound ¶
func NewGetFqdnCacheNotFound() *GetFqdnCacheNotFound
NewGetFqdnCacheNotFound creates a GetFqdnCacheNotFound with default headers values
func (*GetFqdnCacheNotFound) Error ¶
func (o *GetFqdnCacheNotFound) Error() string
type GetFqdnCacheOK ¶
GetFqdnCacheOK handles this case with default header values.
Success
func NewGetFqdnCacheOK ¶
func NewGetFqdnCacheOK() *GetFqdnCacheOK
NewGetFqdnCacheOK creates a GetFqdnCacheOK with default headers values
func (*GetFqdnCacheOK) Error ¶
func (o *GetFqdnCacheOK) Error() string
func (*GetFqdnCacheOK) GetPayload ¶
func (o *GetFqdnCacheOK) GetPayload() []*models.DNSLookup
type GetFqdnCacheParams ¶
type GetFqdnCacheParams struct { /*Cidr A CIDR range of IPs */ Cidr *string /*Matchpattern A toFQDNs compatible matchPattern expression */ Matchpattern *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetFqdnCacheParams contains all the parameters to send to the API endpoint for the get fqdn cache operation typically these are written to a http.Request
func NewGetFqdnCacheParams ¶
func NewGetFqdnCacheParams() *GetFqdnCacheParams
NewGetFqdnCacheParams creates a new GetFqdnCacheParams object with the default values initialized.
func NewGetFqdnCacheParamsWithContext ¶
func NewGetFqdnCacheParamsWithContext(ctx context.Context) *GetFqdnCacheParams
NewGetFqdnCacheParamsWithContext creates a new GetFqdnCacheParams object with the default values initialized, and the ability to set a context for a request
func NewGetFqdnCacheParamsWithHTTPClient ¶
func NewGetFqdnCacheParamsWithHTTPClient(client *http.Client) *GetFqdnCacheParams
NewGetFqdnCacheParamsWithHTTPClient creates a new GetFqdnCacheParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetFqdnCacheParamsWithTimeout ¶
func NewGetFqdnCacheParamsWithTimeout(timeout time.Duration) *GetFqdnCacheParams
NewGetFqdnCacheParamsWithTimeout creates a new GetFqdnCacheParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetFqdnCacheParams) SetCidr ¶
func (o *GetFqdnCacheParams) SetCidr(cidr *string)
SetCidr adds the cidr to the get fqdn cache params
func (*GetFqdnCacheParams) SetContext ¶
func (o *GetFqdnCacheParams) SetContext(ctx context.Context)
SetContext adds the context to the get fqdn cache params
func (*GetFqdnCacheParams) SetHTTPClient ¶
func (o *GetFqdnCacheParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get fqdn cache params
func (*GetFqdnCacheParams) SetMatchpattern ¶
func (o *GetFqdnCacheParams) SetMatchpattern(matchpattern *string)
SetMatchpattern adds the matchpattern to the get fqdn cache params
func (*GetFqdnCacheParams) SetTimeout ¶
func (o *GetFqdnCacheParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get fqdn cache params
func (*GetFqdnCacheParams) WithCidr ¶
func (o *GetFqdnCacheParams) WithCidr(cidr *string) *GetFqdnCacheParams
WithCidr adds the cidr to the get fqdn cache params
func (*GetFqdnCacheParams) WithContext ¶
func (o *GetFqdnCacheParams) WithContext(ctx context.Context) *GetFqdnCacheParams
WithContext adds the context to the get fqdn cache params
func (*GetFqdnCacheParams) WithHTTPClient ¶
func (o *GetFqdnCacheParams) WithHTTPClient(client *http.Client) *GetFqdnCacheParams
WithHTTPClient adds the HTTPClient to the get fqdn cache params
func (*GetFqdnCacheParams) WithMatchpattern ¶
func (o *GetFqdnCacheParams) WithMatchpattern(matchpattern *string) *GetFqdnCacheParams
WithMatchpattern adds the matchpattern to the get fqdn cache params
func (*GetFqdnCacheParams) WithTimeout ¶
func (o *GetFqdnCacheParams) WithTimeout(timeout time.Duration) *GetFqdnCacheParams
WithTimeout adds the timeout to the get fqdn cache params
func (*GetFqdnCacheParams) WriteToRequest ¶
func (o *GetFqdnCacheParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetFqdnCacheReader ¶
type GetFqdnCacheReader struct {
// contains filtered or unexported fields
}
GetFqdnCacheReader is a Reader for the GetFqdnCache structure.
func (*GetFqdnCacheReader) ReadResponse ¶
func (o *GetFqdnCacheReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetFqdnNamesBadRequest ¶
GetFqdnNamesBadRequest handles this case with default header values.
Invalid request (error parsing parameters)
func NewGetFqdnNamesBadRequest ¶
func NewGetFqdnNamesBadRequest() *GetFqdnNamesBadRequest
NewGetFqdnNamesBadRequest creates a GetFqdnNamesBadRequest with default headers values
func (*GetFqdnNamesBadRequest) Error ¶
func (o *GetFqdnNamesBadRequest) Error() string
func (*GetFqdnNamesBadRequest) GetPayload ¶
func (o *GetFqdnNamesBadRequest) GetPayload() models.Error
type GetFqdnNamesOK ¶
type GetFqdnNamesOK struct {
Payload *models.NameManager
}
GetFqdnNamesOK handles this case with default header values.
Success
func NewGetFqdnNamesOK ¶
func NewGetFqdnNamesOK() *GetFqdnNamesOK
NewGetFqdnNamesOK creates a GetFqdnNamesOK with default headers values
func (*GetFqdnNamesOK) Error ¶
func (o *GetFqdnNamesOK) Error() string
func (*GetFqdnNamesOK) GetPayload ¶
func (o *GetFqdnNamesOK) GetPayload() *models.NameManager
type GetFqdnNamesParams ¶
type GetFqdnNamesParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetFqdnNamesParams contains all the parameters to send to the API endpoint for the get fqdn names operation typically these are written to a http.Request
func NewGetFqdnNamesParams ¶
func NewGetFqdnNamesParams() *GetFqdnNamesParams
NewGetFqdnNamesParams creates a new GetFqdnNamesParams object with the default values initialized.
func NewGetFqdnNamesParamsWithContext ¶
func NewGetFqdnNamesParamsWithContext(ctx context.Context) *GetFqdnNamesParams
NewGetFqdnNamesParamsWithContext creates a new GetFqdnNamesParams object with the default values initialized, and the ability to set a context for a request
func NewGetFqdnNamesParamsWithHTTPClient ¶
func NewGetFqdnNamesParamsWithHTTPClient(client *http.Client) *GetFqdnNamesParams
NewGetFqdnNamesParamsWithHTTPClient creates a new GetFqdnNamesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetFqdnNamesParamsWithTimeout ¶
func NewGetFqdnNamesParamsWithTimeout(timeout time.Duration) *GetFqdnNamesParams
NewGetFqdnNamesParamsWithTimeout creates a new GetFqdnNamesParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetFqdnNamesParams) SetContext ¶
func (o *GetFqdnNamesParams) SetContext(ctx context.Context)
SetContext adds the context to the get fqdn names params
func (*GetFqdnNamesParams) SetHTTPClient ¶
func (o *GetFqdnNamesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get fqdn names params
func (*GetFqdnNamesParams) SetTimeout ¶
func (o *GetFqdnNamesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get fqdn names params
func (*GetFqdnNamesParams) WithContext ¶
func (o *GetFqdnNamesParams) WithContext(ctx context.Context) *GetFqdnNamesParams
WithContext adds the context to the get fqdn names params
func (*GetFqdnNamesParams) WithHTTPClient ¶
func (o *GetFqdnNamesParams) WithHTTPClient(client *http.Client) *GetFqdnNamesParams
WithHTTPClient adds the HTTPClient to the get fqdn names params
func (*GetFqdnNamesParams) WithTimeout ¶
func (o *GetFqdnNamesParams) WithTimeout(timeout time.Duration) *GetFqdnNamesParams
WithTimeout adds the timeout to the get fqdn names params
func (*GetFqdnNamesParams) WriteToRequest ¶
func (o *GetFqdnNamesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetFqdnNamesReader ¶
type GetFqdnNamesReader struct {
// contains filtered or unexported fields
}
GetFqdnNamesReader is a Reader for the GetFqdnNames structure.
func (*GetFqdnNamesReader) ReadResponse ¶
func (o *GetFqdnNamesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetIPBadRequest ¶
GetIPBadRequest handles this case with default header values.
Invalid request (error parsing parameters)
func NewGetIPBadRequest ¶
func NewGetIPBadRequest() *GetIPBadRequest
NewGetIPBadRequest creates a GetIPBadRequest with default headers values
func (*GetIPBadRequest) Error ¶
func (o *GetIPBadRequest) Error() string
func (*GetIPBadRequest) GetPayload ¶
func (o *GetIPBadRequest) GetPayload() models.Error
type GetIPNotFound ¶
type GetIPNotFound struct { }
GetIPNotFound handles this case with default header values.
No IP cache entries with provided parameters found
func NewGetIPNotFound ¶
func NewGetIPNotFound() *GetIPNotFound
NewGetIPNotFound creates a GetIPNotFound with default headers values
func (*GetIPNotFound) Error ¶
func (o *GetIPNotFound) Error() string
type GetIPOK ¶
type GetIPOK struct {
Payload []*models.IPListEntry
}
GetIPOK handles this case with default header values.
Success
func NewGetIPOK ¶
func NewGetIPOK() *GetIPOK
NewGetIPOK creates a GetIPOK with default headers values
func (*GetIPOK) GetPayload ¶
func (o *GetIPOK) GetPayload() []*models.IPListEntry
type GetIPParams ¶
type GetIPParams struct { /*Cidr A CIDR range of IPs */ Cidr *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetIPParams contains all the parameters to send to the API endpoint for the get IP operation typically these are written to a http.Request
func NewGetIPParams ¶
func NewGetIPParams() *GetIPParams
NewGetIPParams creates a new GetIPParams object with the default values initialized.
func NewGetIPParamsWithContext ¶
func NewGetIPParamsWithContext(ctx context.Context) *GetIPParams
NewGetIPParamsWithContext creates a new GetIPParams object with the default values initialized, and the ability to set a context for a request
func NewGetIPParamsWithHTTPClient ¶
func NewGetIPParamsWithHTTPClient(client *http.Client) *GetIPParams
NewGetIPParamsWithHTTPClient creates a new GetIPParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetIPParamsWithTimeout ¶
func NewGetIPParamsWithTimeout(timeout time.Duration) *GetIPParams
NewGetIPParamsWithTimeout creates a new GetIPParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetIPParams) SetCidr ¶
func (o *GetIPParams) SetCidr(cidr *string)
SetCidr adds the cidr to the get IP params
func (*GetIPParams) SetContext ¶
func (o *GetIPParams) SetContext(ctx context.Context)
SetContext adds the context to the get IP params
func (*GetIPParams) SetHTTPClient ¶
func (o *GetIPParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get IP params
func (*GetIPParams) SetTimeout ¶
func (o *GetIPParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get IP params
func (*GetIPParams) WithCidr ¶
func (o *GetIPParams) WithCidr(cidr *string) *GetIPParams
WithCidr adds the cidr to the get IP params
func (*GetIPParams) WithContext ¶
func (o *GetIPParams) WithContext(ctx context.Context) *GetIPParams
WithContext adds the context to the get IP params
func (*GetIPParams) WithHTTPClient ¶
func (o *GetIPParams) WithHTTPClient(client *http.Client) *GetIPParams
WithHTTPClient adds the HTTPClient to the get IP params
func (*GetIPParams) WithTimeout ¶
func (o *GetIPParams) WithTimeout(timeout time.Duration) *GetIPParams
WithTimeout adds the timeout to the get IP params
func (*GetIPParams) WriteToRequest ¶
func (o *GetIPParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetIPReader ¶
type GetIPReader struct {
// contains filtered or unexported fields
}
GetIPReader is a Reader for the GetIP structure.
func (*GetIPReader) ReadResponse ¶
func (o *GetIPReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetIdentityEndpointsNotFound ¶
type GetIdentityEndpointsNotFound struct { }
GetIdentityEndpointsNotFound handles this case with default header values.
Set of identities which are being used by local endpoints could not be found.
func NewGetIdentityEndpointsNotFound ¶
func NewGetIdentityEndpointsNotFound() *GetIdentityEndpointsNotFound
NewGetIdentityEndpointsNotFound creates a GetIdentityEndpointsNotFound with default headers values
func (*GetIdentityEndpointsNotFound) Error ¶
func (o *GetIdentityEndpointsNotFound) Error() string
type GetIdentityEndpointsOK ¶
type GetIdentityEndpointsOK struct {
Payload []*models.IdentityEndpoints
}
GetIdentityEndpointsOK handles this case with default header values.
Success
func NewGetIdentityEndpointsOK ¶
func NewGetIdentityEndpointsOK() *GetIdentityEndpointsOK
NewGetIdentityEndpointsOK creates a GetIdentityEndpointsOK with default headers values
func (*GetIdentityEndpointsOK) Error ¶
func (o *GetIdentityEndpointsOK) Error() string
func (*GetIdentityEndpointsOK) GetPayload ¶
func (o *GetIdentityEndpointsOK) GetPayload() []*models.IdentityEndpoints
type GetIdentityEndpointsParams ¶
type GetIdentityEndpointsParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetIdentityEndpointsParams contains all the parameters to send to the API endpoint for the get identity endpoints operation typically these are written to a http.Request
func NewGetIdentityEndpointsParams ¶
func NewGetIdentityEndpointsParams() *GetIdentityEndpointsParams
NewGetIdentityEndpointsParams creates a new GetIdentityEndpointsParams object with the default values initialized.
func NewGetIdentityEndpointsParamsWithContext ¶
func NewGetIdentityEndpointsParamsWithContext(ctx context.Context) *GetIdentityEndpointsParams
NewGetIdentityEndpointsParamsWithContext creates a new GetIdentityEndpointsParams object with the default values initialized, and the ability to set a context for a request
func NewGetIdentityEndpointsParamsWithHTTPClient ¶
func NewGetIdentityEndpointsParamsWithHTTPClient(client *http.Client) *GetIdentityEndpointsParams
NewGetIdentityEndpointsParamsWithHTTPClient creates a new GetIdentityEndpointsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetIdentityEndpointsParamsWithTimeout ¶
func NewGetIdentityEndpointsParamsWithTimeout(timeout time.Duration) *GetIdentityEndpointsParams
NewGetIdentityEndpointsParamsWithTimeout creates a new GetIdentityEndpointsParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetIdentityEndpointsParams) SetContext ¶
func (o *GetIdentityEndpointsParams) SetContext(ctx context.Context)
SetContext adds the context to the get identity endpoints params
func (*GetIdentityEndpointsParams) SetHTTPClient ¶
func (o *GetIdentityEndpointsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get identity endpoints params
func (*GetIdentityEndpointsParams) SetTimeout ¶
func (o *GetIdentityEndpointsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get identity endpoints params
func (*GetIdentityEndpointsParams) WithContext ¶
func (o *GetIdentityEndpointsParams) WithContext(ctx context.Context) *GetIdentityEndpointsParams
WithContext adds the context to the get identity endpoints params
func (*GetIdentityEndpointsParams) WithHTTPClient ¶
func (o *GetIdentityEndpointsParams) WithHTTPClient(client *http.Client) *GetIdentityEndpointsParams
WithHTTPClient adds the HTTPClient to the get identity endpoints params
func (*GetIdentityEndpointsParams) WithTimeout ¶
func (o *GetIdentityEndpointsParams) WithTimeout(timeout time.Duration) *GetIdentityEndpointsParams
WithTimeout adds the timeout to the get identity endpoints params
func (*GetIdentityEndpointsParams) WriteToRequest ¶
func (o *GetIdentityEndpointsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetIdentityEndpointsReader ¶
type GetIdentityEndpointsReader struct {
// contains filtered or unexported fields
}
GetIdentityEndpointsReader is a Reader for the GetIdentityEndpoints structure.
func (*GetIdentityEndpointsReader) ReadResponse ¶
func (o *GetIdentityEndpointsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetIdentityIDBadRequest ¶
type GetIdentityIDBadRequest struct { }
GetIdentityIDBadRequest handles this case with default header values.
Invalid identity provided
func NewGetIdentityIDBadRequest ¶
func NewGetIdentityIDBadRequest() *GetIdentityIDBadRequest
NewGetIdentityIDBadRequest creates a GetIdentityIDBadRequest with default headers values
func (*GetIdentityIDBadRequest) Error ¶
func (o *GetIdentityIDBadRequest) Error() string
type GetIdentityIDInvalidStorageFormat ¶
GetIdentityIDInvalidStorageFormat handles this case with default header values.
Invalid identity format in storage
func NewGetIdentityIDInvalidStorageFormat ¶
func NewGetIdentityIDInvalidStorageFormat() *GetIdentityIDInvalidStorageFormat
NewGetIdentityIDInvalidStorageFormat creates a GetIdentityIDInvalidStorageFormat with default headers values
func (*GetIdentityIDInvalidStorageFormat) Error ¶
func (o *GetIdentityIDInvalidStorageFormat) Error() string
func (*GetIdentityIDInvalidStorageFormat) GetPayload ¶
func (o *GetIdentityIDInvalidStorageFormat) GetPayload() models.Error
type GetIdentityIDNotFound ¶
type GetIdentityIDNotFound struct { }
GetIdentityIDNotFound handles this case with default header values.
Identity not found
func NewGetIdentityIDNotFound ¶
func NewGetIdentityIDNotFound() *GetIdentityIDNotFound
NewGetIdentityIDNotFound creates a GetIdentityIDNotFound with default headers values
func (*GetIdentityIDNotFound) Error ¶
func (o *GetIdentityIDNotFound) Error() string
type GetIdentityIDOK ¶
GetIdentityIDOK handles this case with default header values.
Success
func NewGetIdentityIDOK ¶
func NewGetIdentityIDOK() *GetIdentityIDOK
NewGetIdentityIDOK creates a GetIdentityIDOK with default headers values
func (*GetIdentityIDOK) Error ¶
func (o *GetIdentityIDOK) Error() string
func (*GetIdentityIDOK) GetPayload ¶
func (o *GetIdentityIDOK) GetPayload() *models.Identity
type GetIdentityIDParams ¶
type GetIdentityIDParams struct { /*ID Cluster wide unique identifier of a security identity. */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetIdentityIDParams contains all the parameters to send to the API endpoint for the get identity ID operation typically these are written to a http.Request
func NewGetIdentityIDParams ¶
func NewGetIdentityIDParams() *GetIdentityIDParams
NewGetIdentityIDParams creates a new GetIdentityIDParams object with the default values initialized.
func NewGetIdentityIDParamsWithContext ¶
func NewGetIdentityIDParamsWithContext(ctx context.Context) *GetIdentityIDParams
NewGetIdentityIDParamsWithContext creates a new GetIdentityIDParams object with the default values initialized, and the ability to set a context for a request
func NewGetIdentityIDParamsWithHTTPClient ¶
func NewGetIdentityIDParamsWithHTTPClient(client *http.Client) *GetIdentityIDParams
NewGetIdentityIDParamsWithHTTPClient creates a new GetIdentityIDParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetIdentityIDParamsWithTimeout ¶
func NewGetIdentityIDParamsWithTimeout(timeout time.Duration) *GetIdentityIDParams
NewGetIdentityIDParamsWithTimeout creates a new GetIdentityIDParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetIdentityIDParams) SetContext ¶
func (o *GetIdentityIDParams) SetContext(ctx context.Context)
SetContext adds the context to the get identity ID params
func (*GetIdentityIDParams) SetHTTPClient ¶
func (o *GetIdentityIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get identity ID params
func (*GetIdentityIDParams) SetID ¶
func (o *GetIdentityIDParams) SetID(id string)
SetID adds the id to the get identity ID params
func (*GetIdentityIDParams) SetTimeout ¶
func (o *GetIdentityIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get identity ID params
func (*GetIdentityIDParams) WithContext ¶
func (o *GetIdentityIDParams) WithContext(ctx context.Context) *GetIdentityIDParams
WithContext adds the context to the get identity ID params
func (*GetIdentityIDParams) WithHTTPClient ¶
func (o *GetIdentityIDParams) WithHTTPClient(client *http.Client) *GetIdentityIDParams
WithHTTPClient adds the HTTPClient to the get identity ID params
func (*GetIdentityIDParams) WithID ¶
func (o *GetIdentityIDParams) WithID(id string) *GetIdentityIDParams
WithID adds the id to the get identity ID params
func (*GetIdentityIDParams) WithTimeout ¶
func (o *GetIdentityIDParams) WithTimeout(timeout time.Duration) *GetIdentityIDParams
WithTimeout adds the timeout to the get identity ID params
func (*GetIdentityIDParams) WriteToRequest ¶
func (o *GetIdentityIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetIdentityIDReader ¶
type GetIdentityIDReader struct {
// contains filtered or unexported fields
}
GetIdentityIDReader is a Reader for the GetIdentityID structure.
func (*GetIdentityIDReader) ReadResponse ¶
func (o *GetIdentityIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetIdentityIDUnreachable ¶
GetIdentityIDUnreachable handles this case with default header values.
Identity storage unreachable. Likely a network problem.
func NewGetIdentityIDUnreachable ¶
func NewGetIdentityIDUnreachable() *GetIdentityIDUnreachable
NewGetIdentityIDUnreachable creates a GetIdentityIDUnreachable with default headers values
func (*GetIdentityIDUnreachable) Error ¶
func (o *GetIdentityIDUnreachable) Error() string
func (*GetIdentityIDUnreachable) GetPayload ¶
func (o *GetIdentityIDUnreachable) GetPayload() models.Error
type GetIdentityInvalidStorageFormat ¶
GetIdentityInvalidStorageFormat handles this case with default header values.
Invalid identity format in storage
func NewGetIdentityInvalidStorageFormat ¶
func NewGetIdentityInvalidStorageFormat() *GetIdentityInvalidStorageFormat
NewGetIdentityInvalidStorageFormat creates a GetIdentityInvalidStorageFormat with default headers values
func (*GetIdentityInvalidStorageFormat) Error ¶
func (o *GetIdentityInvalidStorageFormat) Error() string
func (*GetIdentityInvalidStorageFormat) GetPayload ¶
func (o *GetIdentityInvalidStorageFormat) GetPayload() models.Error
type GetIdentityNotFound ¶
type GetIdentityNotFound struct { }
GetIdentityNotFound handles this case with default header values.
Identities with provided parameters not found
func NewGetIdentityNotFound ¶
func NewGetIdentityNotFound() *GetIdentityNotFound
NewGetIdentityNotFound creates a GetIdentityNotFound with default headers values
func (*GetIdentityNotFound) Error ¶
func (o *GetIdentityNotFound) Error() string
type GetIdentityOK ¶
GetIdentityOK handles this case with default header values.
Success
func NewGetIdentityOK ¶
func NewGetIdentityOK() *GetIdentityOK
NewGetIdentityOK creates a GetIdentityOK with default headers values
func (*GetIdentityOK) Error ¶
func (o *GetIdentityOK) Error() string
func (*GetIdentityOK) GetPayload ¶
func (o *GetIdentityOK) GetPayload() []*models.Identity
type GetIdentityParams ¶
type GetIdentityParams struct { /*Labels List of labels */ Labels models.Labels Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetIdentityParams contains all the parameters to send to the API endpoint for the get identity operation typically these are written to a http.Request
func NewGetIdentityParams ¶
func NewGetIdentityParams() *GetIdentityParams
NewGetIdentityParams creates a new GetIdentityParams object with the default values initialized.
func NewGetIdentityParamsWithContext ¶
func NewGetIdentityParamsWithContext(ctx context.Context) *GetIdentityParams
NewGetIdentityParamsWithContext creates a new GetIdentityParams object with the default values initialized, and the ability to set a context for a request
func NewGetIdentityParamsWithHTTPClient ¶
func NewGetIdentityParamsWithHTTPClient(client *http.Client) *GetIdentityParams
NewGetIdentityParamsWithHTTPClient creates a new GetIdentityParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetIdentityParamsWithTimeout ¶
func NewGetIdentityParamsWithTimeout(timeout time.Duration) *GetIdentityParams
NewGetIdentityParamsWithTimeout creates a new GetIdentityParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetIdentityParams) SetContext ¶
func (o *GetIdentityParams) SetContext(ctx context.Context)
SetContext adds the context to the get identity params
func (*GetIdentityParams) SetHTTPClient ¶
func (o *GetIdentityParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get identity params
func (*GetIdentityParams) SetLabels ¶
func (o *GetIdentityParams) SetLabels(labels models.Labels)
SetLabels adds the labels to the get identity params
func (*GetIdentityParams) SetTimeout ¶
func (o *GetIdentityParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get identity params
func (*GetIdentityParams) WithContext ¶
func (o *GetIdentityParams) WithContext(ctx context.Context) *GetIdentityParams
WithContext adds the context to the get identity params
func (*GetIdentityParams) WithHTTPClient ¶
func (o *GetIdentityParams) WithHTTPClient(client *http.Client) *GetIdentityParams
WithHTTPClient adds the HTTPClient to the get identity params
func (*GetIdentityParams) WithLabels ¶
func (o *GetIdentityParams) WithLabels(labels models.Labels) *GetIdentityParams
WithLabels adds the labels to the get identity params
func (*GetIdentityParams) WithTimeout ¶
func (o *GetIdentityParams) WithTimeout(timeout time.Duration) *GetIdentityParams
WithTimeout adds the timeout to the get identity params
func (*GetIdentityParams) WriteToRequest ¶
func (o *GetIdentityParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetIdentityReader ¶
type GetIdentityReader struct {
// contains filtered or unexported fields
}
GetIdentityReader is a Reader for the GetIdentity structure.
func (*GetIdentityReader) ReadResponse ¶
func (o *GetIdentityReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetIdentityUnreachable ¶
GetIdentityUnreachable handles this case with default header values.
Identity storage unreachable. Likely a network problem.
func NewGetIdentityUnreachable ¶
func NewGetIdentityUnreachable() *GetIdentityUnreachable
NewGetIdentityUnreachable creates a GetIdentityUnreachable with default headers values
func (*GetIdentityUnreachable) Error ¶
func (o *GetIdentityUnreachable) Error() string
func (*GetIdentityUnreachable) GetPayload ¶
func (o *GetIdentityUnreachable) GetPayload() models.Error
type GetPolicyNotFound ¶
type GetPolicyNotFound struct { }
GetPolicyNotFound handles this case with default header values.
No policy rules found
func NewGetPolicyNotFound ¶
func NewGetPolicyNotFound() *GetPolicyNotFound
NewGetPolicyNotFound creates a GetPolicyNotFound with default headers values
func (*GetPolicyNotFound) Error ¶
func (o *GetPolicyNotFound) Error() string
type GetPolicyOK ¶
GetPolicyOK handles this case with default header values.
Success
func NewGetPolicyOK ¶
func NewGetPolicyOK() *GetPolicyOK
NewGetPolicyOK creates a GetPolicyOK with default headers values
func (*GetPolicyOK) Error ¶
func (o *GetPolicyOK) Error() string
func (*GetPolicyOK) GetPayload ¶
func (o *GetPolicyOK) GetPayload() *models.Policy
type GetPolicyParams ¶
type GetPolicyParams struct { /*Labels*/ Labels models.Labels Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetPolicyParams contains all the parameters to send to the API endpoint for the get policy operation typically these are written to a http.Request
func NewGetPolicyParams ¶
func NewGetPolicyParams() *GetPolicyParams
NewGetPolicyParams creates a new GetPolicyParams object with the default values initialized.
func NewGetPolicyParamsWithContext ¶
func NewGetPolicyParamsWithContext(ctx context.Context) *GetPolicyParams
NewGetPolicyParamsWithContext creates a new GetPolicyParams object with the default values initialized, and the ability to set a context for a request
func NewGetPolicyParamsWithHTTPClient ¶
func NewGetPolicyParamsWithHTTPClient(client *http.Client) *GetPolicyParams
NewGetPolicyParamsWithHTTPClient creates a new GetPolicyParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetPolicyParamsWithTimeout ¶
func NewGetPolicyParamsWithTimeout(timeout time.Duration) *GetPolicyParams
NewGetPolicyParamsWithTimeout creates a new GetPolicyParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetPolicyParams) SetContext ¶
func (o *GetPolicyParams) SetContext(ctx context.Context)
SetContext adds the context to the get policy params
func (*GetPolicyParams) SetHTTPClient ¶
func (o *GetPolicyParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get policy params
func (*GetPolicyParams) SetLabels ¶
func (o *GetPolicyParams) SetLabels(labels models.Labels)
SetLabels adds the labels to the get policy params
func (*GetPolicyParams) SetTimeout ¶
func (o *GetPolicyParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get policy params
func (*GetPolicyParams) WithContext ¶
func (o *GetPolicyParams) WithContext(ctx context.Context) *GetPolicyParams
WithContext adds the context to the get policy params
func (*GetPolicyParams) WithHTTPClient ¶
func (o *GetPolicyParams) WithHTTPClient(client *http.Client) *GetPolicyParams
WithHTTPClient adds the HTTPClient to the get policy params
func (*GetPolicyParams) WithLabels ¶
func (o *GetPolicyParams) WithLabels(labels models.Labels) *GetPolicyParams
WithLabels adds the labels to the get policy params
func (*GetPolicyParams) WithTimeout ¶
func (o *GetPolicyParams) WithTimeout(timeout time.Duration) *GetPolicyParams
WithTimeout adds the timeout to the get policy params
func (*GetPolicyParams) WriteToRequest ¶
func (o *GetPolicyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetPolicyReader ¶
type GetPolicyReader struct {
// contains filtered or unexported fields
}
GetPolicyReader is a Reader for the GetPolicy structure.
func (*GetPolicyReader) ReadResponse ¶
func (o *GetPolicyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetPolicyResolveOK ¶
type GetPolicyResolveOK struct {
Payload *models.PolicyTraceResult
}
GetPolicyResolveOK handles this case with default header values.
Success
func NewGetPolicyResolveOK ¶
func NewGetPolicyResolveOK() *GetPolicyResolveOK
NewGetPolicyResolveOK creates a GetPolicyResolveOK with default headers values
func (*GetPolicyResolveOK) Error ¶
func (o *GetPolicyResolveOK) Error() string
func (*GetPolicyResolveOK) GetPayload ¶
func (o *GetPolicyResolveOK) GetPayload() *models.PolicyTraceResult
type GetPolicyResolveParams ¶
type GetPolicyResolveParams struct { /*TraceSelector Context to provide policy evaluation on */ TraceSelector *models.TraceSelector Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetPolicyResolveParams contains all the parameters to send to the API endpoint for the get policy resolve operation typically these are written to a http.Request
func NewGetPolicyResolveParams ¶
func NewGetPolicyResolveParams() *GetPolicyResolveParams
NewGetPolicyResolveParams creates a new GetPolicyResolveParams object with the default values initialized.
func NewGetPolicyResolveParamsWithContext ¶
func NewGetPolicyResolveParamsWithContext(ctx context.Context) *GetPolicyResolveParams
NewGetPolicyResolveParamsWithContext creates a new GetPolicyResolveParams object with the default values initialized, and the ability to set a context for a request
func NewGetPolicyResolveParamsWithHTTPClient ¶
func NewGetPolicyResolveParamsWithHTTPClient(client *http.Client) *GetPolicyResolveParams
NewGetPolicyResolveParamsWithHTTPClient creates a new GetPolicyResolveParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetPolicyResolveParamsWithTimeout ¶
func NewGetPolicyResolveParamsWithTimeout(timeout time.Duration) *GetPolicyResolveParams
NewGetPolicyResolveParamsWithTimeout creates a new GetPolicyResolveParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetPolicyResolveParams) SetContext ¶
func (o *GetPolicyResolveParams) SetContext(ctx context.Context)
SetContext adds the context to the get policy resolve params
func (*GetPolicyResolveParams) SetHTTPClient ¶
func (o *GetPolicyResolveParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get policy resolve params
func (*GetPolicyResolveParams) SetTimeout ¶
func (o *GetPolicyResolveParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get policy resolve params
func (*GetPolicyResolveParams) SetTraceSelector ¶
func (o *GetPolicyResolveParams) SetTraceSelector(traceSelector *models.TraceSelector)
SetTraceSelector adds the traceSelector to the get policy resolve params
func (*GetPolicyResolveParams) WithContext ¶
func (o *GetPolicyResolveParams) WithContext(ctx context.Context) *GetPolicyResolveParams
WithContext adds the context to the get policy resolve params
func (*GetPolicyResolveParams) WithHTTPClient ¶
func (o *GetPolicyResolveParams) WithHTTPClient(client *http.Client) *GetPolicyResolveParams
WithHTTPClient adds the HTTPClient to the get policy resolve params
func (*GetPolicyResolveParams) WithTimeout ¶
func (o *GetPolicyResolveParams) WithTimeout(timeout time.Duration) *GetPolicyResolveParams
WithTimeout adds the timeout to the get policy resolve params
func (*GetPolicyResolveParams) WithTraceSelector ¶
func (o *GetPolicyResolveParams) WithTraceSelector(traceSelector *models.TraceSelector) *GetPolicyResolveParams
WithTraceSelector adds the traceSelector to the get policy resolve params
func (*GetPolicyResolveParams) WriteToRequest ¶
func (o *GetPolicyResolveParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetPolicyResolveReader ¶
type GetPolicyResolveReader struct {
// contains filtered or unexported fields
}
GetPolicyResolveReader is a Reader for the GetPolicyResolve structure.
func (*GetPolicyResolveReader) ReadResponse ¶
func (o *GetPolicyResolveReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetPolicySelectorsOK ¶
type GetPolicySelectorsOK struct {
Payload models.SelectorCache
}
GetPolicySelectorsOK handles this case with default header values.
Success
func NewGetPolicySelectorsOK ¶
func NewGetPolicySelectorsOK() *GetPolicySelectorsOK
NewGetPolicySelectorsOK creates a GetPolicySelectorsOK with default headers values
func (*GetPolicySelectorsOK) Error ¶
func (o *GetPolicySelectorsOK) Error() string
func (*GetPolicySelectorsOK) GetPayload ¶
func (o *GetPolicySelectorsOK) GetPayload() models.SelectorCache
type GetPolicySelectorsParams ¶
type GetPolicySelectorsParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetPolicySelectorsParams contains all the parameters to send to the API endpoint for the get policy selectors operation typically these are written to a http.Request
func NewGetPolicySelectorsParams ¶
func NewGetPolicySelectorsParams() *GetPolicySelectorsParams
NewGetPolicySelectorsParams creates a new GetPolicySelectorsParams object with the default values initialized.
func NewGetPolicySelectorsParamsWithContext ¶
func NewGetPolicySelectorsParamsWithContext(ctx context.Context) *GetPolicySelectorsParams
NewGetPolicySelectorsParamsWithContext creates a new GetPolicySelectorsParams object with the default values initialized, and the ability to set a context for a request
func NewGetPolicySelectorsParamsWithHTTPClient ¶
func NewGetPolicySelectorsParamsWithHTTPClient(client *http.Client) *GetPolicySelectorsParams
NewGetPolicySelectorsParamsWithHTTPClient creates a new GetPolicySelectorsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetPolicySelectorsParamsWithTimeout ¶
func NewGetPolicySelectorsParamsWithTimeout(timeout time.Duration) *GetPolicySelectorsParams
NewGetPolicySelectorsParamsWithTimeout creates a new GetPolicySelectorsParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetPolicySelectorsParams) SetContext ¶
func (o *GetPolicySelectorsParams) SetContext(ctx context.Context)
SetContext adds the context to the get policy selectors params
func (*GetPolicySelectorsParams) SetHTTPClient ¶
func (o *GetPolicySelectorsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get policy selectors params
func (*GetPolicySelectorsParams) SetTimeout ¶
func (o *GetPolicySelectorsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get policy selectors params
func (*GetPolicySelectorsParams) WithContext ¶
func (o *GetPolicySelectorsParams) WithContext(ctx context.Context) *GetPolicySelectorsParams
WithContext adds the context to the get policy selectors params
func (*GetPolicySelectorsParams) WithHTTPClient ¶
func (o *GetPolicySelectorsParams) WithHTTPClient(client *http.Client) *GetPolicySelectorsParams
WithHTTPClient adds the HTTPClient to the get policy selectors params
func (*GetPolicySelectorsParams) WithTimeout ¶
func (o *GetPolicySelectorsParams) WithTimeout(timeout time.Duration) *GetPolicySelectorsParams
WithTimeout adds the timeout to the get policy selectors params
func (*GetPolicySelectorsParams) WriteToRequest ¶
func (o *GetPolicySelectorsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetPolicySelectorsReader ¶
type GetPolicySelectorsReader struct {
// contains filtered or unexported fields
}
GetPolicySelectorsReader is a Reader for the GetPolicySelectors structure.
func (*GetPolicySelectorsReader) ReadResponse ¶
func (o *GetPolicySelectorsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PutPolicyFailure ¶
PutPolicyFailure handles this case with default header values.
Policy import failed
func NewPutPolicyFailure ¶
func NewPutPolicyFailure() *PutPolicyFailure
NewPutPolicyFailure creates a PutPolicyFailure with default headers values
func (*PutPolicyFailure) Error ¶
func (o *PutPolicyFailure) Error() string
func (*PutPolicyFailure) GetPayload ¶
func (o *PutPolicyFailure) GetPayload() models.Error
type PutPolicyInvalidPath ¶
PutPolicyInvalidPath handles this case with default header values.
Invalid path
func NewPutPolicyInvalidPath ¶
func NewPutPolicyInvalidPath() *PutPolicyInvalidPath
NewPutPolicyInvalidPath creates a PutPolicyInvalidPath with default headers values
func (*PutPolicyInvalidPath) Error ¶
func (o *PutPolicyInvalidPath) Error() string
func (*PutPolicyInvalidPath) GetPayload ¶
func (o *PutPolicyInvalidPath) GetPayload() models.Error
type PutPolicyInvalidPolicy ¶
PutPolicyInvalidPolicy handles this case with default header values.
Invalid policy
func NewPutPolicyInvalidPolicy ¶
func NewPutPolicyInvalidPolicy() *PutPolicyInvalidPolicy
NewPutPolicyInvalidPolicy creates a PutPolicyInvalidPolicy with default headers values
func (*PutPolicyInvalidPolicy) Error ¶
func (o *PutPolicyInvalidPolicy) Error() string
func (*PutPolicyInvalidPolicy) GetPayload ¶
func (o *PutPolicyInvalidPolicy) GetPayload() models.Error
type PutPolicyOK ¶
PutPolicyOK handles this case with default header values.
Success
func NewPutPolicyOK ¶
func NewPutPolicyOK() *PutPolicyOK
NewPutPolicyOK creates a PutPolicyOK with default headers values
func (*PutPolicyOK) Error ¶
func (o *PutPolicyOK) Error() string
func (*PutPolicyOK) GetPayload ¶
func (o *PutPolicyOK) GetPayload() *models.Policy
type PutPolicyParams ¶
type PutPolicyParams struct { /*Policy Policy rules */ Policy string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PutPolicyParams contains all the parameters to send to the API endpoint for the put policy operation typically these are written to a http.Request
func NewPutPolicyParams ¶
func NewPutPolicyParams() *PutPolicyParams
NewPutPolicyParams creates a new PutPolicyParams object with the default values initialized.
func NewPutPolicyParamsWithContext ¶
func NewPutPolicyParamsWithContext(ctx context.Context) *PutPolicyParams
NewPutPolicyParamsWithContext creates a new PutPolicyParams object with the default values initialized, and the ability to set a context for a request
func NewPutPolicyParamsWithHTTPClient ¶
func NewPutPolicyParamsWithHTTPClient(client *http.Client) *PutPolicyParams
NewPutPolicyParamsWithHTTPClient creates a new PutPolicyParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPutPolicyParamsWithTimeout ¶
func NewPutPolicyParamsWithTimeout(timeout time.Duration) *PutPolicyParams
NewPutPolicyParamsWithTimeout creates a new PutPolicyParams object with the default values initialized, and the ability to set a timeout on a request
func (*PutPolicyParams) SetContext ¶
func (o *PutPolicyParams) SetContext(ctx context.Context)
SetContext adds the context to the put policy params
func (*PutPolicyParams) SetHTTPClient ¶
func (o *PutPolicyParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the put policy params
func (*PutPolicyParams) SetPolicy ¶
func (o *PutPolicyParams) SetPolicy(policy string)
SetPolicy adds the policy to the put policy params
func (*PutPolicyParams) SetTimeout ¶
func (o *PutPolicyParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the put policy params
func (*PutPolicyParams) WithContext ¶
func (o *PutPolicyParams) WithContext(ctx context.Context) *PutPolicyParams
WithContext adds the context to the put policy params
func (*PutPolicyParams) WithHTTPClient ¶
func (o *PutPolicyParams) WithHTTPClient(client *http.Client) *PutPolicyParams
WithHTTPClient adds the HTTPClient to the put policy params
func (*PutPolicyParams) WithPolicy ¶
func (o *PutPolicyParams) WithPolicy(policy string) *PutPolicyParams
WithPolicy adds the policy to the put policy params
func (*PutPolicyParams) WithTimeout ¶
func (o *PutPolicyParams) WithTimeout(timeout time.Duration) *PutPolicyParams
WithTimeout adds the timeout to the put policy params
func (*PutPolicyParams) WriteToRequest ¶
func (o *PutPolicyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PutPolicyReader ¶
type PutPolicyReader struct {
// contains filtered or unexported fields
}
PutPolicyReader is a Reader for the PutPolicy structure.
func (*PutPolicyReader) ReadResponse ¶
func (o *PutPolicyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- delete_fqdn_cache_parameters.go
- delete_fqdn_cache_responses.go
- delete_policy_parameters.go
- delete_policy_responses.go
- get_fqdn_cache_id_parameters.go
- get_fqdn_cache_id_responses.go
- get_fqdn_cache_parameters.go
- get_fqdn_cache_responses.go
- get_fqdn_names_parameters.go
- get_fqdn_names_responses.go
- get_identity_endpoints_parameters.go
- get_identity_endpoints_responses.go
- get_identity_id_parameters.go
- get_identity_id_responses.go
- get_identity_parameters.go
- get_identity_responses.go
- get_ip_parameters.go
- get_ip_responses.go
- get_policy_parameters.go
- get_policy_resolve_parameters.go
- get_policy_resolve_responses.go
- get_policy_responses.go
- get_policy_selectors_parameters.go
- get_policy_selectors_responses.go
- policy_client.go
- put_policy_parameters.go
- put_policy_responses.go