package
0.0.0-20220310025002-8251c7da21b0
Repository: https://github.com/go-swagger/dockerctl.git
Documentation: pkg.go.dev

# Functions

New creates a new service API client.
NewServiceCreateBadRequest creates a ServiceCreateBadRequest with default headers values.
NewServiceCreateConflict creates a ServiceCreateConflict with default headers values.
NewServiceCreateCreated creates a ServiceCreateCreated with default headers values.
NewServiceCreateForbidden creates a ServiceCreateForbidden with default headers values.
NewServiceCreateInternalServerError creates a ServiceCreateInternalServerError with default headers values.
NewServiceCreateParams creates a new ServiceCreateParams object, with the default timeout for this client.
NewServiceCreateParamsWithContext creates a new ServiceCreateParams object with the ability to set a context for a request.
NewServiceCreateParamsWithHTTPClient creates a new ServiceCreateParams object with the ability to set a custom HTTPClient for a request.
NewServiceCreateParamsWithTimeout creates a new ServiceCreateParams object with the ability to set a timeout on a request.
NewServiceCreateServiceUnavailable creates a ServiceCreateServiceUnavailable with default headers values.
NewServiceDeleteInternalServerError creates a ServiceDeleteInternalServerError with default headers values.
NewServiceDeleteNotFound creates a ServiceDeleteNotFound with default headers values.
NewServiceDeleteOK creates a ServiceDeleteOK with default headers values.
NewServiceDeleteParams creates a new ServiceDeleteParams object, with the default timeout for this client.
NewServiceDeleteParamsWithContext creates a new ServiceDeleteParams object with the ability to set a context for a request.
NewServiceDeleteParamsWithHTTPClient creates a new ServiceDeleteParams object with the ability to set a custom HTTPClient for a request.
NewServiceDeleteParamsWithTimeout creates a new ServiceDeleteParams object with the ability to set a timeout on a request.
NewServiceDeleteServiceUnavailable creates a ServiceDeleteServiceUnavailable with default headers values.
NewServiceInspectInternalServerError creates a ServiceInspectInternalServerError with default headers values.
NewServiceInspectNotFound creates a ServiceInspectNotFound with default headers values.
NewServiceInspectOK creates a ServiceInspectOK with default headers values.
NewServiceInspectParams creates a new ServiceInspectParams object, with the default timeout for this client.
NewServiceInspectParamsWithContext creates a new ServiceInspectParams object with the ability to set a context for a request.
NewServiceInspectParamsWithHTTPClient creates a new ServiceInspectParams object with the ability to set a custom HTTPClient for a request.
NewServiceInspectParamsWithTimeout creates a new ServiceInspectParams object with the ability to set a timeout on a request.
NewServiceInspectServiceUnavailable creates a ServiceInspectServiceUnavailable with default headers values.
NewServiceListInternalServerError creates a ServiceListInternalServerError with default headers values.
NewServiceListOK creates a ServiceListOK with default headers values.
NewServiceListParams creates a new ServiceListParams object, with the default timeout for this client.
NewServiceListParamsWithContext creates a new ServiceListParams object with the ability to set a context for a request.
NewServiceListParamsWithHTTPClient creates a new ServiceListParams object with the ability to set a custom HTTPClient for a request.
NewServiceListParamsWithTimeout creates a new ServiceListParams object with the ability to set a timeout on a request.
NewServiceListServiceUnavailable creates a ServiceListServiceUnavailable with default headers values.
NewServiceLogsInternalServerError creates a ServiceLogsInternalServerError with default headers values.
NewServiceLogsNotFound creates a ServiceLogsNotFound with default headers values.
NewServiceLogsOK creates a ServiceLogsOK with default headers values.
NewServiceLogsParams creates a new ServiceLogsParams object, with the default timeout for this client.
NewServiceLogsParamsWithContext creates a new ServiceLogsParams object with the ability to set a context for a request.
NewServiceLogsParamsWithHTTPClient creates a new ServiceLogsParams object with the ability to set a custom HTTPClient for a request.
NewServiceLogsParamsWithTimeout creates a new ServiceLogsParams object with the ability to set a timeout on a request.
NewServiceLogsServiceUnavailable creates a ServiceLogsServiceUnavailable with default headers values.
NewServiceUpdateBadRequest creates a ServiceUpdateBadRequest with default headers values.
NewServiceUpdateInternalServerError creates a ServiceUpdateInternalServerError with default headers values.
NewServiceUpdateNotFound creates a ServiceUpdateNotFound with default headers values.
NewServiceUpdateOK creates a ServiceUpdateOK with default headers values.
NewServiceUpdateParams creates a new ServiceUpdateParams object, with the default timeout for this client.
NewServiceUpdateParamsWithContext creates a new ServiceUpdateParams object with the ability to set a context for a request.
NewServiceUpdateParamsWithHTTPClient creates a new ServiceUpdateParams object with the ability to set a custom HTTPClient for a request.
NewServiceUpdateParamsWithTimeout creates a new ServiceUpdateParams object with the ability to set a timeout on a request.
NewServiceUpdateServiceUnavailable creates a ServiceUpdateServiceUnavailable with default headers values.

# Structs

Client for service API */.
ServiceCreateBadRequest describes a response with status code 400, with default header values.
ServiceCreateBody service create body swagger:model ServiceCreateBody */.
ServiceCreateConflict describes a response with status code 409, with default header values.
ServiceCreateCreated describes a response with status code 201, with default header values.
ServiceCreateCreatedBody ServiceCreateResponse // Example: {"ID":"ak7w3gjqoa3kuz8xcpnyy0pvl","Warning":"unable to pin image doesnotexist:latest to digest: image library/doesnotexist:latest not found"} swagger:model ServiceCreateCreatedBody */.
ServiceCreateForbidden describes a response with status code 403, with default header values.
ServiceCreateInternalServerError describes a response with status code 500, with default header values.
ServiceCreateParams contains all the parameters to send to the API endpoint for the service create operation.
ServiceCreateReader is a Reader for the ServiceCreate structure.
ServiceCreateServiceUnavailable describes a response with status code 503, with default header values.
ServiceDeleteInternalServerError describes a response with status code 500, with default header values.
ServiceDeleteNotFound describes a response with status code 404, with default header values.
ServiceDeleteOK describes a response with status code 200, with default header values.
ServiceDeleteParams contains all the parameters to send to the API endpoint for the service delete operation.
ServiceDeleteReader is a Reader for the ServiceDelete structure.
ServiceDeleteServiceUnavailable describes a response with status code 503, with default header values.
ServiceInspectInternalServerError describes a response with status code 500, with default header values.
ServiceInspectNotFound describes a response with status code 404, with default header values.
ServiceInspectOK describes a response with status code 200, with default header values.
ServiceInspectParams contains all the parameters to send to the API endpoint for the service inspect operation.
ServiceInspectReader is a Reader for the ServiceInspect structure.
ServiceInspectServiceUnavailable describes a response with status code 503, with default header values.
ServiceListInternalServerError describes a response with status code 500, with default header values.
ServiceListOK describes a response with status code 200, with default header values.
ServiceListParams contains all the parameters to send to the API endpoint for the service list operation.
ServiceListReader is a Reader for the ServiceList structure.
ServiceListServiceUnavailable describes a response with status code 503, with default header values.
ServiceLogsInternalServerError describes a response with status code 500, with default header values.
ServiceLogsNotFound describes a response with status code 404, with default header values.
ServiceLogsOK describes a response with status code 200, with default header values.
ServiceLogsParams contains all the parameters to send to the API endpoint for the service logs operation.
ServiceLogsReader is a Reader for the ServiceLogs structure.
ServiceLogsServiceUnavailable describes a response with status code 503, with default header values.
ServiceUpdateBadRequest describes a response with status code 400, with default header values.
ServiceUpdateBody service update body swagger:model ServiceUpdateBody */.
ServiceUpdateInternalServerError describes a response with status code 500, with default header values.
ServiceUpdateNotFound describes a response with status code 404, with default header values.
ServiceUpdateOK describes a response with status code 200, with default header values.
ServiceUpdateParams contains all the parameters to send to the API endpoint for the service update operation.
ServiceUpdateReader is a Reader for the ServiceUpdate structure.
ServiceUpdateServiceUnavailable describes a response with status code 503, with default header values.

# Interfaces

ClientService is the interface for Client methods.
ServiceCreateParamsBodyAllOf1 service create params body all of1 // Example: {"EndpointSpec":{"Ports":[{"Protocol":"tcp","PublishedPort":8080,"TargetPort":80}]},"Labels":{"foo":"bar"},"Mode":{"Replicated":{"Replicas":4}},"Name":"web","RollbackConfig":{"Delay":1000000000,"FailureAction":"pause","MaxFailureRatio":0.15,"Monitor":15000000000,"Parallelism":1},"TaskTemplate":{"ContainerSpec":{"DNSConfig":{"Nameservers":["8.8.8.8"],"Options":["timeout:3"],"Search":["example.org"]},"Hosts":["10.10.10.10 host1","ABCD:EF01:2345:6789:ABCD:EF01:2345:6789 host2"],"Image":"nginx:alpine","Mounts":[{"ReadOnly":true,"Source":"web-data","Target":"/usr/share/nginx/html","Type":"volume","VolumeOptions":{"DriverConfig":{},"Labels":{"com.example.something":"something-value"}}}],"Secrets":[{"File":{"GID":"33","Mode":384,"Name":"www.example.org.key","UID":"33"},"SecretID":"fpjqlhnwb19zds35k8wn80lq9","SecretName":"example_org_domain_key"}],"User":"33"},"LogDriver":{"Name":"json-file","Options":{"max-file":"3","max-size":"10M"}},"Placement":{},"Resources":{"Limits":{"MemoryBytes":104857600},"Reservations":{}},"RestartPolicy":{"Condition":"on-failure","Delay":10000000000,"MaxAttempts":10}},"UpdateConfig":{"Delay":1000000000,"FailureAction":"pause","MaxFailureRatio":0.15,"Monitor":15000000000,"Parallelism":2}} swagger:model ServiceCreateParamsBodyAllOf1 */.
ServiceUpdateParamsBodyAllOf1 service update params body all of1 // Example: {"EndpointSpec":{"Mode":"vip"},"Mode":{"Replicated":{"Replicas":1}},"Name":"top","RollbackConfig":{"Delay":1000000000,"FailureAction":"pause","MaxFailureRatio":0.15,"Monitor":15000000000,"Parallelism":1},"TaskTemplate":{"ContainerSpec":{"Args":["top"],"Image":"busybox"},"ForceUpdate":0,"Placement":{},"Resources":{"Limits":{},"Reservations":{}},"RestartPolicy":{"Condition":"any","MaxAttempts":0}},"UpdateConfig":{"Delay":1000000000,"FailureAction":"pause","MaxFailureRatio":0.15,"Monitor":15000000000,"Parallelism":2}} swagger:model ServiceUpdateParamsBodyAllOf1 */.

# Type aliases

ClientOption is the option for Client methods.