client/lxd_containers.go
func (r *ProtocolLXD) DeleteContainerConsoleLog(containerName string, args *ContainerConsoleLogArgs) error {
	if !r.HasExtension("console") {
		return fmt.Errorf("The server is missing the required \"console\" API extension")
	}

	// Send the request
	_, _, err := r.query("DELETE", fmt.Sprintf("/containers/%s/console", url.QueryEscape(containerName)), nil, "")
	if err != nil {
		return err
	}

	return nil
}
func (r *ProtocolLXD) DeleteContainerConsoleLog(containerName string, args *ContainerConsoleLogArgs) error {
	if !r.HasExtension("console") {
		return fmt.Errorf("The server is missing the required \"console\" API extension")
	}

	// Send the request
	_, _, err := r.query("DELETE", fmt.Sprintf("/containers/%s/console", url.QueryEscape(containerName)), nil, "")
	if err != nil {
		return err
	}

	return nil
}
func ( r * ProtocolLXD ) DeleteContainerConsoleLog ( containerName string , args * ContainerConsoleLogArgs ) error { if ! r . HasExtension ( " " ) { return fmt . Errorf ( " \" \" " ) } // Send the request _ , _ , err := r . query ( " " , fmt . Sprintf ( " " , url . QueryEscape ( containerName ) ) , nil , " " ) if err != nil { return err } return nil }
// DeleteContainerConsoleLog deletes the requested container's console log
DeleteContainerConsoleLog deletes the requested container s console log