Documentation ¶
Index ¶
- Constants
- type Client
- func (a *Client) CreateNamespaceService(params *CreateNamespaceServiceParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateNamespaceServiceOK, error)
- func (a *Client) DeleteNamespaceRevision(params *DeleteNamespaceRevisionParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteNamespaceRevisionOK, error)
- func (a *Client) DeleteNamespaceService(params *DeleteNamespaceServiceParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteNamespaceServiceOK, error)
- func (a *Client) GetNamespaceService(params *GetNamespaceServiceParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetNamespaceServiceOK, error)
- func (a *Client) GetNamespaceServiceList(params *GetNamespaceServiceListParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetNamespaceServiceListOK, error)
- func (a *Client) ListNamespaceServiceRevisionPods(params *ListNamespaceServiceRevisionPodsParams, ...) (*ListNamespaceServiceRevisionPodsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateNamespaceService(params *UpdateNamespaceServiceParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UpdateNamespaceServiceOK, error)
- func (a *Client) UpdateNamespaceServiceTraffic(params *UpdateNamespaceServiceTrafficParams, ...) (*UpdateNamespaceServiceTrafficOK, error)
- func (a *Client) WatchNamespaceServiceRevision(params *WatchNamespaceServiceRevisionParams, ...) (*WatchNamespaceServiceRevisionOK, error)
- func (a *Client) WatchNamespaceServiceRevisionList(params *WatchNamespaceServiceRevisionListParams, ...) (*WatchNamespaceServiceRevisionListOK, error)
- type ClientOption
- type ClientService
- type CreateNamespaceServiceBody
- func (o *CreateNamespaceServiceBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *CreateNamespaceServiceBody) MarshalBinary() ([]byte, error)
- func (o *CreateNamespaceServiceBody) UnmarshalBinary(b []byte) error
- func (o *CreateNamespaceServiceBody) Validate(formats strfmt.Registry) error
- type CreateNamespaceServiceOK
- type CreateNamespaceServiceParams
- func NewCreateNamespaceServiceParams() *CreateNamespaceServiceParams
- func NewCreateNamespaceServiceParamsWithContext(ctx context.Context) *CreateNamespaceServiceParams
- func NewCreateNamespaceServiceParamsWithHTTPClient(client *http.Client) *CreateNamespaceServiceParams
- func NewCreateNamespaceServiceParamsWithTimeout(timeout time.Duration) *CreateNamespaceServiceParams
- func (o *CreateNamespaceServiceParams) SetContext(ctx context.Context)
- func (o *CreateNamespaceServiceParams) SetDefaults()
- func (o *CreateNamespaceServiceParams) SetHTTPClient(client *http.Client)
- func (o *CreateNamespaceServiceParams) SetNamespace(namespace string)
- func (o *CreateNamespaceServiceParams) SetService(service CreateNamespaceServiceBody)
- func (o *CreateNamespaceServiceParams) SetTimeout(timeout time.Duration)
- func (o *CreateNamespaceServiceParams) WithContext(ctx context.Context) *CreateNamespaceServiceParams
- func (o *CreateNamespaceServiceParams) WithDefaults() *CreateNamespaceServiceParams
- func (o *CreateNamespaceServiceParams) WithHTTPClient(client *http.Client) *CreateNamespaceServiceParams
- func (o *CreateNamespaceServiceParams) WithNamespace(namespace string) *CreateNamespaceServiceParams
- func (o *CreateNamespaceServiceParams) WithService(service CreateNamespaceServiceBody) *CreateNamespaceServiceParams
- func (o *CreateNamespaceServiceParams) WithTimeout(timeout time.Duration) *CreateNamespaceServiceParams
- func (o *CreateNamespaceServiceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateNamespaceServiceReader
- type DeleteNamespaceRevisionOK
- type DeleteNamespaceRevisionParams
- func NewDeleteNamespaceRevisionParams() *DeleteNamespaceRevisionParams
- func NewDeleteNamespaceRevisionParamsWithContext(ctx context.Context) *DeleteNamespaceRevisionParams
- func NewDeleteNamespaceRevisionParamsWithHTTPClient(client *http.Client) *DeleteNamespaceRevisionParams
- func NewDeleteNamespaceRevisionParamsWithTimeout(timeout time.Duration) *DeleteNamespaceRevisionParams
- func (o *DeleteNamespaceRevisionParams) SetContext(ctx context.Context)
- func (o *DeleteNamespaceRevisionParams) SetDefaults()
- func (o *DeleteNamespaceRevisionParams) SetHTTPClient(client *http.Client)
- func (o *DeleteNamespaceRevisionParams) SetNamespace(namespace string)
- func (o *DeleteNamespaceRevisionParams) SetRevisionGeneration(revisionGeneration string)
- func (o *DeleteNamespaceRevisionParams) SetServiceName(serviceName string)
- func (o *DeleteNamespaceRevisionParams) SetTimeout(timeout time.Duration)
- func (o *DeleteNamespaceRevisionParams) WithContext(ctx context.Context) *DeleteNamespaceRevisionParams
- func (o *DeleteNamespaceRevisionParams) WithDefaults() *DeleteNamespaceRevisionParams
- func (o *DeleteNamespaceRevisionParams) WithHTTPClient(client *http.Client) *DeleteNamespaceRevisionParams
- func (o *DeleteNamespaceRevisionParams) WithNamespace(namespace string) *DeleteNamespaceRevisionParams
- func (o *DeleteNamespaceRevisionParams) WithRevisionGeneration(revisionGeneration string) *DeleteNamespaceRevisionParams
- func (o *DeleteNamespaceRevisionParams) WithServiceName(serviceName string) *DeleteNamespaceRevisionParams
- func (o *DeleteNamespaceRevisionParams) WithTimeout(timeout time.Duration) *DeleteNamespaceRevisionParams
- func (o *DeleteNamespaceRevisionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteNamespaceRevisionReader
- type DeleteNamespaceServiceOK
- type DeleteNamespaceServiceParams
- func NewDeleteNamespaceServiceParams() *DeleteNamespaceServiceParams
- func NewDeleteNamespaceServiceParamsWithContext(ctx context.Context) *DeleteNamespaceServiceParams
- func NewDeleteNamespaceServiceParamsWithHTTPClient(client *http.Client) *DeleteNamespaceServiceParams
- func NewDeleteNamespaceServiceParamsWithTimeout(timeout time.Duration) *DeleteNamespaceServiceParams
- func (o *DeleteNamespaceServiceParams) SetContext(ctx context.Context)
- func (o *DeleteNamespaceServiceParams) SetDefaults()
- func (o *DeleteNamespaceServiceParams) SetHTTPClient(client *http.Client)
- func (o *DeleteNamespaceServiceParams) SetNamespace(namespace string)
- func (o *DeleteNamespaceServiceParams) SetServiceName(serviceName string)
- func (o *DeleteNamespaceServiceParams) SetTimeout(timeout time.Duration)
- func (o *DeleteNamespaceServiceParams) WithContext(ctx context.Context) *DeleteNamespaceServiceParams
- func (o *DeleteNamespaceServiceParams) WithDefaults() *DeleteNamespaceServiceParams
- func (o *DeleteNamespaceServiceParams) WithHTTPClient(client *http.Client) *DeleteNamespaceServiceParams
- func (o *DeleteNamespaceServiceParams) WithNamespace(namespace string) *DeleteNamespaceServiceParams
- func (o *DeleteNamespaceServiceParams) WithServiceName(serviceName string) *DeleteNamespaceServiceParams
- func (o *DeleteNamespaceServiceParams) WithTimeout(timeout time.Duration) *DeleteNamespaceServiceParams
- func (o *DeleteNamespaceServiceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteNamespaceServiceReader
- type GetNamespaceServiceListOK
- type GetNamespaceServiceListParams
- func NewGetNamespaceServiceListParams() *GetNamespaceServiceListParams
- func NewGetNamespaceServiceListParamsWithContext(ctx context.Context) *GetNamespaceServiceListParams
- func NewGetNamespaceServiceListParamsWithHTTPClient(client *http.Client) *GetNamespaceServiceListParams
- func NewGetNamespaceServiceListParamsWithTimeout(timeout time.Duration) *GetNamespaceServiceListParams
- func (o *GetNamespaceServiceListParams) SetContext(ctx context.Context)
- func (o *GetNamespaceServiceListParams) SetDefaults()
- func (o *GetNamespaceServiceListParams) SetHTTPClient(client *http.Client)
- func (o *GetNamespaceServiceListParams) SetNamespace(namespace string)
- func (o *GetNamespaceServiceListParams) SetTimeout(timeout time.Duration)
- func (o *GetNamespaceServiceListParams) WithContext(ctx context.Context) *GetNamespaceServiceListParams
- func (o *GetNamespaceServiceListParams) WithDefaults() *GetNamespaceServiceListParams
- func (o *GetNamespaceServiceListParams) WithHTTPClient(client *http.Client) *GetNamespaceServiceListParams
- func (o *GetNamespaceServiceListParams) WithNamespace(namespace string) *GetNamespaceServiceListParams
- func (o *GetNamespaceServiceListParams) WithTimeout(timeout time.Duration) *GetNamespaceServiceListParams
- func (o *GetNamespaceServiceListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetNamespaceServiceListReader
- type GetNamespaceServiceOK
- type GetNamespaceServiceParams
- func NewGetNamespaceServiceParams() *GetNamespaceServiceParams
- func NewGetNamespaceServiceParamsWithContext(ctx context.Context) *GetNamespaceServiceParams
- func NewGetNamespaceServiceParamsWithHTTPClient(client *http.Client) *GetNamespaceServiceParams
- func NewGetNamespaceServiceParamsWithTimeout(timeout time.Duration) *GetNamespaceServiceParams
- func (o *GetNamespaceServiceParams) SetContext(ctx context.Context)
- func (o *GetNamespaceServiceParams) SetDefaults()
- func (o *GetNamespaceServiceParams) SetHTTPClient(client *http.Client)
- func (o *GetNamespaceServiceParams) SetNamespace(namespace string)
- func (o *GetNamespaceServiceParams) SetServiceName(serviceName string)
- func (o *GetNamespaceServiceParams) SetTimeout(timeout time.Duration)
- func (o *GetNamespaceServiceParams) WithContext(ctx context.Context) *GetNamespaceServiceParams
- func (o *GetNamespaceServiceParams) WithDefaults() *GetNamespaceServiceParams
- func (o *GetNamespaceServiceParams) WithHTTPClient(client *http.Client) *GetNamespaceServiceParams
- func (o *GetNamespaceServiceParams) WithNamespace(namespace string) *GetNamespaceServiceParams
- func (o *GetNamespaceServiceParams) WithServiceName(serviceName string) *GetNamespaceServiceParams
- func (o *GetNamespaceServiceParams) WithTimeout(timeout time.Duration) *GetNamespaceServiceParams
- func (o *GetNamespaceServiceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetNamespaceServiceReader
- type ListNamespaceServiceRevisionPodsOK
- type ListNamespaceServiceRevisionPodsParams
- func NewListNamespaceServiceRevisionPodsParams() *ListNamespaceServiceRevisionPodsParams
- func NewListNamespaceServiceRevisionPodsParamsWithContext(ctx context.Context) *ListNamespaceServiceRevisionPodsParams
- func NewListNamespaceServiceRevisionPodsParamsWithHTTPClient(client *http.Client) *ListNamespaceServiceRevisionPodsParams
- func NewListNamespaceServiceRevisionPodsParamsWithTimeout(timeout time.Duration) *ListNamespaceServiceRevisionPodsParams
- func (o *ListNamespaceServiceRevisionPodsParams) SetContext(ctx context.Context)
- func (o *ListNamespaceServiceRevisionPodsParams) SetDefaults()
- func (o *ListNamespaceServiceRevisionPodsParams) SetHTTPClient(client *http.Client)
- func (o *ListNamespaceServiceRevisionPodsParams) SetNamespace(namespace string)
- func (o *ListNamespaceServiceRevisionPodsParams) SetRevisionGeneration(revisionGeneration string)
- func (o *ListNamespaceServiceRevisionPodsParams) SetServiceName(serviceName string)
- func (o *ListNamespaceServiceRevisionPodsParams) SetTimeout(timeout time.Duration)
- func (o *ListNamespaceServiceRevisionPodsParams) WithContext(ctx context.Context) *ListNamespaceServiceRevisionPodsParams
- func (o *ListNamespaceServiceRevisionPodsParams) WithDefaults() *ListNamespaceServiceRevisionPodsParams
- func (o *ListNamespaceServiceRevisionPodsParams) WithHTTPClient(client *http.Client) *ListNamespaceServiceRevisionPodsParams
- func (o *ListNamespaceServiceRevisionPodsParams) WithNamespace(namespace string) *ListNamespaceServiceRevisionPodsParams
- func (o *ListNamespaceServiceRevisionPodsParams) WithRevisionGeneration(revisionGeneration string) *ListNamespaceServiceRevisionPodsParams
- func (o *ListNamespaceServiceRevisionPodsParams) WithServiceName(serviceName string) *ListNamespaceServiceRevisionPodsParams
- func (o *ListNamespaceServiceRevisionPodsParams) WithTimeout(timeout time.Duration) *ListNamespaceServiceRevisionPodsParams
- func (o *ListNamespaceServiceRevisionPodsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListNamespaceServiceRevisionPodsReader
- type UpdateNamespaceServiceBody
- func (o *UpdateNamespaceServiceBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateNamespaceServiceBody) MarshalBinary() ([]byte, error)
- func (o *UpdateNamespaceServiceBody) UnmarshalBinary(b []byte) error
- func (o *UpdateNamespaceServiceBody) Validate(formats strfmt.Registry) error
- type UpdateNamespaceServiceOK
- type UpdateNamespaceServiceParams
- func NewUpdateNamespaceServiceParams() *UpdateNamespaceServiceParams
- func NewUpdateNamespaceServiceParamsWithContext(ctx context.Context) *UpdateNamespaceServiceParams
- func NewUpdateNamespaceServiceParamsWithHTTPClient(client *http.Client) *UpdateNamespaceServiceParams
- func NewUpdateNamespaceServiceParamsWithTimeout(timeout time.Duration) *UpdateNamespaceServiceParams
- func (o *UpdateNamespaceServiceParams) SetContext(ctx context.Context)
- func (o *UpdateNamespaceServiceParams) SetDefaults()
- func (o *UpdateNamespaceServiceParams) SetHTTPClient(client *http.Client)
- func (o *UpdateNamespaceServiceParams) SetNamespace(namespace string)
- func (o *UpdateNamespaceServiceParams) SetService(service UpdateNamespaceServiceBody)
- func (o *UpdateNamespaceServiceParams) SetServiceName(serviceName string)
- func (o *UpdateNamespaceServiceParams) SetTimeout(timeout time.Duration)
- func (o *UpdateNamespaceServiceParams) WithContext(ctx context.Context) *UpdateNamespaceServiceParams
- func (o *UpdateNamespaceServiceParams) WithDefaults() *UpdateNamespaceServiceParams
- func (o *UpdateNamespaceServiceParams) WithHTTPClient(client *http.Client) *UpdateNamespaceServiceParams
- func (o *UpdateNamespaceServiceParams) WithNamespace(namespace string) *UpdateNamespaceServiceParams
- func (o *UpdateNamespaceServiceParams) WithService(service UpdateNamespaceServiceBody) *UpdateNamespaceServiceParams
- func (o *UpdateNamespaceServiceParams) WithServiceName(serviceName string) *UpdateNamespaceServiceParams
- func (o *UpdateNamespaceServiceParams) WithTimeout(timeout time.Duration) *UpdateNamespaceServiceParams
- func (o *UpdateNamespaceServiceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateNamespaceServiceReader
- type UpdateNamespaceServiceTrafficBody
- func (o *UpdateNamespaceServiceTrafficBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateNamespaceServiceTrafficBody) MarshalBinary() ([]byte, error)
- func (o *UpdateNamespaceServiceTrafficBody) UnmarshalBinary(b []byte) error
- func (o *UpdateNamespaceServiceTrafficBody) Validate(formats strfmt.Registry) error
- type UpdateNamespaceServiceTrafficOK
- type UpdateNamespaceServiceTrafficParams
- func NewUpdateNamespaceServiceTrafficParams() *UpdateNamespaceServiceTrafficParams
- func NewUpdateNamespaceServiceTrafficParamsWithContext(ctx context.Context) *UpdateNamespaceServiceTrafficParams
- func NewUpdateNamespaceServiceTrafficParamsWithHTTPClient(client *http.Client) *UpdateNamespaceServiceTrafficParams
- func NewUpdateNamespaceServiceTrafficParamsWithTimeout(timeout time.Duration) *UpdateNamespaceServiceTrafficParams
- func (o *UpdateNamespaceServiceTrafficParams) SetContext(ctx context.Context)
- func (o *UpdateNamespaceServiceTrafficParams) SetDefaults()
- func (o *UpdateNamespaceServiceTrafficParams) SetHTTPClient(client *http.Client)
- func (o *UpdateNamespaceServiceTrafficParams) SetNamespace(namespace string)
- func (o *UpdateNamespaceServiceTrafficParams) SetServiceName(serviceName string)
- func (o *UpdateNamespaceServiceTrafficParams) SetServiceTraffic(serviceTraffic UpdateNamespaceServiceTrafficBody)
- func (o *UpdateNamespaceServiceTrafficParams) SetTimeout(timeout time.Duration)
- func (o *UpdateNamespaceServiceTrafficParams) WithContext(ctx context.Context) *UpdateNamespaceServiceTrafficParams
- func (o *UpdateNamespaceServiceTrafficParams) WithDefaults() *UpdateNamespaceServiceTrafficParams
- func (o *UpdateNamespaceServiceTrafficParams) WithHTTPClient(client *http.Client) *UpdateNamespaceServiceTrafficParams
- func (o *UpdateNamespaceServiceTrafficParams) WithNamespace(namespace string) *UpdateNamespaceServiceTrafficParams
- func (o *UpdateNamespaceServiceTrafficParams) WithServiceName(serviceName string) *UpdateNamespaceServiceTrafficParams
- func (o *UpdateNamespaceServiceTrafficParams) WithServiceTraffic(serviceTraffic UpdateNamespaceServiceTrafficBody) *UpdateNamespaceServiceTrafficParams
- func (o *UpdateNamespaceServiceTrafficParams) WithTimeout(timeout time.Duration) *UpdateNamespaceServiceTrafficParams
- func (o *UpdateNamespaceServiceTrafficParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateNamespaceServiceTrafficParamsBodyValuesItems0
- func (o *UpdateNamespaceServiceTrafficParamsBodyValuesItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateNamespaceServiceTrafficParamsBodyValuesItems0) MarshalBinary() ([]byte, error)
- func (o *UpdateNamespaceServiceTrafficParamsBodyValuesItems0) UnmarshalBinary(b []byte) error
- func (o *UpdateNamespaceServiceTrafficParamsBodyValuesItems0) Validate(formats strfmt.Registry) error
- type UpdateNamespaceServiceTrafficReader
- type WatchNamespaceServiceRevisionListOK
- type WatchNamespaceServiceRevisionListParams
- func NewWatchNamespaceServiceRevisionListParams() *WatchNamespaceServiceRevisionListParams
- func NewWatchNamespaceServiceRevisionListParamsWithContext(ctx context.Context) *WatchNamespaceServiceRevisionListParams
- func NewWatchNamespaceServiceRevisionListParamsWithHTTPClient(client *http.Client) *WatchNamespaceServiceRevisionListParams
- func NewWatchNamespaceServiceRevisionListParamsWithTimeout(timeout time.Duration) *WatchNamespaceServiceRevisionListParams
- func (o *WatchNamespaceServiceRevisionListParams) SetContext(ctx context.Context)
- func (o *WatchNamespaceServiceRevisionListParams) SetDefaults()
- func (o *WatchNamespaceServiceRevisionListParams) SetHTTPClient(client *http.Client)
- func (o *WatchNamespaceServiceRevisionListParams) SetNamespace(namespace string)
- func (o *WatchNamespaceServiceRevisionListParams) SetServiceName(serviceName string)
- func (o *WatchNamespaceServiceRevisionListParams) SetTimeout(timeout time.Duration)
- func (o *WatchNamespaceServiceRevisionListParams) WithContext(ctx context.Context) *WatchNamespaceServiceRevisionListParams
- func (o *WatchNamespaceServiceRevisionListParams) WithDefaults() *WatchNamespaceServiceRevisionListParams
- func (o *WatchNamespaceServiceRevisionListParams) WithHTTPClient(client *http.Client) *WatchNamespaceServiceRevisionListParams
- func (o *WatchNamespaceServiceRevisionListParams) WithNamespace(namespace string) *WatchNamespaceServiceRevisionListParams
- func (o *WatchNamespaceServiceRevisionListParams) WithServiceName(serviceName string) *WatchNamespaceServiceRevisionListParams
- func (o *WatchNamespaceServiceRevisionListParams) WithTimeout(timeout time.Duration) *WatchNamespaceServiceRevisionListParams
- func (o *WatchNamespaceServiceRevisionListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type WatchNamespaceServiceRevisionListReader
- type WatchNamespaceServiceRevisionOK
- type WatchNamespaceServiceRevisionParams
- func NewWatchNamespaceServiceRevisionParams() *WatchNamespaceServiceRevisionParams
- func NewWatchNamespaceServiceRevisionParamsWithContext(ctx context.Context) *WatchNamespaceServiceRevisionParams
- func NewWatchNamespaceServiceRevisionParamsWithHTTPClient(client *http.Client) *WatchNamespaceServiceRevisionParams
- func NewWatchNamespaceServiceRevisionParamsWithTimeout(timeout time.Duration) *WatchNamespaceServiceRevisionParams
- func (o *WatchNamespaceServiceRevisionParams) SetContext(ctx context.Context)
- func (o *WatchNamespaceServiceRevisionParams) SetDefaults()
- func (o *WatchNamespaceServiceRevisionParams) SetHTTPClient(client *http.Client)
- func (o *WatchNamespaceServiceRevisionParams) SetNamespace(namespace string)
- func (o *WatchNamespaceServiceRevisionParams) SetRevisionGeneration(revisionGeneration string)
- func (o *WatchNamespaceServiceRevisionParams) SetServiceName(serviceName string)
- func (o *WatchNamespaceServiceRevisionParams) SetTimeout(timeout time.Duration)
- func (o *WatchNamespaceServiceRevisionParams) WithContext(ctx context.Context) *WatchNamespaceServiceRevisionParams
- func (o *WatchNamespaceServiceRevisionParams) WithDefaults() *WatchNamespaceServiceRevisionParams
- func (o *WatchNamespaceServiceRevisionParams) WithHTTPClient(client *http.Client) *WatchNamespaceServiceRevisionParams
- func (o *WatchNamespaceServiceRevisionParams) WithNamespace(namespace string) *WatchNamespaceServiceRevisionParams
- func (o *WatchNamespaceServiceRevisionParams) WithRevisionGeneration(revisionGeneration string) *WatchNamespaceServiceRevisionParams
- func (o *WatchNamespaceServiceRevisionParams) WithServiceName(serviceName string) *WatchNamespaceServiceRevisionParams
- func (o *WatchNamespaceServiceRevisionParams) WithTimeout(timeout time.Duration) *WatchNamespaceServiceRevisionParams
- func (o *WatchNamespaceServiceRevisionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type WatchNamespaceServiceRevisionReader
Constants ¶
const ( // CreateNamespaceServiceBodySizeSmall captures enum value "small" CreateNamespaceServiceBodySizeSmall string = "small" // CreateNamespaceServiceBodySizeMedium captures enum value "medium" CreateNamespaceServiceBodySizeMedium string = "medium" // CreateNamespaceServiceBodySizeLarge captures enum value "large" CreateNamespaceServiceBodySizeLarge string = "large" )
const ( // UpdateNamespaceServiceBodySizeSmall captures enum value "small" UpdateNamespaceServiceBodySizeSmall string = "small" // UpdateNamespaceServiceBodySizeMedium captures enum value "medium" UpdateNamespaceServiceBodySizeMedium string = "medium" // UpdateNamespaceServiceBodySizeLarge captures enum value "large" UpdateNamespaceServiceBodySizeLarge string = "large" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for namespace services API
func (*Client) CreateNamespaceService ¶
func (a *Client) CreateNamespaceService(params *CreateNamespaceServiceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateNamespaceServiceOK, error)
CreateNamespaceService creates namespace service Creates namespace scoped knative service.
Service Names are unique on a scope level. These services can be used as functions in workflows, more about this can be read here: https://docs.direktiv.io/docs/walkthrough/using-functions.html
func (*Client) DeleteNamespaceRevision ¶
func (a *Client) DeleteNamespaceRevision(params *DeleteNamespaceRevisionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteNamespaceRevisionOK, error)
DeleteNamespaceRevision deletes namespace service revision Delete a namespace scoped knative service revision.
The target revision generation is the number suffix on a revision. Example: A revision named 'namespace-direktiv-fast-request-00003' would have the revisionGeneration '00003'. Note: Revisions with traffic cannot be deleted.
func (*Client) DeleteNamespaceService ¶
func (a *Client) DeleteNamespaceService(params *DeleteNamespaceServiceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteNamespaceServiceOK, error)
DeleteNamespaceService deletes namespace service
Deletes namespace scoped knative service and all its revisions.
func (*Client) GetNamespaceService ¶
func (a *Client) GetNamespaceService(params *GetNamespaceServiceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetNamespaceServiceOK, error)
GetNamespaceService gets namespace service details
Get details of a namespace scoped knative service.
func (*Client) GetNamespaceServiceList ¶
func (a *Client) GetNamespaceServiceList(params *GetNamespaceServiceListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetNamespaceServiceListOK, error)
GetNamespaceServiceList gets namespace services list
Gets a list of namespace knative services.
func (*Client) ListNamespaceServiceRevisionPods ¶
func (a *Client) ListNamespaceServiceRevisionPods(params *ListNamespaceServiceRevisionPodsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListNamespaceServiceRevisionPodsOK, error)
ListNamespaceServiceRevisionPods gets namespace service revision pods list List a revisions pods of a namespace scoped knative service.
The target revision generation is the number suffix on a revision. Example: A revision named 'namespace-direktiv-fast-request-00003' would have the revisionGeneration '00003'.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateNamespaceService ¶
func (a *Client) UpdateNamespaceService(params *UpdateNamespaceServiceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateNamespaceServiceOK, error)
UpdateNamespaceService creates namespace service revision Creates a new namespace scoped knative service revision.
Revisions are created with a traffic percentage. This percentage controls how much traffic will be directed to this revision. Traffic can be set to 100 to direct all traffic.
func (*Client) UpdateNamespaceServiceTraffic ¶
func (a *Client) UpdateNamespaceServiceTraffic(params *UpdateNamespaceServiceTrafficParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateNamespaceServiceTrafficOK, error)
UpdateNamespaceServiceTraffic updates namespace service traffic Update Namespace Service traffic directed to each revision,
traffic can only be configured between two revisions. All other revisions will bet set to 0 traffic.
func (*Client) WatchNamespaceServiceRevision ¶
func (a *Client) WatchNamespaceServiceRevision(params *WatchNamespaceServiceRevisionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*WatchNamespaceServiceRevisionOK, error)
WatchNamespaceServiceRevision watches namespace service revision Watch a namespace scoped knative service revision.
The target revision generation is the number suffix on a revision. Example: A revision named 'namespace-direktiv-fast-request-00003' would have the revisionGeneration '00003'. Note: This is a Server-Sent-Event endpoint, and will not work with the default swagger client.
func (*Client) WatchNamespaceServiceRevisionList ¶
func (a *Client) WatchNamespaceServiceRevisionList(params *WatchNamespaceServiceRevisionListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*WatchNamespaceServiceRevisionListOK, error)
WatchNamespaceServiceRevisionList watches namespace service revision list Watch the revision list of a namespace scoped knative service.
Note: This is a Server-Sent-Event endpoint, and will not work with the default swagger client.
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { CreateNamespaceService(params *CreateNamespaceServiceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateNamespaceServiceOK, error) DeleteNamespaceRevision(params *DeleteNamespaceRevisionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteNamespaceRevisionOK, error) DeleteNamespaceService(params *DeleteNamespaceServiceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteNamespaceServiceOK, error) GetNamespaceService(params *GetNamespaceServiceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetNamespaceServiceOK, error) GetNamespaceServiceList(params *GetNamespaceServiceListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetNamespaceServiceListOK, error) ListNamespaceServiceRevisionPods(params *ListNamespaceServiceRevisionPodsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListNamespaceServiceRevisionPodsOK, error) UpdateNamespaceService(params *UpdateNamespaceServiceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateNamespaceServiceOK, error) UpdateNamespaceServiceTraffic(params *UpdateNamespaceServiceTrafficParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateNamespaceServiceTrafficOK, error) WatchNamespaceServiceRevision(params *WatchNamespaceServiceRevisionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*WatchNamespaceServiceRevisionOK, error) WatchNamespaceServiceRevisionList(params *WatchNamespaceServiceRevisionListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*WatchNamespaceServiceRevisionListOK, error) SetTransport(transport runtime.ClientTransport) }
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new namespace services API client.
type CreateNamespaceServiceBody ¶
type CreateNamespaceServiceBody struct { // cmd // Required: true Cmd *string `json:"cmd"` // Target image a service will use // Required: true Image *string `json:"image"` // Minimum amount of service pods to be live // Required: true MinScale *int64 `json:"minScale"` // Name of new service // Required: true Name *string `json:"name"` // Size of created service pods // Required: true // Enum: [small medium large] Size *string `json:"size"` }
CreateNamespaceServiceBody create namespace service body // Example: {"cmd":"","image":"direktiv/request:v12","minScale":"1","name":"fast-request","size":"small"} swagger:model CreateNamespaceServiceBody
func (*CreateNamespaceServiceBody) ContextValidate ¶
func (o *CreateNamespaceServiceBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this create namespace service body based on context it is used
func (*CreateNamespaceServiceBody) MarshalBinary ¶
func (o *CreateNamespaceServiceBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateNamespaceServiceBody) UnmarshalBinary ¶
func (o *CreateNamespaceServiceBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateNamespaceServiceOK ¶
type CreateNamespaceServiceOK struct { }
CreateNamespaceServiceOK describes a response with status code 200, with default header values.
successfully created service
func NewCreateNamespaceServiceOK ¶
func NewCreateNamespaceServiceOK() *CreateNamespaceServiceOK
NewCreateNamespaceServiceOK creates a CreateNamespaceServiceOK with default headers values
func (*CreateNamespaceServiceOK) Error ¶
func (o *CreateNamespaceServiceOK) Error() string
type CreateNamespaceServiceParams ¶
type CreateNamespaceServiceParams struct { /* Service. Payload that contains information on new service */ Service CreateNamespaceServiceBody /* Namespace. target namespace */ Namespace string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateNamespaceServiceParams contains all the parameters to send to the API endpoint
for the create namespace service operation. Typically these are written to a http.Request.
func NewCreateNamespaceServiceParams ¶
func NewCreateNamespaceServiceParams() *CreateNamespaceServiceParams
NewCreateNamespaceServiceParams creates a new CreateNamespaceServiceParams 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 NewCreateNamespaceServiceParamsWithContext ¶
func NewCreateNamespaceServiceParamsWithContext(ctx context.Context) *CreateNamespaceServiceParams
NewCreateNamespaceServiceParamsWithContext creates a new CreateNamespaceServiceParams object with the ability to set a context for a request.
func NewCreateNamespaceServiceParamsWithHTTPClient ¶
func NewCreateNamespaceServiceParamsWithHTTPClient(client *http.Client) *CreateNamespaceServiceParams
NewCreateNamespaceServiceParamsWithHTTPClient creates a new CreateNamespaceServiceParams object with the ability to set a custom HTTPClient for a request.
func NewCreateNamespaceServiceParamsWithTimeout ¶
func NewCreateNamespaceServiceParamsWithTimeout(timeout time.Duration) *CreateNamespaceServiceParams
NewCreateNamespaceServiceParamsWithTimeout creates a new CreateNamespaceServiceParams object with the ability to set a timeout on a request.
func (*CreateNamespaceServiceParams) SetContext ¶
func (o *CreateNamespaceServiceParams) SetContext(ctx context.Context)
SetContext adds the context to the create namespace service params
func (*CreateNamespaceServiceParams) SetDefaults ¶
func (o *CreateNamespaceServiceParams) SetDefaults()
SetDefaults hydrates default values in the create namespace service params (not the query body).
All values with no default are reset to their zero value.
func (*CreateNamespaceServiceParams) SetHTTPClient ¶
func (o *CreateNamespaceServiceParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create namespace service params
func (*CreateNamespaceServiceParams) SetNamespace ¶
func (o *CreateNamespaceServiceParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the create namespace service params
func (*CreateNamespaceServiceParams) SetService ¶
func (o *CreateNamespaceServiceParams) SetService(service CreateNamespaceServiceBody)
SetService adds the service to the create namespace service params
func (*CreateNamespaceServiceParams) SetTimeout ¶
func (o *CreateNamespaceServiceParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create namespace service params
func (*CreateNamespaceServiceParams) WithContext ¶
func (o *CreateNamespaceServiceParams) WithContext(ctx context.Context) *CreateNamespaceServiceParams
WithContext adds the context to the create namespace service params
func (*CreateNamespaceServiceParams) WithDefaults ¶
func (o *CreateNamespaceServiceParams) WithDefaults() *CreateNamespaceServiceParams
WithDefaults hydrates default values in the create namespace service params (not the query body).
All values with no default are reset to their zero value.
func (*CreateNamespaceServiceParams) WithHTTPClient ¶
func (o *CreateNamespaceServiceParams) WithHTTPClient(client *http.Client) *CreateNamespaceServiceParams
WithHTTPClient adds the HTTPClient to the create namespace service params
func (*CreateNamespaceServiceParams) WithNamespace ¶
func (o *CreateNamespaceServiceParams) WithNamespace(namespace string) *CreateNamespaceServiceParams
WithNamespace adds the namespace to the create namespace service params
func (*CreateNamespaceServiceParams) WithService ¶
func (o *CreateNamespaceServiceParams) WithService(service CreateNamespaceServiceBody) *CreateNamespaceServiceParams
WithService adds the service to the create namespace service params
func (*CreateNamespaceServiceParams) WithTimeout ¶
func (o *CreateNamespaceServiceParams) WithTimeout(timeout time.Duration) *CreateNamespaceServiceParams
WithTimeout adds the timeout to the create namespace service params
func (*CreateNamespaceServiceParams) WriteToRequest ¶
func (o *CreateNamespaceServiceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateNamespaceServiceReader ¶
type CreateNamespaceServiceReader struct {
// contains filtered or unexported fields
}
CreateNamespaceServiceReader is a Reader for the CreateNamespaceService structure.
func (*CreateNamespaceServiceReader) ReadResponse ¶
func (o *CreateNamespaceServiceReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteNamespaceRevisionOK ¶
type DeleteNamespaceRevisionOK struct { }
DeleteNamespaceRevisionOK describes a response with status code 200, with default header values.
successfully deleted service revision
func NewDeleteNamespaceRevisionOK ¶
func NewDeleteNamespaceRevisionOK() *DeleteNamespaceRevisionOK
NewDeleteNamespaceRevisionOK creates a DeleteNamespaceRevisionOK with default headers values
func (*DeleteNamespaceRevisionOK) Error ¶
func (o *DeleteNamespaceRevisionOK) Error() string
type DeleteNamespaceRevisionParams ¶
type DeleteNamespaceRevisionParams struct { /* Namespace. target namespace */ Namespace string /* RevisionGeneration. target revision generation */ RevisionGeneration string /* ServiceName. target service name */ ServiceName string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteNamespaceRevisionParams contains all the parameters to send to the API endpoint
for the delete namespace revision operation. Typically these are written to a http.Request.
func NewDeleteNamespaceRevisionParams ¶
func NewDeleteNamespaceRevisionParams() *DeleteNamespaceRevisionParams
NewDeleteNamespaceRevisionParams creates a new DeleteNamespaceRevisionParams 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 NewDeleteNamespaceRevisionParamsWithContext ¶
func NewDeleteNamespaceRevisionParamsWithContext(ctx context.Context) *DeleteNamespaceRevisionParams
NewDeleteNamespaceRevisionParamsWithContext creates a new DeleteNamespaceRevisionParams object with the ability to set a context for a request.
func NewDeleteNamespaceRevisionParamsWithHTTPClient ¶
func NewDeleteNamespaceRevisionParamsWithHTTPClient(client *http.Client) *DeleteNamespaceRevisionParams
NewDeleteNamespaceRevisionParamsWithHTTPClient creates a new DeleteNamespaceRevisionParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteNamespaceRevisionParamsWithTimeout ¶
func NewDeleteNamespaceRevisionParamsWithTimeout(timeout time.Duration) *DeleteNamespaceRevisionParams
NewDeleteNamespaceRevisionParamsWithTimeout creates a new DeleteNamespaceRevisionParams object with the ability to set a timeout on a request.
func (*DeleteNamespaceRevisionParams) SetContext ¶
func (o *DeleteNamespaceRevisionParams) SetContext(ctx context.Context)
SetContext adds the context to the delete namespace revision params
func (*DeleteNamespaceRevisionParams) SetDefaults ¶
func (o *DeleteNamespaceRevisionParams) SetDefaults()
SetDefaults hydrates default values in the delete namespace revision params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteNamespaceRevisionParams) SetHTTPClient ¶
func (o *DeleteNamespaceRevisionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete namespace revision params
func (*DeleteNamespaceRevisionParams) SetNamespace ¶
func (o *DeleteNamespaceRevisionParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the delete namespace revision params
func (*DeleteNamespaceRevisionParams) SetRevisionGeneration ¶
func (o *DeleteNamespaceRevisionParams) SetRevisionGeneration(revisionGeneration string)
SetRevisionGeneration adds the revisionGeneration to the delete namespace revision params
func (*DeleteNamespaceRevisionParams) SetServiceName ¶
func (o *DeleteNamespaceRevisionParams) SetServiceName(serviceName string)
SetServiceName adds the serviceName to the delete namespace revision params
func (*DeleteNamespaceRevisionParams) SetTimeout ¶
func (o *DeleteNamespaceRevisionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete namespace revision params
func (*DeleteNamespaceRevisionParams) WithContext ¶
func (o *DeleteNamespaceRevisionParams) WithContext(ctx context.Context) *DeleteNamespaceRevisionParams
WithContext adds the context to the delete namespace revision params
func (*DeleteNamespaceRevisionParams) WithDefaults ¶
func (o *DeleteNamespaceRevisionParams) WithDefaults() *DeleteNamespaceRevisionParams
WithDefaults hydrates default values in the delete namespace revision params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteNamespaceRevisionParams) WithHTTPClient ¶
func (o *DeleteNamespaceRevisionParams) WithHTTPClient(client *http.Client) *DeleteNamespaceRevisionParams
WithHTTPClient adds the HTTPClient to the delete namespace revision params
func (*DeleteNamespaceRevisionParams) WithNamespace ¶
func (o *DeleteNamespaceRevisionParams) WithNamespace(namespace string) *DeleteNamespaceRevisionParams
WithNamespace adds the namespace to the delete namespace revision params
func (*DeleteNamespaceRevisionParams) WithRevisionGeneration ¶
func (o *DeleteNamespaceRevisionParams) WithRevisionGeneration(revisionGeneration string) *DeleteNamespaceRevisionParams
WithRevisionGeneration adds the revisionGeneration to the delete namespace revision params
func (*DeleteNamespaceRevisionParams) WithServiceName ¶
func (o *DeleteNamespaceRevisionParams) WithServiceName(serviceName string) *DeleteNamespaceRevisionParams
WithServiceName adds the serviceName to the delete namespace revision params
func (*DeleteNamespaceRevisionParams) WithTimeout ¶
func (o *DeleteNamespaceRevisionParams) WithTimeout(timeout time.Duration) *DeleteNamespaceRevisionParams
WithTimeout adds the timeout to the delete namespace revision params
func (*DeleteNamespaceRevisionParams) WriteToRequest ¶
func (o *DeleteNamespaceRevisionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteNamespaceRevisionReader ¶
type DeleteNamespaceRevisionReader struct {
// contains filtered or unexported fields
}
DeleteNamespaceRevisionReader is a Reader for the DeleteNamespaceRevision structure.
func (*DeleteNamespaceRevisionReader) ReadResponse ¶
func (o *DeleteNamespaceRevisionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteNamespaceServiceOK ¶
type DeleteNamespaceServiceOK struct { }
DeleteNamespaceServiceOK describes a response with status code 200, with default header values.
successfully deleted service
func NewDeleteNamespaceServiceOK ¶
func NewDeleteNamespaceServiceOK() *DeleteNamespaceServiceOK
NewDeleteNamespaceServiceOK creates a DeleteNamespaceServiceOK with default headers values
func (*DeleteNamespaceServiceOK) Error ¶
func (o *DeleteNamespaceServiceOK) Error() string
type DeleteNamespaceServiceParams ¶
type DeleteNamespaceServiceParams struct { /* Namespace. target namespace */ Namespace string /* ServiceName. target service name */ ServiceName string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteNamespaceServiceParams contains all the parameters to send to the API endpoint
for the delete namespace service operation. Typically these are written to a http.Request.
func NewDeleteNamespaceServiceParams ¶
func NewDeleteNamespaceServiceParams() *DeleteNamespaceServiceParams
NewDeleteNamespaceServiceParams creates a new DeleteNamespaceServiceParams 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 NewDeleteNamespaceServiceParamsWithContext ¶
func NewDeleteNamespaceServiceParamsWithContext(ctx context.Context) *DeleteNamespaceServiceParams
NewDeleteNamespaceServiceParamsWithContext creates a new DeleteNamespaceServiceParams object with the ability to set a context for a request.
func NewDeleteNamespaceServiceParamsWithHTTPClient ¶
func NewDeleteNamespaceServiceParamsWithHTTPClient(client *http.Client) *DeleteNamespaceServiceParams
NewDeleteNamespaceServiceParamsWithHTTPClient creates a new DeleteNamespaceServiceParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteNamespaceServiceParamsWithTimeout ¶
func NewDeleteNamespaceServiceParamsWithTimeout(timeout time.Duration) *DeleteNamespaceServiceParams
NewDeleteNamespaceServiceParamsWithTimeout creates a new DeleteNamespaceServiceParams object with the ability to set a timeout on a request.
func (*DeleteNamespaceServiceParams) SetContext ¶
func (o *DeleteNamespaceServiceParams) SetContext(ctx context.Context)
SetContext adds the context to the delete namespace service params
func (*DeleteNamespaceServiceParams) SetDefaults ¶
func (o *DeleteNamespaceServiceParams) SetDefaults()
SetDefaults hydrates default values in the delete namespace service params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteNamespaceServiceParams) SetHTTPClient ¶
func (o *DeleteNamespaceServiceParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete namespace service params
func (*DeleteNamespaceServiceParams) SetNamespace ¶
func (o *DeleteNamespaceServiceParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the delete namespace service params
func (*DeleteNamespaceServiceParams) SetServiceName ¶
func (o *DeleteNamespaceServiceParams) SetServiceName(serviceName string)
SetServiceName adds the serviceName to the delete namespace service params
func (*DeleteNamespaceServiceParams) SetTimeout ¶
func (o *DeleteNamespaceServiceParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete namespace service params
func (*DeleteNamespaceServiceParams) WithContext ¶
func (o *DeleteNamespaceServiceParams) WithContext(ctx context.Context) *DeleteNamespaceServiceParams
WithContext adds the context to the delete namespace service params
func (*DeleteNamespaceServiceParams) WithDefaults ¶
func (o *DeleteNamespaceServiceParams) WithDefaults() *DeleteNamespaceServiceParams
WithDefaults hydrates default values in the delete namespace service params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteNamespaceServiceParams) WithHTTPClient ¶
func (o *DeleteNamespaceServiceParams) WithHTTPClient(client *http.Client) *DeleteNamespaceServiceParams
WithHTTPClient adds the HTTPClient to the delete namespace service params
func (*DeleteNamespaceServiceParams) WithNamespace ¶
func (o *DeleteNamespaceServiceParams) WithNamespace(namespace string) *DeleteNamespaceServiceParams
WithNamespace adds the namespace to the delete namespace service params
func (*DeleteNamespaceServiceParams) WithServiceName ¶
func (o *DeleteNamespaceServiceParams) WithServiceName(serviceName string) *DeleteNamespaceServiceParams
WithServiceName adds the serviceName to the delete namespace service params
func (*DeleteNamespaceServiceParams) WithTimeout ¶
func (o *DeleteNamespaceServiceParams) WithTimeout(timeout time.Duration) *DeleteNamespaceServiceParams
WithTimeout adds the timeout to the delete namespace service params
func (*DeleteNamespaceServiceParams) WriteToRequest ¶
func (o *DeleteNamespaceServiceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteNamespaceServiceReader ¶
type DeleteNamespaceServiceReader struct {
// contains filtered or unexported fields
}
DeleteNamespaceServiceReader is a Reader for the DeleteNamespaceService structure.
func (*DeleteNamespaceServiceReader) ReadResponse ¶
func (o *DeleteNamespaceServiceReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetNamespaceServiceListOK ¶
type GetNamespaceServiceListOK struct { }
GetNamespaceServiceListOK describes a response with status code 200, with default header values.
successfully got services list
func NewGetNamespaceServiceListOK ¶
func NewGetNamespaceServiceListOK() *GetNamespaceServiceListOK
NewGetNamespaceServiceListOK creates a GetNamespaceServiceListOK with default headers values
func (*GetNamespaceServiceListOK) Error ¶
func (o *GetNamespaceServiceListOK) Error() string
type GetNamespaceServiceListParams ¶
type GetNamespaceServiceListParams struct { /* Namespace. target namespace */ Namespace string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetNamespaceServiceListParams contains all the parameters to send to the API endpoint
for the get namespace service list operation. Typically these are written to a http.Request.
func NewGetNamespaceServiceListParams ¶
func NewGetNamespaceServiceListParams() *GetNamespaceServiceListParams
NewGetNamespaceServiceListParams creates a new GetNamespaceServiceListParams 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 NewGetNamespaceServiceListParamsWithContext ¶
func NewGetNamespaceServiceListParamsWithContext(ctx context.Context) *GetNamespaceServiceListParams
NewGetNamespaceServiceListParamsWithContext creates a new GetNamespaceServiceListParams object with the ability to set a context for a request.
func NewGetNamespaceServiceListParamsWithHTTPClient ¶
func NewGetNamespaceServiceListParamsWithHTTPClient(client *http.Client) *GetNamespaceServiceListParams
NewGetNamespaceServiceListParamsWithHTTPClient creates a new GetNamespaceServiceListParams object with the ability to set a custom HTTPClient for a request.
func NewGetNamespaceServiceListParamsWithTimeout ¶
func NewGetNamespaceServiceListParamsWithTimeout(timeout time.Duration) *GetNamespaceServiceListParams
NewGetNamespaceServiceListParamsWithTimeout creates a new GetNamespaceServiceListParams object with the ability to set a timeout on a request.
func (*GetNamespaceServiceListParams) SetContext ¶
func (o *GetNamespaceServiceListParams) SetContext(ctx context.Context)
SetContext adds the context to the get namespace service list params
func (*GetNamespaceServiceListParams) SetDefaults ¶
func (o *GetNamespaceServiceListParams) SetDefaults()
SetDefaults hydrates default values in the get namespace service list params (not the query body).
All values with no default are reset to their zero value.
func (*GetNamespaceServiceListParams) SetHTTPClient ¶
func (o *GetNamespaceServiceListParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get namespace service list params
func (*GetNamespaceServiceListParams) SetNamespace ¶
func (o *GetNamespaceServiceListParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the get namespace service list params
func (*GetNamespaceServiceListParams) SetTimeout ¶
func (o *GetNamespaceServiceListParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get namespace service list params
func (*GetNamespaceServiceListParams) WithContext ¶
func (o *GetNamespaceServiceListParams) WithContext(ctx context.Context) *GetNamespaceServiceListParams
WithContext adds the context to the get namespace service list params
func (*GetNamespaceServiceListParams) WithDefaults ¶
func (o *GetNamespaceServiceListParams) WithDefaults() *GetNamespaceServiceListParams
WithDefaults hydrates default values in the get namespace service list params (not the query body).
All values with no default are reset to their zero value.
func (*GetNamespaceServiceListParams) WithHTTPClient ¶
func (o *GetNamespaceServiceListParams) WithHTTPClient(client *http.Client) *GetNamespaceServiceListParams
WithHTTPClient adds the HTTPClient to the get namespace service list params
func (*GetNamespaceServiceListParams) WithNamespace ¶
func (o *GetNamespaceServiceListParams) WithNamespace(namespace string) *GetNamespaceServiceListParams
WithNamespace adds the namespace to the get namespace service list params
func (*GetNamespaceServiceListParams) WithTimeout ¶
func (o *GetNamespaceServiceListParams) WithTimeout(timeout time.Duration) *GetNamespaceServiceListParams
WithTimeout adds the timeout to the get namespace service list params
func (*GetNamespaceServiceListParams) WriteToRequest ¶
func (o *GetNamespaceServiceListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetNamespaceServiceListReader ¶
type GetNamespaceServiceListReader struct {
// contains filtered or unexported fields
}
GetNamespaceServiceListReader is a Reader for the GetNamespaceServiceList structure.
func (*GetNamespaceServiceListReader) ReadResponse ¶
func (o *GetNamespaceServiceListReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetNamespaceServiceOK ¶
type GetNamespaceServiceOK struct { }
GetNamespaceServiceOK describes a response with status code 200, with default header values.
successfully got service details
func NewGetNamespaceServiceOK ¶
func NewGetNamespaceServiceOK() *GetNamespaceServiceOK
NewGetNamespaceServiceOK creates a GetNamespaceServiceOK with default headers values
func (*GetNamespaceServiceOK) Error ¶
func (o *GetNamespaceServiceOK) Error() string
type GetNamespaceServiceParams ¶
type GetNamespaceServiceParams struct { /* Namespace. target namespace */ Namespace string /* ServiceName. target service name */ ServiceName string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetNamespaceServiceParams contains all the parameters to send to the API endpoint
for the get namespace service operation. Typically these are written to a http.Request.
func NewGetNamespaceServiceParams ¶
func NewGetNamespaceServiceParams() *GetNamespaceServiceParams
NewGetNamespaceServiceParams creates a new GetNamespaceServiceParams 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 NewGetNamespaceServiceParamsWithContext ¶
func NewGetNamespaceServiceParamsWithContext(ctx context.Context) *GetNamespaceServiceParams
NewGetNamespaceServiceParamsWithContext creates a new GetNamespaceServiceParams object with the ability to set a context for a request.
func NewGetNamespaceServiceParamsWithHTTPClient ¶
func NewGetNamespaceServiceParamsWithHTTPClient(client *http.Client) *GetNamespaceServiceParams
NewGetNamespaceServiceParamsWithHTTPClient creates a new GetNamespaceServiceParams object with the ability to set a custom HTTPClient for a request.
func NewGetNamespaceServiceParamsWithTimeout ¶
func NewGetNamespaceServiceParamsWithTimeout(timeout time.Duration) *GetNamespaceServiceParams
NewGetNamespaceServiceParamsWithTimeout creates a new GetNamespaceServiceParams object with the ability to set a timeout on a request.
func (*GetNamespaceServiceParams) SetContext ¶
func (o *GetNamespaceServiceParams) SetContext(ctx context.Context)
SetContext adds the context to the get namespace service params
func (*GetNamespaceServiceParams) SetDefaults ¶
func (o *GetNamespaceServiceParams) SetDefaults()
SetDefaults hydrates default values in the get namespace service params (not the query body).
All values with no default are reset to their zero value.
func (*GetNamespaceServiceParams) SetHTTPClient ¶
func (o *GetNamespaceServiceParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get namespace service params
func (*GetNamespaceServiceParams) SetNamespace ¶
func (o *GetNamespaceServiceParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the get namespace service params
func (*GetNamespaceServiceParams) SetServiceName ¶
func (o *GetNamespaceServiceParams) SetServiceName(serviceName string)
SetServiceName adds the serviceName to the get namespace service params
func (*GetNamespaceServiceParams) SetTimeout ¶
func (o *GetNamespaceServiceParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get namespace service params
func (*GetNamespaceServiceParams) WithContext ¶
func (o *GetNamespaceServiceParams) WithContext(ctx context.Context) *GetNamespaceServiceParams
WithContext adds the context to the get namespace service params
func (*GetNamespaceServiceParams) WithDefaults ¶
func (o *GetNamespaceServiceParams) WithDefaults() *GetNamespaceServiceParams
WithDefaults hydrates default values in the get namespace service params (not the query body).
All values with no default are reset to their zero value.
func (*GetNamespaceServiceParams) WithHTTPClient ¶
func (o *GetNamespaceServiceParams) WithHTTPClient(client *http.Client) *GetNamespaceServiceParams
WithHTTPClient adds the HTTPClient to the get namespace service params
func (*GetNamespaceServiceParams) WithNamespace ¶
func (o *GetNamespaceServiceParams) WithNamespace(namespace string) *GetNamespaceServiceParams
WithNamespace adds the namespace to the get namespace service params
func (*GetNamespaceServiceParams) WithServiceName ¶
func (o *GetNamespaceServiceParams) WithServiceName(serviceName string) *GetNamespaceServiceParams
WithServiceName adds the serviceName to the get namespace service params
func (*GetNamespaceServiceParams) WithTimeout ¶
func (o *GetNamespaceServiceParams) WithTimeout(timeout time.Duration) *GetNamespaceServiceParams
WithTimeout adds the timeout to the get namespace service params
func (*GetNamespaceServiceParams) WriteToRequest ¶
func (o *GetNamespaceServiceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetNamespaceServiceReader ¶
type GetNamespaceServiceReader struct {
// contains filtered or unexported fields
}
GetNamespaceServiceReader is a Reader for the GetNamespaceService structure.
func (*GetNamespaceServiceReader) ReadResponse ¶
func (o *GetNamespaceServiceReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListNamespaceServiceRevisionPodsOK ¶
type ListNamespaceServiceRevisionPodsOK struct { }
ListNamespaceServiceRevisionPodsOK describes a response with status code 200, with default header values.
successfully got list of a service revision pods
func NewListNamespaceServiceRevisionPodsOK ¶
func NewListNamespaceServiceRevisionPodsOK() *ListNamespaceServiceRevisionPodsOK
NewListNamespaceServiceRevisionPodsOK creates a ListNamespaceServiceRevisionPodsOK with default headers values
func (*ListNamespaceServiceRevisionPodsOK) Error ¶
func (o *ListNamespaceServiceRevisionPodsOK) Error() string
type ListNamespaceServiceRevisionPodsParams ¶
type ListNamespaceServiceRevisionPodsParams struct { /* Namespace. target namespace */ Namespace string /* RevisionGeneration. target revision generation */ RevisionGeneration string /* ServiceName. target service name */ ServiceName string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListNamespaceServiceRevisionPodsParams contains all the parameters to send to the API endpoint
for the list namespace service revision pods operation. Typically these are written to a http.Request.
func NewListNamespaceServiceRevisionPodsParams ¶
func NewListNamespaceServiceRevisionPodsParams() *ListNamespaceServiceRevisionPodsParams
NewListNamespaceServiceRevisionPodsParams creates a new ListNamespaceServiceRevisionPodsParams 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 NewListNamespaceServiceRevisionPodsParamsWithContext ¶
func NewListNamespaceServiceRevisionPodsParamsWithContext(ctx context.Context) *ListNamespaceServiceRevisionPodsParams
NewListNamespaceServiceRevisionPodsParamsWithContext creates a new ListNamespaceServiceRevisionPodsParams object with the ability to set a context for a request.
func NewListNamespaceServiceRevisionPodsParamsWithHTTPClient ¶
func NewListNamespaceServiceRevisionPodsParamsWithHTTPClient(client *http.Client) *ListNamespaceServiceRevisionPodsParams
NewListNamespaceServiceRevisionPodsParamsWithHTTPClient creates a new ListNamespaceServiceRevisionPodsParams object with the ability to set a custom HTTPClient for a request.
func NewListNamespaceServiceRevisionPodsParamsWithTimeout ¶
func NewListNamespaceServiceRevisionPodsParamsWithTimeout(timeout time.Duration) *ListNamespaceServiceRevisionPodsParams
NewListNamespaceServiceRevisionPodsParamsWithTimeout creates a new ListNamespaceServiceRevisionPodsParams object with the ability to set a timeout on a request.
func (*ListNamespaceServiceRevisionPodsParams) SetContext ¶
func (o *ListNamespaceServiceRevisionPodsParams) SetContext(ctx context.Context)
SetContext adds the context to the list namespace service revision pods params
func (*ListNamespaceServiceRevisionPodsParams) SetDefaults ¶
func (o *ListNamespaceServiceRevisionPodsParams) SetDefaults()
SetDefaults hydrates default values in the list namespace service revision pods params (not the query body).
All values with no default are reset to their zero value.
func (*ListNamespaceServiceRevisionPodsParams) SetHTTPClient ¶
func (o *ListNamespaceServiceRevisionPodsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list namespace service revision pods params
func (*ListNamespaceServiceRevisionPodsParams) SetNamespace ¶
func (o *ListNamespaceServiceRevisionPodsParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the list namespace service revision pods params
func (*ListNamespaceServiceRevisionPodsParams) SetRevisionGeneration ¶
func (o *ListNamespaceServiceRevisionPodsParams) SetRevisionGeneration(revisionGeneration string)
SetRevisionGeneration adds the revisionGeneration to the list namespace service revision pods params
func (*ListNamespaceServiceRevisionPodsParams) SetServiceName ¶
func (o *ListNamespaceServiceRevisionPodsParams) SetServiceName(serviceName string)
SetServiceName adds the serviceName to the list namespace service revision pods params
func (*ListNamespaceServiceRevisionPodsParams) SetTimeout ¶
func (o *ListNamespaceServiceRevisionPodsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list namespace service revision pods params
func (*ListNamespaceServiceRevisionPodsParams) WithContext ¶
func (o *ListNamespaceServiceRevisionPodsParams) WithContext(ctx context.Context) *ListNamespaceServiceRevisionPodsParams
WithContext adds the context to the list namespace service revision pods params
func (*ListNamespaceServiceRevisionPodsParams) WithDefaults ¶
func (o *ListNamespaceServiceRevisionPodsParams) WithDefaults() *ListNamespaceServiceRevisionPodsParams
WithDefaults hydrates default values in the list namespace service revision pods params (not the query body).
All values with no default are reset to their zero value.
func (*ListNamespaceServiceRevisionPodsParams) WithHTTPClient ¶
func (o *ListNamespaceServiceRevisionPodsParams) WithHTTPClient(client *http.Client) *ListNamespaceServiceRevisionPodsParams
WithHTTPClient adds the HTTPClient to the list namespace service revision pods params
func (*ListNamespaceServiceRevisionPodsParams) WithNamespace ¶
func (o *ListNamespaceServiceRevisionPodsParams) WithNamespace(namespace string) *ListNamespaceServiceRevisionPodsParams
WithNamespace adds the namespace to the list namespace service revision pods params
func (*ListNamespaceServiceRevisionPodsParams) WithRevisionGeneration ¶
func (o *ListNamespaceServiceRevisionPodsParams) WithRevisionGeneration(revisionGeneration string) *ListNamespaceServiceRevisionPodsParams
WithRevisionGeneration adds the revisionGeneration to the list namespace service revision pods params
func (*ListNamespaceServiceRevisionPodsParams) WithServiceName ¶
func (o *ListNamespaceServiceRevisionPodsParams) WithServiceName(serviceName string) *ListNamespaceServiceRevisionPodsParams
WithServiceName adds the serviceName to the list namespace service revision pods params
func (*ListNamespaceServiceRevisionPodsParams) WithTimeout ¶
func (o *ListNamespaceServiceRevisionPodsParams) WithTimeout(timeout time.Duration) *ListNamespaceServiceRevisionPodsParams
WithTimeout adds the timeout to the list namespace service revision pods params
func (*ListNamespaceServiceRevisionPodsParams) WriteToRequest ¶
func (o *ListNamespaceServiceRevisionPodsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListNamespaceServiceRevisionPodsReader ¶
type ListNamespaceServiceRevisionPodsReader struct {
// contains filtered or unexported fields
}
ListNamespaceServiceRevisionPodsReader is a Reader for the ListNamespaceServiceRevisionPods structure.
func (*ListNamespaceServiceRevisionPodsReader) ReadResponse ¶
func (o *ListNamespaceServiceRevisionPodsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateNamespaceServiceBody ¶
type UpdateNamespaceServiceBody struct { // cmd // Required: true Cmd *string `json:"cmd"` // Target image a service will use // Required: true Image *string `json:"image"` // Minimum amount of service pods to be live // Required: true MinScale *int64 `json:"minScale"` // Size of created service pods // Required: true // Enum: [small medium large] Size *string `json:"size"` // Traffic percentage new revision will use // Required: true TrafficPercent *int64 `json:"trafficPercent"` }
UpdateNamespaceServiceBody update namespace service body // Example: {"cmd":"","image":"direktiv/request:v10","minScale":"1","size":"small","trafficPercent":50} swagger:model UpdateNamespaceServiceBody
func (*UpdateNamespaceServiceBody) ContextValidate ¶
func (o *UpdateNamespaceServiceBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this update namespace service body based on context it is used
func (*UpdateNamespaceServiceBody) MarshalBinary ¶
func (o *UpdateNamespaceServiceBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateNamespaceServiceBody) UnmarshalBinary ¶
func (o *UpdateNamespaceServiceBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateNamespaceServiceOK ¶
type UpdateNamespaceServiceOK struct { }
UpdateNamespaceServiceOK describes a response with status code 200, with default header values.
successfully created service revision
func NewUpdateNamespaceServiceOK ¶
func NewUpdateNamespaceServiceOK() *UpdateNamespaceServiceOK
NewUpdateNamespaceServiceOK creates a UpdateNamespaceServiceOK with default headers values
func (*UpdateNamespaceServiceOK) Error ¶
func (o *UpdateNamespaceServiceOK) Error() string
type UpdateNamespaceServiceParams ¶
type UpdateNamespaceServiceParams struct { /* Service. Payload that contains information on service revision */ Service UpdateNamespaceServiceBody /* Namespace. target namespace */ Namespace string /* ServiceName. target service name */ ServiceName string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateNamespaceServiceParams contains all the parameters to send to the API endpoint
for the update namespace service operation. Typically these are written to a http.Request.
func NewUpdateNamespaceServiceParams ¶
func NewUpdateNamespaceServiceParams() *UpdateNamespaceServiceParams
NewUpdateNamespaceServiceParams creates a new UpdateNamespaceServiceParams 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 NewUpdateNamespaceServiceParamsWithContext ¶
func NewUpdateNamespaceServiceParamsWithContext(ctx context.Context) *UpdateNamespaceServiceParams
NewUpdateNamespaceServiceParamsWithContext creates a new UpdateNamespaceServiceParams object with the ability to set a context for a request.
func NewUpdateNamespaceServiceParamsWithHTTPClient ¶
func NewUpdateNamespaceServiceParamsWithHTTPClient(client *http.Client) *UpdateNamespaceServiceParams
NewUpdateNamespaceServiceParamsWithHTTPClient creates a new UpdateNamespaceServiceParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateNamespaceServiceParamsWithTimeout ¶
func NewUpdateNamespaceServiceParamsWithTimeout(timeout time.Duration) *UpdateNamespaceServiceParams
NewUpdateNamespaceServiceParamsWithTimeout creates a new UpdateNamespaceServiceParams object with the ability to set a timeout on a request.
func (*UpdateNamespaceServiceParams) SetContext ¶
func (o *UpdateNamespaceServiceParams) SetContext(ctx context.Context)
SetContext adds the context to the update namespace service params
func (*UpdateNamespaceServiceParams) SetDefaults ¶
func (o *UpdateNamespaceServiceParams) SetDefaults()
SetDefaults hydrates default values in the update namespace service params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateNamespaceServiceParams) SetHTTPClient ¶
func (o *UpdateNamespaceServiceParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update namespace service params
func (*UpdateNamespaceServiceParams) SetNamespace ¶
func (o *UpdateNamespaceServiceParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the update namespace service params
func (*UpdateNamespaceServiceParams) SetService ¶
func (o *UpdateNamespaceServiceParams) SetService(service UpdateNamespaceServiceBody)
SetService adds the service to the update namespace service params
func (*UpdateNamespaceServiceParams) SetServiceName ¶
func (o *UpdateNamespaceServiceParams) SetServiceName(serviceName string)
SetServiceName adds the serviceName to the update namespace service params
func (*UpdateNamespaceServiceParams) SetTimeout ¶
func (o *UpdateNamespaceServiceParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update namespace service params
func (*UpdateNamespaceServiceParams) WithContext ¶
func (o *UpdateNamespaceServiceParams) WithContext(ctx context.Context) *UpdateNamespaceServiceParams
WithContext adds the context to the update namespace service params
func (*UpdateNamespaceServiceParams) WithDefaults ¶
func (o *UpdateNamespaceServiceParams) WithDefaults() *UpdateNamespaceServiceParams
WithDefaults hydrates default values in the update namespace service params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateNamespaceServiceParams) WithHTTPClient ¶
func (o *UpdateNamespaceServiceParams) WithHTTPClient(client *http.Client) *UpdateNamespaceServiceParams
WithHTTPClient adds the HTTPClient to the update namespace service params
func (*UpdateNamespaceServiceParams) WithNamespace ¶
func (o *UpdateNamespaceServiceParams) WithNamespace(namespace string) *UpdateNamespaceServiceParams
WithNamespace adds the namespace to the update namespace service params
func (*UpdateNamespaceServiceParams) WithService ¶
func (o *UpdateNamespaceServiceParams) WithService(service UpdateNamespaceServiceBody) *UpdateNamespaceServiceParams
WithService adds the service to the update namespace service params
func (*UpdateNamespaceServiceParams) WithServiceName ¶
func (o *UpdateNamespaceServiceParams) WithServiceName(serviceName string) *UpdateNamespaceServiceParams
WithServiceName adds the serviceName to the update namespace service params
func (*UpdateNamespaceServiceParams) WithTimeout ¶
func (o *UpdateNamespaceServiceParams) WithTimeout(timeout time.Duration) *UpdateNamespaceServiceParams
WithTimeout adds the timeout to the update namespace service params
func (*UpdateNamespaceServiceParams) WriteToRequest ¶
func (o *UpdateNamespaceServiceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateNamespaceServiceReader ¶
type UpdateNamespaceServiceReader struct {
// contains filtered or unexported fields
}
UpdateNamespaceServiceReader is a Reader for the UpdateNamespaceService structure.
func (*UpdateNamespaceServiceReader) ReadResponse ¶
func (o *UpdateNamespaceServiceReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateNamespaceServiceTrafficBody ¶
type UpdateNamespaceServiceTrafficBody struct { // List of revision traffic targets // Required: true Values []*UpdateNamespaceServiceTrafficParamsBodyValuesItems0 `json:"values"` }
UpdateNamespaceServiceTrafficBody update namespace service traffic body // Example: {"values":[{"percent":60,"revision":"namespace-direktiv-fast-request-00002"},{"percent":40,"revision":"namespace-direktiv-fast-request-00001"}]} swagger:model UpdateNamespaceServiceTrafficBody
func (*UpdateNamespaceServiceTrafficBody) ContextValidate ¶
func (o *UpdateNamespaceServiceTrafficBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this update namespace service traffic body based on the context it is used
func (*UpdateNamespaceServiceTrafficBody) MarshalBinary ¶
func (o *UpdateNamespaceServiceTrafficBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateNamespaceServiceTrafficBody) UnmarshalBinary ¶
func (o *UpdateNamespaceServiceTrafficBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateNamespaceServiceTrafficOK ¶
type UpdateNamespaceServiceTrafficOK struct { }
UpdateNamespaceServiceTrafficOK describes a response with status code 200, with default header values.
successfully updated service traffic
func NewUpdateNamespaceServiceTrafficOK ¶
func NewUpdateNamespaceServiceTrafficOK() *UpdateNamespaceServiceTrafficOK
NewUpdateNamespaceServiceTrafficOK creates a UpdateNamespaceServiceTrafficOK with default headers values
func (*UpdateNamespaceServiceTrafficOK) Error ¶
func (o *UpdateNamespaceServiceTrafficOK) Error() string
type UpdateNamespaceServiceTrafficParams ¶
type UpdateNamespaceServiceTrafficParams struct { /* ServiceTraffic. Payload that contains information on service traffic */ ServiceTraffic UpdateNamespaceServiceTrafficBody /* Namespace. target namespace */ Namespace string /* ServiceName. target service name */ ServiceName string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateNamespaceServiceTrafficParams contains all the parameters to send to the API endpoint
for the update namespace service traffic operation. Typically these are written to a http.Request.
func NewUpdateNamespaceServiceTrafficParams ¶
func NewUpdateNamespaceServiceTrafficParams() *UpdateNamespaceServiceTrafficParams
NewUpdateNamespaceServiceTrafficParams creates a new UpdateNamespaceServiceTrafficParams 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 NewUpdateNamespaceServiceTrafficParamsWithContext ¶
func NewUpdateNamespaceServiceTrafficParamsWithContext(ctx context.Context) *UpdateNamespaceServiceTrafficParams
NewUpdateNamespaceServiceTrafficParamsWithContext creates a new UpdateNamespaceServiceTrafficParams object with the ability to set a context for a request.
func NewUpdateNamespaceServiceTrafficParamsWithHTTPClient ¶
func NewUpdateNamespaceServiceTrafficParamsWithHTTPClient(client *http.Client) *UpdateNamespaceServiceTrafficParams
NewUpdateNamespaceServiceTrafficParamsWithHTTPClient creates a new UpdateNamespaceServiceTrafficParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateNamespaceServiceTrafficParamsWithTimeout ¶
func NewUpdateNamespaceServiceTrafficParamsWithTimeout(timeout time.Duration) *UpdateNamespaceServiceTrafficParams
NewUpdateNamespaceServiceTrafficParamsWithTimeout creates a new UpdateNamespaceServiceTrafficParams object with the ability to set a timeout on a request.
func (*UpdateNamespaceServiceTrafficParams) SetContext ¶
func (o *UpdateNamespaceServiceTrafficParams) SetContext(ctx context.Context)
SetContext adds the context to the update namespace service traffic params
func (*UpdateNamespaceServiceTrafficParams) SetDefaults ¶
func (o *UpdateNamespaceServiceTrafficParams) SetDefaults()
SetDefaults hydrates default values in the update namespace service traffic params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateNamespaceServiceTrafficParams) SetHTTPClient ¶
func (o *UpdateNamespaceServiceTrafficParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update namespace service traffic params
func (*UpdateNamespaceServiceTrafficParams) SetNamespace ¶
func (o *UpdateNamespaceServiceTrafficParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the update namespace service traffic params
func (*UpdateNamespaceServiceTrafficParams) SetServiceName ¶
func (o *UpdateNamespaceServiceTrafficParams) SetServiceName(serviceName string)
SetServiceName adds the serviceName to the update namespace service traffic params
func (*UpdateNamespaceServiceTrafficParams) SetServiceTraffic ¶
func (o *UpdateNamespaceServiceTrafficParams) SetServiceTraffic(serviceTraffic UpdateNamespaceServiceTrafficBody)
SetServiceTraffic adds the serviceTraffic to the update namespace service traffic params
func (*UpdateNamespaceServiceTrafficParams) SetTimeout ¶
func (o *UpdateNamespaceServiceTrafficParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update namespace service traffic params
func (*UpdateNamespaceServiceTrafficParams) WithContext ¶
func (o *UpdateNamespaceServiceTrafficParams) WithContext(ctx context.Context) *UpdateNamespaceServiceTrafficParams
WithContext adds the context to the update namespace service traffic params
func (*UpdateNamespaceServiceTrafficParams) WithDefaults ¶
func (o *UpdateNamespaceServiceTrafficParams) WithDefaults() *UpdateNamespaceServiceTrafficParams
WithDefaults hydrates default values in the update namespace service traffic params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateNamespaceServiceTrafficParams) WithHTTPClient ¶
func (o *UpdateNamespaceServiceTrafficParams) WithHTTPClient(client *http.Client) *UpdateNamespaceServiceTrafficParams
WithHTTPClient adds the HTTPClient to the update namespace service traffic params
func (*UpdateNamespaceServiceTrafficParams) WithNamespace ¶
func (o *UpdateNamespaceServiceTrafficParams) WithNamespace(namespace string) *UpdateNamespaceServiceTrafficParams
WithNamespace adds the namespace to the update namespace service traffic params
func (*UpdateNamespaceServiceTrafficParams) WithServiceName ¶
func (o *UpdateNamespaceServiceTrafficParams) WithServiceName(serviceName string) *UpdateNamespaceServiceTrafficParams
WithServiceName adds the serviceName to the update namespace service traffic params
func (*UpdateNamespaceServiceTrafficParams) WithServiceTraffic ¶
func (o *UpdateNamespaceServiceTrafficParams) WithServiceTraffic(serviceTraffic UpdateNamespaceServiceTrafficBody) *UpdateNamespaceServiceTrafficParams
WithServiceTraffic adds the serviceTraffic to the update namespace service traffic params
func (*UpdateNamespaceServiceTrafficParams) WithTimeout ¶
func (o *UpdateNamespaceServiceTrafficParams) WithTimeout(timeout time.Duration) *UpdateNamespaceServiceTrafficParams
WithTimeout adds the timeout to the update namespace service traffic params
func (*UpdateNamespaceServiceTrafficParams) WriteToRequest ¶
func (o *UpdateNamespaceServiceTrafficParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateNamespaceServiceTrafficParamsBodyValuesItems0 ¶
type UpdateNamespaceServiceTrafficParamsBodyValuesItems0 struct { // Target traffice percentage Percent int64 `json:"percent,omitempty"` // Target service revision Revision string `json:"revision,omitempty"` }
UpdateNamespaceServiceTrafficParamsBodyValuesItems0 update namespace service traffic params body values items0 swagger:model UpdateNamespaceServiceTrafficParamsBodyValuesItems0
func (*UpdateNamespaceServiceTrafficParamsBodyValuesItems0) ContextValidate ¶
func (o *UpdateNamespaceServiceTrafficParamsBodyValuesItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this update namespace service traffic params body values items0 based on context it is used
func (*UpdateNamespaceServiceTrafficParamsBodyValuesItems0) MarshalBinary ¶
func (o *UpdateNamespaceServiceTrafficParamsBodyValuesItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateNamespaceServiceTrafficParamsBodyValuesItems0) UnmarshalBinary ¶
func (o *UpdateNamespaceServiceTrafficParamsBodyValuesItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateNamespaceServiceTrafficReader ¶
type UpdateNamespaceServiceTrafficReader struct {
// contains filtered or unexported fields
}
UpdateNamespaceServiceTrafficReader is a Reader for the UpdateNamespaceServiceTraffic structure.
func (*UpdateNamespaceServiceTrafficReader) ReadResponse ¶
func (o *UpdateNamespaceServiceTrafficReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type WatchNamespaceServiceRevisionListOK ¶
type WatchNamespaceServiceRevisionListOK struct { }
WatchNamespaceServiceRevisionListOK describes a response with status code 200, with default header values.
successfully watching service revisions
func NewWatchNamespaceServiceRevisionListOK ¶
func NewWatchNamespaceServiceRevisionListOK() *WatchNamespaceServiceRevisionListOK
NewWatchNamespaceServiceRevisionListOK creates a WatchNamespaceServiceRevisionListOK with default headers values
func (*WatchNamespaceServiceRevisionListOK) Error ¶
func (o *WatchNamespaceServiceRevisionListOK) Error() string
type WatchNamespaceServiceRevisionListParams ¶
type WatchNamespaceServiceRevisionListParams struct { /* Namespace. target namespace */ Namespace string /* ServiceName. target service name */ ServiceName string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
WatchNamespaceServiceRevisionListParams contains all the parameters to send to the API endpoint
for the watch namespace service revision list operation. Typically these are written to a http.Request.
func NewWatchNamespaceServiceRevisionListParams ¶
func NewWatchNamespaceServiceRevisionListParams() *WatchNamespaceServiceRevisionListParams
NewWatchNamespaceServiceRevisionListParams creates a new WatchNamespaceServiceRevisionListParams 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 NewWatchNamespaceServiceRevisionListParamsWithContext ¶
func NewWatchNamespaceServiceRevisionListParamsWithContext(ctx context.Context) *WatchNamespaceServiceRevisionListParams
NewWatchNamespaceServiceRevisionListParamsWithContext creates a new WatchNamespaceServiceRevisionListParams object with the ability to set a context for a request.
func NewWatchNamespaceServiceRevisionListParamsWithHTTPClient ¶
func NewWatchNamespaceServiceRevisionListParamsWithHTTPClient(client *http.Client) *WatchNamespaceServiceRevisionListParams
NewWatchNamespaceServiceRevisionListParamsWithHTTPClient creates a new WatchNamespaceServiceRevisionListParams object with the ability to set a custom HTTPClient for a request.
func NewWatchNamespaceServiceRevisionListParamsWithTimeout ¶
func NewWatchNamespaceServiceRevisionListParamsWithTimeout(timeout time.Duration) *WatchNamespaceServiceRevisionListParams
NewWatchNamespaceServiceRevisionListParamsWithTimeout creates a new WatchNamespaceServiceRevisionListParams object with the ability to set a timeout on a request.
func (*WatchNamespaceServiceRevisionListParams) SetContext ¶
func (o *WatchNamespaceServiceRevisionListParams) SetContext(ctx context.Context)
SetContext adds the context to the watch namespace service revision list params
func (*WatchNamespaceServiceRevisionListParams) SetDefaults ¶
func (o *WatchNamespaceServiceRevisionListParams) SetDefaults()
SetDefaults hydrates default values in the watch namespace service revision list params (not the query body).
All values with no default are reset to their zero value.
func (*WatchNamespaceServiceRevisionListParams) SetHTTPClient ¶
func (o *WatchNamespaceServiceRevisionListParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the watch namespace service revision list params
func (*WatchNamespaceServiceRevisionListParams) SetNamespace ¶
func (o *WatchNamespaceServiceRevisionListParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the watch namespace service revision list params
func (*WatchNamespaceServiceRevisionListParams) SetServiceName ¶
func (o *WatchNamespaceServiceRevisionListParams) SetServiceName(serviceName string)
SetServiceName adds the serviceName to the watch namespace service revision list params
func (*WatchNamespaceServiceRevisionListParams) SetTimeout ¶
func (o *WatchNamespaceServiceRevisionListParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the watch namespace service revision list params
func (*WatchNamespaceServiceRevisionListParams) WithContext ¶
func (o *WatchNamespaceServiceRevisionListParams) WithContext(ctx context.Context) *WatchNamespaceServiceRevisionListParams
WithContext adds the context to the watch namespace service revision list params
func (*WatchNamespaceServiceRevisionListParams) WithDefaults ¶
func (o *WatchNamespaceServiceRevisionListParams) WithDefaults() *WatchNamespaceServiceRevisionListParams
WithDefaults hydrates default values in the watch namespace service revision list params (not the query body).
All values with no default are reset to their zero value.
func (*WatchNamespaceServiceRevisionListParams) WithHTTPClient ¶
func (o *WatchNamespaceServiceRevisionListParams) WithHTTPClient(client *http.Client) *WatchNamespaceServiceRevisionListParams
WithHTTPClient adds the HTTPClient to the watch namespace service revision list params
func (*WatchNamespaceServiceRevisionListParams) WithNamespace ¶
func (o *WatchNamespaceServiceRevisionListParams) WithNamespace(namespace string) *WatchNamespaceServiceRevisionListParams
WithNamespace adds the namespace to the watch namespace service revision list params
func (*WatchNamespaceServiceRevisionListParams) WithServiceName ¶
func (o *WatchNamespaceServiceRevisionListParams) WithServiceName(serviceName string) *WatchNamespaceServiceRevisionListParams
WithServiceName adds the serviceName to the watch namespace service revision list params
func (*WatchNamespaceServiceRevisionListParams) WithTimeout ¶
func (o *WatchNamespaceServiceRevisionListParams) WithTimeout(timeout time.Duration) *WatchNamespaceServiceRevisionListParams
WithTimeout adds the timeout to the watch namespace service revision list params
func (*WatchNamespaceServiceRevisionListParams) WriteToRequest ¶
func (o *WatchNamespaceServiceRevisionListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type WatchNamespaceServiceRevisionListReader ¶
type WatchNamespaceServiceRevisionListReader struct {
// contains filtered or unexported fields
}
WatchNamespaceServiceRevisionListReader is a Reader for the WatchNamespaceServiceRevisionList structure.
func (*WatchNamespaceServiceRevisionListReader) ReadResponse ¶
func (o *WatchNamespaceServiceRevisionListReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type WatchNamespaceServiceRevisionOK ¶
type WatchNamespaceServiceRevisionOK struct { }
WatchNamespaceServiceRevisionOK describes a response with status code 200, with default header values.
successfully watching service revision
func NewWatchNamespaceServiceRevisionOK ¶
func NewWatchNamespaceServiceRevisionOK() *WatchNamespaceServiceRevisionOK
NewWatchNamespaceServiceRevisionOK creates a WatchNamespaceServiceRevisionOK with default headers values
func (*WatchNamespaceServiceRevisionOK) Error ¶
func (o *WatchNamespaceServiceRevisionOK) Error() string
type WatchNamespaceServiceRevisionParams ¶
type WatchNamespaceServiceRevisionParams struct { /* Namespace. target namespace */ Namespace string /* RevisionGeneration. target revision generation */ RevisionGeneration string /* ServiceName. target service name */ ServiceName string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
WatchNamespaceServiceRevisionParams contains all the parameters to send to the API endpoint
for the watch namespace service revision operation. Typically these are written to a http.Request.
func NewWatchNamespaceServiceRevisionParams ¶
func NewWatchNamespaceServiceRevisionParams() *WatchNamespaceServiceRevisionParams
NewWatchNamespaceServiceRevisionParams creates a new WatchNamespaceServiceRevisionParams 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 NewWatchNamespaceServiceRevisionParamsWithContext ¶
func NewWatchNamespaceServiceRevisionParamsWithContext(ctx context.Context) *WatchNamespaceServiceRevisionParams
NewWatchNamespaceServiceRevisionParamsWithContext creates a new WatchNamespaceServiceRevisionParams object with the ability to set a context for a request.
func NewWatchNamespaceServiceRevisionParamsWithHTTPClient ¶
func NewWatchNamespaceServiceRevisionParamsWithHTTPClient(client *http.Client) *WatchNamespaceServiceRevisionParams
NewWatchNamespaceServiceRevisionParamsWithHTTPClient creates a new WatchNamespaceServiceRevisionParams object with the ability to set a custom HTTPClient for a request.
func NewWatchNamespaceServiceRevisionParamsWithTimeout ¶
func NewWatchNamespaceServiceRevisionParamsWithTimeout(timeout time.Duration) *WatchNamespaceServiceRevisionParams
NewWatchNamespaceServiceRevisionParamsWithTimeout creates a new WatchNamespaceServiceRevisionParams object with the ability to set a timeout on a request.
func (*WatchNamespaceServiceRevisionParams) SetContext ¶
func (o *WatchNamespaceServiceRevisionParams) SetContext(ctx context.Context)
SetContext adds the context to the watch namespace service revision params
func (*WatchNamespaceServiceRevisionParams) SetDefaults ¶
func (o *WatchNamespaceServiceRevisionParams) SetDefaults()
SetDefaults hydrates default values in the watch namespace service revision params (not the query body).
All values with no default are reset to their zero value.
func (*WatchNamespaceServiceRevisionParams) SetHTTPClient ¶
func (o *WatchNamespaceServiceRevisionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the watch namespace service revision params
func (*WatchNamespaceServiceRevisionParams) SetNamespace ¶
func (o *WatchNamespaceServiceRevisionParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the watch namespace service revision params
func (*WatchNamespaceServiceRevisionParams) SetRevisionGeneration ¶
func (o *WatchNamespaceServiceRevisionParams) SetRevisionGeneration(revisionGeneration string)
SetRevisionGeneration adds the revisionGeneration to the watch namespace service revision params
func (*WatchNamespaceServiceRevisionParams) SetServiceName ¶
func (o *WatchNamespaceServiceRevisionParams) SetServiceName(serviceName string)
SetServiceName adds the serviceName to the watch namespace service revision params
func (*WatchNamespaceServiceRevisionParams) SetTimeout ¶
func (o *WatchNamespaceServiceRevisionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the watch namespace service revision params
func (*WatchNamespaceServiceRevisionParams) WithContext ¶
func (o *WatchNamespaceServiceRevisionParams) WithContext(ctx context.Context) *WatchNamespaceServiceRevisionParams
WithContext adds the context to the watch namespace service revision params
func (*WatchNamespaceServiceRevisionParams) WithDefaults ¶
func (o *WatchNamespaceServiceRevisionParams) WithDefaults() *WatchNamespaceServiceRevisionParams
WithDefaults hydrates default values in the watch namespace service revision params (not the query body).
All values with no default are reset to their zero value.
func (*WatchNamespaceServiceRevisionParams) WithHTTPClient ¶
func (o *WatchNamespaceServiceRevisionParams) WithHTTPClient(client *http.Client) *WatchNamespaceServiceRevisionParams
WithHTTPClient adds the HTTPClient to the watch namespace service revision params
func (*WatchNamespaceServiceRevisionParams) WithNamespace ¶
func (o *WatchNamespaceServiceRevisionParams) WithNamespace(namespace string) *WatchNamespaceServiceRevisionParams
WithNamespace adds the namespace to the watch namespace service revision params
func (*WatchNamespaceServiceRevisionParams) WithRevisionGeneration ¶
func (o *WatchNamespaceServiceRevisionParams) WithRevisionGeneration(revisionGeneration string) *WatchNamespaceServiceRevisionParams
WithRevisionGeneration adds the revisionGeneration to the watch namespace service revision params
func (*WatchNamespaceServiceRevisionParams) WithServiceName ¶
func (o *WatchNamespaceServiceRevisionParams) WithServiceName(serviceName string) *WatchNamespaceServiceRevisionParams
WithServiceName adds the serviceName to the watch namespace service revision params
func (*WatchNamespaceServiceRevisionParams) WithTimeout ¶
func (o *WatchNamespaceServiceRevisionParams) WithTimeout(timeout time.Duration) *WatchNamespaceServiceRevisionParams
WithTimeout adds the timeout to the watch namespace service revision params
func (*WatchNamespaceServiceRevisionParams) WriteToRequest ¶
func (o *WatchNamespaceServiceRevisionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type WatchNamespaceServiceRevisionReader ¶
type WatchNamespaceServiceRevisionReader struct {
// contains filtered or unexported fields
}
WatchNamespaceServiceRevisionReader is a Reader for the WatchNamespaceServiceRevision structure.
func (*WatchNamespaceServiceRevisionReader) ReadResponse ¶
func (o *WatchNamespaceServiceRevisionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- create_namespace_service_parameters.go
- create_namespace_service_responses.go
- delete_namespace_revision_parameters.go
- delete_namespace_revision_responses.go
- delete_namespace_service_parameters.go
- delete_namespace_service_responses.go
- get_namespace_service_list_parameters.go
- get_namespace_service_list_responses.go
- get_namespace_service_parameters.go
- get_namespace_service_responses.go
- list_namespace_service_revision_pods_parameters.go
- list_namespace_service_revision_pods_responses.go
- namespace_services_client.go
- update_namespace_service_parameters.go
- update_namespace_service_responses.go
- update_namespace_service_traffic_parameters.go
- update_namespace_service_traffic_responses.go
- watch_namespace_service_revision_list_parameters.go
- watch_namespace_service_revision_list_responses.go
- watch_namespace_service_revision_parameters.go
- watch_namespace_service_revision_responses.go