Documentation
¶
Index ¶
- type Client
- func (a *Client) DeleteFqdnCache(params *DeleteFqdnCacheParams, opts ...ClientOption) (*DeleteFqdnCacheOK, error)
- func (a *Client) DeleteFqdnCacheContext(ctx context.Context, params *DeleteFqdnCacheParams, opts ...ClientOption) (*DeleteFqdnCacheOK, error)
- func (a *Client) GetFqdnCache(params *GetFqdnCacheParams, opts ...ClientOption) (*GetFqdnCacheOK, error)
- func (a *Client) GetFqdnCacheContext(ctx context.Context, params *GetFqdnCacheParams, opts ...ClientOption) (*GetFqdnCacheOK, error)
- func (a *Client) GetFqdnCacheID(params *GetFqdnCacheIDParams, opts ...ClientOption) (*GetFqdnCacheIDOK, error)
- func (a *Client) GetFqdnCacheIDContext(ctx context.Context, params *GetFqdnCacheIDParams, opts ...ClientOption) (*GetFqdnCacheIDOK, error)
- func (a *Client) GetFqdnNames(params *GetFqdnNamesParams, opts ...ClientOption) (*GetFqdnNamesOK, error)
- func (a *Client) GetFqdnNamesContext(ctx context.Context, params *GetFqdnNamesParams, opts ...ClientOption) (*GetFqdnNamesOK, error)
- func (a *Client) GetIP(params *GetIPParams, opts ...ClientOption) (*GetIPOK, error)
- func (a *Client) GetIPContext(ctx context.Context, params *GetIPParams, opts ...ClientOption) (*GetIPOK, error)
- func (a *Client) GetIdentity(params *GetIdentityParams, opts ...ClientOption) (*GetIdentityOK, error)
- func (a *Client) GetIdentityContext(ctx context.Context, params *GetIdentityParams, opts ...ClientOption) (*GetIdentityOK, error)
- func (a *Client) GetIdentityEndpoints(params *GetIdentityEndpointsParams, opts ...ClientOption) (*GetIdentityEndpointsOK, error)
- func (a *Client) GetIdentityEndpointsContext(ctx context.Context, params *GetIdentityEndpointsParams, opts ...ClientOption) (*GetIdentityEndpointsOK, error)
- func (a *Client) GetIdentityID(params *GetIdentityIDParams, opts ...ClientOption) (*GetIdentityIDOK, error)
- func (a *Client) GetIdentityIDContext(ctx context.Context, params *GetIdentityIDParams, opts ...ClientOption) (*GetIdentityIDOK, error)
- func (a *Client) GetPolicy(params *GetPolicyParams, opts ...ClientOption) (*GetPolicyOK, error)deprecated
- func (a *Client) GetPolicyContext(ctx context.Context, params *GetPolicyParams, opts ...ClientOption) (*GetPolicyOK, error)deprecated
- func (a *Client) GetPolicySelectors(params *GetPolicySelectorsParams, opts ...ClientOption) (*GetPolicySelectorsOK, error)
- func (a *Client) GetPolicySelectorsContext(ctx context.Context, params *GetPolicySelectorsParams, opts ...ClientOption) (*GetPolicySelectorsOK, error)
- func (a *Client) GetPolicySubjectSelectors(params *GetPolicySubjectSelectorsParams, opts ...ClientOption) (*GetPolicySubjectSelectorsOK, error)
- func (a *Client) GetPolicySubjectSelectorsContext(ctx context.Context, params *GetPolicySubjectSelectorsParams, ...) (*GetPolicySubjectSelectorsOK, error)
- func (a *Client) SetTransport(transport runtime.ContextualTransport)
- type ClientOption
- type ClientService
- type DeleteFqdnCacheBadRequest
- func (o *DeleteFqdnCacheBadRequest) Code() int
- 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) Code() int
- 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) Code() int
- 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) *DeleteFqdnCacheParamsdeprecated
- func NewDeleteFqdnCacheParamsWithHTTPClient(client *http.Client) *DeleteFqdnCacheParams
- func NewDeleteFqdnCacheParamsWithTimeout(timeout time.Duration) *DeleteFqdnCacheParams
- func (o *DeleteFqdnCacheParams) SetContext(ctx context.Context)deprecated
- 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) *DeleteFqdnCacheParamsdeprecated
- 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 GetFqdnCacheBadRequest
- func (o *GetFqdnCacheBadRequest) Code() int
- 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) Code() int
- 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) Code() int
- 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) Code() int
- 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) *GetFqdnCacheIDParamsdeprecated
- 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)deprecated
- 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) *GetFqdnCacheIDParamsdeprecated
- 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) Code() int
- 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) Code() int
- 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 NewGetFqdnCacheParams() *GetFqdnCacheParams
- func NewGetFqdnCacheParamsWithContext(ctx context.Context) *GetFqdnCacheParamsdeprecated
- func NewGetFqdnCacheParamsWithHTTPClient(client *http.Client) *GetFqdnCacheParams
- func NewGetFqdnCacheParamsWithTimeout(timeout time.Duration) *GetFqdnCacheParams
- func (o *GetFqdnCacheParams) SetCidr(cidr *string)
- func (o *GetFqdnCacheParams) SetContext(ctx context.Context)deprecated
- 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) *GetFqdnCacheParamsdeprecated
- 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) Code() int
- 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) Code() int
- 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 NewGetFqdnNamesParams() *GetFqdnNamesParams
- func NewGetFqdnNamesParamsWithContext(ctx context.Context) *GetFqdnNamesParamsdeprecated
- func NewGetFqdnNamesParamsWithHTTPClient(client *http.Client) *GetFqdnNamesParams
- func NewGetFqdnNamesParamsWithTimeout(timeout time.Duration) *GetFqdnNamesParams
- func (o *GetFqdnNamesParams) SetContext(ctx context.Context)deprecated
- 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) *GetFqdnNamesParamsdeprecated
- 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) Code() int
- 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
- func (o *GetIPNotFound) Code() int
- func (o *GetIPNotFound) Error() string
- func (o *GetIPNotFound) IsClientError() bool
- func (o *GetIPNotFound) IsCode(code int) bool
- func (o *GetIPNotFound) IsRedirect() bool
- func (o *GetIPNotFound) IsServerError() bool
- func (o *GetIPNotFound) IsSuccess() bool
- func (o *GetIPNotFound) String() string
- type GetIPOK
- func (o *GetIPOK) Code() int
- 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)deprecated
- func (o *GetIPParams) SetDefaults()
- func (o *GetIPParams) SetHTTPClient(client *http.Client)
- func (o *GetIPParams) SetLabels(labels models.Labels)
- func (o *GetIPParams) SetTimeout(timeout time.Duration)
- func (o *GetIPParams) WithCidr(cidr *string) *GetIPParams
- func (o *GetIPParams) WithContext(ctx context.Context) *GetIPParamsdeprecated
- func (o *GetIPParams) WithDefaults() *GetIPParams
- func (o *GetIPParams) WithHTTPClient(client *http.Client) *GetIPParams
- func (o *GetIPParams) WithLabels(labels models.Labels) *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) Code() int
- 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) Code() int
- 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) *GetIdentityEndpointsParamsdeprecated
- func NewGetIdentityEndpointsParamsWithHTTPClient(client *http.Client) *GetIdentityEndpointsParams
- func NewGetIdentityEndpointsParamsWithTimeout(timeout time.Duration) *GetIdentityEndpointsParams
- func (o *GetIdentityEndpointsParams) SetContext(ctx context.Context)deprecated
- 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) *GetIdentityEndpointsParamsdeprecated
- 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) Code() int
- 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) Code() int
- 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) Code() int
- 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) Code() int
- 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 NewGetIdentityIDParams() *GetIdentityIDParams
- func NewGetIdentityIDParamsWithContext(ctx context.Context) *GetIdentityIDParamsdeprecated
- func NewGetIdentityIDParamsWithHTTPClient(client *http.Client) *GetIdentityIDParams
- func NewGetIdentityIDParamsWithTimeout(timeout time.Duration) *GetIdentityIDParams
- func (o *GetIdentityIDParams) SetContext(ctx context.Context)deprecated
- 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) *GetIdentityIDParamsdeprecated
- 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) Code() int
- 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) Code() int
- 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) Code() int
- 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) Code() int
- 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)deprecated
- 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) *GetIdentityParamsdeprecated
- 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) Code() int
- 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) Code() int
- 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) Code() int
- 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)deprecated
- func (o *GetPolicyParams) SetDefaults()
- func (o *GetPolicyParams) SetHTTPClient(client *http.Client)
- func (o *GetPolicyParams) SetTimeout(timeout time.Duration)
- func (o *GetPolicyParams) WithContext(ctx context.Context) *GetPolicyParamsdeprecated
- func (o *GetPolicyParams) WithDefaults() *GetPolicyParams
- func (o *GetPolicyParams) WithHTTPClient(client *http.Client) *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) Code() int
- 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) *GetPolicySelectorsParamsdeprecated
- func NewGetPolicySelectorsParamsWithHTTPClient(client *http.Client) *GetPolicySelectorsParams
- func NewGetPolicySelectorsParamsWithTimeout(timeout time.Duration) *GetPolicySelectorsParams
- func (o *GetPolicySelectorsParams) SetContext(ctx context.Context)deprecated
- 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) *GetPolicySelectorsParamsdeprecated
- 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 GetPolicySubjectSelectorsOK
- func (o *GetPolicySubjectSelectorsOK) Code() int
- func (o *GetPolicySubjectSelectorsOK) Error() string
- func (o *GetPolicySubjectSelectorsOK) GetPayload() models.SelectorCache
- func (o *GetPolicySubjectSelectorsOK) IsClientError() bool
- func (o *GetPolicySubjectSelectorsOK) IsCode(code int) bool
- func (o *GetPolicySubjectSelectorsOK) IsRedirect() bool
- func (o *GetPolicySubjectSelectorsOK) IsServerError() bool
- func (o *GetPolicySubjectSelectorsOK) IsSuccess() bool
- func (o *GetPolicySubjectSelectorsOK) String() string
- type GetPolicySubjectSelectorsParams
- func NewGetPolicySubjectSelectorsParams() *GetPolicySubjectSelectorsParams
- func NewGetPolicySubjectSelectorsParamsWithContext(ctx context.Context) *GetPolicySubjectSelectorsParamsdeprecated
- func NewGetPolicySubjectSelectorsParamsWithHTTPClient(client *http.Client) *GetPolicySubjectSelectorsParams
- func NewGetPolicySubjectSelectorsParamsWithTimeout(timeout time.Duration) *GetPolicySubjectSelectorsParams
- func (o *GetPolicySubjectSelectorsParams) SetContext(ctx context.Context)deprecated
- func (o *GetPolicySubjectSelectorsParams) SetDefaults()
- func (o *GetPolicySubjectSelectorsParams) SetHTTPClient(client *http.Client)
- func (o *GetPolicySubjectSelectorsParams) SetTimeout(timeout time.Duration)
- func (o *GetPolicySubjectSelectorsParams) WithContext(ctx context.Context) *GetPolicySubjectSelectorsParamsdeprecated
- func (o *GetPolicySubjectSelectorsParams) WithDefaults() *GetPolicySubjectSelectorsParams
- func (o *GetPolicySubjectSelectorsParams) WithHTTPClient(client *http.Client) *GetPolicySubjectSelectorsParams
- func (o *GetPolicySubjectSelectorsParams) WithTimeout(timeout time.Duration) *GetPolicySubjectSelectorsParams
- func (o *GetPolicySubjectSelectorsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPolicySubjectSelectorsReader
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 ¶ added in v0.15.7
func (a *Client) DeleteFqdnCache(params *DeleteFqdnCacheParams, opts ...ClientOption) (*DeleteFqdnCacheOK, error)
DeleteFqdnCachedeletes 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. .
This method does not support injected context. However, timeout and opentracing contexts are honored whenever enabled. If you need to pass a specific context, use [Client.DeleteFqdnCacheContext] instead.
func (*Client) DeleteFqdnCacheContext ¶ added in v1.20.0
func (a *Client) DeleteFqdnCacheContext(ctx context.Context, params *DeleteFqdnCacheParams, opts ...ClientOption) (*DeleteFqdnCacheOK, error)
DeleteFqdnCacheContextdeletes 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. .
Do not use the deprecated [DeleteFqdnCacheParams.Context] with this method: it would be ignored.
func (*Client) GetFqdnCache ¶ added in v0.15.7
func (a *Client) GetFqdnCache(params *GetFqdnCacheParams, opts ...ClientOption) (*GetFqdnCacheOK, error)
GetFqdnCacheretrieves 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. .
This method does not support injected context. However, timeout and opentracing contexts are honored whenever enabled. If you need to pass a specific context, use [Client.GetFqdnCacheContext] instead.
func (*Client) GetFqdnCacheContext ¶ added in v1.20.0
func (a *Client) GetFqdnCacheContext(ctx context.Context, params *GetFqdnCacheParams, opts ...ClientOption) (*GetFqdnCacheOK, error)
GetFqdnCacheContextretrieves 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. .
Do not use the deprecated [GetFqdnCacheParams.Context] with this method: it would be ignored.
func (*Client) GetFqdnCacheID ¶ added in v0.15.7
func (a *Client) GetFqdnCacheID(params *GetFqdnCacheIDParams, opts ...ClientOption) (*GetFqdnCacheIDOK, error)
GetFqdnCacheIDretrieves 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. .
This method does not support injected context. However, timeout and opentracing contexts are honored whenever enabled. If you need to pass a specific context, use [Client.GetFqdnCacheIDContext] instead.
func (*Client) GetFqdnCacheIDContext ¶ added in v1.20.0
func (a *Client) GetFqdnCacheIDContext(ctx context.Context, params *GetFqdnCacheIDParams, opts ...ClientOption) (*GetFqdnCacheIDOK, error)
GetFqdnCacheIDContextretrieves 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. .
Do not use the deprecated [GetFqdnCacheIDParams.Context] with this method: it would be ignored.
func (*Client) GetFqdnNames ¶ added in v0.15.7
func (a *Client) GetFqdnNames(params *GetFqdnNamesParams, opts ...ClientOption) (*GetFqdnNamesOK, error)
GetFqdnNameslists internal DNS selector representations. Retrieves the list of DNS-related fields (names to poll, selectors and
their corresponding regexes). .
This method does not support injected context. However, timeout and opentracing contexts are honored whenever enabled. If you need to pass a specific context, use [Client.GetFqdnNamesContext] instead.
func (*Client) GetFqdnNamesContext ¶ added in v1.20.0
func (a *Client) GetFqdnNamesContext(ctx context.Context, params *GetFqdnNamesParams, opts ...ClientOption) (*GetFqdnNamesOK, error)
GetFqdnNamesContextlists internal DNS selector representations. Retrieves the list of DNS-related fields (names to poll, selectors and
their corresponding regexes). .
Do not use the deprecated [GetFqdnNamesParams.Context] with this method: it would be ignored.
func (*Client) GetIP ¶ added in v0.15.7
func (a *Client) GetIP(params *GetIPParams, opts ...ClientOption) (*GetIPOK, error)
GetIPlists 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. .
This method does not support injected context. However, timeout and opentracing contexts are honored whenever enabled. If you need to pass a specific context, use [Client.GetIPContext] instead.
func (*Client) GetIPContext ¶ added in v1.20.0
func (a *Client) GetIPContext(ctx context.Context, params *GetIPParams, opts ...ClientOption) (*GetIPOK, error)
GetIPContextlists 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. .
Do not use the deprecated [GetIPParams.Context] with this method: it would be ignored.
func (*Client) GetIdentity ¶
func (a *Client) GetIdentity(params *GetIdentityParams, opts ...ClientOption) (*GetIdentityOK, error)
GetIdentityretrieves 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.
.
This method does not support injected context. However, timeout and opentracing contexts are honored whenever enabled. If you need to pass a specific context, use [Client.GetIdentityContext] instead.
func (*Client) GetIdentityContext ¶ added in v1.20.0
func (a *Client) GetIdentityContext(ctx context.Context, params *GetIdentityParams, opts ...ClientOption) (*GetIdentityOK, error)
GetIdentityContextretrieves 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.
.
Do not use the deprecated [GetIdentityParams.Context] with this method: it would be ignored.
func (*Client) GetIdentityEndpoints ¶ added in v0.15.7
func (a *Client) GetIdentityEndpoints(params *GetIdentityEndpointsParams, opts ...ClientOption) (*GetIdentityEndpointsOK, error)
GetIdentityEndpointsretrieves identities which are being used by local endpoints.
This method does not support injected context. However, timeout and opentracing contexts are honored whenever enabled.
If you need to pass a specific context, use Client.GetIdentityEndpointsContext instead.
func (*Client) GetIdentityEndpointsContext ¶ added in v1.20.0
func (a *Client) GetIdentityEndpointsContext(ctx context.Context, params *GetIdentityEndpointsParams, opts ...ClientOption) (*GetIdentityEndpointsOK, error)
GetIdentityEndpointsContextretrieves identities which are being used by local endpoints.
Do not use the deprecated [GetIdentityEndpointsParams.Context] with this method: it would be ignored.
func (*Client) GetIdentityID ¶
func (a *Client) GetIdentityID(params *GetIdentityIDParams, opts ...ClientOption) (*GetIdentityIDOK, error)
GetIdentityIDretrieves identity.
This method does not support injected context. However, timeout and opentracing contexts are honored whenever enabled.
If you need to pass a specific context, use Client.GetIdentityIDContext instead.
func (*Client) GetIdentityIDContext ¶ added in v1.20.0
func (a *Client) GetIdentityIDContext(ctx context.Context, params *GetIdentityIDParams, opts ...ClientOption) (*GetIdentityIDOK, error)
GetIdentityIDContextretrieves identity.
Do not use the deprecated [GetIdentityIDParams.Context] with this method: it would be ignored.
func (*Client) GetPolicy
deprecated
func (a *Client) GetPolicy(params *GetPolicyParams, opts ...ClientOption) (*GetPolicyOK, error)
GetPolicyretrieves entire policy tree. Returns the entire policy tree with all children.
Deprecated: will be removed in v1.19 .
This method does not support injected context. However, timeout and opentracing contexts are honored whenever enabled. If you need to pass a specific context, use [Client.GetPolicyContext] instead.
func (*Client) GetPolicyContext
deprecated
added in
v1.20.0
func (a *Client) GetPolicyContext(ctx context.Context, params *GetPolicyParams, opts ...ClientOption) (*GetPolicyOK, error)
GetPolicyContextretrieves entire policy tree. Returns the entire policy tree with all children.
Deprecated: will be removed in v1.19 .
Do not use the deprecated [GetPolicyParams.Context] with this method: it would be ignored.
func (*Client) GetPolicySelectors ¶ added in v0.15.7
func (a *Client) GetPolicySelectors(params *GetPolicySelectorsParams, opts ...ClientOption) (*GetPolicySelectorsOK, error)
GetPolicySelectorssees what selectors match which identities.
This method does not support injected context. However, timeout and opentracing contexts are honored whenever enabled.
If you need to pass a specific context, use Client.GetPolicySelectorsContext instead.
func (*Client) GetPolicySelectorsContext ¶ added in v1.20.0
func (a *Client) GetPolicySelectorsContext(ctx context.Context, params *GetPolicySelectorsParams, opts ...ClientOption) (*GetPolicySelectorsOK, error)
GetPolicySelectorsContextsees what selectors match which identities.
Do not use the deprecated [GetPolicySelectorsParams.Context] with this method: it would be ignored.
func (*Client) GetPolicySubjectSelectors ¶ added in v1.19.0
func (a *Client) GetPolicySubjectSelectors(params *GetPolicySubjectSelectorsParams, opts ...ClientOption) (*GetPolicySubjectSelectorsOK, error)
GetPolicySubjectSelectorssees what subject selectors match which identities on the local node.
This method does not support injected context. However, timeout and opentracing contexts are honored whenever enabled.
If you need to pass a specific context, use Client.GetPolicySubjectSelectorsContext instead.
func (*Client) GetPolicySubjectSelectorsContext ¶ added in v1.20.0
func (a *Client) GetPolicySubjectSelectorsContext(ctx context.Context, params *GetPolicySubjectSelectorsParams, opts ...ClientOption) (*GetPolicySubjectSelectorsOK, error)
GetPolicySubjectSelectorsContextsees what subject selectors match which identities on the local node.
Do not use the deprecated [GetPolicySubjectSelectorsParams.Context] with this method: it would be ignored.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ContextualTransport)
SetTransport changes the transport on the client
type ClientOption ¶ added in v0.15.7
type ClientOption func(*runtime.ClientOperation)
ClientOption may be used to customize the behavior of Client methods.
type ClientService ¶ added in v0.15.7
type ClientService interface {
// DeleteFqdnCache deletes matching DNS lookups from the policy generation cache.
DeleteFqdnCache(params *DeleteFqdnCacheParams, opts ...ClientOption) (*DeleteFqdnCacheOK, error)
// DeleteFqdnCacheContext deletes matching DNS lookups from the policy generation cache.
DeleteFqdnCacheContext(ctx context.Context, params *DeleteFqdnCacheParams, opts ...ClientOption) (*DeleteFqdnCacheOK, error)
// GetFqdnCache retrieves the list of DNS lookups intercepted from all endpoints.
GetFqdnCache(params *GetFqdnCacheParams, opts ...ClientOption) (*GetFqdnCacheOK, error)
// GetFqdnCacheContext retrieves the list of DNS lookups intercepted from all endpoints.
GetFqdnCacheContext(ctx context.Context, params *GetFqdnCacheParams, opts ...ClientOption) (*GetFqdnCacheOK, error)
// GetFqdnCacheID retrieves the list of DNS lookups intercepted from an endpoint.
GetFqdnCacheID(params *GetFqdnCacheIDParams, opts ...ClientOption) (*GetFqdnCacheIDOK, error)
// GetFqdnCacheIDContext retrieves the list of DNS lookups intercepted from an endpoint.
GetFqdnCacheIDContext(ctx context.Context, params *GetFqdnCacheIDParams, opts ...ClientOption) (*GetFqdnCacheIDOK, error)
// GetFqdnNames list internal DNS selector representations.
GetFqdnNames(params *GetFqdnNamesParams, opts ...ClientOption) (*GetFqdnNamesOK, error)
// GetFqdnNamesContext list internal DNS selector representations.
GetFqdnNamesContext(ctx context.Context, params *GetFqdnNamesParams, opts ...ClientOption) (*GetFqdnNamesOK, error)
// GetIP lists information about known IP addresses.
GetIP(params *GetIPParams, opts ...ClientOption) (*GetIPOK, error)
// GetIPContext lists information about known IP addresses.
GetIPContext(ctx context.Context, params *GetIPParams, opts ...ClientOption) (*GetIPOK, error)
// GetIdentity retrieves a list of identities that have metadata matching the provided parameters.
GetIdentity(params *GetIdentityParams, opts ...ClientOption) (*GetIdentityOK, error)
// GetIdentityContext retrieves a list of identities that have metadata matching the provided parameters.
GetIdentityContext(ctx context.Context, params *GetIdentityParams, opts ...ClientOption) (*GetIdentityOK, error)
// GetIdentityEndpoints retrieve identities which are being used by local endpoints.
GetIdentityEndpoints(params *GetIdentityEndpointsParams, opts ...ClientOption) (*GetIdentityEndpointsOK, error)
// GetIdentityEndpointsContext retrieve identities which are being used by local endpoints.
GetIdentityEndpointsContext(ctx context.Context, params *GetIdentityEndpointsParams, opts ...ClientOption) (*GetIdentityEndpointsOK, error)
// GetIdentityID retrieve identity.
GetIdentityID(params *GetIdentityIDParams, opts ...ClientOption) (*GetIdentityIDOK, error)
// GetIdentityIDContext retrieve identity.
GetIdentityIDContext(ctx context.Context, params *GetIdentityIDParams, opts ...ClientOption) (*GetIdentityIDOK, error)
// GetPolicy retrieve entire policy tree.
GetPolicy(params *GetPolicyParams, opts ...ClientOption) (*GetPolicyOK, error)
// GetPolicyContext retrieve entire policy tree.
GetPolicyContext(ctx context.Context, params *GetPolicyParams, opts ...ClientOption) (*GetPolicyOK, error)
// GetPolicySelectors see what selectors match which identities.
GetPolicySelectors(params *GetPolicySelectorsParams, opts ...ClientOption) (*GetPolicySelectorsOK, error)
// GetPolicySelectorsContext see what selectors match which identities.
GetPolicySelectorsContext(ctx context.Context, params *GetPolicySelectorsParams, opts ...ClientOption) (*GetPolicySelectorsOK, error)
// GetPolicySubjectSelectors see what subject selectors match which identities on the local node.
GetPolicySubjectSelectors(params *GetPolicySubjectSelectorsParams, opts ...ClientOption) (*GetPolicySubjectSelectorsOK, error)
// GetPolicySubjectSelectorsContext see what subject selectors match which identities on the local node.
GetPolicySubjectSelectorsContext(ctx context.Context, params *GetPolicySubjectSelectorsParams, opts ...ClientOption) (*GetPolicySubjectSelectorsOK, error)
SetTransport(transport runtime.ContextualTransport)
}
ClientService is the interface for Client methods.
func New ¶
func New(transport runtime.ContextualTransport, formats strfmt.Registry) ClientService
New creates a new policy API client.
func NewClientWithBasicAuth ¶ added in v1.16.5
func NewClientWithBasicAuth(host, basePath, scheme, user, password string) ClientService
New creates a new policy API client with basic auth credentials.
It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - user: user for basic authentication header. - password: password for basic authentication header.
func NewClientWithBearerToken ¶ added in v1.16.5
func NewClientWithBearerToken(host, basePath, scheme, bearerToken string) ClientService
New creates a new policy API client with a bearer token for authentication.
It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - bearerToken: bearer token for Bearer authentication header.
type DeleteFqdnCacheBadRequest ¶ added in v0.15.7
DeleteFqdnCacheBadRequest describes a response with status code 400, with default header values.
Invalid request (error parsing parameters)
func NewDeleteFqdnCacheBadRequest ¶ added in v0.15.7
func NewDeleteFqdnCacheBadRequest() *DeleteFqdnCacheBadRequest
NewDeleteFqdnCacheBadRequest creates a DeleteFqdnCacheBadRequest with default headers values
func (*DeleteFqdnCacheBadRequest) Code ¶ added in v1.16.0
func (o *DeleteFqdnCacheBadRequest) Code() int
Code gets the status code for the delete fqdn cache bad request response
func (*DeleteFqdnCacheBadRequest) Error ¶ added in v0.15.7
func (o *DeleteFqdnCacheBadRequest) Error() string
func (*DeleteFqdnCacheBadRequest) GetPayload ¶ added in v0.15.7
func (o *DeleteFqdnCacheBadRequest) GetPayload() models.Error
func (*DeleteFqdnCacheBadRequest) IsClientError ¶ added in v0.15.7
func (o *DeleteFqdnCacheBadRequest) IsClientError() bool
IsClientError returns true when this delete fqdn cache bad request response has a 4xx status code
func (*DeleteFqdnCacheBadRequest) IsCode ¶ added in v0.15.7
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 ¶ added in v0.15.7
func (o *DeleteFqdnCacheBadRequest) IsRedirect() bool
IsRedirect returns true when this delete fqdn cache bad request response has a 3xx status code
func (*DeleteFqdnCacheBadRequest) IsServerError ¶ added in v0.15.7
func (o *DeleteFqdnCacheBadRequest) IsServerError() bool
IsServerError returns true when this delete fqdn cache bad request response has a 5xx status code
func (*DeleteFqdnCacheBadRequest) IsSuccess ¶ added in v0.15.7
func (o *DeleteFqdnCacheBadRequest) IsSuccess() bool
IsSuccess returns true when this delete fqdn cache bad request response has a 2xx status code
func (*DeleteFqdnCacheBadRequest) String ¶ added in v0.15.7
func (o *DeleteFqdnCacheBadRequest) String() string
type DeleteFqdnCacheForbidden ¶ added in v0.15.7
type DeleteFqdnCacheForbidden struct {
}
DeleteFqdnCacheForbidden describes a response with status code 403, with default header values.
Forbidden
func NewDeleteFqdnCacheForbidden ¶ added in v0.15.7
func NewDeleteFqdnCacheForbidden() *DeleteFqdnCacheForbidden
NewDeleteFqdnCacheForbidden creates a DeleteFqdnCacheForbidden with default headers values
func (*DeleteFqdnCacheForbidden) Code ¶ added in v1.16.0
func (o *DeleteFqdnCacheForbidden) Code() int
Code gets the status code for the delete fqdn cache forbidden response
func (*DeleteFqdnCacheForbidden) Error ¶ added in v0.15.7
func (o *DeleteFqdnCacheForbidden) Error() string
func (*DeleteFqdnCacheForbidden) IsClientError ¶ added in v0.15.7
func (o *DeleteFqdnCacheForbidden) IsClientError() bool
IsClientError returns true when this delete fqdn cache forbidden response has a 4xx status code
func (*DeleteFqdnCacheForbidden) IsCode ¶ added in v0.15.7
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 ¶ added in v0.15.7
func (o *DeleteFqdnCacheForbidden) IsRedirect() bool
IsRedirect returns true when this delete fqdn cache forbidden response has a 3xx status code
func (*DeleteFqdnCacheForbidden) IsServerError ¶ added in v0.15.7
func (o *DeleteFqdnCacheForbidden) IsServerError() bool
IsServerError returns true when this delete fqdn cache forbidden response has a 5xx status code
func (*DeleteFqdnCacheForbidden) IsSuccess ¶ added in v0.15.7
func (o *DeleteFqdnCacheForbidden) IsSuccess() bool
IsSuccess returns true when this delete fqdn cache forbidden response has a 2xx status code
func (*DeleteFqdnCacheForbidden) String ¶ added in v0.15.7
func (o *DeleteFqdnCacheForbidden) String() string
type DeleteFqdnCacheOK ¶ added in v0.15.7
type DeleteFqdnCacheOK struct {
}
DeleteFqdnCacheOK describes a response with status code 200, with default header values.
Success
func NewDeleteFqdnCacheOK ¶ added in v0.15.7
func NewDeleteFqdnCacheOK() *DeleteFqdnCacheOK
NewDeleteFqdnCacheOK creates a DeleteFqdnCacheOK with default headers values
func (*DeleteFqdnCacheOK) Code ¶ added in v1.16.0
func (o *DeleteFqdnCacheOK) Code() int
Code gets the status code for the delete fqdn cache o k response
func (*DeleteFqdnCacheOK) Error ¶ added in v0.15.7
func (o *DeleteFqdnCacheOK) Error() string
func (*DeleteFqdnCacheOK) IsClientError ¶ added in v0.15.7
func (o *DeleteFqdnCacheOK) IsClientError() bool
IsClientError returns true when this delete fqdn cache o k response has a 4xx status code
func (*DeleteFqdnCacheOK) IsCode ¶ added in v0.15.7
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 ¶ added in v0.15.7
func (o *DeleteFqdnCacheOK) IsRedirect() bool
IsRedirect returns true when this delete fqdn cache o k response has a 3xx status code
func (*DeleteFqdnCacheOK) IsServerError ¶ added in v0.15.7
func (o *DeleteFqdnCacheOK) IsServerError() bool
IsServerError returns true when this delete fqdn cache o k response has a 5xx status code
func (*DeleteFqdnCacheOK) IsSuccess ¶ added in v0.15.7
func (o *DeleteFqdnCacheOK) IsSuccess() bool
IsSuccess returns true when this delete fqdn cache o k response has a 2xx status code
func (*DeleteFqdnCacheOK) String ¶ added in v0.15.7
func (o *DeleteFqdnCacheOK) String() string
type DeleteFqdnCacheParams ¶ added in v0.15.7
type DeleteFqdnCacheParams struct {
/* Matchpattern.
A toFQDNs compatible matchPattern expression
*/
Matchpattern *string
HTTPClient *http.Client
// contains filtered or unexported fields
}
DeleteFqdnCacheParams contains all the parameters to send to the API endpoint
for the delete fqdn cache operation. Typically these are written to a http.Request.
func NewDeleteFqdnCacheParams ¶ added in v0.15.7
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
deprecated
added in
v0.15.7
func NewDeleteFqdnCacheParamsWithContext(ctx context.Context) *DeleteFqdnCacheParams
NewDeleteFqdnCacheParamsWithContext creates a new DeleteFqdnCacheParams object with the ability to set a context for a request.
Deprecated: use the operation call with context to pass the context instead of DeleteFqdnCacheParams.
func NewDeleteFqdnCacheParamsWithHTTPClient ¶ added in v0.15.7
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 ¶ added in v0.15.7
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
deprecated
added in
v0.15.7
func (o *DeleteFqdnCacheParams) SetContext(ctx context.Context)
SetContext adds the context to the delete fqdn cache params.
Deprecated: use the operation call with context to pass the context instead of DeleteFqdnCacheParams.
func (*DeleteFqdnCacheParams) SetDefaults ¶ added in v0.15.7
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 ¶ added in v0.15.7
func (o *DeleteFqdnCacheParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete fqdn cache params.
func (*DeleteFqdnCacheParams) SetMatchpattern ¶ added in v0.15.7
func (o *DeleteFqdnCacheParams) SetMatchpattern(matchpattern *string)
SetMatchpattern adds the matchpattern to the delete fqdn cache params.
func (*DeleteFqdnCacheParams) SetTimeout ¶ added in v0.15.7
func (o *DeleteFqdnCacheParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete fqdn cache params.
func (*DeleteFqdnCacheParams) WithContext
deprecated
added in
v0.15.7
func (o *DeleteFqdnCacheParams) WithContext(ctx context.Context) *DeleteFqdnCacheParams
WithContext adds the context to the delete fqdn cache params.
Deprecated: use the operation call with context to pass the context instead of DeleteFqdnCacheParams.
func (*DeleteFqdnCacheParams) WithDefaults ¶ added in v0.15.7
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 ¶ added in v0.15.7
func (o *DeleteFqdnCacheParams) WithHTTPClient(client *http.Client) *DeleteFqdnCacheParams
WithHTTPClient adds the HTTPClient to the delete fqdn cache params.
func (*DeleteFqdnCacheParams) WithMatchpattern ¶ added in v0.15.7
func (o *DeleteFqdnCacheParams) WithMatchpattern(matchpattern *string) *DeleteFqdnCacheParams
WithMatchpattern adds the matchpattern to the delete fqdn cache params.
func (*DeleteFqdnCacheParams) WithTimeout ¶ added in v0.15.7
func (o *DeleteFqdnCacheParams) WithTimeout(timeout time.Duration) *DeleteFqdnCacheParams
WithTimeout adds the timeout to the delete fqdn cache params.
func (*DeleteFqdnCacheParams) WriteToRequest ¶ added in v0.15.7
func (o *DeleteFqdnCacheParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a runtime.ClientRequest.
type DeleteFqdnCacheReader ¶ added in v0.15.7
type DeleteFqdnCacheReader struct {
// contains filtered or unexported fields
}
DeleteFqdnCacheReader is a Reader for the DeleteFqdnCache structure.
func (*DeleteFqdnCacheReader) ReadResponse ¶ added in v0.15.7
func (o *DeleteFqdnCacheReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type GetFqdnCacheBadRequest ¶ added in v0.15.7
GetFqdnCacheBadRequest describes a response with status code 400, with default header values.
Invalid request (error parsing parameters)
func NewGetFqdnCacheBadRequest ¶ added in v0.15.7
func NewGetFqdnCacheBadRequest() *GetFqdnCacheBadRequest
NewGetFqdnCacheBadRequest creates a GetFqdnCacheBadRequest with default headers values
func (*GetFqdnCacheBadRequest) Code ¶ added in v1.16.0
func (o *GetFqdnCacheBadRequest) Code() int
Code gets the status code for the get fqdn cache bad request response
func (*GetFqdnCacheBadRequest) Error ¶ added in v0.15.7
func (o *GetFqdnCacheBadRequest) Error() string
func (*GetFqdnCacheBadRequest) GetPayload ¶ added in v0.15.7
func (o *GetFqdnCacheBadRequest) GetPayload() models.Error
func (*GetFqdnCacheBadRequest) IsClientError ¶ added in v0.15.7
func (o *GetFqdnCacheBadRequest) IsClientError() bool
IsClientError returns true when this get fqdn cache bad request response has a 4xx status code
func (*GetFqdnCacheBadRequest) IsCode ¶ added in v0.15.7
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 ¶ added in v0.15.7
func (o *GetFqdnCacheBadRequest) IsRedirect() bool
IsRedirect returns true when this get fqdn cache bad request response has a 3xx status code
func (*GetFqdnCacheBadRequest) IsServerError ¶ added in v0.15.7
func (o *GetFqdnCacheBadRequest) IsServerError() bool
IsServerError returns true when this get fqdn cache bad request response has a 5xx status code
func (*GetFqdnCacheBadRequest) IsSuccess ¶ added in v0.15.7
func (o *GetFqdnCacheBadRequest) IsSuccess() bool
IsSuccess returns true when this get fqdn cache bad request response has a 2xx status code
func (*GetFqdnCacheBadRequest) String ¶ added in v0.15.7
func (o *GetFqdnCacheBadRequest) String() string
type GetFqdnCacheIDBadRequest ¶ added in v0.15.7
GetFqdnCacheIDBadRequest describes a response with status code 400, with default header values.
Invalid request (error parsing parameters)
func NewGetFqdnCacheIDBadRequest ¶ added in v0.15.7
func NewGetFqdnCacheIDBadRequest() *GetFqdnCacheIDBadRequest
NewGetFqdnCacheIDBadRequest creates a GetFqdnCacheIDBadRequest with default headers values
func (*GetFqdnCacheIDBadRequest) Code ¶ added in v1.16.0
func (o *GetFqdnCacheIDBadRequest) Code() int
Code gets the status code for the get fqdn cache Id bad request response
func (*GetFqdnCacheIDBadRequest) Error ¶ added in v0.15.7
func (o *GetFqdnCacheIDBadRequest) Error() string
func (*GetFqdnCacheIDBadRequest) GetPayload ¶ added in v0.15.7
func (o *GetFqdnCacheIDBadRequest) GetPayload() models.Error
func (*GetFqdnCacheIDBadRequest) IsClientError ¶ added in v0.15.7
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 ¶ added in v0.15.7
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 ¶ added in v0.15.7
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 ¶ added in v0.15.7
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 ¶ added in v0.15.7
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 ¶ added in v0.15.7
func (o *GetFqdnCacheIDBadRequest) String() string
type GetFqdnCacheIDNotFound ¶ added in v0.15.7
type GetFqdnCacheIDNotFound struct {
}
GetFqdnCacheIDNotFound describes a response with status code 404, with default header values.
No DNS data with provided parameters found
func NewGetFqdnCacheIDNotFound ¶ added in v0.15.7
func NewGetFqdnCacheIDNotFound() *GetFqdnCacheIDNotFound
NewGetFqdnCacheIDNotFound creates a GetFqdnCacheIDNotFound with default headers values
func (*GetFqdnCacheIDNotFound) Code ¶ added in v1.16.0
func (o *GetFqdnCacheIDNotFound) Code() int
Code gets the status code for the get fqdn cache Id not found response
func (*GetFqdnCacheIDNotFound) Error ¶ added in v0.15.7
func (o *GetFqdnCacheIDNotFound) Error() string
func (*GetFqdnCacheIDNotFound) IsClientError ¶ added in v0.15.7
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 ¶ added in v0.15.7
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 ¶ added in v0.15.7
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 ¶ added in v0.15.7
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 ¶ added in v0.15.7
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 ¶ added in v0.15.7
func (o *GetFqdnCacheIDNotFound) String() string
type GetFqdnCacheIDOK ¶ added in v0.15.7
GetFqdnCacheIDOK describes a response with status code 200, with default header values.
Success
func NewGetFqdnCacheIDOK ¶ added in v0.15.7
func NewGetFqdnCacheIDOK() *GetFqdnCacheIDOK
NewGetFqdnCacheIDOK creates a GetFqdnCacheIDOK with default headers values
func (*GetFqdnCacheIDOK) Code ¶ added in v1.16.0
func (o *GetFqdnCacheIDOK) Code() int
Code gets the status code for the get fqdn cache Id o k response
func (*GetFqdnCacheIDOK) Error ¶ added in v0.15.7
func (o *GetFqdnCacheIDOK) Error() string
func (*GetFqdnCacheIDOK) GetPayload ¶ added in v0.15.7
func (o *GetFqdnCacheIDOK) GetPayload() []*models.DNSLookup
func (*GetFqdnCacheIDOK) IsClientError ¶ added in v0.15.7
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 ¶ added in v0.15.7
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 ¶ added in v0.15.7
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 ¶ added in v0.15.7
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 ¶ added in v0.15.7
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 ¶ added in v0.15.7
func (o *GetFqdnCacheIDOK) String() string
type GetFqdnCacheIDParams ¶ added in v0.15.7
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
- cep-name: cep name for this container if K8s is enabled, e.g. pod-name:default:foobar-net1
*/
ID string
/* Matchpattern.
A toFQDNs compatible matchPattern expression
*/
Matchpattern *string
/* Source.
Source from which FQDN entries come from
*/
Source *string
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetFqdnCacheIDParams contains all the parameters to send to the API endpoint
for the get fqdn cache ID operation. Typically these are written to a http.Request.
func NewGetFqdnCacheIDParams ¶ added in v0.15.7
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
deprecated
added in
v0.15.7
func NewGetFqdnCacheIDParamsWithContext(ctx context.Context) *GetFqdnCacheIDParams
NewGetFqdnCacheIDParamsWithContext creates a new GetFqdnCacheIDParams object with the ability to set a context for a request.
Deprecated: use the operation call with context to pass the context instead of GetFqdnCacheIDParams.
func NewGetFqdnCacheIDParamsWithHTTPClient ¶ added in v0.15.7
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 ¶ added in v0.15.7
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 ¶ added in v0.15.7
func (o *GetFqdnCacheIDParams) SetCidr(cidr *string)
SetCidr adds the cidr to the get fqdn cache ID params.
func (*GetFqdnCacheIDParams) SetContext
deprecated
added in
v0.15.7
func (o *GetFqdnCacheIDParams) SetContext(ctx context.Context)
SetContext adds the context to the get fqdn cache ID params.
Deprecated: use the operation call with context to pass the context instead of GetFqdnCacheIDParams.
func (*GetFqdnCacheIDParams) SetDefaults ¶ added in v0.15.7
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 ¶ added in v0.15.7
func (o *GetFqdnCacheIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get fqdn cache ID params.
func (*GetFqdnCacheIDParams) SetID ¶ added in v0.15.7
func (o *GetFqdnCacheIDParams) SetID(id string)
SetID adds the id to the get fqdn cache ID params.
func (*GetFqdnCacheIDParams) SetMatchpattern ¶ added in v0.15.7
func (o *GetFqdnCacheIDParams) SetMatchpattern(matchpattern *string)
SetMatchpattern adds the matchpattern to the get fqdn cache ID params.
func (*GetFqdnCacheIDParams) SetSource ¶ added in v0.15.7
func (o *GetFqdnCacheIDParams) SetSource(source *string)
SetSource adds the source to the get fqdn cache ID params.
func (*GetFqdnCacheIDParams) SetTimeout ¶ added in v0.15.7
func (o *GetFqdnCacheIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get fqdn cache ID params.
func (*GetFqdnCacheIDParams) WithCidr ¶ added in v0.15.7
func (o *GetFqdnCacheIDParams) WithCidr(cidr *string) *GetFqdnCacheIDParams
WithCidr adds the cidr to the get fqdn cache ID params.
func (*GetFqdnCacheIDParams) WithContext
deprecated
added in
v0.15.7
func (o *GetFqdnCacheIDParams) WithContext(ctx context.Context) *GetFqdnCacheIDParams
WithContext adds the context to the get fqdn cache ID params.
Deprecated: use the operation call with context to pass the context instead of GetFqdnCacheIDParams.
func (*GetFqdnCacheIDParams) WithDefaults ¶ added in v0.15.7
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 ¶ added in v0.15.7
func (o *GetFqdnCacheIDParams) WithHTTPClient(client *http.Client) *GetFqdnCacheIDParams
WithHTTPClient adds the HTTPClient to the get fqdn cache ID params.
func (*GetFqdnCacheIDParams) WithID ¶ added in v0.15.7
func (o *GetFqdnCacheIDParams) WithID(id string) *GetFqdnCacheIDParams
WithID adds the id to the get fqdn cache ID params.
func (*GetFqdnCacheIDParams) WithMatchpattern ¶ added in v0.15.7
func (o *GetFqdnCacheIDParams) WithMatchpattern(matchpattern *string) *GetFqdnCacheIDParams
WithMatchpattern adds the matchpattern to the get fqdn cache ID params.
func (*GetFqdnCacheIDParams) WithSource ¶ added in v0.15.7
func (o *GetFqdnCacheIDParams) WithSource(source *string) *GetFqdnCacheIDParams
WithSource adds the source to the get fqdn cache ID params.
func (*GetFqdnCacheIDParams) WithTimeout ¶ added in v0.15.7
func (o *GetFqdnCacheIDParams) WithTimeout(timeout time.Duration) *GetFqdnCacheIDParams
WithTimeout adds the timeout to the get fqdn cache ID params.
func (*GetFqdnCacheIDParams) WriteToRequest ¶ added in v0.15.7
func (o *GetFqdnCacheIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a runtime.ClientRequest.
type GetFqdnCacheIDReader ¶ added in v0.15.7
type GetFqdnCacheIDReader struct {
// contains filtered or unexported fields
}
GetFqdnCacheIDReader is a Reader for the GetFqdnCacheID structure.
func (*GetFqdnCacheIDReader) ReadResponse ¶ added in v0.15.7
func (o *GetFqdnCacheIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type GetFqdnCacheNotFound ¶ added in v0.15.7
type GetFqdnCacheNotFound struct {
}
GetFqdnCacheNotFound describes a response with status code 404, with default header values.
No DNS data with provided parameters found
func NewGetFqdnCacheNotFound ¶ added in v0.15.7
func NewGetFqdnCacheNotFound() *GetFqdnCacheNotFound
NewGetFqdnCacheNotFound creates a GetFqdnCacheNotFound with default headers values
func (*GetFqdnCacheNotFound) Code ¶ added in v1.16.0
func (o *GetFqdnCacheNotFound) Code() int
Code gets the status code for the get fqdn cache not found response
func (*GetFqdnCacheNotFound) Error ¶ added in v0.15.7
func (o *GetFqdnCacheNotFound) Error() string
func (*GetFqdnCacheNotFound) IsClientError ¶ added in v0.15.7
func (o *GetFqdnCacheNotFound) IsClientError() bool
IsClientError returns true when this get fqdn cache not found response has a 4xx status code
func (*GetFqdnCacheNotFound) IsCode ¶ added in v0.15.7
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 ¶ added in v0.15.7
func (o *GetFqdnCacheNotFound) IsRedirect() bool
IsRedirect returns true when this get fqdn cache not found response has a 3xx status code
func (*GetFqdnCacheNotFound) IsServerError ¶ added in v0.15.7
func (o *GetFqdnCacheNotFound) IsServerError() bool
IsServerError returns true when this get fqdn cache not found response has a 5xx status code
func (*GetFqdnCacheNotFound) IsSuccess ¶ added in v0.15.7
func (o *GetFqdnCacheNotFound) IsSuccess() bool
IsSuccess returns true when this get fqdn cache not found response has a 2xx status code
func (*GetFqdnCacheNotFound) String ¶ added in v0.15.7
func (o *GetFqdnCacheNotFound) String() string
type GetFqdnCacheOK ¶ added in v0.15.7
GetFqdnCacheOK describes a response with status code 200, with default header values.
Success
func NewGetFqdnCacheOK ¶ added in v0.15.7
func NewGetFqdnCacheOK() *GetFqdnCacheOK
NewGetFqdnCacheOK creates a GetFqdnCacheOK with default headers values
func (*GetFqdnCacheOK) Code ¶ added in v1.16.0
func (o *GetFqdnCacheOK) Code() int
Code gets the status code for the get fqdn cache o k response
func (*GetFqdnCacheOK) Error ¶ added in v0.15.7
func (o *GetFqdnCacheOK) Error() string
func (*GetFqdnCacheOK) GetPayload ¶ added in v0.15.7
func (o *GetFqdnCacheOK) GetPayload() []*models.DNSLookup
func (*GetFqdnCacheOK) IsClientError ¶ added in v0.15.7
func (o *GetFqdnCacheOK) IsClientError() bool
IsClientError returns true when this get fqdn cache o k response has a 4xx status code
func (*GetFqdnCacheOK) IsCode ¶ added in v0.15.7
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 ¶ added in v0.15.7
func (o *GetFqdnCacheOK) IsRedirect() bool
IsRedirect returns true when this get fqdn cache o k response has a 3xx status code
func (*GetFqdnCacheOK) IsServerError ¶ added in v0.15.7
func (o *GetFqdnCacheOK) IsServerError() bool
IsServerError returns true when this get fqdn cache o k response has a 5xx status code
func (*GetFqdnCacheOK) IsSuccess ¶ added in v0.15.7
func (o *GetFqdnCacheOK) IsSuccess() bool
IsSuccess returns true when this get fqdn cache o k response has a 2xx status code
func (*GetFqdnCacheOK) String ¶ added in v0.15.7
func (o *GetFqdnCacheOK) String() string
type GetFqdnCacheParams ¶ added in v0.15.7
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
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetFqdnCacheParams contains all the parameters to send to the API endpoint
for the get fqdn cache operation. Typically these are written to a http.Request.
func NewGetFqdnCacheParams ¶ added in v0.15.7
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
deprecated
added in
v0.15.7
func NewGetFqdnCacheParamsWithContext(ctx context.Context) *GetFqdnCacheParams
NewGetFqdnCacheParamsWithContext creates a new GetFqdnCacheParams object with the ability to set a context for a request.
Deprecated: use the operation call with context to pass the context instead of GetFqdnCacheParams.
func NewGetFqdnCacheParamsWithHTTPClient ¶ added in v0.15.7
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 ¶ added in v0.15.7
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 ¶ added in v0.15.7
func (o *GetFqdnCacheParams) SetCidr(cidr *string)
SetCidr adds the cidr to the get fqdn cache params.
func (*GetFqdnCacheParams) SetContext
deprecated
added in
v0.15.7
func (o *GetFqdnCacheParams) SetContext(ctx context.Context)
SetContext adds the context to the get fqdn cache params.
Deprecated: use the operation call with context to pass the context instead of GetFqdnCacheParams.
func (*GetFqdnCacheParams) SetDefaults ¶ added in v0.15.7
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 ¶ added in v0.15.7
func (o *GetFqdnCacheParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get fqdn cache params.
func (*GetFqdnCacheParams) SetMatchpattern ¶ added in v0.15.7
func (o *GetFqdnCacheParams) SetMatchpattern(matchpattern *string)
SetMatchpattern adds the matchpattern to the get fqdn cache params.
func (*GetFqdnCacheParams) SetSource ¶ added in v0.15.7
func (o *GetFqdnCacheParams) SetSource(source *string)
SetSource adds the source to the get fqdn cache params.
func (*GetFqdnCacheParams) SetTimeout ¶ added in v0.15.7
func (o *GetFqdnCacheParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get fqdn cache params.
func (*GetFqdnCacheParams) WithCidr ¶ added in v0.15.7
func (o *GetFqdnCacheParams) WithCidr(cidr *string) *GetFqdnCacheParams
WithCidr adds the cidr to the get fqdn cache params.
func (*GetFqdnCacheParams) WithContext
deprecated
added in
v0.15.7
func (o *GetFqdnCacheParams) WithContext(ctx context.Context) *GetFqdnCacheParams
WithContext adds the context to the get fqdn cache params.
Deprecated: use the operation call with context to pass the context instead of GetFqdnCacheParams.
func (*GetFqdnCacheParams) WithDefaults ¶ added in v0.15.7
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 ¶ added in v0.15.7
func (o *GetFqdnCacheParams) WithHTTPClient(client *http.Client) *GetFqdnCacheParams
WithHTTPClient adds the HTTPClient to the get fqdn cache params.
func (*GetFqdnCacheParams) WithMatchpattern ¶ added in v0.15.7
func (o *GetFqdnCacheParams) WithMatchpattern(matchpattern *string) *GetFqdnCacheParams
WithMatchpattern adds the matchpattern to the get fqdn cache params.
func (*GetFqdnCacheParams) WithSource ¶ added in v0.15.7
func (o *GetFqdnCacheParams) WithSource(source *string) *GetFqdnCacheParams
WithSource adds the source to the get fqdn cache params.
func (*GetFqdnCacheParams) WithTimeout ¶ added in v0.15.7
func (o *GetFqdnCacheParams) WithTimeout(timeout time.Duration) *GetFqdnCacheParams
WithTimeout adds the timeout to the get fqdn cache params.
func (*GetFqdnCacheParams) WriteToRequest ¶ added in v0.15.7
func (o *GetFqdnCacheParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a runtime.ClientRequest.
type GetFqdnCacheReader ¶ added in v0.15.7
type GetFqdnCacheReader struct {
// contains filtered or unexported fields
}
GetFqdnCacheReader is a Reader for the GetFqdnCache structure.
func (*GetFqdnCacheReader) ReadResponse ¶ added in v0.15.7
func (o *GetFqdnCacheReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type GetFqdnNamesBadRequest ¶ added in v0.15.7
GetFqdnNamesBadRequest describes a response with status code 400, with default header values.
Invalid request (error parsing parameters)
func NewGetFqdnNamesBadRequest ¶ added in v0.15.7
func NewGetFqdnNamesBadRequest() *GetFqdnNamesBadRequest
NewGetFqdnNamesBadRequest creates a GetFqdnNamesBadRequest with default headers values
func (*GetFqdnNamesBadRequest) Code ¶ added in v1.16.0
func (o *GetFqdnNamesBadRequest) Code() int
Code gets the status code for the get fqdn names bad request response
func (*GetFqdnNamesBadRequest) Error ¶ added in v0.15.7
func (o *GetFqdnNamesBadRequest) Error() string
func (*GetFqdnNamesBadRequest) GetPayload ¶ added in v0.15.7
func (o *GetFqdnNamesBadRequest) GetPayload() models.Error
func (*GetFqdnNamesBadRequest) IsClientError ¶ added in v0.15.7
func (o *GetFqdnNamesBadRequest) IsClientError() bool
IsClientError returns true when this get fqdn names bad request response has a 4xx status code
func (*GetFqdnNamesBadRequest) IsCode ¶ added in v0.15.7
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 ¶ added in v0.15.7
func (o *GetFqdnNamesBadRequest) IsRedirect() bool
IsRedirect returns true when this get fqdn names bad request response has a 3xx status code
func (*GetFqdnNamesBadRequest) IsServerError ¶ added in v0.15.7
func (o *GetFqdnNamesBadRequest) IsServerError() bool
IsServerError returns true when this get fqdn names bad request response has a 5xx status code
func (*GetFqdnNamesBadRequest) IsSuccess ¶ added in v0.15.7
func (o *GetFqdnNamesBadRequest) IsSuccess() bool
IsSuccess returns true when this get fqdn names bad request response has a 2xx status code
func (*GetFqdnNamesBadRequest) String ¶ added in v0.15.7
func (o *GetFqdnNamesBadRequest) String() string
type GetFqdnNamesOK ¶ added in v0.15.7
type GetFqdnNamesOK struct {
Payload *models.NameManager
}
GetFqdnNamesOK describes a response with status code 200, with default header values.
Success
func NewGetFqdnNamesOK ¶ added in v0.15.7
func NewGetFqdnNamesOK() *GetFqdnNamesOK
NewGetFqdnNamesOK creates a GetFqdnNamesOK with default headers values
func (*GetFqdnNamesOK) Code ¶ added in v1.16.0
func (o *GetFqdnNamesOK) Code() int
Code gets the status code for the get fqdn names o k response
func (*GetFqdnNamesOK) Error ¶ added in v0.15.7
func (o *GetFqdnNamesOK) Error() string
func (*GetFqdnNamesOK) GetPayload ¶ added in v0.15.7
func (o *GetFqdnNamesOK) GetPayload() *models.NameManager
func (*GetFqdnNamesOK) IsClientError ¶ added in v0.15.7
func (o *GetFqdnNamesOK) IsClientError() bool
IsClientError returns true when this get fqdn names o k response has a 4xx status code
func (*GetFqdnNamesOK) IsCode ¶ added in v0.15.7
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 ¶ added in v0.15.7
func (o *GetFqdnNamesOK) IsRedirect() bool
IsRedirect returns true when this get fqdn names o k response has a 3xx status code
func (*GetFqdnNamesOK) IsServerError ¶ added in v0.15.7
func (o *GetFqdnNamesOK) IsServerError() bool
IsServerError returns true when this get fqdn names o k response has a 5xx status code
func (*GetFqdnNamesOK) IsSuccess ¶ added in v0.15.7
func (o *GetFqdnNamesOK) IsSuccess() bool
IsSuccess returns true when this get fqdn names o k response has a 2xx status code
func (*GetFqdnNamesOK) String ¶ added in v0.15.7
func (o *GetFqdnNamesOK) String() string
type GetFqdnNamesParams ¶ added in v0.15.7
type GetFqdnNamesParams struct {
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 ¶ added in v0.15.7
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
deprecated
added in
v0.15.7
func NewGetFqdnNamesParamsWithContext(ctx context.Context) *GetFqdnNamesParams
NewGetFqdnNamesParamsWithContext creates a new GetFqdnNamesParams object with the ability to set a context for a request.
Deprecated: use the operation call with context to pass the context instead of GetFqdnNamesParams.
func NewGetFqdnNamesParamsWithHTTPClient ¶ added in v0.15.7
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 ¶ added in v0.15.7
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
deprecated
added in
v0.15.7
func (o *GetFqdnNamesParams) SetContext(ctx context.Context)
SetContext adds the context to the get fqdn names params.
Deprecated: use the operation call with context to pass the context instead of GetFqdnNamesParams.
func (*GetFqdnNamesParams) SetDefaults ¶ added in v0.15.7
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 ¶ added in v0.15.7
func (o *GetFqdnNamesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get fqdn names params.
func (*GetFqdnNamesParams) SetTimeout ¶ added in v0.15.7
func (o *GetFqdnNamesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get fqdn names params.
func (*GetFqdnNamesParams) WithContext
deprecated
added in
v0.15.7
func (o *GetFqdnNamesParams) WithContext(ctx context.Context) *GetFqdnNamesParams
WithContext adds the context to the get fqdn names params.
Deprecated: use the operation call with context to pass the context instead of GetFqdnNamesParams.
func (*GetFqdnNamesParams) WithDefaults ¶ added in v0.15.7
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 ¶ added in v0.15.7
func (o *GetFqdnNamesParams) WithHTTPClient(client *http.Client) *GetFqdnNamesParams
WithHTTPClient adds the HTTPClient to the get fqdn names params.
func (*GetFqdnNamesParams) WithTimeout ¶ added in v0.15.7
func (o *GetFqdnNamesParams) WithTimeout(timeout time.Duration) *GetFqdnNamesParams
WithTimeout adds the timeout to the get fqdn names params.
func (*GetFqdnNamesParams) WriteToRequest ¶ added in v0.15.7
func (o *GetFqdnNamesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a runtime.ClientRequest.
type GetFqdnNamesReader ¶ added in v0.15.7
type GetFqdnNamesReader struct {
// contains filtered or unexported fields
}
GetFqdnNamesReader is a Reader for the GetFqdnNames structure.
func (*GetFqdnNamesReader) ReadResponse ¶ added in v0.15.7
func (o *GetFqdnNamesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type GetIPBadRequest ¶ added in v0.15.7
GetIPBadRequest describes a response with status code 400, with default header values.
Invalid request (error parsing parameters)
func NewGetIPBadRequest ¶ added in v0.15.7
func NewGetIPBadRequest() *GetIPBadRequest
NewGetIPBadRequest creates a GetIPBadRequest with default headers values
func (*GetIPBadRequest) Code ¶ added in v1.16.0
func (o *GetIPBadRequest) Code() int
Code gets the status code for the get Ip bad request response
func (*GetIPBadRequest) Error ¶ added in v0.15.7
func (o *GetIPBadRequest) Error() string
func (*GetIPBadRequest) GetPayload ¶ added in v0.15.7
func (o *GetIPBadRequest) GetPayload() models.Error
func (*GetIPBadRequest) IsClientError ¶ added in v0.15.7
func (o *GetIPBadRequest) IsClientError() bool
IsClientError returns true when this get Ip bad request response has a 4xx status code
func (*GetIPBadRequest) IsCode ¶ added in v0.15.7
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 ¶ added in v0.15.7
func (o *GetIPBadRequest) IsRedirect() bool
IsRedirect returns true when this get Ip bad request response has a 3xx status code
func (*GetIPBadRequest) IsServerError ¶ added in v0.15.7
func (o *GetIPBadRequest) IsServerError() bool
IsServerError returns true when this get Ip bad request response has a 5xx status code
func (*GetIPBadRequest) IsSuccess ¶ added in v0.15.7
func (o *GetIPBadRequest) IsSuccess() bool
IsSuccess returns true when this get Ip bad request response has a 2xx status code
func (*GetIPBadRequest) String ¶ added in v0.15.7
func (o *GetIPBadRequest) String() string
type GetIPNotFound ¶ added in v0.15.7
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 ¶ added in v0.15.7
func NewGetIPNotFound() *GetIPNotFound
NewGetIPNotFound creates a GetIPNotFound with default headers values
func (*GetIPNotFound) Code ¶ added in v1.16.0
func (o *GetIPNotFound) Code() int
Code gets the status code for the get Ip not found response
func (*GetIPNotFound) Error ¶ added in v0.15.7
func (o *GetIPNotFound) Error() string
func (*GetIPNotFound) IsClientError ¶ added in v0.15.7
func (o *GetIPNotFound) IsClientError() bool
IsClientError returns true when this get Ip not found response has a 4xx status code
func (*GetIPNotFound) IsCode ¶ added in v0.15.7
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 ¶ added in v0.15.7
func (o *GetIPNotFound) IsRedirect() bool
IsRedirect returns true when this get Ip not found response has a 3xx status code
func (*GetIPNotFound) IsServerError ¶ added in v0.15.7
func (o *GetIPNotFound) IsServerError() bool
IsServerError returns true when this get Ip not found response has a 5xx status code
func (*GetIPNotFound) IsSuccess ¶ added in v0.15.7
func (o *GetIPNotFound) IsSuccess() bool
IsSuccess returns true when this get Ip not found response has a 2xx status code
func (*GetIPNotFound) String ¶ added in v0.15.7
func (o *GetIPNotFound) String() string
type GetIPOK ¶ added in v0.15.7
type GetIPOK struct {
Payload []*models.IPListEntry
}
GetIPOK describes a response with status code 200, with default header values.
Success
func NewGetIPOK ¶ added in v0.15.7
func NewGetIPOK() *GetIPOK
NewGetIPOK creates a GetIPOK with default headers values
func (*GetIPOK) GetPayload ¶ added in v0.15.7
func (o *GetIPOK) GetPayload() []*models.IPListEntry
func (*GetIPOK) IsClientError ¶ added in v0.15.7
IsClientError returns true when this get Ip o k response has a 4xx status code
func (*GetIPOK) IsCode ¶ added in v0.15.7
IsCode returns true when this get Ip o k response a status code equal to that given
func (*GetIPOK) IsRedirect ¶ added in v0.15.7
IsRedirect returns true when this get Ip o k response has a 3xx status code
func (*GetIPOK) IsServerError ¶ added in v0.15.7
IsServerError returns true when this get Ip o k response has a 5xx status code
type GetIPParams ¶ added in v0.15.7
type GetIPParams struct {
/* Cidr.
A CIDR range of IPs
*/
Cidr *string
/* Labels.
List of labels
*/
Labels models.Labels
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 ¶ added in v0.15.7
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
deprecated
added in
v0.15.7
func NewGetIPParamsWithContext(ctx context.Context) *GetIPParams
NewGetIPParamsWithContext creates a new GetIPParams object with the ability to set a context for a request.
Deprecated: use the operation call with context to pass the context instead of GetIPParams.
func NewGetIPParamsWithHTTPClient ¶ added in v0.15.7
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 ¶ added in v0.15.7
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 ¶ added in v0.15.7
func (o *GetIPParams) SetCidr(cidr *string)
SetCidr adds the cidr to the get IP params.
func (*GetIPParams) SetContext
deprecated
added in
v0.15.7
func (o *GetIPParams) SetContext(ctx context.Context)
SetContext adds the context to the get IP params.
Deprecated: use the operation call with context to pass the context instead of GetIPParams.
func (*GetIPParams) SetDefaults ¶ added in v0.15.7
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 ¶ added in v0.15.7
func (o *GetIPParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get IP params.
func (*GetIPParams) SetLabels ¶ added in v1.17.0
func (o *GetIPParams) SetLabels(labels models.Labels)
SetLabels adds the labels to the get IP params.
func (*GetIPParams) SetTimeout ¶ added in v0.15.7
func (o *GetIPParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get IP params.
func (*GetIPParams) WithCidr ¶ added in v0.15.7
func (o *GetIPParams) WithCidr(cidr *string) *GetIPParams
WithCidr adds the cidr to the get IP params.
func (*GetIPParams) WithContext
deprecated
added in
v0.15.7
func (o *GetIPParams) WithContext(ctx context.Context) *GetIPParams
WithContext adds the context to the get IP params.
Deprecated: use the operation call with context to pass the context instead of GetIPParams.
func (*GetIPParams) WithDefaults ¶ added in v0.15.7
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 ¶ added in v0.15.7
func (o *GetIPParams) WithHTTPClient(client *http.Client) *GetIPParams
WithHTTPClient adds the HTTPClient to the get IP params.
func (*GetIPParams) WithLabels ¶ added in v1.17.0
func (o *GetIPParams) WithLabels(labels models.Labels) *GetIPParams
WithLabels adds the labels to the get IP params.
func (*GetIPParams) WithTimeout ¶ added in v0.15.7
func (o *GetIPParams) WithTimeout(timeout time.Duration) *GetIPParams
WithTimeout adds the timeout to the get IP params.
func (*GetIPParams) WriteToRequest ¶ added in v0.15.7
func (o *GetIPParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a runtime.ClientRequest.
type GetIPReader ¶ added in v0.15.7
type GetIPReader struct {
// contains filtered or unexported fields
}
GetIPReader is a Reader for the GetIP structure.
func (*GetIPReader) ReadResponse ¶ added in v0.15.7
func (o *GetIPReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type GetIdentityEndpointsNotFound ¶ added in v0.15.7
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 ¶ added in v0.15.7
func NewGetIdentityEndpointsNotFound() *GetIdentityEndpointsNotFound
NewGetIdentityEndpointsNotFound creates a GetIdentityEndpointsNotFound with default headers values
func (*GetIdentityEndpointsNotFound) Code ¶ added in v1.16.0
func (o *GetIdentityEndpointsNotFound) Code() int
Code gets the status code for the get identity endpoints not found response
func (*GetIdentityEndpointsNotFound) Error ¶ added in v0.15.7
func (o *GetIdentityEndpointsNotFound) Error() string
func (*GetIdentityEndpointsNotFound) IsClientError ¶ added in v0.15.7
func (o *GetIdentityEndpointsNotFound) IsClientError() bool
IsClientError returns true when this get identity endpoints not found response has a 4xx status code
func (*GetIdentityEndpointsNotFound) IsCode ¶ added in v0.15.7
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 ¶ added in v0.15.7
func (o *GetIdentityEndpointsNotFound) IsRedirect() bool
IsRedirect returns true when this get identity endpoints not found response has a 3xx status code
func (*GetIdentityEndpointsNotFound) IsServerError ¶ added in v0.15.7
func (o *GetIdentityEndpointsNotFound) IsServerError() bool
IsServerError returns true when this get identity endpoints not found response has a 5xx status code
func (*GetIdentityEndpointsNotFound) IsSuccess ¶ added in v0.15.7
func (o *GetIdentityEndpointsNotFound) IsSuccess() bool
IsSuccess returns true when this get identity endpoints not found response has a 2xx status code
func (*GetIdentityEndpointsNotFound) String ¶ added in v0.15.7
func (o *GetIdentityEndpointsNotFound) String() string
type GetIdentityEndpointsOK ¶ added in v0.15.7
type GetIdentityEndpointsOK struct {
Payload []*models.IdentityEndpoints
}
GetIdentityEndpointsOK describes a response with status code 200, with default header values.
Success
func NewGetIdentityEndpointsOK ¶ added in v0.15.7
func NewGetIdentityEndpointsOK() *GetIdentityEndpointsOK
NewGetIdentityEndpointsOK creates a GetIdentityEndpointsOK with default headers values
func (*GetIdentityEndpointsOK) Code ¶ added in v1.16.0
func (o *GetIdentityEndpointsOK) Code() int
Code gets the status code for the get identity endpoints o k response
func (*GetIdentityEndpointsOK) Error ¶ added in v0.15.7
func (o *GetIdentityEndpointsOK) Error() string
func (*GetIdentityEndpointsOK) GetPayload ¶ added in v0.15.7
func (o *GetIdentityEndpointsOK) GetPayload() []*models.IdentityEndpoints
func (*GetIdentityEndpointsOK) IsClientError ¶ added in v0.15.7
func (o *GetIdentityEndpointsOK) IsClientError() bool
IsClientError returns true when this get identity endpoints o k response has a 4xx status code
func (*GetIdentityEndpointsOK) IsCode ¶ added in v0.15.7
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 ¶ added in v0.15.7
func (o *GetIdentityEndpointsOK) IsRedirect() bool
IsRedirect returns true when this get identity endpoints o k response has a 3xx status code
func (*GetIdentityEndpointsOK) IsServerError ¶ added in v0.15.7
func (o *GetIdentityEndpointsOK) IsServerError() bool
IsServerError returns true when this get identity endpoints o k response has a 5xx status code
func (*GetIdentityEndpointsOK) IsSuccess ¶ added in v0.15.7
func (o *GetIdentityEndpointsOK) IsSuccess() bool
IsSuccess returns true when this get identity endpoints o k response has a 2xx status code
func (*GetIdentityEndpointsOK) String ¶ added in v0.15.7
func (o *GetIdentityEndpointsOK) String() string
type GetIdentityEndpointsParams ¶ added in v0.15.7
type GetIdentityEndpointsParams struct {
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 ¶ added in v0.15.7
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
deprecated
added in
v0.15.7
func NewGetIdentityEndpointsParamsWithContext(ctx context.Context) *GetIdentityEndpointsParams
NewGetIdentityEndpointsParamsWithContext creates a new GetIdentityEndpointsParams object with the ability to set a context for a request.
Deprecated: use the operation call with context to pass the context instead of GetIdentityEndpointsParams.
func NewGetIdentityEndpointsParamsWithHTTPClient ¶ added in v0.15.7
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 ¶ added in v0.15.7
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
deprecated
added in
v0.15.7
func (o *GetIdentityEndpointsParams) SetContext(ctx context.Context)
SetContext adds the context to the get identity endpoints params.
Deprecated: use the operation call with context to pass the context instead of GetIdentityEndpointsParams.
func (*GetIdentityEndpointsParams) SetDefaults ¶ added in v0.15.7
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 ¶ added in v0.15.7
func (o *GetIdentityEndpointsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get identity endpoints params.
func (*GetIdentityEndpointsParams) SetTimeout ¶ added in v0.15.7
func (o *GetIdentityEndpointsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get identity endpoints params.
func (*GetIdentityEndpointsParams) WithContext
deprecated
added in
v0.15.7
func (o *GetIdentityEndpointsParams) WithContext(ctx context.Context) *GetIdentityEndpointsParams
WithContext adds the context to the get identity endpoints params.
Deprecated: use the operation call with context to pass the context instead of GetIdentityEndpointsParams.
func (*GetIdentityEndpointsParams) WithDefaults ¶ added in v0.15.7
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 ¶ added in v0.15.7
func (o *GetIdentityEndpointsParams) WithHTTPClient(client *http.Client) *GetIdentityEndpointsParams
WithHTTPClient adds the HTTPClient to the get identity endpoints params.
func (*GetIdentityEndpointsParams) WithTimeout ¶ added in v0.15.7
func (o *GetIdentityEndpointsParams) WithTimeout(timeout time.Duration) *GetIdentityEndpointsParams
WithTimeout adds the timeout to the get identity endpoints params.
func (*GetIdentityEndpointsParams) WriteToRequest ¶ added in v0.15.7
func (o *GetIdentityEndpointsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a runtime.ClientRequest.
type GetIdentityEndpointsReader ¶ added in v0.15.7
type GetIdentityEndpointsReader struct {
// contains filtered or unexported fields
}
GetIdentityEndpointsReader is a Reader for the GetIdentityEndpoints structure.
func (*GetIdentityEndpointsReader) ReadResponse ¶ added in v0.15.7
func (o *GetIdentityEndpointsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, 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) Code ¶ added in v1.16.0
func (o *GetIdentityIDBadRequest) Code() int
Code gets the status code for the get identity Id bad request response
func (*GetIdentityIDBadRequest) Error ¶
func (o *GetIdentityIDBadRequest) Error() string
func (*GetIdentityIDBadRequest) IsClientError ¶ added in v0.15.7
func (o *GetIdentityIDBadRequest) IsClientError() bool
IsClientError returns true when this get identity Id bad request response has a 4xx status code
func (*GetIdentityIDBadRequest) IsCode ¶ added in v0.15.7
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 ¶ added in v0.15.7
func (o *GetIdentityIDBadRequest) IsRedirect() bool
IsRedirect returns true when this get identity Id bad request response has a 3xx status code
func (*GetIdentityIDBadRequest) IsServerError ¶ added in v0.15.7
func (o *GetIdentityIDBadRequest) IsServerError() bool
IsServerError returns true when this get identity Id bad request response has a 5xx status code
func (*GetIdentityIDBadRequest) IsSuccess ¶ added in v0.15.7
func (o *GetIdentityIDBadRequest) IsSuccess() bool
IsSuccess returns true when this get identity Id bad request response has a 2xx status code
func (*GetIdentityIDBadRequest) String ¶ added in v0.15.7
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) Code ¶ added in v1.16.0
func (o *GetIdentityIDInvalidStorageFormat) Code() int
Code gets the status code for the get identity Id invalid storage format response
func (*GetIdentityIDInvalidStorageFormat) Error ¶
func (o *GetIdentityIDInvalidStorageFormat) Error() string
func (*GetIdentityIDInvalidStorageFormat) GetPayload ¶ added in v0.15.7
func (o *GetIdentityIDInvalidStorageFormat) GetPayload() models.Error
func (*GetIdentityIDInvalidStorageFormat) IsClientError ¶ added in v0.15.7
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 ¶ added in v0.15.7
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 ¶ added in v0.15.7
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 ¶ added in v0.15.7
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 ¶ added in v0.15.7
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 ¶ added in v0.15.7
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) Code ¶ added in v1.16.0
func (o *GetIdentityIDNotFound) Code() int
Code gets the status code for the get identity Id not found response
func (*GetIdentityIDNotFound) Error ¶
func (o *GetIdentityIDNotFound) Error() string
func (*GetIdentityIDNotFound) IsClientError ¶ added in v0.15.7
func (o *GetIdentityIDNotFound) IsClientError() bool
IsClientError returns true when this get identity Id not found response has a 4xx status code
func (*GetIdentityIDNotFound) IsCode ¶ added in v0.15.7
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 ¶ added in v0.15.7
func (o *GetIdentityIDNotFound) IsRedirect() bool
IsRedirect returns true when this get identity Id not found response has a 3xx status code
func (*GetIdentityIDNotFound) IsServerError ¶ added in v0.15.7
func (o *GetIdentityIDNotFound) IsServerError() bool
IsServerError returns true when this get identity Id not found response has a 5xx status code
func (*GetIdentityIDNotFound) IsSuccess ¶ added in v0.15.7
func (o *GetIdentityIDNotFound) IsSuccess() bool
IsSuccess returns true when this get identity Id not found response has a 2xx status code
func (*GetIdentityIDNotFound) String ¶ added in v0.15.7
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) Code ¶ added in v1.16.0
func (o *GetIdentityIDOK) Code() int
Code gets the status code for the get identity Id o k response
func (*GetIdentityIDOK) Error ¶
func (o *GetIdentityIDOK) Error() string
func (*GetIdentityIDOK) GetPayload ¶ added in v0.15.7
func (o *GetIdentityIDOK) GetPayload() *models.Identity
func (*GetIdentityIDOK) IsClientError ¶ added in v0.15.7
func (o *GetIdentityIDOK) IsClientError() bool
IsClientError returns true when this get identity Id o k response has a 4xx status code
func (*GetIdentityIDOK) IsCode ¶ added in v0.15.7
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 ¶ added in v0.15.7
func (o *GetIdentityIDOK) IsRedirect() bool
IsRedirect returns true when this get identity Id o k response has a 3xx status code
func (*GetIdentityIDOK) IsServerError ¶ added in v0.15.7
func (o *GetIdentityIDOK) IsServerError() bool
IsServerError returns true when this get identity Id o k response has a 5xx status code
func (*GetIdentityIDOK) IsSuccess ¶ added in v0.15.7
func (o *GetIdentityIDOK) IsSuccess() bool
IsSuccess returns true when this get identity Id o k response has a 2xx status code
func (*GetIdentityIDOK) String ¶ added in v0.15.7
func (o *GetIdentityIDOK) String() string
type GetIdentityIDParams ¶
type GetIdentityIDParams struct {
/* ID.
Cluster wide unique identifier of a security identity.
*/
ID string
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
deprecated
func NewGetIdentityIDParamsWithContext(ctx context.Context) *GetIdentityIDParams
NewGetIdentityIDParamsWithContext creates a new GetIdentityIDParams object with the ability to set a context for a request.
Deprecated: use the operation call with context to pass the context instead of GetIdentityIDParams.
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
deprecated
func (o *GetIdentityIDParams) SetContext(ctx context.Context)
SetContext adds the context to the get identity ID params.
Deprecated: use the operation call with context to pass the context instead of GetIdentityIDParams.
func (*GetIdentityIDParams) SetDefaults ¶ added in v0.15.7
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
deprecated
func (o *GetIdentityIDParams) WithContext(ctx context.Context) *GetIdentityIDParams
WithContext adds the context to the get identity ID params.
Deprecated: use the operation call with context to pass the context instead of GetIdentityIDParams.
func (*GetIdentityIDParams) WithDefaults ¶ added in v0.15.7
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 runtime.ClientRequest.
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) (any, 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) Code ¶ added in v1.16.0
func (o *GetIdentityIDUnreachable) Code() int
Code gets the status code for the get identity Id unreachable response
func (*GetIdentityIDUnreachable) Error ¶
func (o *GetIdentityIDUnreachable) Error() string
func (*GetIdentityIDUnreachable) GetPayload ¶ added in v0.15.7
func (o *GetIdentityIDUnreachable) GetPayload() models.Error
func (*GetIdentityIDUnreachable) IsClientError ¶ added in v0.15.7
func (o *GetIdentityIDUnreachable) IsClientError() bool
IsClientError returns true when this get identity Id unreachable response has a 4xx status code
func (*GetIdentityIDUnreachable) IsCode ¶ added in v0.15.7
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 ¶ added in v0.15.7
func (o *GetIdentityIDUnreachable) IsRedirect() bool
IsRedirect returns true when this get identity Id unreachable response has a 3xx status code
func (*GetIdentityIDUnreachable) IsServerError ¶ added in v0.15.7
func (o *GetIdentityIDUnreachable) IsServerError() bool
IsServerError returns true when this get identity Id unreachable response has a 5xx status code
func (*GetIdentityIDUnreachable) IsSuccess ¶ added in v0.15.7
func (o *GetIdentityIDUnreachable) IsSuccess() bool
IsSuccess returns true when this get identity Id unreachable response has a 2xx status code
func (*GetIdentityIDUnreachable) String ¶ added in v0.15.7
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) Code ¶ added in v1.16.0
func (o *GetIdentityInvalidStorageFormat) Code() int
Code gets the status code for the get identity invalid storage format response
func (*GetIdentityInvalidStorageFormat) Error ¶
func (o *GetIdentityInvalidStorageFormat) Error() string
func (*GetIdentityInvalidStorageFormat) GetPayload ¶ added in v0.15.7
func (o *GetIdentityInvalidStorageFormat) GetPayload() models.Error
func (*GetIdentityInvalidStorageFormat) IsClientError ¶ added in v0.15.7
func (o *GetIdentityInvalidStorageFormat) IsClientError() bool
IsClientError returns true when this get identity invalid storage format response has a 4xx status code
func (*GetIdentityInvalidStorageFormat) IsCode ¶ added in v0.15.7
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 ¶ added in v0.15.7
func (o *GetIdentityInvalidStorageFormat) IsRedirect() bool
IsRedirect returns true when this get identity invalid storage format response has a 3xx status code
func (*GetIdentityInvalidStorageFormat) IsServerError ¶ added in v0.15.7
func (o *GetIdentityInvalidStorageFormat) IsServerError() bool
IsServerError returns true when this get identity invalid storage format response has a 5xx status code
func (*GetIdentityInvalidStorageFormat) IsSuccess ¶ added in v0.15.7
func (o *GetIdentityInvalidStorageFormat) IsSuccess() bool
IsSuccess returns true when this get identity invalid storage format response has a 2xx status code
func (*GetIdentityInvalidStorageFormat) String ¶ added in v0.15.7
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) Code ¶ added in v1.16.0
func (o *GetIdentityNotFound) Code() int
Code gets the status code for the get identity not found response
func (*GetIdentityNotFound) Error ¶
func (o *GetIdentityNotFound) Error() string
func (*GetIdentityNotFound) IsClientError ¶ added in v0.15.7
func (o *GetIdentityNotFound) IsClientError() bool
IsClientError returns true when this get identity not found response has a 4xx status code
func (*GetIdentityNotFound) IsCode ¶ added in v0.15.7
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 ¶ added in v0.15.7
func (o *GetIdentityNotFound) IsRedirect() bool
IsRedirect returns true when this get identity not found response has a 3xx status code
func (*GetIdentityNotFound) IsServerError ¶ added in v0.15.7
func (o *GetIdentityNotFound) IsServerError() bool
IsServerError returns true when this get identity not found response has a 5xx status code
func (*GetIdentityNotFound) IsSuccess ¶ added in v0.15.7
func (o *GetIdentityNotFound) IsSuccess() bool
IsSuccess returns true when this get identity not found response has a 2xx status code
func (*GetIdentityNotFound) String ¶ added in v0.15.7
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) Code ¶ added in v1.16.0
func (o *GetIdentityOK) Code() int
Code gets the status code for the get identity o k response
func (*GetIdentityOK) Error ¶
func (o *GetIdentityOK) Error() string
func (*GetIdentityOK) GetPayload ¶ added in v0.15.7
func (o *GetIdentityOK) GetPayload() []*models.Identity
func (*GetIdentityOK) IsClientError ¶ added in v0.15.7
func (o *GetIdentityOK) IsClientError() bool
IsClientError returns true when this get identity o k response has a 4xx status code
func (*GetIdentityOK) IsCode ¶ added in v0.15.7
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 ¶ added in v0.15.7
func (o *GetIdentityOK) IsRedirect() bool
IsRedirect returns true when this get identity o k response has a 3xx status code
func (*GetIdentityOK) IsServerError ¶ added in v0.15.7
func (o *GetIdentityOK) IsServerError() bool
IsServerError returns true when this get identity o k response has a 5xx status code
func (*GetIdentityOK) IsSuccess ¶ added in v0.15.7
func (o *GetIdentityOK) IsSuccess() bool
IsSuccess returns true when this get identity o k response has a 2xx status code
func (*GetIdentityOK) String ¶ added in v0.15.7
func (o *GetIdentityOK) String() string
type GetIdentityParams ¶
type GetIdentityParams struct {
/* Labels.
List of labels
*/
Labels models.Labels
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
deprecated
func NewGetIdentityParamsWithContext(ctx context.Context) *GetIdentityParams
NewGetIdentityParamsWithContext creates a new GetIdentityParams object with the ability to set a context for a request.
Deprecated: use the operation call with context to pass the context instead of GetIdentityParams.
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
deprecated
func (o *GetIdentityParams) SetContext(ctx context.Context)
SetContext adds the context to the get identity params.
Deprecated: use the operation call with context to pass the context instead of GetIdentityParams.
func (*GetIdentityParams) SetDefaults ¶ added in v0.15.7
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
deprecated
func (o *GetIdentityParams) WithContext(ctx context.Context) *GetIdentityParams
WithContext adds the context to the get identity params.
Deprecated: use the operation call with context to pass the context instead of GetIdentityParams.
func (*GetIdentityParams) WithDefaults ¶ added in v0.15.7
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 runtime.ClientRequest.
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) (any, 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) Code ¶ added in v1.16.0
func (o *GetIdentityUnreachable) Code() int
Code gets the status code for the get identity unreachable response
func (*GetIdentityUnreachable) Error ¶
func (o *GetIdentityUnreachable) Error() string
func (*GetIdentityUnreachable) GetPayload ¶ added in v0.15.7
func (o *GetIdentityUnreachable) GetPayload() models.Error
func (*GetIdentityUnreachable) IsClientError ¶ added in v0.15.7
func (o *GetIdentityUnreachable) IsClientError() bool
IsClientError returns true when this get identity unreachable response has a 4xx status code
func (*GetIdentityUnreachable) IsCode ¶ added in v0.15.7
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 ¶ added in v0.15.7
func (o *GetIdentityUnreachable) IsRedirect() bool
IsRedirect returns true when this get identity unreachable response has a 3xx status code
func (*GetIdentityUnreachable) IsServerError ¶ added in v0.15.7
func (o *GetIdentityUnreachable) IsServerError() bool
IsServerError returns true when this get identity unreachable response has a 5xx status code
func (*GetIdentityUnreachable) IsSuccess ¶ added in v0.15.7
func (o *GetIdentityUnreachable) IsSuccess() bool
IsSuccess returns true when this get identity unreachable response has a 2xx status code
func (*GetIdentityUnreachable) String ¶ added in v0.15.7
func (o *GetIdentityUnreachable) String() string
type GetPolicyNotFound ¶ added in v0.9.0
type GetPolicyNotFound struct {
}
GetPolicyNotFound describes a response with status code 404, with default header values.
No policy rules found
func NewGetPolicyNotFound ¶ added in v0.9.0
func NewGetPolicyNotFound() *GetPolicyNotFound
NewGetPolicyNotFound creates a GetPolicyNotFound with default headers values
func (*GetPolicyNotFound) Code ¶ added in v1.16.0
func (o *GetPolicyNotFound) Code() int
Code gets the status code for the get policy not found response
func (*GetPolicyNotFound) Error ¶ added in v0.9.0
func (o *GetPolicyNotFound) Error() string
func (*GetPolicyNotFound) IsClientError ¶ added in v0.15.7
func (o *GetPolicyNotFound) IsClientError() bool
IsClientError returns true when this get policy not found response has a 4xx status code
func (*GetPolicyNotFound) IsCode ¶ added in v0.15.7
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 ¶ added in v0.15.7
func (o *GetPolicyNotFound) IsRedirect() bool
IsRedirect returns true when this get policy not found response has a 3xx status code
func (*GetPolicyNotFound) IsServerError ¶ added in v0.15.7
func (o *GetPolicyNotFound) IsServerError() bool
IsServerError returns true when this get policy not found response has a 5xx status code
func (*GetPolicyNotFound) IsSuccess ¶ added in v0.15.7
func (o *GetPolicyNotFound) IsSuccess() bool
IsSuccess returns true when this get policy not found response has a 2xx status code
func (*GetPolicyNotFound) String ¶ added in v0.15.7
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) Code ¶ added in v1.16.0
func (o *GetPolicyOK) Code() int
Code gets the status code for the get policy o k response
func (*GetPolicyOK) Error ¶
func (o *GetPolicyOK) Error() string
func (*GetPolicyOK) GetPayload ¶ added in v0.15.7
func (o *GetPolicyOK) GetPayload() *models.Policy
func (*GetPolicyOK) IsClientError ¶ added in v0.15.7
func (o *GetPolicyOK) IsClientError() bool
IsClientError returns true when this get policy o k response has a 4xx status code
func (*GetPolicyOK) IsCode ¶ added in v0.15.7
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 ¶ added in v0.15.7
func (o *GetPolicyOK) IsRedirect() bool
IsRedirect returns true when this get policy o k response has a 3xx status code
func (*GetPolicyOK) IsServerError ¶ added in v0.15.7
func (o *GetPolicyOK) IsServerError() bool
IsServerError returns true when this get policy o k response has a 5xx status code
func (*GetPolicyOK) IsSuccess ¶ added in v0.15.7
func (o *GetPolicyOK) IsSuccess() bool
IsSuccess returns true when this get policy o k response has a 2xx status code
func (*GetPolicyOK) String ¶ added in v0.15.7
func (o *GetPolicyOK) String() string
type GetPolicyParams ¶
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
deprecated
func NewGetPolicyParamsWithContext(ctx context.Context) *GetPolicyParams
NewGetPolicyParamsWithContext creates a new GetPolicyParams object with the ability to set a context for a request.
Deprecated: use the operation call with context to pass the context instead of GetPolicyParams.
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
deprecated
func (o *GetPolicyParams) SetContext(ctx context.Context)
SetContext adds the context to the get policy params.
Deprecated: use the operation call with context to pass the context instead of GetPolicyParams.
func (*GetPolicyParams) SetDefaults ¶ added in v0.15.7
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) SetTimeout ¶
func (o *GetPolicyParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get policy params.
func (*GetPolicyParams) WithContext
deprecated
func (o *GetPolicyParams) WithContext(ctx context.Context) *GetPolicyParams
WithContext adds the context to the get policy params.
Deprecated: use the operation call with context to pass the context instead of GetPolicyParams.
func (*GetPolicyParams) WithDefaults ¶ added in v0.15.7
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) 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 runtime.ClientRequest.
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) (any, error)
ReadResponse reads a server response into the received o.
type GetPolicySelectorsOK ¶ added in v0.15.7
type GetPolicySelectorsOK struct {
Payload models.SelectorCache
}
GetPolicySelectorsOK describes a response with status code 200, with default header values.
Success
func NewGetPolicySelectorsOK ¶ added in v0.15.7
func NewGetPolicySelectorsOK() *GetPolicySelectorsOK
NewGetPolicySelectorsOK creates a GetPolicySelectorsOK with default headers values
func (*GetPolicySelectorsOK) Code ¶ added in v1.16.0
func (o *GetPolicySelectorsOK) Code() int
Code gets the status code for the get policy selectors o k response
func (*GetPolicySelectorsOK) Error ¶ added in v0.15.7
func (o *GetPolicySelectorsOK) Error() string
func (*GetPolicySelectorsOK) GetPayload ¶ added in v0.15.7
func (o *GetPolicySelectorsOK) GetPayload() models.SelectorCache
func (*GetPolicySelectorsOK) IsClientError ¶ added in v0.15.7
func (o *GetPolicySelectorsOK) IsClientError() bool
IsClientError returns true when this get policy selectors o k response has a 4xx status code
func (*GetPolicySelectorsOK) IsCode ¶ added in v0.15.7
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 ¶ added in v0.15.7
func (o *GetPolicySelectorsOK) IsRedirect() bool
IsRedirect returns true when this get policy selectors o k response has a 3xx status code
func (*GetPolicySelectorsOK) IsServerError ¶ added in v0.15.7
func (o *GetPolicySelectorsOK) IsServerError() bool
IsServerError returns true when this get policy selectors o k response has a 5xx status code
func (*GetPolicySelectorsOK) IsSuccess ¶ added in v0.15.7
func (o *GetPolicySelectorsOK) IsSuccess() bool
IsSuccess returns true when this get policy selectors o k response has a 2xx status code
func (*GetPolicySelectorsOK) String ¶ added in v0.15.7
func (o *GetPolicySelectorsOK) String() string
type GetPolicySelectorsParams ¶ added in v0.15.7
type GetPolicySelectorsParams struct {
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 ¶ added in v0.15.7
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
deprecated
added in
v0.15.7
func NewGetPolicySelectorsParamsWithContext(ctx context.Context) *GetPolicySelectorsParams
NewGetPolicySelectorsParamsWithContext creates a new GetPolicySelectorsParams object with the ability to set a context for a request.
Deprecated: use the operation call with context to pass the context instead of GetPolicySelectorsParams.
func NewGetPolicySelectorsParamsWithHTTPClient ¶ added in v0.15.7
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 ¶ added in v0.15.7
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
deprecated
added in
v0.15.7
func (o *GetPolicySelectorsParams) SetContext(ctx context.Context)
SetContext adds the context to the get policy selectors params.
Deprecated: use the operation call with context to pass the context instead of GetPolicySelectorsParams.
func (*GetPolicySelectorsParams) SetDefaults ¶ added in v0.15.7
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 ¶ added in v0.15.7
func (o *GetPolicySelectorsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get policy selectors params.
func (*GetPolicySelectorsParams) SetTimeout ¶ added in v0.15.7
func (o *GetPolicySelectorsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get policy selectors params.
func (*GetPolicySelectorsParams) WithContext
deprecated
added in
v0.15.7
func (o *GetPolicySelectorsParams) WithContext(ctx context.Context) *GetPolicySelectorsParams
WithContext adds the context to the get policy selectors params.
Deprecated: use the operation call with context to pass the context instead of GetPolicySelectorsParams.
func (*GetPolicySelectorsParams) WithDefaults ¶ added in v0.15.7
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 ¶ added in v0.15.7
func (o *GetPolicySelectorsParams) WithHTTPClient(client *http.Client) *GetPolicySelectorsParams
WithHTTPClient adds the HTTPClient to the get policy selectors params.
func (*GetPolicySelectorsParams) WithTimeout ¶ added in v0.15.7
func (o *GetPolicySelectorsParams) WithTimeout(timeout time.Duration) *GetPolicySelectorsParams
WithTimeout adds the timeout to the get policy selectors params.
func (*GetPolicySelectorsParams) WriteToRequest ¶ added in v0.15.7
func (o *GetPolicySelectorsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a runtime.ClientRequest.
type GetPolicySelectorsReader ¶ added in v0.15.7
type GetPolicySelectorsReader struct {
// contains filtered or unexported fields
}
GetPolicySelectorsReader is a Reader for the GetPolicySelectors structure.
func (*GetPolicySelectorsReader) ReadResponse ¶ added in v0.15.7
func (o *GetPolicySelectorsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type GetPolicySubjectSelectorsOK ¶ added in v1.19.0
type GetPolicySubjectSelectorsOK struct {
Payload models.SelectorCache
}
GetPolicySubjectSelectorsOK describes a response with status code 200, with default header values.
Success
func NewGetPolicySubjectSelectorsOK ¶ added in v1.19.0
func NewGetPolicySubjectSelectorsOK() *GetPolicySubjectSelectorsOK
NewGetPolicySubjectSelectorsOK creates a GetPolicySubjectSelectorsOK with default headers values
func (*GetPolicySubjectSelectorsOK) Code ¶ added in v1.19.0
func (o *GetPolicySubjectSelectorsOK) Code() int
Code gets the status code for the get policy subject selectors o k response
func (*GetPolicySubjectSelectorsOK) Error ¶ added in v1.19.0
func (o *GetPolicySubjectSelectorsOK) Error() string
func (*GetPolicySubjectSelectorsOK) GetPayload ¶ added in v1.19.0
func (o *GetPolicySubjectSelectorsOK) GetPayload() models.SelectorCache
func (*GetPolicySubjectSelectorsOK) IsClientError ¶ added in v1.19.0
func (o *GetPolicySubjectSelectorsOK) IsClientError() bool
IsClientError returns true when this get policy subject selectors o k response has a 4xx status code
func (*GetPolicySubjectSelectorsOK) IsCode ¶ added in v1.19.0
func (o *GetPolicySubjectSelectorsOK) IsCode(code int) bool
IsCode returns true when this get policy subject selectors o k response a status code equal to that given
func (*GetPolicySubjectSelectorsOK) IsRedirect ¶ added in v1.19.0
func (o *GetPolicySubjectSelectorsOK) IsRedirect() bool
IsRedirect returns true when this get policy subject selectors o k response has a 3xx status code
func (*GetPolicySubjectSelectorsOK) IsServerError ¶ added in v1.19.0
func (o *GetPolicySubjectSelectorsOK) IsServerError() bool
IsServerError returns true when this get policy subject selectors o k response has a 5xx status code
func (*GetPolicySubjectSelectorsOK) IsSuccess ¶ added in v1.19.0
func (o *GetPolicySubjectSelectorsOK) IsSuccess() bool
IsSuccess returns true when this get policy subject selectors o k response has a 2xx status code
func (*GetPolicySubjectSelectorsOK) String ¶ added in v1.19.0
func (o *GetPolicySubjectSelectorsOK) String() string
type GetPolicySubjectSelectorsParams ¶ added in v1.19.0
type GetPolicySubjectSelectorsParams struct {
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetPolicySubjectSelectorsParams contains all the parameters to send to the API endpoint
for the get policy subject selectors operation. Typically these are written to a http.Request.
func NewGetPolicySubjectSelectorsParams ¶ added in v1.19.0
func NewGetPolicySubjectSelectorsParams() *GetPolicySubjectSelectorsParams
NewGetPolicySubjectSelectorsParams creates a new GetPolicySubjectSelectorsParams 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 NewGetPolicySubjectSelectorsParamsWithContext
deprecated
added in
v1.19.0
func NewGetPolicySubjectSelectorsParamsWithContext(ctx context.Context) *GetPolicySubjectSelectorsParams
NewGetPolicySubjectSelectorsParamsWithContext creates a new GetPolicySubjectSelectorsParams object with the ability to set a context for a request.
Deprecated: use the operation call with context to pass the context instead of GetPolicySubjectSelectorsParams.
func NewGetPolicySubjectSelectorsParamsWithHTTPClient ¶ added in v1.19.0
func NewGetPolicySubjectSelectorsParamsWithHTTPClient(client *http.Client) *GetPolicySubjectSelectorsParams
NewGetPolicySubjectSelectorsParamsWithHTTPClient creates a new GetPolicySubjectSelectorsParams object with the ability to set a custom HTTPClient for a request.
func NewGetPolicySubjectSelectorsParamsWithTimeout ¶ added in v1.19.0
func NewGetPolicySubjectSelectorsParamsWithTimeout(timeout time.Duration) *GetPolicySubjectSelectorsParams
NewGetPolicySubjectSelectorsParamsWithTimeout creates a new GetPolicySubjectSelectorsParams object with the ability to set a timeout on a request.
func (*GetPolicySubjectSelectorsParams) SetContext
deprecated
added in
v1.19.0
func (o *GetPolicySubjectSelectorsParams) SetContext(ctx context.Context)
SetContext adds the context to the get policy subject selectors params.
Deprecated: use the operation call with context to pass the context instead of GetPolicySubjectSelectorsParams.
func (*GetPolicySubjectSelectorsParams) SetDefaults ¶ added in v1.19.0
func (o *GetPolicySubjectSelectorsParams) SetDefaults()
SetDefaults hydrates default values in the get policy subject selectors params (not the query body).
All values with no default are reset to their zero value.
func (*GetPolicySubjectSelectorsParams) SetHTTPClient ¶ added in v1.19.0
func (o *GetPolicySubjectSelectorsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get policy subject selectors params.
func (*GetPolicySubjectSelectorsParams) SetTimeout ¶ added in v1.19.0
func (o *GetPolicySubjectSelectorsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get policy subject selectors params.
func (*GetPolicySubjectSelectorsParams) WithContext
deprecated
added in
v1.19.0
func (o *GetPolicySubjectSelectorsParams) WithContext(ctx context.Context) *GetPolicySubjectSelectorsParams
WithContext adds the context to the get policy subject selectors params.
Deprecated: use the operation call with context to pass the context instead of GetPolicySubjectSelectorsParams.
func (*GetPolicySubjectSelectorsParams) WithDefaults ¶ added in v1.19.0
func (o *GetPolicySubjectSelectorsParams) WithDefaults() *GetPolicySubjectSelectorsParams
WithDefaults hydrates default values in the get policy subject selectors params (not the query body).
All values with no default are reset to their zero value.
func (*GetPolicySubjectSelectorsParams) WithHTTPClient ¶ added in v1.19.0
func (o *GetPolicySubjectSelectorsParams) WithHTTPClient(client *http.Client) *GetPolicySubjectSelectorsParams
WithHTTPClient adds the HTTPClient to the get policy subject selectors params.
func (*GetPolicySubjectSelectorsParams) WithTimeout ¶ added in v1.19.0
func (o *GetPolicySubjectSelectorsParams) WithTimeout(timeout time.Duration) *GetPolicySubjectSelectorsParams
WithTimeout adds the timeout to the get policy subject selectors params.
func (*GetPolicySubjectSelectorsParams) WriteToRequest ¶ added in v1.19.0
func (o *GetPolicySubjectSelectorsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a runtime.ClientRequest.
type GetPolicySubjectSelectorsReader ¶ added in v1.19.0
type GetPolicySubjectSelectorsReader struct {
// contains filtered or unexported fields
}
GetPolicySubjectSelectorsReader is a Reader for the GetPolicySubjectSelectors structure.
func (*GetPolicySubjectSelectorsReader) ReadResponse ¶ added in v1.19.0
func (o *GetPolicySubjectSelectorsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
Source Files
¶
- delete_fqdn_cache_parameters.go
- delete_fqdn_cache_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
- get_policy_subject_selectors_parameters.go
- get_policy_subject_selectors_responses.go
- policy_client.go