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) GetIdentity(params *GetIdentityParams) (*GetIdentityOK, 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) PutPolicy(params *PutPolicyParams) (*PutPolicyOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- 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 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 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 New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new policy API client.
func (*Client) DeleteFqdnCache ¶ added in v1.5.0
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 ¶ added in v0.9.0
func (a *Client) DeletePolicy(params *DeletePolicyParams) (*DeletePolicyOK, error)
DeletePolicy deletes a policy sub tree
func (*Client) GetFqdnCache ¶ added in v1.5.0
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 ¶ added in v1.5.0
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) 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) 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) PutPolicy ¶ added in v0.9.0
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 DeleteFqdnCacheBadRequest ¶ added in v1.5.0
DeleteFqdnCacheBadRequest handles this case with default header values.
Invalid request (error parsing parameters)
func NewDeleteFqdnCacheBadRequest ¶ added in v1.5.0
func NewDeleteFqdnCacheBadRequest() *DeleteFqdnCacheBadRequest
NewDeleteFqdnCacheBadRequest creates a DeleteFqdnCacheBadRequest with default headers values
func (*DeleteFqdnCacheBadRequest) Error ¶ added in v1.5.0
func (o *DeleteFqdnCacheBadRequest) Error() string
type DeleteFqdnCacheOK ¶ added in v1.5.0
type DeleteFqdnCacheOK struct { }
DeleteFqdnCacheOK handles this case with default header values.
Success
func NewDeleteFqdnCacheOK ¶ added in v1.5.0
func NewDeleteFqdnCacheOK() *DeleteFqdnCacheOK
NewDeleteFqdnCacheOK creates a DeleteFqdnCacheOK with default headers values
func (*DeleteFqdnCacheOK) Error ¶ added in v1.5.0
func (o *DeleteFqdnCacheOK) Error() string
type DeleteFqdnCacheParams ¶ added in v1.5.0
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 ¶ added in v1.5.0
func NewDeleteFqdnCacheParams() *DeleteFqdnCacheParams
NewDeleteFqdnCacheParams creates a new DeleteFqdnCacheParams object with the default values initialized.
func NewDeleteFqdnCacheParamsWithContext ¶ added in v1.5.0
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 ¶ added in v1.5.0
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 ¶ added in v1.5.0
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 ¶ added in v1.5.0
func (o *DeleteFqdnCacheParams) SetContext(ctx context.Context)
SetContext adds the context to the delete fqdn cache params
func (*DeleteFqdnCacheParams) SetHTTPClient ¶ added in v1.5.0
func (o *DeleteFqdnCacheParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete fqdn cache params
func (*DeleteFqdnCacheParams) SetMatchpattern ¶ added in v1.5.0
func (o *DeleteFqdnCacheParams) SetMatchpattern(matchpattern *string)
SetMatchpattern adds the matchpattern to the delete fqdn cache params
func (*DeleteFqdnCacheParams) SetTimeout ¶ added in v1.5.0
func (o *DeleteFqdnCacheParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete fqdn cache params
func (*DeleteFqdnCacheParams) WithContext ¶ added in v1.5.0
func (o *DeleteFqdnCacheParams) WithContext(ctx context.Context) *DeleteFqdnCacheParams
WithContext adds the context to the delete fqdn cache params
func (*DeleteFqdnCacheParams) WithHTTPClient ¶ added in v1.5.0
func (o *DeleteFqdnCacheParams) WithHTTPClient(client *http.Client) *DeleteFqdnCacheParams
WithHTTPClient adds the HTTPClient to the delete fqdn cache params
func (*DeleteFqdnCacheParams) WithMatchpattern ¶ added in v1.5.0
func (o *DeleteFqdnCacheParams) WithMatchpattern(matchpattern *string) *DeleteFqdnCacheParams
WithMatchpattern adds the matchpattern to the delete fqdn cache params
func (*DeleteFqdnCacheParams) WithTimeout ¶ added in v1.5.0
func (o *DeleteFqdnCacheParams) WithTimeout(timeout time.Duration) *DeleteFqdnCacheParams
WithTimeout adds the timeout to the delete fqdn cache params
func (*DeleteFqdnCacheParams) WriteToRequest ¶ added in v1.5.0
func (o *DeleteFqdnCacheParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteFqdnCacheReader ¶ added in v1.5.0
type DeleteFqdnCacheReader struct {
// contains filtered or unexported fields
}
DeleteFqdnCacheReader is a Reader for the DeleteFqdnCache structure.
func (*DeleteFqdnCacheReader) ReadResponse ¶ added in v1.5.0
func (o *DeleteFqdnCacheReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeletePolicyFailure ¶ added in v0.9.0
DeletePolicyFailure handles this case with default header values.
Error while deleting policy
func NewDeletePolicyFailure ¶ added in v0.9.0
func NewDeletePolicyFailure() *DeletePolicyFailure
NewDeletePolicyFailure creates a DeletePolicyFailure with default headers values
func (*DeletePolicyFailure) Error ¶ added in v0.9.0
func (o *DeletePolicyFailure) Error() string
type DeletePolicyInvalid ¶ added in v0.9.0
DeletePolicyInvalid handles this case with default header values.
Invalid request
func NewDeletePolicyInvalid ¶ added in v0.9.0
func NewDeletePolicyInvalid() *DeletePolicyInvalid
NewDeletePolicyInvalid creates a DeletePolicyInvalid with default headers values
func (*DeletePolicyInvalid) Error ¶ added in v0.9.0
func (o *DeletePolicyInvalid) Error() string
type DeletePolicyNotFound ¶ added in v0.9.0
type DeletePolicyNotFound struct { }
DeletePolicyNotFound handles this case with default header values.
Policy not found
func NewDeletePolicyNotFound ¶ added in v0.9.0
func NewDeletePolicyNotFound() *DeletePolicyNotFound
NewDeletePolicyNotFound creates a DeletePolicyNotFound with default headers values
func (*DeletePolicyNotFound) Error ¶ added in v0.9.0
func (o *DeletePolicyNotFound) Error() string
type DeletePolicyOK ¶ added in v0.10.0
DeletePolicyOK handles this case with default header values.
Success
func NewDeletePolicyOK ¶ added in v0.10.0
func NewDeletePolicyOK() *DeletePolicyOK
NewDeletePolicyOK creates a DeletePolicyOK with default headers values
func (*DeletePolicyOK) Error ¶ added in v0.10.0
func (o *DeletePolicyOK) Error() string
type DeletePolicyParams ¶ added in v0.9.0
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 ¶ added in v0.9.0
func NewDeletePolicyParams() *DeletePolicyParams
NewDeletePolicyParams creates a new DeletePolicyParams object with the default values initialized.
func NewDeletePolicyParamsWithContext ¶ added in v0.9.0
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 ¶ added in v0.9.0
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 ¶ added in v0.9.0
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 ¶ added in v0.9.0
func (o *DeletePolicyParams) SetContext(ctx context.Context)
SetContext adds the context to the delete policy params
func (*DeletePolicyParams) SetHTTPClient ¶ added in v0.9.0
func (o *DeletePolicyParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete policy params
func (*DeletePolicyParams) SetLabels ¶ added in v0.9.0
func (o *DeletePolicyParams) SetLabels(labels models.Labels)
SetLabels adds the labels to the delete policy params
func (*DeletePolicyParams) SetTimeout ¶ added in v0.9.0
func (o *DeletePolicyParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete policy params
func (*DeletePolicyParams) WithContext ¶ added in v0.9.0
func (o *DeletePolicyParams) WithContext(ctx context.Context) *DeletePolicyParams
WithContext adds the context to the delete policy params
func (*DeletePolicyParams) WithHTTPClient ¶ added in v0.9.0
func (o *DeletePolicyParams) WithHTTPClient(client *http.Client) *DeletePolicyParams
WithHTTPClient adds the HTTPClient to the delete policy params
func (*DeletePolicyParams) WithLabels ¶ added in v0.9.0
func (o *DeletePolicyParams) WithLabels(labels models.Labels) *DeletePolicyParams
WithLabels adds the labels to the delete policy params
func (*DeletePolicyParams) WithTimeout ¶ added in v0.9.0
func (o *DeletePolicyParams) WithTimeout(timeout time.Duration) *DeletePolicyParams
WithTimeout adds the timeout to the delete policy params
func (*DeletePolicyParams) WriteToRequest ¶ added in v0.9.0
func (o *DeletePolicyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeletePolicyReader ¶ added in v0.9.0
type DeletePolicyReader struct {
// contains filtered or unexported fields
}
DeletePolicyReader is a Reader for the DeletePolicy structure.
func (*DeletePolicyReader) ReadResponse ¶ added in v0.9.0
func (o *DeletePolicyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetFqdnCacheBadRequest ¶ added in v1.5.0
GetFqdnCacheBadRequest handles this case with default header values.
Invalid request (error parsing parameters)
func NewGetFqdnCacheBadRequest ¶ added in v1.5.0
func NewGetFqdnCacheBadRequest() *GetFqdnCacheBadRequest
NewGetFqdnCacheBadRequest creates a GetFqdnCacheBadRequest with default headers values
func (*GetFqdnCacheBadRequest) Error ¶ added in v1.5.0
func (o *GetFqdnCacheBadRequest) Error() string
type GetFqdnCacheIDBadRequest ¶ added in v1.5.0
GetFqdnCacheIDBadRequest handles this case with default header values.
Invalid request (error parsing parameters)
func NewGetFqdnCacheIDBadRequest ¶ added in v1.5.0
func NewGetFqdnCacheIDBadRequest() *GetFqdnCacheIDBadRequest
NewGetFqdnCacheIDBadRequest creates a GetFqdnCacheIDBadRequest with default headers values
func (*GetFqdnCacheIDBadRequest) Error ¶ added in v1.5.0
func (o *GetFqdnCacheIDBadRequest) Error() string
type GetFqdnCacheIDNotFound ¶ added in v1.5.0
type GetFqdnCacheIDNotFound struct { }
GetFqdnCacheIDNotFound handles this case with default header values.
No DNS data with provided parameters found
func NewGetFqdnCacheIDNotFound ¶ added in v1.5.0
func NewGetFqdnCacheIDNotFound() *GetFqdnCacheIDNotFound
NewGetFqdnCacheIDNotFound creates a GetFqdnCacheIDNotFound with default headers values
func (*GetFqdnCacheIDNotFound) Error ¶ added in v1.5.0
func (o *GetFqdnCacheIDNotFound) Error() string
type GetFqdnCacheIDOK ¶ added in v1.5.0
GetFqdnCacheIDOK handles this case with default header values.
Success
func NewGetFqdnCacheIDOK ¶ added in v1.5.0
func NewGetFqdnCacheIDOK() *GetFqdnCacheIDOK
NewGetFqdnCacheIDOK creates a GetFqdnCacheIDOK with default headers values
func (*GetFqdnCacheIDOK) Error ¶ added in v1.5.0
func (o *GetFqdnCacheIDOK) Error() string
type GetFqdnCacheIDParams ¶ added in v1.5.0
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 ¶ added in v1.5.0
func NewGetFqdnCacheIDParams() *GetFqdnCacheIDParams
NewGetFqdnCacheIDParams creates a new GetFqdnCacheIDParams object with the default values initialized.
func NewGetFqdnCacheIDParamsWithContext ¶ added in v1.5.0
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 ¶ added in v1.5.0
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 ¶ added in v1.5.0
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 ¶ added in v1.5.0
func (o *GetFqdnCacheIDParams) SetCidr(cidr *string)
SetCidr adds the cidr to the get fqdn cache ID params
func (*GetFqdnCacheIDParams) SetContext ¶ added in v1.5.0
func (o *GetFqdnCacheIDParams) SetContext(ctx context.Context)
SetContext adds the context to the get fqdn cache ID params
func (*GetFqdnCacheIDParams) SetHTTPClient ¶ added in v1.5.0
func (o *GetFqdnCacheIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get fqdn cache ID params
func (*GetFqdnCacheIDParams) SetID ¶ added in v1.5.0
func (o *GetFqdnCacheIDParams) SetID(id string)
SetID adds the id to the get fqdn cache ID params
func (*GetFqdnCacheIDParams) SetMatchpattern ¶ added in v1.5.0
func (o *GetFqdnCacheIDParams) SetMatchpattern(matchpattern *string)
SetMatchpattern adds the matchpattern to the get fqdn cache ID params
func (*GetFqdnCacheIDParams) SetTimeout ¶ added in v1.5.0
func (o *GetFqdnCacheIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get fqdn cache ID params
func (*GetFqdnCacheIDParams) WithCidr ¶ added in v1.5.0
func (o *GetFqdnCacheIDParams) WithCidr(cidr *string) *GetFqdnCacheIDParams
WithCidr adds the cidr to the get fqdn cache ID params
func (*GetFqdnCacheIDParams) WithContext ¶ added in v1.5.0
func (o *GetFqdnCacheIDParams) WithContext(ctx context.Context) *GetFqdnCacheIDParams
WithContext adds the context to the get fqdn cache ID params
func (*GetFqdnCacheIDParams) WithHTTPClient ¶ added in v1.5.0
func (o *GetFqdnCacheIDParams) WithHTTPClient(client *http.Client) *GetFqdnCacheIDParams
WithHTTPClient adds the HTTPClient to the get fqdn cache ID params
func (*GetFqdnCacheIDParams) WithID ¶ added in v1.5.0
func (o *GetFqdnCacheIDParams) WithID(id string) *GetFqdnCacheIDParams
WithID adds the id to the get fqdn cache ID params
func (*GetFqdnCacheIDParams) WithMatchpattern ¶ added in v1.5.0
func (o *GetFqdnCacheIDParams) WithMatchpattern(matchpattern *string) *GetFqdnCacheIDParams
WithMatchpattern adds the matchpattern to the get fqdn cache ID params
func (*GetFqdnCacheIDParams) WithTimeout ¶ added in v1.5.0
func (o *GetFqdnCacheIDParams) WithTimeout(timeout time.Duration) *GetFqdnCacheIDParams
WithTimeout adds the timeout to the get fqdn cache ID params
func (*GetFqdnCacheIDParams) WriteToRequest ¶ added in v1.5.0
func (o *GetFqdnCacheIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetFqdnCacheIDReader ¶ added in v1.5.0
type GetFqdnCacheIDReader struct {
// contains filtered or unexported fields
}
GetFqdnCacheIDReader is a Reader for the GetFqdnCacheID structure.
func (*GetFqdnCacheIDReader) ReadResponse ¶ added in v1.5.0
func (o *GetFqdnCacheIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetFqdnCacheNotFound ¶ added in v1.5.0
type GetFqdnCacheNotFound struct { }
GetFqdnCacheNotFound handles this case with default header values.
No DNS data with provided parameters found
func NewGetFqdnCacheNotFound ¶ added in v1.5.0
func NewGetFqdnCacheNotFound() *GetFqdnCacheNotFound
NewGetFqdnCacheNotFound creates a GetFqdnCacheNotFound with default headers values
func (*GetFqdnCacheNotFound) Error ¶ added in v1.5.0
func (o *GetFqdnCacheNotFound) Error() string
type GetFqdnCacheOK ¶ added in v1.5.0
GetFqdnCacheOK handles this case with default header values.
Success
func NewGetFqdnCacheOK ¶ added in v1.5.0
func NewGetFqdnCacheOK() *GetFqdnCacheOK
NewGetFqdnCacheOK creates a GetFqdnCacheOK with default headers values
func (*GetFqdnCacheOK) Error ¶ added in v1.5.0
func (o *GetFqdnCacheOK) Error() string
type GetFqdnCacheParams ¶ added in v1.5.0
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 ¶ added in v1.5.0
func NewGetFqdnCacheParams() *GetFqdnCacheParams
NewGetFqdnCacheParams creates a new GetFqdnCacheParams object with the default values initialized.
func NewGetFqdnCacheParamsWithContext ¶ added in v1.5.0
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 ¶ added in v1.5.0
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 ¶ added in v1.5.0
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 ¶ added in v1.5.0
func (o *GetFqdnCacheParams) SetCidr(cidr *string)
SetCidr adds the cidr to the get fqdn cache params
func (*GetFqdnCacheParams) SetContext ¶ added in v1.5.0
func (o *GetFqdnCacheParams) SetContext(ctx context.Context)
SetContext adds the context to the get fqdn cache params
func (*GetFqdnCacheParams) SetHTTPClient ¶ added in v1.5.0
func (o *GetFqdnCacheParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get fqdn cache params
func (*GetFqdnCacheParams) SetMatchpattern ¶ added in v1.5.0
func (o *GetFqdnCacheParams) SetMatchpattern(matchpattern *string)
SetMatchpattern adds the matchpattern to the get fqdn cache params
func (*GetFqdnCacheParams) SetTimeout ¶ added in v1.5.0
func (o *GetFqdnCacheParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get fqdn cache params
func (*GetFqdnCacheParams) WithCidr ¶ added in v1.5.0
func (o *GetFqdnCacheParams) WithCidr(cidr *string) *GetFqdnCacheParams
WithCidr adds the cidr to the get fqdn cache params
func (*GetFqdnCacheParams) WithContext ¶ added in v1.5.0
func (o *GetFqdnCacheParams) WithContext(ctx context.Context) *GetFqdnCacheParams
WithContext adds the context to the get fqdn cache params
func (*GetFqdnCacheParams) WithHTTPClient ¶ added in v1.5.0
func (o *GetFqdnCacheParams) WithHTTPClient(client *http.Client) *GetFqdnCacheParams
WithHTTPClient adds the HTTPClient to the get fqdn cache params
func (*GetFqdnCacheParams) WithMatchpattern ¶ added in v1.5.0
func (o *GetFqdnCacheParams) WithMatchpattern(matchpattern *string) *GetFqdnCacheParams
WithMatchpattern adds the matchpattern to the get fqdn cache params
func (*GetFqdnCacheParams) WithTimeout ¶ added in v1.5.0
func (o *GetFqdnCacheParams) WithTimeout(timeout time.Duration) *GetFqdnCacheParams
WithTimeout adds the timeout to the get fqdn cache params
func (*GetFqdnCacheParams) WriteToRequest ¶ added in v1.5.0
func (o *GetFqdnCacheParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetFqdnCacheReader ¶ added in v1.5.0
type GetFqdnCacheReader struct {
// contains filtered or unexported fields
}
GetFqdnCacheReader is a Reader for the GetFqdnCache structure.
func (*GetFqdnCacheReader) ReadResponse ¶ added in v1.5.0
func (o *GetFqdnCacheReader) 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
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
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
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
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
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
type GetPolicyNotFound ¶ added in v0.9.0
type GetPolicyNotFound struct { }
GetPolicyNotFound handles this case with default header values.
No policy rules found
func NewGetPolicyNotFound ¶ added in v0.9.0
func NewGetPolicyNotFound() *GetPolicyNotFound
NewGetPolicyNotFound creates a GetPolicyNotFound with default headers values
func (*GetPolicyNotFound) Error ¶ added in v0.9.0
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
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 ¶ added in v0.9.0
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 ¶ added in v0.9.0
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
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 ¶ added in v1.5.0
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 ¶ added in v1.5.0
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 PutPolicyFailure ¶ added in v0.9.0
PutPolicyFailure handles this case with default header values.
Policy import failed
func NewPutPolicyFailure ¶ added in v0.9.0
func NewPutPolicyFailure() *PutPolicyFailure
NewPutPolicyFailure creates a PutPolicyFailure with default headers values
func (*PutPolicyFailure) Error ¶ added in v0.9.0
func (o *PutPolicyFailure) Error() string
type PutPolicyInvalidPath ¶ added in v0.9.0
PutPolicyInvalidPath handles this case with default header values.
Invalid path
func NewPutPolicyInvalidPath ¶ added in v0.9.0
func NewPutPolicyInvalidPath() *PutPolicyInvalidPath
NewPutPolicyInvalidPath creates a PutPolicyInvalidPath with default headers values
func (*PutPolicyInvalidPath) Error ¶ added in v0.9.0
func (o *PutPolicyInvalidPath) Error() string
type PutPolicyInvalidPolicy ¶ added in v0.9.0
PutPolicyInvalidPolicy handles this case with default header values.
Invalid policy
func NewPutPolicyInvalidPolicy ¶ added in v0.9.0
func NewPutPolicyInvalidPolicy() *PutPolicyInvalidPolicy
NewPutPolicyInvalidPolicy creates a PutPolicyInvalidPolicy with default headers values
func (*PutPolicyInvalidPolicy) Error ¶ added in v0.9.0
func (o *PutPolicyInvalidPolicy) Error() string
type PutPolicyOK ¶ added in v0.9.0
PutPolicyOK handles this case with default header values.
Success
func NewPutPolicyOK ¶ added in v0.9.0
func NewPutPolicyOK() *PutPolicyOK
NewPutPolicyOK creates a PutPolicyOK with default headers values
func (*PutPolicyOK) Error ¶ added in v0.9.0
func (o *PutPolicyOK) Error() string
type PutPolicyParams ¶ added in v0.9.0
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 ¶ added in v0.9.0
func NewPutPolicyParams() *PutPolicyParams
NewPutPolicyParams creates a new PutPolicyParams object with the default values initialized.
func NewPutPolicyParamsWithContext ¶ added in v0.9.0
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 ¶ added in v0.9.0
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 ¶ added in v0.9.0
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 ¶ added in v0.9.0
func (o *PutPolicyParams) SetContext(ctx context.Context)
SetContext adds the context to the put policy params
func (*PutPolicyParams) SetHTTPClient ¶ added in v0.9.0
func (o *PutPolicyParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the put policy params
func (*PutPolicyParams) SetPolicy ¶ added in v0.9.0
func (o *PutPolicyParams) SetPolicy(policy string)
SetPolicy adds the policy to the put policy params
func (*PutPolicyParams) SetTimeout ¶ added in v0.9.0
func (o *PutPolicyParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the put policy params
func (*PutPolicyParams) WithContext ¶ added in v0.9.0
func (o *PutPolicyParams) WithContext(ctx context.Context) *PutPolicyParams
WithContext adds the context to the put policy params
func (*PutPolicyParams) WithHTTPClient ¶ added in v0.9.0
func (o *PutPolicyParams) WithHTTPClient(client *http.Client) *PutPolicyParams
WithHTTPClient adds the HTTPClient to the put policy params
func (*PutPolicyParams) WithPolicy ¶ added in v0.9.0
func (o *PutPolicyParams) WithPolicy(policy string) *PutPolicyParams
WithPolicy adds the policy to the put policy params
func (*PutPolicyParams) WithTimeout ¶ added in v0.9.0
func (o *PutPolicyParams) WithTimeout(timeout time.Duration) *PutPolicyParams
WithTimeout adds the timeout to the put policy params
func (*PutPolicyParams) WriteToRequest ¶ added in v0.9.0
func (o *PutPolicyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PutPolicyReader ¶ added in v0.9.0
type PutPolicyReader struct {
// contains filtered or unexported fields
}
PutPolicyReader is a Reader for the PutPolicy structure.
func (*PutPolicyReader) ReadResponse ¶ added in v0.9.0
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_identity_id_parameters.go
- get_identity_id_responses.go
- get_identity_parameters.go
- get_identity_responses.go
- get_policy_parameters.go
- get_policy_resolve_parameters.go
- get_policy_resolve_responses.go
- get_policy_responses.go
- policy_client.go
- put_policy_parameters.go
- put_policy_responses.go