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

# Functions

New creates a new swarm API client.
NewSwarmInitBadRequest creates a SwarmInitBadRequest with default headers values.
NewSwarmInitInternalServerError creates a SwarmInitInternalServerError with default headers values.
NewSwarmInitOK creates a SwarmInitOK with default headers values.
NewSwarmInitParams creates a new SwarmInitParams object, with the default timeout for this client.
NewSwarmInitParamsWithContext creates a new SwarmInitParams object with the ability to set a context for a request.
NewSwarmInitParamsWithHTTPClient creates a new SwarmInitParams object with the ability to set a custom HTTPClient for a request.
NewSwarmInitParamsWithTimeout creates a new SwarmInitParams object with the ability to set a timeout on a request.
NewSwarmInitServiceUnavailable creates a SwarmInitServiceUnavailable with default headers values.
NewSwarmInspectInternalServerError creates a SwarmInspectInternalServerError with default headers values.
NewSwarmInspectNotFound creates a SwarmInspectNotFound with default headers values.
NewSwarmInspectOK creates a SwarmInspectOK with default headers values.
NewSwarmInspectParams creates a new SwarmInspectParams object, with the default timeout for this client.
NewSwarmInspectParamsWithContext creates a new SwarmInspectParams object with the ability to set a context for a request.
NewSwarmInspectParamsWithHTTPClient creates a new SwarmInspectParams object with the ability to set a custom HTTPClient for a request.
NewSwarmInspectParamsWithTimeout creates a new SwarmInspectParams object with the ability to set a timeout on a request.
NewSwarmInspectServiceUnavailable creates a SwarmInspectServiceUnavailable with default headers values.
NewSwarmJoinBadRequest creates a SwarmJoinBadRequest with default headers values.
NewSwarmJoinInternalServerError creates a SwarmJoinInternalServerError with default headers values.
NewSwarmJoinOK creates a SwarmJoinOK with default headers values.
NewSwarmJoinParams creates a new SwarmJoinParams object, with the default timeout for this client.
NewSwarmJoinParamsWithContext creates a new SwarmJoinParams object with the ability to set a context for a request.
NewSwarmJoinParamsWithHTTPClient creates a new SwarmJoinParams object with the ability to set a custom HTTPClient for a request.
NewSwarmJoinParamsWithTimeout creates a new SwarmJoinParams object with the ability to set a timeout on a request.
NewSwarmJoinServiceUnavailable creates a SwarmJoinServiceUnavailable with default headers values.
NewSwarmLeaveInternalServerError creates a SwarmLeaveInternalServerError with default headers values.
NewSwarmLeaveOK creates a SwarmLeaveOK with default headers values.
NewSwarmLeaveParams creates a new SwarmLeaveParams object, with the default timeout for this client.
NewSwarmLeaveParamsWithContext creates a new SwarmLeaveParams object with the ability to set a context for a request.
NewSwarmLeaveParamsWithHTTPClient creates a new SwarmLeaveParams object with the ability to set a custom HTTPClient for a request.
NewSwarmLeaveParamsWithTimeout creates a new SwarmLeaveParams object with the ability to set a timeout on a request.
NewSwarmLeaveServiceUnavailable creates a SwarmLeaveServiceUnavailable with default headers values.
NewSwarmUnlockInternalServerError creates a SwarmUnlockInternalServerError with default headers values.
NewSwarmUnlockkeyInternalServerError creates a SwarmUnlockkeyInternalServerError with default headers values.
NewSwarmUnlockkeyOK creates a SwarmUnlockkeyOK with default headers values.
NewSwarmUnlockkeyParams creates a new SwarmUnlockkeyParams object, with the default timeout for this client.
NewSwarmUnlockkeyParamsWithContext creates a new SwarmUnlockkeyParams object with the ability to set a context for a request.
NewSwarmUnlockkeyParamsWithHTTPClient creates a new SwarmUnlockkeyParams object with the ability to set a custom HTTPClient for a request.
NewSwarmUnlockkeyParamsWithTimeout creates a new SwarmUnlockkeyParams object with the ability to set a timeout on a request.
NewSwarmUnlockkeyServiceUnavailable creates a SwarmUnlockkeyServiceUnavailable with default headers values.
NewSwarmUnlockOK creates a SwarmUnlockOK with default headers values.
NewSwarmUnlockParams creates a new SwarmUnlockParams object, with the default timeout for this client.
NewSwarmUnlockParamsWithContext creates a new SwarmUnlockParams object with the ability to set a context for a request.
NewSwarmUnlockParamsWithHTTPClient creates a new SwarmUnlockParams object with the ability to set a custom HTTPClient for a request.
NewSwarmUnlockParamsWithTimeout creates a new SwarmUnlockParams object with the ability to set a timeout on a request.
NewSwarmUnlockServiceUnavailable creates a SwarmUnlockServiceUnavailable with default headers values.
NewSwarmUpdateBadRequest creates a SwarmUpdateBadRequest with default headers values.
NewSwarmUpdateInternalServerError creates a SwarmUpdateInternalServerError with default headers values.
NewSwarmUpdateOK creates a SwarmUpdateOK with default headers values.
NewSwarmUpdateParams creates a new SwarmUpdateParams object, with the default timeout for this client.
NewSwarmUpdateParamsWithContext creates a new SwarmUpdateParams object with the ability to set a context for a request.
NewSwarmUpdateParamsWithHTTPClient creates a new SwarmUpdateParams object with the ability to set a custom HTTPClient for a request.
NewSwarmUpdateParamsWithTimeout creates a new SwarmUpdateParams object with the ability to set a timeout on a request.
NewSwarmUpdateServiceUnavailable creates a SwarmUpdateServiceUnavailable with default headers values.

# Structs

Client for swarm API */.
SwarmInitBadRequest describes a response with status code 400, with default header values.
SwarmInitBody swarm init body // Example: {"AdvertiseAddr":"192.168.1.1:2377","DataPathPort":4789,"DefaultAddrPool":["10.10.0.0/8","20.20.0.0/8"],"ForceNewCluster":false,"ListenAddr":"0.0.0.0:2377","Spec":{"CAConfig":{},"Dispatcher":{},"EncryptionConfig":{"AutoLockManagers":false},"Orchestration":{},"Raft":{}},"SubnetSize":24} swagger:model SwarmInitBody */.
SwarmInitInternalServerError describes a response with status code 500, with default header values.
SwarmInitOK describes a response with status code 200, with default header values.
SwarmInitParams contains all the parameters to send to the API endpoint for the swarm init operation.
SwarmInitReader is a Reader for the SwarmInit structure.
SwarmInitServiceUnavailable describes a response with status code 503, with default header values.
SwarmInspectInternalServerError describes a response with status code 500, with default header values.
SwarmInspectNotFound describes a response with status code 404, with default header values.
SwarmInspectOK describes a response with status code 200, with default header values.
SwarmInspectParams contains all the parameters to send to the API endpoint for the swarm inspect operation.
SwarmInspectReader is a Reader for the SwarmInspect structure.
SwarmInspectServiceUnavailable describes a response with status code 503, with default header values.
SwarmJoinBadRequest describes a response with status code 400, with default header values.
SwarmJoinBody swarm join body // Example: {"AdvertiseAddr":"192.168.1.1:2377","JoinToken":"SWMTKN-1-3pu6hszjas19xyp7ghgosyx9k8atbfcr8p2is99znpy26u2lkl-7p73s1dx5in4tatdymyhg9hu2","ListenAddr":"0.0.0.0:2377","RemoteAddrs":["node1:2377"]} swagger:model SwarmJoinBody */.
SwarmJoinInternalServerError describes a response with status code 500, with default header values.
SwarmJoinOK describes a response with status code 200, with default header values.
SwarmJoinParams contains all the parameters to send to the API endpoint for the swarm join operation.
SwarmJoinReader is a Reader for the SwarmJoin structure.
SwarmJoinServiceUnavailable describes a response with status code 503, with default header values.
SwarmLeaveInternalServerError describes a response with status code 500, with default header values.
SwarmLeaveOK describes a response with status code 200, with default header values.
SwarmLeaveParams contains all the parameters to send to the API endpoint for the swarm leave operation.
SwarmLeaveReader is a Reader for the SwarmLeave structure.
SwarmLeaveServiceUnavailable describes a response with status code 503, with default header values.
SwarmUnlockBody swarm unlock body // Example: {"UnlockKey":"SWMKEY-1-7c37Cc8654o6p38HnroywCi19pllOnGtbdZEgtKxZu8"} swagger:model SwarmUnlockBody */.
SwarmUnlockInternalServerError describes a response with status code 500, with default header values.
SwarmUnlockkeyInternalServerError describes a response with status code 500, with default header values.
SwarmUnlockkeyOK describes a response with status code 200, with default header values.
SwarmUnlockkeyOKBody UnlockKeyResponse // Example: {"UnlockKey":"SWMKEY-1-7c37Cc8654o6p38HnroywCi19pllOnGtbdZEgtKxZu8"} swagger:model SwarmUnlockkeyOKBody */.
SwarmUnlockkeyParams contains all the parameters to send to the API endpoint for the swarm unlockkey operation.
SwarmUnlockkeyReader is a Reader for the SwarmUnlockkey structure.
SwarmUnlockkeyServiceUnavailable describes a response with status code 503, with default header values.
SwarmUnlockOK describes a response with status code 200, with default header values.
SwarmUnlockParams contains all the parameters to send to the API endpoint for the swarm unlock operation.
SwarmUnlockReader is a Reader for the SwarmUnlock structure.
SwarmUnlockServiceUnavailable describes a response with status code 503, with default header values.
SwarmUpdateBadRequest describes a response with status code 400, with default header values.
SwarmUpdateInternalServerError describes a response with status code 500, with default header values.
SwarmUpdateOK describes a response with status code 200, with default header values.
SwarmUpdateParams contains all the parameters to send to the API endpoint for the swarm update operation.
SwarmUpdateReader is a Reader for the SwarmUpdate structure.
SwarmUpdateServiceUnavailable describes a response with status code 503, with default header values.

# Interfaces

ClientService is the interface for Client methods.

# Type aliases

ClientOption is the option for Client methods.