Documentation
¶
Index ¶
- type Client
- func (a *Client) DeleteFqdnCache(params *DeleteFqdnCacheParams, opts ...ClientOption) (*DeleteFqdnCacheOK, error)
- func (a *Client) DeletePolicy(params *DeletePolicyParams, opts ...ClientOption) (*DeletePolicyOK, error)
- func (a *Client) GetFqdnCache(params *GetFqdnCacheParams, opts ...ClientOption) (*GetFqdnCacheOK, error)
- func (a *Client) GetFqdnCacheID(params *GetFqdnCacheIDParams, opts ...ClientOption) (*GetFqdnCacheIDOK, error)
- func (a *Client) GetFqdnNames(params *GetFqdnNamesParams, opts ...ClientOption) (*GetFqdnNamesOK, error)
- func (a *Client) GetIP(params *GetIPParams, opts ...ClientOption) (*GetIPOK, error)
- func (a *Client) GetIdentity(params *GetIdentityParams, opts ...ClientOption) (*GetIdentityOK, error)
- func (a *Client) GetIdentityEndpoints(params *GetIdentityEndpointsParams, opts ...ClientOption) (*GetIdentityEndpointsOK, error)
- func (a *Client) GetIdentityID(params *GetIdentityIDParams, opts ...ClientOption) (*GetIdentityIDOK, error)
- func (a *Client) GetPolicy(params *GetPolicyParams, opts ...ClientOption) (*GetPolicyOK, error)
- func (a *Client) GetPolicySelectors(params *GetPolicySelectorsParams, opts ...ClientOption) (*GetPolicySelectorsOK, error)
- func (a *Client) PutPolicy(params *PutPolicyParams, opts ...ClientOption) (*PutPolicyOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type DeleteFqdnCacheBadRequest
- func (o *DeleteFqdnCacheBadRequest) Error() string
- func (o *DeleteFqdnCacheBadRequest) GetPayload() models.Error
- func (o *DeleteFqdnCacheBadRequest) IsClientError() bool
- func (o *DeleteFqdnCacheBadRequest) IsCode(code int) bool
- func (o *DeleteFqdnCacheBadRequest) IsRedirect() bool
- func (o *DeleteFqdnCacheBadRequest) IsServerError() bool
- func (o *DeleteFqdnCacheBadRequest) IsSuccess() bool
- func (o *DeleteFqdnCacheBadRequest) String() string
- type DeleteFqdnCacheForbidden
- func (o *DeleteFqdnCacheForbidden) Error() string
- func (o *DeleteFqdnCacheForbidden) IsClientError() bool
- func (o *DeleteFqdnCacheForbidden) IsCode(code int) bool
- func (o *DeleteFqdnCacheForbidden) IsRedirect() bool
- func (o *DeleteFqdnCacheForbidden) IsServerError() bool
- func (o *DeleteFqdnCacheForbidden) IsSuccess() bool
- func (o *DeleteFqdnCacheForbidden) String() string
- type DeleteFqdnCacheOK
- func (o *DeleteFqdnCacheOK) Error() string
- func (o *DeleteFqdnCacheOK) IsClientError() bool
- func (o *DeleteFqdnCacheOK) IsCode(code int) bool
- func (o *DeleteFqdnCacheOK) IsRedirect() bool
- func (o *DeleteFqdnCacheOK) IsServerError() bool
- func (o *DeleteFqdnCacheOK) IsSuccess() bool
- func (o *DeleteFqdnCacheOK) String() string
- 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) SetDefaults()
- 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) WithDefaults() *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
- func (o *DeletePolicyFailure) Error() string
- func (o *DeletePolicyFailure) GetPayload() models.Error
- func (o *DeletePolicyFailure) IsClientError() bool
- func (o *DeletePolicyFailure) IsCode(code int) bool
- func (o *DeletePolicyFailure) IsRedirect() bool
- func (o *DeletePolicyFailure) IsServerError() bool
- func (o *DeletePolicyFailure) IsSuccess() bool
- func (o *DeletePolicyFailure) String() string
- type DeletePolicyForbidden
- func (o *DeletePolicyForbidden) Error() string
- func (o *DeletePolicyForbidden) IsClientError() bool
- func (o *DeletePolicyForbidden) IsCode(code int) bool
- func (o *DeletePolicyForbidden) IsRedirect() bool
- func (o *DeletePolicyForbidden) IsServerError() bool
- func (o *DeletePolicyForbidden) IsSuccess() bool
- func (o *DeletePolicyForbidden) String() string
- type DeletePolicyInvalid
- func (o *DeletePolicyInvalid) Error() string
- func (o *DeletePolicyInvalid) GetPayload() models.Error
- func (o *DeletePolicyInvalid) IsClientError() bool
- func (o *DeletePolicyInvalid) IsCode(code int) bool
- func (o *DeletePolicyInvalid) IsRedirect() bool
- func (o *DeletePolicyInvalid) IsServerError() bool
- func (o *DeletePolicyInvalid) IsSuccess() bool
- func (o *DeletePolicyInvalid) String() string
- type DeletePolicyNotFound
- func (o *DeletePolicyNotFound) Error() string
- func (o *DeletePolicyNotFound) IsClientError() bool
- func (o *DeletePolicyNotFound) IsCode(code int) bool
- func (o *DeletePolicyNotFound) IsRedirect() bool
- func (o *DeletePolicyNotFound) IsServerError() bool
- func (o *DeletePolicyNotFound) IsSuccess() bool
- func (o *DeletePolicyNotFound) String() string
- type DeletePolicyOK
- func (o *DeletePolicyOK) Error() string
- func (o *DeletePolicyOK) GetPayload() *models.Policy
- func (o *DeletePolicyOK) IsClientError() bool
- func (o *DeletePolicyOK) IsCode(code int) bool
- func (o *DeletePolicyOK) IsRedirect() bool
- func (o *DeletePolicyOK) IsServerError() bool
- func (o *DeletePolicyOK) IsSuccess() bool
- func (o *DeletePolicyOK) String() string
- type DeletePolicyParams
- func (o *DeletePolicyParams) SetContext(ctx context.Context)
- func (o *DeletePolicyParams) SetDefaults()
- 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) WithDefaults() *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
- func (o *GetFqdnCacheBadRequest) Error() string
- func (o *GetFqdnCacheBadRequest) GetPayload() models.Error
- func (o *GetFqdnCacheBadRequest) IsClientError() bool
- func (o *GetFqdnCacheBadRequest) IsCode(code int) bool
- func (o *GetFqdnCacheBadRequest) IsRedirect() bool
- func (o *GetFqdnCacheBadRequest) IsServerError() bool
- func (o *GetFqdnCacheBadRequest) IsSuccess() bool
- func (o *GetFqdnCacheBadRequest) String() string
- type GetFqdnCacheIDBadRequest
- func (o *GetFqdnCacheIDBadRequest) Error() string
- func (o *GetFqdnCacheIDBadRequest) GetPayload() models.Error
- func (o *GetFqdnCacheIDBadRequest) IsClientError() bool
- func (o *GetFqdnCacheIDBadRequest) IsCode(code int) bool
- func (o *GetFqdnCacheIDBadRequest) IsRedirect() bool
- func (o *GetFqdnCacheIDBadRequest) IsServerError() bool
- func (o *GetFqdnCacheIDBadRequest) IsSuccess() bool
- func (o *GetFqdnCacheIDBadRequest) String() string
- type GetFqdnCacheIDNotFound
- func (o *GetFqdnCacheIDNotFound) Error() string
- func (o *GetFqdnCacheIDNotFound) IsClientError() bool
- func (o *GetFqdnCacheIDNotFound) IsCode(code int) bool
- func (o *GetFqdnCacheIDNotFound) IsRedirect() bool
- func (o *GetFqdnCacheIDNotFound) IsServerError() bool
- func (o *GetFqdnCacheIDNotFound) IsSuccess() bool
- func (o *GetFqdnCacheIDNotFound) String() string
- type GetFqdnCacheIDOK
- func (o *GetFqdnCacheIDOK) Error() string
- func (o *GetFqdnCacheIDOK) GetPayload() []*models.DNSLookup
- func (o *GetFqdnCacheIDOK) IsClientError() bool
- func (o *GetFqdnCacheIDOK) IsCode(code int) bool
- func (o *GetFqdnCacheIDOK) IsRedirect() bool
- func (o *GetFqdnCacheIDOK) IsServerError() bool
- func (o *GetFqdnCacheIDOK) IsSuccess() bool
- func (o *GetFqdnCacheIDOK) String() string
- 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) SetDefaults()
- func (o *GetFqdnCacheIDParams) SetHTTPClient(client *http.Client)
- func (o *GetFqdnCacheIDParams) SetID(id string)
- func (o *GetFqdnCacheIDParams) SetMatchpattern(matchpattern *string)
- func (o *GetFqdnCacheIDParams) SetSource(source *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) WithDefaults() *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) WithSource(source *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
- func (o *GetFqdnCacheNotFound) Error() string
- func (o *GetFqdnCacheNotFound) IsClientError() bool
- func (o *GetFqdnCacheNotFound) IsCode(code int) bool
- func (o *GetFqdnCacheNotFound) IsRedirect() bool
- func (o *GetFqdnCacheNotFound) IsServerError() bool
- func (o *GetFqdnCacheNotFound) IsSuccess() bool
- func (o *GetFqdnCacheNotFound) String() string
- type GetFqdnCacheOK
- func (o *GetFqdnCacheOK) Error() string
- func (o *GetFqdnCacheOK) GetPayload() []*models.DNSLookup
- func (o *GetFqdnCacheOK) IsClientError() bool
- func (o *GetFqdnCacheOK) IsCode(code int) bool
- func (o *GetFqdnCacheOK) IsRedirect() bool
- func (o *GetFqdnCacheOK) IsServerError() bool
- func (o *GetFqdnCacheOK) IsSuccess() bool
- func (o *GetFqdnCacheOK) String() string
- type GetFqdnCacheParams
- func (o *GetFqdnCacheParams) SetCidr(cidr *string)
- func (o *GetFqdnCacheParams) SetContext(ctx context.Context)
- func (o *GetFqdnCacheParams) SetDefaults()
- func (o *GetFqdnCacheParams) SetHTTPClient(client *http.Client)
- func (o *GetFqdnCacheParams) SetMatchpattern(matchpattern *string)
- func (o *GetFqdnCacheParams) SetSource(source *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) WithDefaults() *GetFqdnCacheParams
- func (o *GetFqdnCacheParams) WithHTTPClient(client *http.Client) *GetFqdnCacheParams
- func (o *GetFqdnCacheParams) WithMatchpattern(matchpattern *string) *GetFqdnCacheParams
- func (o *GetFqdnCacheParams) WithSource(source *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
- func (o *GetFqdnNamesBadRequest) Error() string
- func (o *GetFqdnNamesBadRequest) GetPayload() models.Error
- func (o *GetFqdnNamesBadRequest) IsClientError() bool
- func (o *GetFqdnNamesBadRequest) IsCode(code int) bool
- func (o *GetFqdnNamesBadRequest) IsRedirect() bool
- func (o *GetFqdnNamesBadRequest) IsServerError() bool
- func (o *GetFqdnNamesBadRequest) IsSuccess() bool
- func (o *GetFqdnNamesBadRequest) String() string
- type GetFqdnNamesOK
- func (o *GetFqdnNamesOK) Error() string
- func (o *GetFqdnNamesOK) GetPayload() *models.NameManager
- func (o *GetFqdnNamesOK) IsClientError() bool
- func (o *GetFqdnNamesOK) IsCode(code int) bool
- func (o *GetFqdnNamesOK) IsRedirect() bool
- func (o *GetFqdnNamesOK) IsServerError() bool
- func (o *GetFqdnNamesOK) IsSuccess() bool
- func (o *GetFqdnNamesOK) String() string
- type GetFqdnNamesParams
- func (o *GetFqdnNamesParams) SetContext(ctx context.Context)
- func (o *GetFqdnNamesParams) SetDefaults()
- 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) WithDefaults() *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
- func (o *GetIPBadRequest) Error() string
- func (o *GetIPBadRequest) GetPayload() models.Error
- func (o *GetIPBadRequest) IsClientError() bool
- func (o *GetIPBadRequest) IsCode(code int) bool
- func (o *GetIPBadRequest) IsRedirect() bool
- func (o *GetIPBadRequest) IsServerError() bool
- func (o *GetIPBadRequest) IsSuccess() bool
- func (o *GetIPBadRequest) String() string
- type GetIPNotFound
- type GetIPOK
- func (o *GetIPOK) Error() string
- func (o *GetIPOK) GetPayload() []*models.IPListEntry
- func (o *GetIPOK) IsClientError() bool
- func (o *GetIPOK) IsCode(code int) bool
- func (o *GetIPOK) IsRedirect() bool
- func (o *GetIPOK) IsServerError() bool
- func (o *GetIPOK) IsSuccess() bool
- func (o *GetIPOK) String() string
- type GetIPParams
- func (o *GetIPParams) SetCidr(cidr *string)
- func (o *GetIPParams) SetContext(ctx context.Context)
- func (o *GetIPParams) SetDefaults()
- 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) WithDefaults() *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
- func (o *GetIdentityEndpointsNotFound) Error() string
- func (o *GetIdentityEndpointsNotFound) IsClientError() bool
- func (o *GetIdentityEndpointsNotFound) IsCode(code int) bool
- func (o *GetIdentityEndpointsNotFound) IsRedirect() bool
- func (o *GetIdentityEndpointsNotFound) IsServerError() bool
- func (o *GetIdentityEndpointsNotFound) IsSuccess() bool
- func (o *GetIdentityEndpointsNotFound) String() string
- type GetIdentityEndpointsOK
- func (o *GetIdentityEndpointsOK) Error() string
- func (o *GetIdentityEndpointsOK) GetPayload() []*models.IdentityEndpoints
- func (o *GetIdentityEndpointsOK) IsClientError() bool
- func (o *GetIdentityEndpointsOK) IsCode(code int) bool
- func (o *GetIdentityEndpointsOK) IsRedirect() bool
- func (o *GetIdentityEndpointsOK) IsServerError() bool
- func (o *GetIdentityEndpointsOK) IsSuccess() bool
- func (o *GetIdentityEndpointsOK) String() string
- 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) SetDefaults()
- 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) WithDefaults() *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
- func (o *GetIdentityIDBadRequest) Error() string
- func (o *GetIdentityIDBadRequest) IsClientError() bool
- func (o *GetIdentityIDBadRequest) IsCode(code int) bool
- func (o *GetIdentityIDBadRequest) IsRedirect() bool
- func (o *GetIdentityIDBadRequest) IsServerError() bool
- func (o *GetIdentityIDBadRequest) IsSuccess() bool
- func (o *GetIdentityIDBadRequest) String() string
- type GetIdentityIDInvalidStorageFormat
- func (o *GetIdentityIDInvalidStorageFormat) Error() string
- func (o *GetIdentityIDInvalidStorageFormat) GetPayload() models.Error
- func (o *GetIdentityIDInvalidStorageFormat) IsClientError() bool
- func (o *GetIdentityIDInvalidStorageFormat) IsCode(code int) bool
- func (o *GetIdentityIDInvalidStorageFormat) IsRedirect() bool
- func (o *GetIdentityIDInvalidStorageFormat) IsServerError() bool
- func (o *GetIdentityIDInvalidStorageFormat) IsSuccess() bool
- func (o *GetIdentityIDInvalidStorageFormat) String() string
- type GetIdentityIDNotFound
- func (o *GetIdentityIDNotFound) Error() string
- func (o *GetIdentityIDNotFound) IsClientError() bool
- func (o *GetIdentityIDNotFound) IsCode(code int) bool
- func (o *GetIdentityIDNotFound) IsRedirect() bool
- func (o *GetIdentityIDNotFound) IsServerError() bool
- func (o *GetIdentityIDNotFound) IsSuccess() bool
- func (o *GetIdentityIDNotFound) String() string
- type GetIdentityIDOK
- func (o *GetIdentityIDOK) Error() string
- func (o *GetIdentityIDOK) GetPayload() *models.Identity
- func (o *GetIdentityIDOK) IsClientError() bool
- func (o *GetIdentityIDOK) IsCode(code int) bool
- func (o *GetIdentityIDOK) IsRedirect() bool
- func (o *GetIdentityIDOK) IsServerError() bool
- func (o *GetIdentityIDOK) IsSuccess() bool
- func (o *GetIdentityIDOK) String() string
- type GetIdentityIDParams
- func (o *GetIdentityIDParams) SetContext(ctx context.Context)
- func (o *GetIdentityIDParams) SetDefaults()
- 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) WithDefaults() *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
- func (o *GetIdentityIDUnreachable) Error() string
- func (o *GetIdentityIDUnreachable) GetPayload() models.Error
- func (o *GetIdentityIDUnreachable) IsClientError() bool
- func (o *GetIdentityIDUnreachable) IsCode(code int) bool
- func (o *GetIdentityIDUnreachable) IsRedirect() bool
- func (o *GetIdentityIDUnreachable) IsServerError() bool
- func (o *GetIdentityIDUnreachable) IsSuccess() bool
- func (o *GetIdentityIDUnreachable) String() string
- type GetIdentityInvalidStorageFormat
- func (o *GetIdentityInvalidStorageFormat) Error() string
- func (o *GetIdentityInvalidStorageFormat) GetPayload() models.Error
- func (o *GetIdentityInvalidStorageFormat) IsClientError() bool
- func (o *GetIdentityInvalidStorageFormat) IsCode(code int) bool
- func (o *GetIdentityInvalidStorageFormat) IsRedirect() bool
- func (o *GetIdentityInvalidStorageFormat) IsServerError() bool
- func (o *GetIdentityInvalidStorageFormat) IsSuccess() bool
- func (o *GetIdentityInvalidStorageFormat) String() string
- type GetIdentityNotFound
- func (o *GetIdentityNotFound) Error() string
- func (o *GetIdentityNotFound) IsClientError() bool
- func (o *GetIdentityNotFound) IsCode(code int) bool
- func (o *GetIdentityNotFound) IsRedirect() bool
- func (o *GetIdentityNotFound) IsServerError() bool
- func (o *GetIdentityNotFound) IsSuccess() bool
- func (o *GetIdentityNotFound) String() string
- type GetIdentityOK
- func (o *GetIdentityOK) Error() string
- func (o *GetIdentityOK) GetPayload() []*models.Identity
- func (o *GetIdentityOK) IsClientError() bool
- func (o *GetIdentityOK) IsCode(code int) bool
- func (o *GetIdentityOK) IsRedirect() bool
- func (o *GetIdentityOK) IsServerError() bool
- func (o *GetIdentityOK) IsSuccess() bool
- func (o *GetIdentityOK) String() string
- type GetIdentityParams
- func (o *GetIdentityParams) SetContext(ctx context.Context)
- func (o *GetIdentityParams) SetDefaults()
- 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) WithDefaults() *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
- func (o *GetIdentityUnreachable) Error() string
- func (o *GetIdentityUnreachable) GetPayload() models.Error
- func (o *GetIdentityUnreachable) IsClientError() bool
- func (o *GetIdentityUnreachable) IsCode(code int) bool
- func (o *GetIdentityUnreachable) IsRedirect() bool
- func (o *GetIdentityUnreachable) IsServerError() bool
- func (o *GetIdentityUnreachable) IsSuccess() bool
- func (o *GetIdentityUnreachable) String() string
- type GetPolicyNotFound
- func (o *GetPolicyNotFound) Error() string
- func (o *GetPolicyNotFound) IsClientError() bool
- func (o *GetPolicyNotFound) IsCode(code int) bool
- func (o *GetPolicyNotFound) IsRedirect() bool
- func (o *GetPolicyNotFound) IsServerError() bool
- func (o *GetPolicyNotFound) IsSuccess() bool
- func (o *GetPolicyNotFound) String() string
- type GetPolicyOK
- func (o *GetPolicyOK) Error() string
- func (o *GetPolicyOK) GetPayload() *models.Policy
- func (o *GetPolicyOK) IsClientError() bool
- func (o *GetPolicyOK) IsCode(code int) bool
- func (o *GetPolicyOK) IsRedirect() bool
- func (o *GetPolicyOK) IsServerError() bool
- func (o *GetPolicyOK) IsSuccess() bool
- func (o *GetPolicyOK) String() string
- type GetPolicyParams
- func (o *GetPolicyParams) SetContext(ctx context.Context)
- func (o *GetPolicyParams) SetDefaults()
- 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) WithDefaults() *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 GetPolicySelectorsOK
- func (o *GetPolicySelectorsOK) Error() string
- func (o *GetPolicySelectorsOK) GetPayload() models.SelectorCache
- func (o *GetPolicySelectorsOK) IsClientError() bool
- func (o *GetPolicySelectorsOK) IsCode(code int) bool
- func (o *GetPolicySelectorsOK) IsRedirect() bool
- func (o *GetPolicySelectorsOK) IsServerError() bool
- func (o *GetPolicySelectorsOK) IsSuccess() bool
- func (o *GetPolicySelectorsOK) String() string
- 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) SetDefaults()
- 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) WithDefaults() *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
- func (o *PutPolicyFailure) Error() string
- func (o *PutPolicyFailure) GetPayload() models.Error
- func (o *PutPolicyFailure) IsClientError() bool
- func (o *PutPolicyFailure) IsCode(code int) bool
- func (o *PutPolicyFailure) IsRedirect() bool
- func (o *PutPolicyFailure) IsServerError() bool
- func (o *PutPolicyFailure) IsSuccess() bool
- func (o *PutPolicyFailure) String() string
- type PutPolicyForbidden
- func (o *PutPolicyForbidden) Error() string
- func (o *PutPolicyForbidden) IsClientError() bool
- func (o *PutPolicyForbidden) IsCode(code int) bool
- func (o *PutPolicyForbidden) IsRedirect() bool
- func (o *PutPolicyForbidden) IsServerError() bool
- func (o *PutPolicyForbidden) IsSuccess() bool
- func (o *PutPolicyForbidden) String() string
- type PutPolicyInvalidPath
- func (o *PutPolicyInvalidPath) Error() string
- func (o *PutPolicyInvalidPath) GetPayload() models.Error
- func (o *PutPolicyInvalidPath) IsClientError() bool
- func (o *PutPolicyInvalidPath) IsCode(code int) bool
- func (o *PutPolicyInvalidPath) IsRedirect() bool
- func (o *PutPolicyInvalidPath) IsServerError() bool
- func (o *PutPolicyInvalidPath) IsSuccess() bool
- func (o *PutPolicyInvalidPath) String() string
- type PutPolicyInvalidPolicy
- func (o *PutPolicyInvalidPolicy) Error() string
- func (o *PutPolicyInvalidPolicy) GetPayload() models.Error
- func (o *PutPolicyInvalidPolicy) IsClientError() bool
- func (o *PutPolicyInvalidPolicy) IsCode(code int) bool
- func (o *PutPolicyInvalidPolicy) IsRedirect() bool
- func (o *PutPolicyInvalidPolicy) IsServerError() bool
- func (o *PutPolicyInvalidPolicy) IsSuccess() bool
- func (o *PutPolicyInvalidPolicy) String() string
- type PutPolicyOK
- func (o *PutPolicyOK) Error() string
- func (o *PutPolicyOK) GetPayload() *models.Policy
- func (o *PutPolicyOK) IsClientError() bool
- func (o *PutPolicyOK) IsCode(code int) bool
- func (o *PutPolicyOK) IsRedirect() bool
- func (o *PutPolicyOK) IsServerError() bool
- func (o *PutPolicyOK) IsSuccess() bool
- func (o *PutPolicyOK) String() string
- type PutPolicyParams
- func (o *PutPolicyParams) SetContext(ctx context.Context)
- func (o *PutPolicyParams) SetDefaults()
- func (o *PutPolicyParams) SetHTTPClient(client *http.Client)
- func (o *PutPolicyParams) SetPolicy(policy string)
- func (o *PutPolicyParams) SetReplace(replace *bool)
- func (o *PutPolicyParams) SetReplaceWithLabels(replaceWithLabels []string)
- func (o *PutPolicyParams) SetTimeout(timeout time.Duration)
- func (o *PutPolicyParams) WithContext(ctx context.Context) *PutPolicyParams
- func (o *PutPolicyParams) WithDefaults() *PutPolicyParams
- func (o *PutPolicyParams) WithHTTPClient(client *http.Client) *PutPolicyParams
- func (o *PutPolicyParams) WithPolicy(policy string) *PutPolicyParams
- func (o *PutPolicyParams) WithReplace(replace *bool) *PutPolicyParams
- func (o *PutPolicyParams) WithReplaceWithLabels(replaceWithLabels []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, opts ...ClientOption) (*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, opts ...ClientOption) (*DeletePolicyOK, error)
DeletePolicy deletes a policy sub tree
func (*Client) GetFqdnCache ¶
func (a *Client) GetFqdnCache(params *GetFqdnCacheParams, opts ...ClientOption) (*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 DNS name, CIDR IP range or source.
func (*Client) GetFqdnCacheID ¶
func (a *Client) GetFqdnCacheID(params *GetFqdnCacheIDParams, opts ...ClientOption) (*GetFqdnCacheIDOK, error)
GetFqdnCacheID retrieves the list of DNS lookups intercepted from an endpoint Retrieves the list of DNS lookups intercepted from the specific endpoint,
optionally filtered by endpoint id, DNS name, CIDR IP range or source.
func (*Client) GetFqdnNames ¶
func (a *Client) GetFqdnNames(params *GetFqdnNamesParams, opts ...ClientOption) (*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, opts ...ClientOption) (*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, opts ...ClientOption) (*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, opts ...ClientOption) (*GetIdentityEndpointsOK, error)
GetIdentityEndpoints retrieves identities which are being used by local endpoints
func (*Client) GetIdentityID ¶
func (a *Client) GetIdentityID(params *GetIdentityIDParams, opts ...ClientOption) (*GetIdentityIDOK, error)
GetIdentityID retrieves identity
func (*Client) GetPolicy ¶
func (a *Client) GetPolicy(params *GetPolicyParams, opts ...ClientOption) (*GetPolicyOK, error)
GetPolicy retrieves entire policy tree
Returns the entire policy tree with all children.
func (*Client) GetPolicySelectors ¶
func (a *Client) GetPolicySelectors(params *GetPolicySelectorsParams, opts ...ClientOption) (*GetPolicySelectorsOK, error)
GetPolicySelectors sees what selectors match which identities
func (*Client) PutPolicy ¶
func (a *Client) PutPolicy(params *PutPolicyParams, opts ...ClientOption) (*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 ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface {
DeleteFqdnCache(params *DeleteFqdnCacheParams, opts ...ClientOption) (*DeleteFqdnCacheOK, error)
DeletePolicy(params *DeletePolicyParams, opts ...ClientOption) (*DeletePolicyOK, error)
GetFqdnCache(params *GetFqdnCacheParams, opts ...ClientOption) (*GetFqdnCacheOK, error)
GetFqdnCacheID(params *GetFqdnCacheIDParams, opts ...ClientOption) (*GetFqdnCacheIDOK, error)
GetFqdnNames(params *GetFqdnNamesParams, opts ...ClientOption) (*GetFqdnNamesOK, error)
GetIP(params *GetIPParams, opts ...ClientOption) (*GetIPOK, error)
GetIdentity(params *GetIdentityParams, opts ...ClientOption) (*GetIdentityOK, error)
GetIdentityEndpoints(params *GetIdentityEndpointsParams, opts ...ClientOption) (*GetIdentityEndpointsOK, error)
GetIdentityID(params *GetIdentityIDParams, opts ...ClientOption) (*GetIdentityIDOK, error)
GetPolicy(params *GetPolicyParams, opts ...ClientOption) (*GetPolicyOK, error)
GetPolicySelectors(params *GetPolicySelectorsParams, opts ...ClientOption) (*GetPolicySelectorsOK, error)
PutPolicy(params *PutPolicyParams, opts ...ClientOption) (*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 describes a response with status code 400, 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
func (*DeleteFqdnCacheBadRequest) IsClientError ¶
func (o *DeleteFqdnCacheBadRequest) IsClientError() bool
IsClientError returns true when this delete fqdn cache bad request response has a 4xx status code
func (*DeleteFqdnCacheBadRequest) IsCode ¶
func (o *DeleteFqdnCacheBadRequest) IsCode(code int) bool
IsCode returns true when this delete fqdn cache bad request response a status code equal to that given
func (*DeleteFqdnCacheBadRequest) IsRedirect ¶
func (o *DeleteFqdnCacheBadRequest) IsRedirect() bool
IsRedirect returns true when this delete fqdn cache bad request response has a 3xx status code
func (*DeleteFqdnCacheBadRequest) IsServerError ¶
func (o *DeleteFqdnCacheBadRequest) IsServerError() bool
IsServerError returns true when this delete fqdn cache bad request response has a 5xx status code
func (*DeleteFqdnCacheBadRequest) IsSuccess ¶
func (o *DeleteFqdnCacheBadRequest) IsSuccess() bool
IsSuccess returns true when this delete fqdn cache bad request response has a 2xx status code
func (*DeleteFqdnCacheBadRequest) String ¶
func (o *DeleteFqdnCacheBadRequest) String() string
type DeleteFqdnCacheForbidden ¶
type DeleteFqdnCacheForbidden struct {
}
DeleteFqdnCacheForbidden describes a response with status code 403, with default header values.
Forbidden
func NewDeleteFqdnCacheForbidden ¶
func NewDeleteFqdnCacheForbidden() *DeleteFqdnCacheForbidden
NewDeleteFqdnCacheForbidden creates a DeleteFqdnCacheForbidden with default headers values
func (*DeleteFqdnCacheForbidden) Error ¶
func (o *DeleteFqdnCacheForbidden) Error() string
func (*DeleteFqdnCacheForbidden) IsClientError ¶
func (o *DeleteFqdnCacheForbidden) IsClientError() bool
IsClientError returns true when this delete fqdn cache forbidden response has a 4xx status code
func (*DeleteFqdnCacheForbidden) IsCode ¶
func (o *DeleteFqdnCacheForbidden) IsCode(code int) bool
IsCode returns true when this delete fqdn cache forbidden response a status code equal to that given
func (*DeleteFqdnCacheForbidden) IsRedirect ¶
func (o *DeleteFqdnCacheForbidden) IsRedirect() bool
IsRedirect returns true when this delete fqdn cache forbidden response has a 3xx status code
func (*DeleteFqdnCacheForbidden) IsServerError ¶
func (o *DeleteFqdnCacheForbidden) IsServerError() bool
IsServerError returns true when this delete fqdn cache forbidden response has a 5xx status code
func (*DeleteFqdnCacheForbidden) IsSuccess ¶
func (o *DeleteFqdnCacheForbidden) IsSuccess() bool
IsSuccess returns true when this delete fqdn cache forbidden response has a 2xx status code
func (*DeleteFqdnCacheForbidden) String ¶
func (o *DeleteFqdnCacheForbidden) String() string
type DeleteFqdnCacheOK ¶
type DeleteFqdnCacheOK struct {
}
DeleteFqdnCacheOK describes a response with status code 200, 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
func (*DeleteFqdnCacheOK) IsClientError ¶
func (o *DeleteFqdnCacheOK) IsClientError() bool
IsClientError returns true when this delete fqdn cache o k response has a 4xx status code
func (*DeleteFqdnCacheOK) IsCode ¶
func (o *DeleteFqdnCacheOK) IsCode(code int) bool
IsCode returns true when this delete fqdn cache o k response a status code equal to that given
func (*DeleteFqdnCacheOK) IsRedirect ¶
func (o *DeleteFqdnCacheOK) IsRedirect() bool
IsRedirect returns true when this delete fqdn cache o k response has a 3xx status code
func (*DeleteFqdnCacheOK) IsServerError ¶
func (o *DeleteFqdnCacheOK) IsServerError() bool
IsServerError returns true when this delete fqdn cache o k response has a 5xx status code
func (*DeleteFqdnCacheOK) IsSuccess ¶
func (o *DeleteFqdnCacheOK) IsSuccess() bool
IsSuccess returns true when this delete fqdn cache o k response has a 2xx status code
func (*DeleteFqdnCacheOK) String ¶
func (o *DeleteFqdnCacheOK) String() 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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewDeleteFqdnCacheParamsWithContext ¶
func NewDeleteFqdnCacheParamsWithContext(ctx context.Context) *DeleteFqdnCacheParams
NewDeleteFqdnCacheParamsWithContext creates a new DeleteFqdnCacheParams object with 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 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 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) SetDefaults ¶
func (o *DeleteFqdnCacheParams) SetDefaults()
SetDefaults hydrates default values in the delete fqdn cache params (not the query body).
All values with no default are reset to their zero value.
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) WithDefaults ¶
func (o *DeleteFqdnCacheParams) WithDefaults() *DeleteFqdnCacheParams
WithDefaults hydrates default values in the delete fqdn cache params (not the query body).
All values with no default are reset to their zero value.
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 describes a response with status code 500, 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
func (*DeletePolicyFailure) IsClientError ¶
func (o *DeletePolicyFailure) IsClientError() bool
IsClientError returns true when this delete policy failure response has a 4xx status code
func (*DeletePolicyFailure) IsCode ¶
func (o *DeletePolicyFailure) IsCode(code int) bool
IsCode returns true when this delete policy failure response a status code equal to that given
func (*DeletePolicyFailure) IsRedirect ¶
func (o *DeletePolicyFailure) IsRedirect() bool
IsRedirect returns true when this delete policy failure response has a 3xx status code
func (*DeletePolicyFailure) IsServerError ¶
func (o *DeletePolicyFailure) IsServerError() bool
IsServerError returns true when this delete policy failure response has a 5xx status code
func (*DeletePolicyFailure) IsSuccess ¶
func (o *DeletePolicyFailure) IsSuccess() bool
IsSuccess returns true when this delete policy failure response has a 2xx status code
func (*DeletePolicyFailure) String ¶
func (o *DeletePolicyFailure) String() string
type DeletePolicyForbidden ¶
type DeletePolicyForbidden struct {
}
DeletePolicyForbidden describes a response with status code 403, with default header values.
Forbidden
func NewDeletePolicyForbidden ¶
func NewDeletePolicyForbidden() *DeletePolicyForbidden
NewDeletePolicyForbidden creates a DeletePolicyForbidden with default headers values
func (*DeletePolicyForbidden) Error ¶
func (o *DeletePolicyForbidden) Error() string
func (*DeletePolicyForbidden) IsClientError ¶
func (o *DeletePolicyForbidden) IsClientError() bool
IsClientError returns true when this delete policy forbidden response has a 4xx status code
func (*DeletePolicyForbidden) IsCode ¶
func (o *DeletePolicyForbidden) IsCode(code int) bool
IsCode returns true when this delete policy forbidden response a status code equal to that given
func (*DeletePolicyForbidden) IsRedirect ¶
func (o *DeletePolicyForbidden) IsRedirect() bool
IsRedirect returns true when this delete policy forbidden response has a 3xx status code
func (*DeletePolicyForbidden) IsServerError ¶
func (o *DeletePolicyForbidden) IsServerError() bool
IsServerError returns true when this delete policy forbidden response has a 5xx status code
func (*DeletePolicyForbidden) IsSuccess ¶
func (o *DeletePolicyForbidden) IsSuccess() bool
IsSuccess returns true when this delete policy forbidden response has a 2xx status code
func (*DeletePolicyForbidden) String ¶
func (o *DeletePolicyForbidden) String() string
type DeletePolicyInvalid ¶
DeletePolicyInvalid describes a response with status code 400, 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
func (*DeletePolicyInvalid) IsClientError ¶
func (o *DeletePolicyInvalid) IsClientError() bool
IsClientError returns true when this delete policy invalid response has a 4xx status code
func (*DeletePolicyInvalid) IsCode ¶
func (o *DeletePolicyInvalid) IsCode(code int) bool
IsCode returns true when this delete policy invalid response a status code equal to that given
func (*DeletePolicyInvalid) IsRedirect ¶
func (o *DeletePolicyInvalid) IsRedirect() bool
IsRedirect returns true when this delete policy invalid response has a 3xx status code
func (*DeletePolicyInvalid) IsServerError ¶
func (o *DeletePolicyInvalid) IsServerError() bool
IsServerError returns true when this delete policy invalid response has a 5xx status code
func (*DeletePolicyInvalid) IsSuccess ¶
func (o *DeletePolicyInvalid) IsSuccess() bool
IsSuccess returns true when this delete policy invalid response has a 2xx status code
func (*DeletePolicyInvalid) String ¶
func (o *DeletePolicyInvalid) String() string
type DeletePolicyNotFound ¶
type DeletePolicyNotFound struct {
}
DeletePolicyNotFound describes a response with status code 404, 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
func (*DeletePolicyNotFound) IsClientError ¶
func (o *DeletePolicyNotFound) IsClientError() bool
IsClientError returns true when this delete policy not found response has a 4xx status code
func (*DeletePolicyNotFound) IsCode ¶
func (o *DeletePolicyNotFound) IsCode(code int) bool
IsCode returns true when this delete policy not found response a status code equal to that given
func (*DeletePolicyNotFound) IsRedirect ¶
func (o *DeletePolicyNotFound) IsRedirect() bool
IsRedirect returns true when this delete policy not found response has a 3xx status code
func (*DeletePolicyNotFound) IsServerError ¶
func (o *DeletePolicyNotFound) IsServerError() bool
IsServerError returns true when this delete policy not found response has a 5xx status code
func (*DeletePolicyNotFound) IsSuccess ¶
func (o *DeletePolicyNotFound) IsSuccess() bool
IsSuccess returns true when this delete policy not found response has a 2xx status code
func (*DeletePolicyNotFound) String ¶
func (o *DeletePolicyNotFound) String() string
type DeletePolicyOK ¶
DeletePolicyOK describes a response with status code 200, 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
func (*DeletePolicyOK) IsClientError ¶
func (o *DeletePolicyOK) IsClientError() bool
IsClientError returns true when this delete policy o k response has a 4xx status code
func (*DeletePolicyOK) IsCode ¶
func (o *DeletePolicyOK) IsCode(code int) bool
IsCode returns true when this delete policy o k response a status code equal to that given
func (*DeletePolicyOK) IsRedirect ¶
func (o *DeletePolicyOK) IsRedirect() bool
IsRedirect returns true when this delete policy o k response has a 3xx status code
func (*DeletePolicyOK) IsServerError ¶
func (o *DeletePolicyOK) IsServerError() bool
IsServerError returns true when this delete policy o k response has a 5xx status code
func (*DeletePolicyOK) IsSuccess ¶
func (o *DeletePolicyOK) IsSuccess() bool
IsSuccess returns true when this delete policy o k response has a 2xx status code
func (*DeletePolicyOK) String ¶
func (o *DeletePolicyOK) String() string
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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewDeletePolicyParamsWithContext ¶
func NewDeletePolicyParamsWithContext(ctx context.Context) *DeletePolicyParams
NewDeletePolicyParamsWithContext creates a new DeletePolicyParams object with 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 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 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) SetDefaults ¶
func (o *DeletePolicyParams) SetDefaults()
SetDefaults hydrates default values in the delete policy params (not the query body).
All values with no default are reset to their zero value.
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) WithDefaults ¶
func (o *DeletePolicyParams) WithDefaults() *DeletePolicyParams
WithDefaults hydrates default values in the delete policy params (not the query body).
All values with no default are reset to their zero value.
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 describes a response with status code 400, 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
func (*GetFqdnCacheBadRequest) IsClientError ¶
func (o *GetFqdnCacheBadRequest) IsClientError() bool
IsClientError returns true when this get fqdn cache bad request response has a 4xx status code
func (*GetFqdnCacheBadRequest) IsCode ¶
func (o *GetFqdnCacheBadRequest) IsCode(code int) bool
IsCode returns true when this get fqdn cache bad request response a status code equal to that given
func (*GetFqdnCacheBadRequest) IsRedirect ¶
func (o *GetFqdnCacheBadRequest) IsRedirect() bool
IsRedirect returns true when this get fqdn cache bad request response has a 3xx status code
func (*GetFqdnCacheBadRequest) IsServerError ¶
func (o *GetFqdnCacheBadRequest) IsServerError() bool
IsServerError returns true when this get fqdn cache bad request response has a 5xx status code
func (*GetFqdnCacheBadRequest) IsSuccess ¶
func (o *GetFqdnCacheBadRequest) IsSuccess() bool
IsSuccess returns true when this get fqdn cache bad request response has a 2xx status code
func (*GetFqdnCacheBadRequest) String ¶
func (o *GetFqdnCacheBadRequest) String() string
type GetFqdnCacheIDBadRequest ¶
GetFqdnCacheIDBadRequest describes a response with status code 400, 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
func (*GetFqdnCacheIDBadRequest) IsClientError ¶
func (o *GetFqdnCacheIDBadRequest) IsClientError() bool
IsClientError returns true when this get fqdn cache Id bad request response has a 4xx status code
func (*GetFqdnCacheIDBadRequest) IsCode ¶
func (o *GetFqdnCacheIDBadRequest) IsCode(code int) bool
IsCode returns true when this get fqdn cache Id bad request response a status code equal to that given
func (*GetFqdnCacheIDBadRequest) IsRedirect ¶
func (o *GetFqdnCacheIDBadRequest) IsRedirect() bool
IsRedirect returns true when this get fqdn cache Id bad request response has a 3xx status code
func (*GetFqdnCacheIDBadRequest) IsServerError ¶
func (o *GetFqdnCacheIDBadRequest) IsServerError() bool
IsServerError returns true when this get fqdn cache Id bad request response has a 5xx status code
func (*GetFqdnCacheIDBadRequest) IsSuccess ¶
func (o *GetFqdnCacheIDBadRequest) IsSuccess() bool
IsSuccess returns true when this get fqdn cache Id bad request response has a 2xx status code
func (*GetFqdnCacheIDBadRequest) String ¶
func (o *GetFqdnCacheIDBadRequest) String() string
type GetFqdnCacheIDNotFound ¶
type GetFqdnCacheIDNotFound struct {
}
GetFqdnCacheIDNotFound describes a response with status code 404, 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
func (*GetFqdnCacheIDNotFound) IsClientError ¶
func (o *GetFqdnCacheIDNotFound) IsClientError() bool
IsClientError returns true when this get fqdn cache Id not found response has a 4xx status code
func (*GetFqdnCacheIDNotFound) IsCode ¶
func (o *GetFqdnCacheIDNotFound) IsCode(code int) bool
IsCode returns true when this get fqdn cache Id not found response a status code equal to that given
func (*GetFqdnCacheIDNotFound) IsRedirect ¶
func (o *GetFqdnCacheIDNotFound) IsRedirect() bool
IsRedirect returns true when this get fqdn cache Id not found response has a 3xx status code
func (*GetFqdnCacheIDNotFound) IsServerError ¶
func (o *GetFqdnCacheIDNotFound) IsServerError() bool
IsServerError returns true when this get fqdn cache Id not found response has a 5xx status code
func (*GetFqdnCacheIDNotFound) IsSuccess ¶
func (o *GetFqdnCacheIDNotFound) IsSuccess() bool
IsSuccess returns true when this get fqdn cache Id not found response has a 2xx status code
func (*GetFqdnCacheIDNotFound) String ¶
func (o *GetFqdnCacheIDNotFound) String() string
type GetFqdnCacheIDOK ¶
GetFqdnCacheIDOK describes a response with status code 200, 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
func (*GetFqdnCacheIDOK) IsClientError ¶
func (o *GetFqdnCacheIDOK) IsClientError() bool
IsClientError returns true when this get fqdn cache Id o k response has a 4xx status code
func (*GetFqdnCacheIDOK) IsCode ¶
func (o *GetFqdnCacheIDOK) IsCode(code int) bool
IsCode returns true when this get fqdn cache Id o k response a status code equal to that given
func (*GetFqdnCacheIDOK) IsRedirect ¶
func (o *GetFqdnCacheIDOK) IsRedirect() bool
IsRedirect returns true when this get fqdn cache Id o k response has a 3xx status code
func (*GetFqdnCacheIDOK) IsServerError ¶
func (o *GetFqdnCacheIDOK) IsServerError() bool
IsServerError returns true when this get fqdn cache Id o k response has a 5xx status code
func (*GetFqdnCacheIDOK) IsSuccess ¶
func (o *GetFqdnCacheIDOK) IsSuccess() bool
IsSuccess returns true when this get fqdn cache Id o k response has a 2xx status code
func (*GetFqdnCacheIDOK) String ¶
func (o *GetFqdnCacheIDOK) String() string
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
- cni-attachment-id: CNI attachment ID, e.g. cni-attachment-id:22222:eth0
- container-id: Container runtime ID, e.g. container-id:22222 (deprecated, may not be unique)
- container-name: Container name, e.g. container-name:foobar (deprecated, may not be unique)
- pod-name: pod name for this container if K8s is enabled, e.g. pod-name:default:foobar (deprecated, may not be unique)
- cep-name: cep name for this container if K8s is enabled, e.g. pod-name:default:foobar-net1
- docker-endpoint: Docker libnetwork endpoint ID, e.g. docker-endpoint:4444
*/
ID string
/* Matchpattern.
A toFQDNs compatible matchPattern expression
*/
Matchpattern *string
/* Source.
Source from which FQDN entries come from
*/
Source *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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetFqdnCacheIDParamsWithContext ¶
func NewGetFqdnCacheIDParamsWithContext(ctx context.Context) *GetFqdnCacheIDParams
NewGetFqdnCacheIDParamsWithContext creates a new GetFqdnCacheIDParams object with 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 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 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) SetDefaults ¶
func (o *GetFqdnCacheIDParams) SetDefaults()
SetDefaults hydrates default values in the get fqdn cache ID params (not the query body).
All values with no default are reset to their zero value.
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) SetSource ¶
func (o *GetFqdnCacheIDParams) SetSource(source *string)
SetSource adds the source 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) WithDefaults ¶
func (o *GetFqdnCacheIDParams) WithDefaults() *GetFqdnCacheIDParams
WithDefaults hydrates default values in the get fqdn cache ID params (not the query body).
All values with no default are reset to their zero value.
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) WithSource ¶
func (o *GetFqdnCacheIDParams) WithSource(source *string) *GetFqdnCacheIDParams
WithSource adds the source 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 describes a response with status code 404, 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
func (*GetFqdnCacheNotFound) IsClientError ¶
func (o *GetFqdnCacheNotFound) IsClientError() bool
IsClientError returns true when this get fqdn cache not found response has a 4xx status code
func (*GetFqdnCacheNotFound) IsCode ¶
func (o *GetFqdnCacheNotFound) IsCode(code int) bool
IsCode returns true when this get fqdn cache not found response a status code equal to that given
func (*GetFqdnCacheNotFound) IsRedirect ¶
func (o *GetFqdnCacheNotFound) IsRedirect() bool
IsRedirect returns true when this get fqdn cache not found response has a 3xx status code
func (*GetFqdnCacheNotFound) IsServerError ¶
func (o *GetFqdnCacheNotFound) IsServerError() bool
IsServerError returns true when this get fqdn cache not found response has a 5xx status code
func (*GetFqdnCacheNotFound) IsSuccess ¶
func (o *GetFqdnCacheNotFound) IsSuccess() bool
IsSuccess returns true when this get fqdn cache not found response has a 2xx status code
func (*GetFqdnCacheNotFound) String ¶
func (o *GetFqdnCacheNotFound) String() string
type GetFqdnCacheOK ¶
GetFqdnCacheOK describes a response with status code 200, 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
func (*GetFqdnCacheOK) IsClientError ¶
func (o *GetFqdnCacheOK) IsClientError() bool
IsClientError returns true when this get fqdn cache o k response has a 4xx status code
func (*GetFqdnCacheOK) IsCode ¶
func (o *GetFqdnCacheOK) IsCode(code int) bool
IsCode returns true when this get fqdn cache o k response a status code equal to that given
func (*GetFqdnCacheOK) IsRedirect ¶
func (o *GetFqdnCacheOK) IsRedirect() bool
IsRedirect returns true when this get fqdn cache o k response has a 3xx status code
func (*GetFqdnCacheOK) IsServerError ¶
func (o *GetFqdnCacheOK) IsServerError() bool
IsServerError returns true when this get fqdn cache o k response has a 5xx status code
func (*GetFqdnCacheOK) IsSuccess ¶
func (o *GetFqdnCacheOK) IsSuccess() bool
IsSuccess returns true when this get fqdn cache o k response has a 2xx status code
func (*GetFqdnCacheOK) String ¶
func (o *GetFqdnCacheOK) String() string
type GetFqdnCacheParams ¶
type GetFqdnCacheParams struct {
/* Cidr.
A CIDR range of IPs
*/
Cidr *string
/* Matchpattern.
A toFQDNs compatible matchPattern expression
*/
Matchpattern *string
/* Source.
Source from which FQDN entries come from
*/
Source *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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetFqdnCacheParamsWithContext ¶
func NewGetFqdnCacheParamsWithContext(ctx context.Context) *GetFqdnCacheParams
NewGetFqdnCacheParamsWithContext creates a new GetFqdnCacheParams object with 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 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 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) SetDefaults ¶
func (o *GetFqdnCacheParams) SetDefaults()
SetDefaults hydrates default values in the get fqdn cache params (not the query body).
All values with no default are reset to their zero value.
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) SetSource ¶
func (o *GetFqdnCacheParams) SetSource(source *string)
SetSource adds the source 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) WithDefaults ¶
func (o *GetFqdnCacheParams) WithDefaults() *GetFqdnCacheParams
WithDefaults hydrates default values in the get fqdn cache params (not the query body).
All values with no default are reset to their zero value.
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) WithSource ¶
func (o *GetFqdnCacheParams) WithSource(source *string) *GetFqdnCacheParams
WithSource adds the source 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 describes a response with status code 400, 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
func (*GetFqdnNamesBadRequest) IsClientError ¶
func (o *GetFqdnNamesBadRequest) IsClientError() bool
IsClientError returns true when this get fqdn names bad request response has a 4xx status code
func (*GetFqdnNamesBadRequest) IsCode ¶
func (o *GetFqdnNamesBadRequest) IsCode(code int) bool
IsCode returns true when this get fqdn names bad request response a status code equal to that given
func (*GetFqdnNamesBadRequest) IsRedirect ¶
func (o *GetFqdnNamesBadRequest) IsRedirect() bool
IsRedirect returns true when this get fqdn names bad request response has a 3xx status code
func (*GetFqdnNamesBadRequest) IsServerError ¶
func (o *GetFqdnNamesBadRequest) IsServerError() bool
IsServerError returns true when this get fqdn names bad request response has a 5xx status code
func (*GetFqdnNamesBadRequest) IsSuccess ¶
func (o *GetFqdnNamesBadRequest) IsSuccess() bool
IsSuccess returns true when this get fqdn names bad request response has a 2xx status code
func (*GetFqdnNamesBadRequest) String ¶
func (o *GetFqdnNamesBadRequest) String() string
type GetFqdnNamesOK ¶
type GetFqdnNamesOK struct {
Payload *models.NameManager
}
GetFqdnNamesOK describes a response with status code 200, 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
func (*GetFqdnNamesOK) IsClientError ¶
func (o *GetFqdnNamesOK) IsClientError() bool
IsClientError returns true when this get fqdn names o k response has a 4xx status code
func (*GetFqdnNamesOK) IsCode ¶
func (o *GetFqdnNamesOK) IsCode(code int) bool
IsCode returns true when this get fqdn names o k response a status code equal to that given
func (*GetFqdnNamesOK) IsRedirect ¶
func (o *GetFqdnNamesOK) IsRedirect() bool
IsRedirect returns true when this get fqdn names o k response has a 3xx status code
func (*GetFqdnNamesOK) IsServerError ¶
func (o *GetFqdnNamesOK) IsServerError() bool
IsServerError returns true when this get fqdn names o k response has a 5xx status code
func (*GetFqdnNamesOK) IsSuccess ¶
func (o *GetFqdnNamesOK) IsSuccess() bool
IsSuccess returns true when this get fqdn names o k response has a 2xx status code
func (*GetFqdnNamesOK) String ¶
func (o *GetFqdnNamesOK) String() string
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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetFqdnNamesParamsWithContext ¶
func NewGetFqdnNamesParamsWithContext(ctx context.Context) *GetFqdnNamesParams
NewGetFqdnNamesParamsWithContext creates a new GetFqdnNamesParams object with 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 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 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) SetDefaults ¶
func (o *GetFqdnNamesParams) SetDefaults()
SetDefaults hydrates default values in the get fqdn names params (not the query body).
All values with no default are reset to their zero value.
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) WithDefaults ¶
func (o *GetFqdnNamesParams) WithDefaults() *GetFqdnNamesParams
WithDefaults hydrates default values in the get fqdn names params (not the query body).
All values with no default are reset to their zero value.
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 describes a response with status code 400, 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
func (*GetIPBadRequest) IsClientError ¶
func (o *GetIPBadRequest) IsClientError() bool
IsClientError returns true when this get Ip bad request response has a 4xx status code
func (*GetIPBadRequest) IsCode ¶
func (o *GetIPBadRequest) IsCode(code int) bool
IsCode returns true when this get Ip bad request response a status code equal to that given
func (*GetIPBadRequest) IsRedirect ¶
func (o *GetIPBadRequest) IsRedirect() bool
IsRedirect returns true when this get Ip bad request response has a 3xx status code
func (*GetIPBadRequest) IsServerError ¶
func (o *GetIPBadRequest) IsServerError() bool
IsServerError returns true when this get Ip bad request response has a 5xx status code
func (*GetIPBadRequest) IsSuccess ¶
func (o *GetIPBadRequest) IsSuccess() bool
IsSuccess returns true when this get Ip bad request response has a 2xx status code
func (*GetIPBadRequest) String ¶
func (o *GetIPBadRequest) String() string
type GetIPNotFound ¶
type GetIPNotFound struct {
}
GetIPNotFound describes a response with status code 404, 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
func (*GetIPNotFound) IsClientError ¶
func (o *GetIPNotFound) IsClientError() bool
IsClientError returns true when this get Ip not found response has a 4xx status code
func (*GetIPNotFound) IsCode ¶
func (o *GetIPNotFound) IsCode(code int) bool
IsCode returns true when this get Ip not found response a status code equal to that given
func (*GetIPNotFound) IsRedirect ¶
func (o *GetIPNotFound) IsRedirect() bool
IsRedirect returns true when this get Ip not found response has a 3xx status code
func (*GetIPNotFound) IsServerError ¶
func (o *GetIPNotFound) IsServerError() bool
IsServerError returns true when this get Ip not found response has a 5xx status code
func (*GetIPNotFound) IsSuccess ¶
func (o *GetIPNotFound) IsSuccess() bool
IsSuccess returns true when this get Ip not found response has a 2xx status code
func (*GetIPNotFound) String ¶
func (o *GetIPNotFound) String() string
type GetIPOK ¶
type GetIPOK struct {
Payload []*models.IPListEntry
}
GetIPOK describes a response with status code 200, 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
func (*GetIPOK) IsClientError ¶
IsClientError returns true when this get Ip o k response has a 4xx status code
func (*GetIPOK) IsCode ¶
IsCode returns true when this get Ip o k response a status code equal to that given
func (*GetIPOK) IsRedirect ¶
IsRedirect returns true when this get Ip o k response has a 3xx status code
func (*GetIPOK) IsServerError ¶
IsServerError returns true when this get Ip o k response has a 5xx status code
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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetIPParamsWithContext ¶
func NewGetIPParamsWithContext(ctx context.Context) *GetIPParams
NewGetIPParamsWithContext creates a new GetIPParams object with 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 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 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) SetDefaults ¶
func (o *GetIPParams) SetDefaults()
SetDefaults hydrates default values in the get IP params (not the query body).
All values with no default are reset to their zero value.
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) WithDefaults ¶
func (o *GetIPParams) WithDefaults() *GetIPParams
WithDefaults hydrates default values in the get IP params (not the query body).
All values with no default are reset to their zero value.
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 describes a response with status code 404, 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
func (*GetIdentityEndpointsNotFound) IsClientError ¶
func (o *GetIdentityEndpointsNotFound) IsClientError() bool
IsClientError returns true when this get identity endpoints not found response has a 4xx status code
func (*GetIdentityEndpointsNotFound) IsCode ¶
func (o *GetIdentityEndpointsNotFound) IsCode(code int) bool
IsCode returns true when this get identity endpoints not found response a status code equal to that given
func (*GetIdentityEndpointsNotFound) IsRedirect ¶
func (o *GetIdentityEndpointsNotFound) IsRedirect() bool
IsRedirect returns true when this get identity endpoints not found response has a 3xx status code
func (*GetIdentityEndpointsNotFound) IsServerError ¶
func (o *GetIdentityEndpointsNotFound) IsServerError() bool
IsServerError returns true when this get identity endpoints not found response has a 5xx status code
func (*GetIdentityEndpointsNotFound) IsSuccess ¶
func (o *GetIdentityEndpointsNotFound) IsSuccess() bool
IsSuccess returns true when this get identity endpoints not found response has a 2xx status code
func (*GetIdentityEndpointsNotFound) String ¶
func (o *GetIdentityEndpointsNotFound) String() string
type GetIdentityEndpointsOK ¶
type GetIdentityEndpointsOK struct {
Payload []*models.IdentityEndpoints
}
GetIdentityEndpointsOK describes a response with status code 200, 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
func (*GetIdentityEndpointsOK) IsClientError ¶
func (o *GetIdentityEndpointsOK) IsClientError() bool
IsClientError returns true when this get identity endpoints o k response has a 4xx status code
func (*GetIdentityEndpointsOK) IsCode ¶
func (o *GetIdentityEndpointsOK) IsCode(code int) bool
IsCode returns true when this get identity endpoints o k response a status code equal to that given
func (*GetIdentityEndpointsOK) IsRedirect ¶
func (o *GetIdentityEndpointsOK) IsRedirect() bool
IsRedirect returns true when this get identity endpoints o k response has a 3xx status code
func (*GetIdentityEndpointsOK) IsServerError ¶
func (o *GetIdentityEndpointsOK) IsServerError() bool
IsServerError returns true when this get identity endpoints o k response has a 5xx status code
func (*GetIdentityEndpointsOK) IsSuccess ¶
func (o *GetIdentityEndpointsOK) IsSuccess() bool
IsSuccess returns true when this get identity endpoints o k response has a 2xx status code
func (*GetIdentityEndpointsOK) String ¶
func (o *GetIdentityEndpointsOK) String() string
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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetIdentityEndpointsParamsWithContext ¶
func NewGetIdentityEndpointsParamsWithContext(ctx context.Context) *GetIdentityEndpointsParams
NewGetIdentityEndpointsParamsWithContext creates a new GetIdentityEndpointsParams object with 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 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 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) SetDefaults ¶
func (o *GetIdentityEndpointsParams) SetDefaults()
SetDefaults hydrates default values in the get identity endpoints params (not the query body).
All values with no default are reset to their zero value.
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) WithDefaults ¶
func (o *GetIdentityEndpointsParams) WithDefaults() *GetIdentityEndpointsParams
WithDefaults hydrates default values in the get identity endpoints params (not the query body).
All values with no default are reset to their zero value.
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 describes a response with status code 400, 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
func (*GetIdentityIDBadRequest) IsClientError ¶
func (o *GetIdentityIDBadRequest) IsClientError() bool
IsClientError returns true when this get identity Id bad request response has a 4xx status code
func (*GetIdentityIDBadRequest) IsCode ¶
func (o *GetIdentityIDBadRequest) IsCode(code int) bool
IsCode returns true when this get identity Id bad request response a status code equal to that given
func (*GetIdentityIDBadRequest) IsRedirect ¶
func (o *GetIdentityIDBadRequest) IsRedirect() bool
IsRedirect returns true when this get identity Id bad request response has a 3xx status code
func (*GetIdentityIDBadRequest) IsServerError ¶
func (o *GetIdentityIDBadRequest) IsServerError() bool
IsServerError returns true when this get identity Id bad request response has a 5xx status code
func (*GetIdentityIDBadRequest) IsSuccess ¶
func (o *GetIdentityIDBadRequest) IsSuccess() bool
IsSuccess returns true when this get identity Id bad request response has a 2xx status code
func (*GetIdentityIDBadRequest) String ¶
func (o *GetIdentityIDBadRequest) String() string
type GetIdentityIDInvalidStorageFormat ¶
GetIdentityIDInvalidStorageFormat describes a response with status code 521, 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
func (*GetIdentityIDInvalidStorageFormat) IsClientError ¶
func (o *GetIdentityIDInvalidStorageFormat) IsClientError() bool
IsClientError returns true when this get identity Id invalid storage format response has a 4xx status code
func (*GetIdentityIDInvalidStorageFormat) IsCode ¶
func (o *GetIdentityIDInvalidStorageFormat) IsCode(code int) bool
IsCode returns true when this get identity Id invalid storage format response a status code equal to that given
func (*GetIdentityIDInvalidStorageFormat) IsRedirect ¶
func (o *GetIdentityIDInvalidStorageFormat) IsRedirect() bool
IsRedirect returns true when this get identity Id invalid storage format response has a 3xx status code
func (*GetIdentityIDInvalidStorageFormat) IsServerError ¶
func (o *GetIdentityIDInvalidStorageFormat) IsServerError() bool
IsServerError returns true when this get identity Id invalid storage format response has a 5xx status code
func (*GetIdentityIDInvalidStorageFormat) IsSuccess ¶
func (o *GetIdentityIDInvalidStorageFormat) IsSuccess() bool
IsSuccess returns true when this get identity Id invalid storage format response has a 2xx status code
func (*GetIdentityIDInvalidStorageFormat) String ¶
func (o *GetIdentityIDInvalidStorageFormat) String() string
type GetIdentityIDNotFound ¶
type GetIdentityIDNotFound struct {
}
GetIdentityIDNotFound describes a response with status code 404, 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
func (*GetIdentityIDNotFound) IsClientError ¶
func (o *GetIdentityIDNotFound) IsClientError() bool
IsClientError returns true when this get identity Id not found response has a 4xx status code
func (*GetIdentityIDNotFound) IsCode ¶
func (o *GetIdentityIDNotFound) IsCode(code int) bool
IsCode returns true when this get identity Id not found response a status code equal to that given
func (*GetIdentityIDNotFound) IsRedirect ¶
func (o *GetIdentityIDNotFound) IsRedirect() bool
IsRedirect returns true when this get identity Id not found response has a 3xx status code
func (*GetIdentityIDNotFound) IsServerError ¶
func (o *GetIdentityIDNotFound) IsServerError() bool
IsServerError returns true when this get identity Id not found response has a 5xx status code
func (*GetIdentityIDNotFound) IsSuccess ¶
func (o *GetIdentityIDNotFound) IsSuccess() bool
IsSuccess returns true when this get identity Id not found response has a 2xx status code
func (*GetIdentityIDNotFound) String ¶
func (o *GetIdentityIDNotFound) String() string
type GetIdentityIDOK ¶
GetIdentityIDOK describes a response with status code 200, 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
func (*GetIdentityIDOK) IsClientError ¶
func (o *GetIdentityIDOK) IsClientError() bool
IsClientError returns true when this get identity Id o k response has a 4xx status code
func (*GetIdentityIDOK) IsCode ¶
func (o *GetIdentityIDOK) IsCode(code int) bool
IsCode returns true when this get identity Id o k response a status code equal to that given
func (*GetIdentityIDOK) IsRedirect ¶
func (o *GetIdentityIDOK) IsRedirect() bool
IsRedirect returns true when this get identity Id o k response has a 3xx status code
func (*GetIdentityIDOK) IsServerError ¶
func (o *GetIdentityIDOK) IsServerError() bool
IsServerError returns true when this get identity Id o k response has a 5xx status code
func (*GetIdentityIDOK) IsSuccess ¶
func (o *GetIdentityIDOK) IsSuccess() bool
IsSuccess returns true when this get identity Id o k response has a 2xx status code
func (*GetIdentityIDOK) String ¶
func (o *GetIdentityIDOK) String() 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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetIdentityIDParamsWithContext ¶
func NewGetIdentityIDParamsWithContext(ctx context.Context) *GetIdentityIDParams
NewGetIdentityIDParamsWithContext creates a new GetIdentityIDParams object with 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 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 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) SetDefaults ¶
func (o *GetIdentityIDParams) SetDefaults()
SetDefaults hydrates default values in the get identity ID params (not the query body).
All values with no default are reset to their zero value.
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) WithDefaults ¶
func (o *GetIdentityIDParams) WithDefaults() *GetIdentityIDParams
WithDefaults hydrates default values in the get identity ID params (not the query body).
All values with no default are reset to their zero value.
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 describes a response with status code 520, 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
func (*GetIdentityIDUnreachable) IsClientError ¶
func (o *GetIdentityIDUnreachable) IsClientError() bool
IsClientError returns true when this get identity Id unreachable response has a 4xx status code
func (*GetIdentityIDUnreachable) IsCode ¶
func (o *GetIdentityIDUnreachable) IsCode(code int) bool
IsCode returns true when this get identity Id unreachable response a status code equal to that given
func (*GetIdentityIDUnreachable) IsRedirect ¶
func (o *GetIdentityIDUnreachable) IsRedirect() bool
IsRedirect returns true when this get identity Id unreachable response has a 3xx status code
func (*GetIdentityIDUnreachable) IsServerError ¶
func (o *GetIdentityIDUnreachable) IsServerError() bool
IsServerError returns true when this get identity Id unreachable response has a 5xx status code
func (*GetIdentityIDUnreachable) IsSuccess ¶
func (o *GetIdentityIDUnreachable) IsSuccess() bool
IsSuccess returns true when this get identity Id unreachable response has a 2xx status code
func (*GetIdentityIDUnreachable) String ¶
func (o *GetIdentityIDUnreachable) String() string
type GetIdentityInvalidStorageFormat ¶
GetIdentityInvalidStorageFormat describes a response with status code 521, 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
func (*GetIdentityInvalidStorageFormat) IsClientError ¶
func (o *GetIdentityInvalidStorageFormat) IsClientError() bool
IsClientError returns true when this get identity invalid storage format response has a 4xx status code
func (*GetIdentityInvalidStorageFormat) IsCode ¶
func (o *GetIdentityInvalidStorageFormat) IsCode(code int) bool
IsCode returns true when this get identity invalid storage format response a status code equal to that given
func (*GetIdentityInvalidStorageFormat) IsRedirect ¶
func (o *GetIdentityInvalidStorageFormat) IsRedirect() bool
IsRedirect returns true when this get identity invalid storage format response has a 3xx status code
func (*GetIdentityInvalidStorageFormat) IsServerError ¶
func (o *GetIdentityInvalidStorageFormat) IsServerError() bool
IsServerError returns true when this get identity invalid storage format response has a 5xx status code
func (*GetIdentityInvalidStorageFormat) IsSuccess ¶
func (o *GetIdentityInvalidStorageFormat) IsSuccess() bool
IsSuccess returns true when this get identity invalid storage format response has a 2xx status code
func (*GetIdentityInvalidStorageFormat) String ¶
func (o *GetIdentityInvalidStorageFormat) String() string
type GetIdentityNotFound ¶
type GetIdentityNotFound struct {
}
GetIdentityNotFound describes a response with status code 404, 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
func (*GetIdentityNotFound) IsClientError ¶
func (o *GetIdentityNotFound) IsClientError() bool
IsClientError returns true when this get identity not found response has a 4xx status code
func (*GetIdentityNotFound) IsCode ¶
func (o *GetIdentityNotFound) IsCode(code int) bool
IsCode returns true when this get identity not found response a status code equal to that given
func (*GetIdentityNotFound) IsRedirect ¶
func (o *GetIdentityNotFound) IsRedirect() bool
IsRedirect returns true when this get identity not found response has a 3xx status code
func (*GetIdentityNotFound) IsServerError ¶
func (o *GetIdentityNotFound) IsServerError() bool
IsServerError returns true when this get identity not found response has a 5xx status code
func (*GetIdentityNotFound) IsSuccess ¶
func (o *GetIdentityNotFound) IsSuccess() bool
IsSuccess returns true when this get identity not found response has a 2xx status code
func (*GetIdentityNotFound) String ¶
func (o *GetIdentityNotFound) String() string
type GetIdentityOK ¶
GetIdentityOK describes a response with status code 200, 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
func (*GetIdentityOK) IsClientError ¶
func (o *GetIdentityOK) IsClientError() bool
IsClientError returns true when this get identity o k response has a 4xx status code
func (*GetIdentityOK) IsCode ¶
func (o *GetIdentityOK) IsCode(code int) bool
IsCode returns true when this get identity o k response a status code equal to that given
func (*GetIdentityOK) IsRedirect ¶
func (o *GetIdentityOK) IsRedirect() bool
IsRedirect returns true when this get identity o k response has a 3xx status code
func (*GetIdentityOK) IsServerError ¶
func (o *GetIdentityOK) IsServerError() bool
IsServerError returns true when this get identity o k response has a 5xx status code
func (*GetIdentityOK) IsSuccess ¶
func (o *GetIdentityOK) IsSuccess() bool
IsSuccess returns true when this get identity o k response has a 2xx status code
func (*GetIdentityOK) String ¶
func (o *GetIdentityOK) String() 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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetIdentityParamsWithContext ¶
func NewGetIdentityParamsWithContext(ctx context.Context) *GetIdentityParams
NewGetIdentityParamsWithContext creates a new GetIdentityParams object with 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 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 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) SetDefaults ¶
func (o *GetIdentityParams) SetDefaults()
SetDefaults hydrates default values in the get identity params (not the query body).
All values with no default are reset to their zero value.
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) WithDefaults ¶
func (o *GetIdentityParams) WithDefaults() *GetIdentityParams
WithDefaults hydrates default values in the get identity params (not the query body).
All values with no default are reset to their zero value.
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 describes a response with status code 520, 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
func (*GetIdentityUnreachable) IsClientError ¶
func (o *GetIdentityUnreachable) IsClientError() bool
IsClientError returns true when this get identity unreachable response has a 4xx status code
func (*GetIdentityUnreachable) IsCode ¶
func (o *GetIdentityUnreachable) IsCode(code int) bool
IsCode returns true when this get identity unreachable response a status code equal to that given
func (*GetIdentityUnreachable) IsRedirect ¶
func (o *GetIdentityUnreachable) IsRedirect() bool
IsRedirect returns true when this get identity unreachable response has a 3xx status code
func (*GetIdentityUnreachable) IsServerError ¶
func (o *GetIdentityUnreachable) IsServerError() bool
IsServerError returns true when this get identity unreachable response has a 5xx status code
func (*GetIdentityUnreachable) IsSuccess ¶
func (o *GetIdentityUnreachable) IsSuccess() bool
IsSuccess returns true when this get identity unreachable response has a 2xx status code
func (*GetIdentityUnreachable) String ¶
func (o *GetIdentityUnreachable) String() string
type GetPolicyNotFound ¶
type GetPolicyNotFound struct {
}
GetPolicyNotFound describes a response with status code 404, 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
func (*GetPolicyNotFound) IsClientError ¶
func (o *GetPolicyNotFound) IsClientError() bool
IsClientError returns true when this get policy not found response has a 4xx status code
func (*GetPolicyNotFound) IsCode ¶
func (o *GetPolicyNotFound) IsCode(code int) bool
IsCode returns true when this get policy not found response a status code equal to that given
func (*GetPolicyNotFound) IsRedirect ¶
func (o *GetPolicyNotFound) IsRedirect() bool
IsRedirect returns true when this get policy not found response has a 3xx status code
func (*GetPolicyNotFound) IsServerError ¶
func (o *GetPolicyNotFound) IsServerError() bool
IsServerError returns true when this get policy not found response has a 5xx status code
func (*GetPolicyNotFound) IsSuccess ¶
func (o *GetPolicyNotFound) IsSuccess() bool
IsSuccess returns true when this get policy not found response has a 2xx status code
func (*GetPolicyNotFound) String ¶
func (o *GetPolicyNotFound) String() string
type GetPolicyOK ¶
GetPolicyOK describes a response with status code 200, 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
func (*GetPolicyOK) IsClientError ¶
func (o *GetPolicyOK) IsClientError() bool
IsClientError returns true when this get policy o k response has a 4xx status code
func (*GetPolicyOK) IsCode ¶
func (o *GetPolicyOK) IsCode(code int) bool
IsCode returns true when this get policy o k response a status code equal to that given
func (*GetPolicyOK) IsRedirect ¶
func (o *GetPolicyOK) IsRedirect() bool
IsRedirect returns true when this get policy o k response has a 3xx status code
func (*GetPolicyOK) IsServerError ¶
func (o *GetPolicyOK) IsServerError() bool
IsServerError returns true when this get policy o k response has a 5xx status code
func (*GetPolicyOK) IsSuccess ¶
func (o *GetPolicyOK) IsSuccess() bool
IsSuccess returns true when this get policy o k response has a 2xx status code
func (*GetPolicyOK) String ¶
func (o *GetPolicyOK) String() 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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetPolicyParamsWithContext ¶
func NewGetPolicyParamsWithContext(ctx context.Context) *GetPolicyParams
NewGetPolicyParamsWithContext creates a new GetPolicyParams object with 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 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 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) SetDefaults ¶
func (o *GetPolicyParams) SetDefaults()
SetDefaults hydrates default values in the get policy params (not the query body).
All values with no default are reset to their zero value.
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) WithDefaults ¶
func (o *GetPolicyParams) WithDefaults() *GetPolicyParams
WithDefaults hydrates default values in the get policy params (not the query body).
All values with no default are reset to their zero value.
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 GetPolicySelectorsOK ¶
type GetPolicySelectorsOK struct {
Payload models.SelectorCache
}
GetPolicySelectorsOK describes a response with status code 200, 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
func (*GetPolicySelectorsOK) IsClientError ¶
func (o *GetPolicySelectorsOK) IsClientError() bool
IsClientError returns true when this get policy selectors o k response has a 4xx status code
func (*GetPolicySelectorsOK) IsCode ¶
func (o *GetPolicySelectorsOK) IsCode(code int) bool
IsCode returns true when this get policy selectors o k response a status code equal to that given
func (*GetPolicySelectorsOK) IsRedirect ¶
func (o *GetPolicySelectorsOK) IsRedirect() bool
IsRedirect returns true when this get policy selectors o k response has a 3xx status code
func (*GetPolicySelectorsOK) IsServerError ¶
func (o *GetPolicySelectorsOK) IsServerError() bool
IsServerError returns true when this get policy selectors o k response has a 5xx status code
func (*GetPolicySelectorsOK) IsSuccess ¶
func (o *GetPolicySelectorsOK) IsSuccess() bool
IsSuccess returns true when this get policy selectors o k response has a 2xx status code
func (*GetPolicySelectorsOK) String ¶
func (o *GetPolicySelectorsOK) String() string
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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetPolicySelectorsParamsWithContext ¶
func NewGetPolicySelectorsParamsWithContext(ctx context.Context) *GetPolicySelectorsParams
NewGetPolicySelectorsParamsWithContext creates a new GetPolicySelectorsParams object with 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 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 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) SetDefaults ¶
func (o *GetPolicySelectorsParams) SetDefaults()
SetDefaults hydrates default values in the get policy selectors params (not the query body).
All values with no default are reset to their zero value.
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) WithDefaults ¶
func (o *GetPolicySelectorsParams) WithDefaults() *GetPolicySelectorsParams
WithDefaults hydrates default values in the get policy selectors params (not the query body).
All values with no default are reset to their zero value.
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 describes a response with status code 500, 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
func (*PutPolicyFailure) IsClientError ¶
func (o *PutPolicyFailure) IsClientError() bool
IsClientError returns true when this put policy failure response has a 4xx status code
func (*PutPolicyFailure) IsCode ¶
func (o *PutPolicyFailure) IsCode(code int) bool
IsCode returns true when this put policy failure response a status code equal to that given
func (*PutPolicyFailure) IsRedirect ¶
func (o *PutPolicyFailure) IsRedirect() bool
IsRedirect returns true when this put policy failure response has a 3xx status code
func (*PutPolicyFailure) IsServerError ¶
func (o *PutPolicyFailure) IsServerError() bool
IsServerError returns true when this put policy failure response has a 5xx status code
func (*PutPolicyFailure) IsSuccess ¶
func (o *PutPolicyFailure) IsSuccess() bool
IsSuccess returns true when this put policy failure response has a 2xx status code
func (*PutPolicyFailure) String ¶
func (o *PutPolicyFailure) String() string
type PutPolicyForbidden ¶
type PutPolicyForbidden struct {
}
PutPolicyForbidden describes a response with status code 403, with default header values.
Forbidden
func NewPutPolicyForbidden ¶
func NewPutPolicyForbidden() *PutPolicyForbidden
NewPutPolicyForbidden creates a PutPolicyForbidden with default headers values
func (*PutPolicyForbidden) Error ¶
func (o *PutPolicyForbidden) Error() string
func (*PutPolicyForbidden) IsClientError ¶
func (o *PutPolicyForbidden) IsClientError() bool
IsClientError returns true when this put policy forbidden response has a 4xx status code
func (*PutPolicyForbidden) IsCode ¶
func (o *PutPolicyForbidden) IsCode(code int) bool
IsCode returns true when this put policy forbidden response a status code equal to that given
func (*PutPolicyForbidden) IsRedirect ¶
func (o *PutPolicyForbidden) IsRedirect() bool
IsRedirect returns true when this put policy forbidden response has a 3xx status code
func (*PutPolicyForbidden) IsServerError ¶
func (o *PutPolicyForbidden) IsServerError() bool
IsServerError returns true when this put policy forbidden response has a 5xx status code
func (*PutPolicyForbidden) IsSuccess ¶
func (o *PutPolicyForbidden) IsSuccess() bool
IsSuccess returns true when this put policy forbidden response has a 2xx status code
func (*PutPolicyForbidden) String ¶
func (o *PutPolicyForbidden) String() string
type PutPolicyInvalidPath ¶
PutPolicyInvalidPath describes a response with status code 460, 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
func (*PutPolicyInvalidPath) IsClientError ¶
func (o *PutPolicyInvalidPath) IsClientError() bool
IsClientError returns true when this put policy invalid path response has a 4xx status code
func (*PutPolicyInvalidPath) IsCode ¶
func (o *PutPolicyInvalidPath) IsCode(code int) bool
IsCode returns true when this put policy invalid path response a status code equal to that given
func (*PutPolicyInvalidPath) IsRedirect ¶
func (o *PutPolicyInvalidPath) IsRedirect() bool
IsRedirect returns true when this put policy invalid path response has a 3xx status code
func (*PutPolicyInvalidPath) IsServerError ¶
func (o *PutPolicyInvalidPath) IsServerError() bool
IsServerError returns true when this put policy invalid path response has a 5xx status code
func (*PutPolicyInvalidPath) IsSuccess ¶
func (o *PutPolicyInvalidPath) IsSuccess() bool
IsSuccess returns true when this put policy invalid path response has a 2xx status code
func (*PutPolicyInvalidPath) String ¶
func (o *PutPolicyInvalidPath) String() string
type PutPolicyInvalidPolicy ¶
PutPolicyInvalidPolicy describes a response with status code 400, 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
func (*PutPolicyInvalidPolicy) IsClientError ¶
func (o *PutPolicyInvalidPolicy) IsClientError() bool
IsClientError returns true when this put policy invalid policy response has a 4xx status code
func (*PutPolicyInvalidPolicy) IsCode ¶
func (o *PutPolicyInvalidPolicy) IsCode(code int) bool
IsCode returns true when this put policy invalid policy response a status code equal to that given
func (*PutPolicyInvalidPolicy) IsRedirect ¶
func (o *PutPolicyInvalidPolicy) IsRedirect() bool
IsRedirect returns true when this put policy invalid policy response has a 3xx status code
func (*PutPolicyInvalidPolicy) IsServerError ¶
func (o *PutPolicyInvalidPolicy) IsServerError() bool
IsServerError returns true when this put policy invalid policy response has a 5xx status code
func (*PutPolicyInvalidPolicy) IsSuccess ¶
func (o *PutPolicyInvalidPolicy) IsSuccess() bool
IsSuccess returns true when this put policy invalid policy response has a 2xx status code
func (*PutPolicyInvalidPolicy) String ¶
func (o *PutPolicyInvalidPolicy) String() string
type PutPolicyOK ¶
PutPolicyOK describes a response with status code 200, 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
func (*PutPolicyOK) IsClientError ¶
func (o *PutPolicyOK) IsClientError() bool
IsClientError returns true when this put policy o k response has a 4xx status code
func (*PutPolicyOK) IsCode ¶
func (o *PutPolicyOK) IsCode(code int) bool
IsCode returns true when this put policy o k response a status code equal to that given
func (*PutPolicyOK) IsRedirect ¶
func (o *PutPolicyOK) IsRedirect() bool
IsRedirect returns true when this put policy o k response has a 3xx status code
func (*PutPolicyOK) IsServerError ¶
func (o *PutPolicyOK) IsServerError() bool
IsServerError returns true when this put policy o k response has a 5xx status code
func (*PutPolicyOK) IsSuccess ¶
func (o *PutPolicyOK) IsSuccess() bool
IsSuccess returns true when this put policy o k response has a 2xx status code
func (*PutPolicyOK) String ¶
func (o *PutPolicyOK) String() string
type PutPolicyParams ¶
type PutPolicyParams struct {
/* Policy.
Policy rules
*/
Policy string
/* Replace.
If true, indicates that existing rules with identical labels should be replaced.
*/
Replace *bool
/* ReplaceWithLabels.
If present, indicates that existing rules with the given labels should be deleted.
*/
ReplaceWithLabels []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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewPutPolicyParamsWithContext ¶
func NewPutPolicyParamsWithContext(ctx context.Context) *PutPolicyParams
NewPutPolicyParamsWithContext creates a new PutPolicyParams object with 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 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 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) SetDefaults ¶
func (o *PutPolicyParams) SetDefaults()
SetDefaults hydrates default values in the put policy params (not the query body).
All values with no default are reset to their zero value.
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) SetReplace ¶
func (o *PutPolicyParams) SetReplace(replace *bool)
SetReplace adds the replace to the put policy params
func (*PutPolicyParams) SetReplaceWithLabels ¶
func (o *PutPolicyParams) SetReplaceWithLabels(replaceWithLabels []string)
SetReplaceWithLabels adds the replaceWithLabels 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) WithDefaults ¶
func (o *PutPolicyParams) WithDefaults() *PutPolicyParams
WithDefaults hydrates default values in the put policy params (not the query body).
All values with no default are reset to their zero value.
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) WithReplace ¶
func (o *PutPolicyParams) WithReplace(replace *bool) *PutPolicyParams
WithReplace adds the replace to the put policy params
func (*PutPolicyParams) WithReplaceWithLabels ¶
func (o *PutPolicyParams) WithReplaceWithLabels(replaceWithLabels []string) *PutPolicyParams
WithReplaceWithLabels adds the replaceWithLabels 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_responses.go
- get_policy_selectors_parameters.go
- get_policy_selectors_responses.go
- policy_client.go
- put_policy_parameters.go
- put_policy_responses.go